diff --git a/specification/network/cspell.yaml b/specification/network/cspell.yaml index 927ee7ef278a..aba20c3c3c43 100644 --- a/specification/network/cspell.yaml +++ b/specification/network/cspell.yaml @@ -111,6 +111,18 @@ overrides: - Reimages - privatenicipconfig - publicnicipconfig + - filename: >- + **/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/applicationGateway.json + words: + - Conditon + - filename: >- + **/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/virtualNetwork.json + words: + - reimage + - Reimage + - Reimages + - privatenicipconfig + - publicnicipconfig - filename: >- **/specification/network/resource-manager/Microsoft.Network/Network/Network/NetworkVirtualAppliance.tsp words: diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Common/main.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Common/main.tsp index 91b93eee960c..a9bfc7059393 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Common/main.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Common/main.tsp @@ -1,5 +1,6 @@ import "@typespec/rest"; import "@typespec/http"; +import "@typespec/versioning"; import "@azure-tools/typespec-azure-resource-manager"; import "./NetworkInterface.tsp"; import "./NetworkInterfaceIPConfiguration.tsp"; @@ -33,6 +34,7 @@ import "@azure-tools/typespec-client-generator-core"; using TypeSpec.Rest; using TypeSpec.Http; +using TypeSpec.Versioning; using Azure.ResourceManager; using Azure.ResourceManager.Foundations; using Azure.ClientGenerator.Core; @@ -45,14 +47,14 @@ namespace Common; */ enum Versions { /** - * The 2018-10-01 API version. + * The 2025-05-01 API version. */ - v2018_10_01: "2018-10-01", + v2025_05_01: "2025-05-01", /** - * The 2025-05-01 API version. + * The 2025-07-01 API version. */ - v2025_05_01: "2025-05-01", + v2025_07_01: "2025-07-01", } #suppress "@azure-tools/typespec-azure-core/no-enum" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@ -166,11 +168,30 @@ union RouteNextHopType { VirtualAppliance: "VirtualAppliance", /** - * None + * Routes traffic to virtual appliances using Equal-Cost Multi-Path (ECMP) routing with multiple next hop IP addresses. + */ + @added(Versions.v2025_07_01) + VirtualApplianceEcmp: "VirtualApplianceEcmp", + + /** + * No next hop type. */ None: "None", } +/** + * Whether to disable the routes learned by peering on the route table. + */ +union DisablePeeringRoute { + string, + + /** Peering routes are enabled. */ + None: "None", + + /** All peering routes are disabled. */ + All: "All", +} + /** * Specifies the IP version type for the private IPs of the private endpoint. If not defined, this defaults to IPv4. */ @@ -395,6 +416,29 @@ union NatGatewaySkuName { StandardV2: "StandardV2", } +/** + * Whether Nat64 is enabled for the NAT gateway resource. + */ +@added(Versions.v2025_07_01) +union Nat64State { + string, + + /** + * Nat64 Property is not set. + */ + None: "None", + + /** + * Nat64 is enabled. + */ + Enabled: "Enabled", + + /** + * Nat64 is disabled. + */ + Disabled: "Disabled", +} + /** * Migration phase of Public IP Address. */ @@ -1392,6 +1436,11 @@ model DdosSettings { */ protectionMode?: DdosSettingsProtectionMode; + /** + * The DDoS custom policy associated with the public IP. + */ + ddosCustomPolicy?: SubResource; + /** * The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled */ @@ -1924,6 +1973,19 @@ model FrontendIPConfigurationPropertiesFormat { */ @visibility(Lifecycle.Read) provisioningState?: ProvisioningState; + + /** + * The DDoS protection settings associated with the frontend IP configuration. + */ + @added(Versions.v2025_07_01) + ddosSettings?: DdosFrontendIpConfigurationSettings; +} + +/** DDoS protection settings for a frontend IP configuration. */ +@added(Versions.v2025_07_01) +model DdosFrontendIpConfigurationSettings { + /** The reference to the DDoS Custom Policy resource. */ + ddosCustomPolicy?: SubResource; } /** @@ -3080,6 +3142,11 @@ model RouteTablePropertiesFormat { */ disableBgpRoutePropagation?: boolean; + /** + * Whether to disable the routes learned by peering on the route table. 'None' means peering routes are enabled, 'All' means all peering routes are disabled. + */ + disablePeeringRoute?: DisablePeeringRoute; + /** * The provisioning state of the route table resource. */ @@ -3192,6 +3259,12 @@ model NatGatewayPropertiesFormat { */ serviceGateway?: SubResource; + /** + * Whether Nat64 is enabled for the NAT gateway resource. + */ + @added(Versions.v2025_07_01) + nat64?: Nat64State; + /** * The resource GUID property of the NAT gateway resource. */ @@ -3757,6 +3830,12 @@ model RoutePropertiesFormat { */ nextHopIpAddress?: string; + /** + * The next hop definition containing ECMP next hop IP addresses. Only allowed when nextHopType is VirtualApplianceEcmp. + */ + @added(Versions.v2025_07_01) + nextHop?: RouteNextHopEcmp; + /** * The provisioning state of the route resource. */ @@ -3770,6 +3849,21 @@ model RoutePropertiesFormat { hasBgpOverride?: boolean; } +/** + * The next hop definition for ECMP routes containing multiple next hop IP addresses. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Brownfield service: RouteNextHopEcmp uses Legacy.feature for consistency with existing Network routing models" +@Azure.ResourceManager.Legacy.feature(Features.virtualNetwork) +@added(Versions.v2025_07_01) +model RouteNextHopEcmp { + /** + * List of next hop IP addresses for ECMP routing. Must contain between 2 and 64 IP addresses. + */ + @minItems(2) + @maxItems(64) + nextHopIpAddresses: string[]; +} + /** * Service Endpoint policy definition resource. */ @@ -3978,6 +4072,12 @@ model VirtualNetworkPropertiesFormat { */ @visibility(Lifecycle.Read) defaultPublicNatGateway?: SubResource; + + /** + * A configurable list of summarized gateway prefixes advertised for the virtual network. + */ + @added(Versions.v2025_07_01) + summarizedGatewayPrefixes?: AddressSpace; } /** diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/AzureFirewall.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/AzureFirewall.tsp index cf4908254660..cfe7dd92fa82 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/AzureFirewall.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/AzureFirewall.tsp @@ -2,10 +2,12 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; import "@typespec/rest"; +import "@typespec/versioning"; import "./models.tsp"; import "../Common/main.tsp"; using TypeSpec.Rest; +using TypeSpec.Versioning; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; @@ -62,6 +64,14 @@ interface AzureFirewalls { @tag("AzureFirewalls") createOrUpdate is ArmResourceCreateOrReplaceAsync< AzureFirewall, + Parameters = { + /** + * When set to true, creates an AFC control plane for the Azure Firewall. + */ + @added(Versions.v2025_07_01) + @query("createAfcControlPlane") + createAfcControlPlane?: boolean; + }, Error = CloudError >; diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/Commit.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/Commit.tsp new file mode 100644 index 000000000000..aa1b56b294fe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/Commit.tsp @@ -0,0 +1,156 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "./models.tsp"; +import "./NetworkManager.tsp"; +import "../Common/main.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using TypeSpec.Versioning; +using Common; + +namespace Microsoft.Network; + +/** + * The commit resource + */ +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Using ChildResource base type with includeInapplicableMetadataInPayload for consistency with all existing Network Manager child resources (e.g., ScopeConnection, AdminRuleCollection, ConnectivityConfiguration)" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "ChildResource is the established pattern for all Network Manager child resources to maintain consistent swagger output across the service" +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "Inheriting from ChildResource is required to match the existing Network Manager resource model hierarchy" +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Using Legacy.feature(Features.networkManager) for consistency with all Network Manager resources in this TypeSpec project" +@parentResource(NetworkManager) +@Http.Private.includeInapplicableMetadataInPayload(false) +@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@added(Versions.v2025_07_01) +model Commit extends ChildResource { + properties?: CommitProperties; + + @visibility(Lifecycle.Read) + @path + @key("commitName") + @segment("commits") + @pattern("^(?![.-])[a-zA-Z0-9_.-]{1,128}$") + name: string; + + /** + * The system metadata related to this resource. + */ + @visibility(Lifecycle.Read) + systemData?: Azure.ResourceManager.Foundations.SystemData; +} + +/** + * Properties of commit + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Using Legacy.feature(Features.networkManager) for consistency with all Network Manager resources" +@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@added(Versions.v2025_07_01) +model CommitProperties { + /** + * A description of the commit. + */ + description?: string; + + /** + * The provisioning state of the resource. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * Unique identifier for this resource. + */ + @visibility(Lifecycle.Read) + resourceGuid?: string; + + /** + * Commit Type. + */ + commitType: ConfigurationType; + + /** + * List of configuration IDs. + */ + configurationIds?: Azure.Core.armResourceIdentifier[]; + + /** + * List of target locations. + */ + targetLocations: string[]; + + /** + * List of active locations. + */ + @visibility(Lifecycle.Read) + activeLocations?: string[]; + + /** + * A value that, when changed, forces the commit to be re-evaluated and redeployed. + */ + forceUpdateTag?: string; +} + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Using Legacy.feature(Features.networkManager) for consistency with all Network Manager resources" +@Azure.ResourceManager.Legacy.feature(Features.networkManager) +@added(Versions.v2025_07_01) +@armResourceOperations +// Note: PATCH/Update operation is intentionally omitted. This is consistent with other +// Network Manager child resources (e.g., ScopeConnection, ConnectivityConfiguration, +// NetworkManagerRoutingConfiguration) which also only expose GET, PUT, DELETE, and List. +// Commits are immutable deployment records — partial updates are not semantically meaningful. +// Customers should use PUT (CreateOrUpdate) to replace the full resource. +interface Commits { + /** + * Gets the specified commit. + */ + get is ArmResourceRead; + + /** + * Creates or updates a commit. + */ + createOrUpdate is ArmResourceCreateOrReplaceAsync; + + /** + * Deletes a commit. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/arm-delete-operation-response-codes" "Delete returns 202/204 for async deletion, matching the pattern used by other Network Manager child resources (e.g., AdminRuleCollection, NetworkManagerRoutingConfiguration)" + delete is ArmResourceDeleteWithoutOkAsync< + Commit, + Response = ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Lists all commits for the specified network manager. + */ + list is ArmResourceListByParent< + Commit, + Parameters = { + /** + * An optional query parameter which specifies the maximum number of records to be returned by the server. + */ + @maxValue(20) + @minValue(1) + @query("$top") + $top?: int32; + + /** + * SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls. + */ + @query("$skipToken") + $skipToken?: string; + }, + Error = CloudError + >; +} + +@@doc(Commit.name, "The name of the commit."); +@@doc(Commit.properties, "The Commit properties"); +@@doc(Commits.createOrUpdate::parameters.resource, + "Parameters supplied to specify which commit to create" +); diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectionPolicy.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectionPolicy.tsp new file mode 100644 index 000000000000..ff0584e1bdc4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ConnectionPolicy.tsp @@ -0,0 +1,91 @@ +import "@azure-tools/typespec-azure-core"; +import "@azure-tools/typespec-azure-resource-manager"; +import "@typespec/openapi"; +import "@typespec/rest"; +import "@typespec/versioning"; +import "./models.tsp"; +import "./VirtualHub.tsp"; +import "../Common/main.tsp"; + +using TypeSpec.Rest; +using Azure.ResourceManager; +using TypeSpec.Http; +using TypeSpec.OpenAPI; +using TypeSpec.Versioning; +using Common; + +namespace Microsoft.Network; +/** + * ConnectionPolicy resource defined for VirtualHub. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy feature decorator required for Network RP VirtualWAN feature gating, consistent with all other VirtualWAN interface definitions" +#suppress "@azure-tools/typespec-azure-core/no-private-usage" "Required for includeInapplicableMetadataInPayload which suppresses systemData in the response payload, consistent with all other VirtualWAN nested resources" +#suppress "@azure-tools/typespec-azure-resource-manager/arm-custom-resource-usage-discourage" "ConnectionPolicy uses the local Network RP ProxyResource base type consistent with all other VirtualWAN nested resources (e.g. AzureWebCategory, BgpConnection)" +#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "Extending the local Network RP ProxyResource is the established pattern for nested resources in this RP" +@added(Versions.v2025_07_01) +@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@parentResource(VirtualHub) +@Http.Private.includeInapplicableMetadataInPayload(false) +model ConnectionPolicy extends ProxyResource { + /** + * Properties of the ConnectionPolicy resource. + */ + properties?: ConnectionPolicyProperties; + + /** + * The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource. + */ + @visibility(Lifecycle.Read) + @path + @key("connectionPolicyName") + @segment("connectionPolicies") + @pattern("^(?![.-])[a-zA-Z0-9_.-]{1,128}$") + name: string; +} + +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy feature decorator required for Network RP VirtualWAN feature gating, consistent with all other VirtualWAN interface definitions" +@added(Versions.v2025_07_01) +@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +@armResourceOperations(#{ omitTags: true }) +interface ConnectionPolicies { + /** + * Retrieves the details of a ConnectionPolicy. + */ + get is ArmResourceRead; + + /** + * Creates a ConnectionPolicy if it doesn't exist else updates the existing one. + */ + createOrUpdate is ArmResourceCreateOrReplaceAsync< + ConnectionPolicy, + Error = CloudError + >; + + /** + * Deletes a ConnectionPolicy. + */ + delete is ArmResourceDeleteWithoutOkAsync< + ConnectionPolicy, + Response = ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, + Error = CloudError + >; + + /** + * Retrieves the details of all ConnectionPolicies. + */ + list is ArmResourceListByParent< + ConnectionPolicy, + Response = ArmResponse, + Error = CloudError + >; +} + +@@doc(ConnectionPolicy.name, + "The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource." +); +@@doc(ConnectionPolicy.properties, + "Properties of the ConnectionPolicy resource." +); +@@doc(ConnectionPolicies.createOrUpdate::parameters.resource, + "Parameters supplied to create or update a ConnectionPolicy." +); diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/DdosCustomPolicy.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/DdosCustomPolicy.tsp index b776b7034d72..2392c1399e7c 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/DdosCustomPolicy.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/DdosCustomPolicy.tsp @@ -2,6 +2,7 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; import "@typespec/rest"; +import "@typespec/versioning"; import "./models.tsp"; import "../Common/main.tsp"; @@ -9,6 +10,7 @@ using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; +using TypeSpec.Versioning; using Common; namespace Microsoft.Network; @@ -76,6 +78,20 @@ interface DdosCustomPolicies { Response = ArmDeletedResponse | ArmDeleteAcceptedLroResponse | ArmDeletedNoContentResponse, Error = CloudError >; + + /** + * Gets all the DDoS custom policies in a resource group. + */ + @added(Versions.v2025_07_01) + @tag("ddosCustomPolicies") + list is ArmResourceListByParent; + + /** + * Gets all the DDoS custom policies in a subscription. + */ + @added(Versions.v2025_07_01) + @tag("ddosCustomPolicies") + listAll is ArmListBySubscription; } @@doc(DdosCustomPolicy.name, "The name of the DDoS custom policy."); diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuit.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuit.tsp index 845033a65fcd..aaa850837269 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuit.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteCircuit.tsp @@ -2,6 +2,7 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; import "@typespec/rest"; +import "@typespec/versioning"; import "./models.tsp"; import "../Common/main.tsp"; @@ -9,6 +10,7 @@ using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; +using TypeSpec.Versioning; using Common; namespace Microsoft.Network; @@ -108,6 +110,126 @@ interface ExpressRouteCircuits { ArmResponse, Error = CloudError >; + + /** + * Retrieves the details of all the link failover tests performed on the express route circuit. + */ + @tag("ExpressRouteCircuits") + @action("getCircuitLinkFailoverAllTestsDetails") + @added(Versions.v2025_07_01) + getCircuitLinkFailoverAllTestsDetails is ArmResourceActionAsync< + ExpressRouteCircuit, + void, + Response = { + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @body body: ExpressRouteLinkFailoverAllTestsDetailsList; + }, + Parameters = { + /** + * The type of failover test. + */ + @query("failoverTestType") + failoverTestType?: string; + + /** + * Fetch only the latest tests. + */ + @query("fetchLatest") + fetchLatest?: boolean; + }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + Error = CloudError + >; + + /** + * Retrieves the details of a particular link failover test performed on the express route circuit. + */ + @tag("ExpressRouteCircuits") + @action("getCircuitLinkFailoverSingleTestDetails") + @added(Versions.v2025_07_01) + getCircuitLinkFailoverSingleTestDetails is ArmResourceActionAsync< + ExpressRouteCircuit, + void, + Response = { + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @body body: ExpressRouteLinkFailoverSingleTestDetailsList; + }, + Parameters = { + /** + * The link type. + */ + @query("linkType") + linkType: string; + + /** + * The circuit test category. + */ + @query("circuitTestCategory") + circuitTestCategory: string; + + /** + * The unique Guid value which identifies the test. + */ + @query("failoverTestId") + failoverTestId: string; + }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + Error = CloudError + >; + + /** + * Starts link failover simulation on the express route circuit for the specified link type and test category. + */ + @tag("ExpressRouteCircuits") + @action("startCircuitLinkFailoverTest") + @added(Versions.v2025_07_01) + startCircuitLinkFailoverTest is ArmResourceActionAsync< + ExpressRouteCircuit, + void, + { + /** The result of the start circuit link failover test operation. */ + @body body: stringApplicationJson; + }, + Parameters = { + /** + * The link type. + */ + @query("linkType") + linkType: string; + + /** + * The circuit test category. + */ + @query("circuitTestCategory") + circuitTestCategory: string; + }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + Error = CloudError + >; + + /** + * Stops link failover simulation on the express route circuit. + */ + @tag("ExpressRouteCircuits") + @action("stopCircuitLinkFailoverTest") + @added(Versions.v2025_07_01) + stopCircuitLinkFailoverTest is ArmResourceActionAsync< + ExpressRouteCircuit, + { + /** Parameters supplied to stop the link failover simulation on the express route circuit. */ + @bodyRoot stopParameters: ExpressRouteLinkFailoverStopApiParameters; + }, + { + /** The result of the stop circuit link failover test operation. */ + @body body: stringApplicationJson; + }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + Error = CloudError + >; } @@doc(ExpressRouteCircuit.name, "The name of express route circuit."); diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteGateway.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteGateway.tsp index bbc8990d2246..5a0505527c79 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteGateway.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/ExpressRouteGateway.tsp @@ -2,6 +2,7 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; import "@typespec/rest"; +import "@typespec/versioning"; import "./models.tsp"; import "../Common/main.tsp"; @@ -9,6 +10,7 @@ using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; +using TypeSpec.Versioning; using Common; namespace Microsoft.Network; @@ -218,6 +220,155 @@ interface ExpressRouteGateways { ArmResponse, Error = CloudError >; + + /** + * Retrieves the details of all the failover tests performed on the ExpressRoute gateway for different peering locations. + */ + @tag("ExpressRouteGateways") + @action("getFailoverAllTestsDetails") + @added(Versions.v2025_07_01) + getFailoverAllTestsDetails is ArmResourceActionAsync< + ExpressRouteGateway, + void, + Response = { + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @body body: ExpressRouteFailoverAllTestDetails; + }, + Parameters = { + /** + * The type of failover test. + */ + @query("type") + type?: string; + + /** + * Fetch only the latest tests for each peering location. + */ + @query("fetchLatest") + fetchLatest?: boolean; + }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + Error = CloudError + >; + + /** + * Retrieves the details of a particular failover test performed on the ExpressRoute gateway based on the test Guid. + */ + @tag("ExpressRouteGateways") + @added(Versions.v2025_07_01) + getFailoverSingleTestDetails is ArmResourceActionAsync< + ExpressRouteGateway, + void, + Response = { + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @body body: ExpressRouteFailoverSingleTestDetailsObject; + }, + Parameters = { + /** + * Peering location of the test. + */ + @query("peeringLocation") + peeringLocation: string; + + /** + * The unique Guid value which identifies the test. + */ + @query("failoverTestId") + failoverTestId: string; + }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + Error = CloudError + >; + + /** + * Starts failover simulation on the ExpressRoute gateway for the specified peering location. + */ + @tag("ExpressRouteGateways") + @action("startSiteFailoverTest") + @added(Versions.v2025_07_01) + startSiteFailoverTest is ArmResourceActionAsync< + ExpressRouteGateway, + void, + { + @body body: stringApplicationJson; + }, + Parameters = { + /** + * Peering location of the test. + */ + @query("peeringLocation") + peeringLocation: string; + }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + Error = CloudError + >; + + /** + * Stops failover simulation on the ExpressRoute gateway for the specified peering location. + */ + @tag("ExpressRouteGateways") + @action("stopSiteFailoverTest") + @added(Versions.v2025_07_01) + stopSiteFailoverTest is ArmResourceActionAsync< + ExpressRouteGateway, + { + /** Parameters supplied to stop the failover simulation on the express route gateway. */ + @bodyRoot stopParameters: ExpressRouteFailoverStopApiParameters; + }, + { + @body body: stringApplicationJson; + }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + Error = CloudError + >; + + /** + * Retrieves the route sets information for the ExpressRoute gateway. + */ + @tag("ExpressRouteGateways") + @action("getRoutesInformation") + @added(Versions.v2025_07_01) + getRoutesInformation is ArmResourceActionAsync< + ExpressRouteGateway, + void, + ArmResponse, + Parameters = { + /** + * Whether to attempt a refresh of the route sets. + */ + @query("attemptRefresh") + attemptRefresh?: boolean; + }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + Error = CloudError + >; + + /** + * Retrieves the resiliency information for the ExpressRoute gateway. + */ + @tag("ExpressRouteGateways") + @action("getResiliencyInformation") + @added(Versions.v2025_07_01) + getResiliencyInformation is ArmResourceActionAsync< + ExpressRouteGateway, + void, + ArmResponse, + Parameters = { + /** + * Whether to attempt a refresh of the resiliency information. + */ + @query("attemptRefresh") + attemptRefresh?: boolean; + }, + LroHeaders = ArmLroLocationHeader & + Azure.Core.Foundations.RetryAfterHeader, + Error = CloudError + >; } @@doc(ExpressRouteGateway.name, "The name of the ExpressRoute gateway."); diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/LoadBalancer.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/LoadBalancer.tsp index c6ee48779833..552f2bf9579d 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/LoadBalancer.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/LoadBalancer.tsp @@ -2,6 +2,7 @@ import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "@typespec/openapi"; import "@typespec/rest"; +import "@typespec/versioning"; import "./models.tsp"; import "../Common/LoadBalancer.tsp"; @@ -9,6 +10,7 @@ using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; +using TypeSpec.Versioning; using Common; namespace Microsoft.Network; @@ -51,6 +53,13 @@ interface LoadBalancers { */ @query("$expand") $expand?: string; + + /** + * Controls verbosity of the returned load balancer resource. When set to 'Reduced', read-only back-reference collections (e.g., rules referencing frontendIPConfigurations) are omitted from the response. + */ + @added(Versions.v2025_07_01) + @query("detailLevel") + detailLevel?: LoadBalancerDetailLevel; }, Error = CloudError >; diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/NatGateway.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/NatGateway.tsp index dd606f0251be..80267bedf0b5 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/NatGateway.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/NatGateway.tsp @@ -9,6 +9,7 @@ using TypeSpec.Rest; using Azure.ResourceManager; using TypeSpec.Http; using TypeSpec.OpenAPI; +using TypeSpec.Versioning; using Common; namespace Microsoft.Network; diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/back-compatible.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/back-compatible.tsp index f791470964c8..bba6a64600d5 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/back-compatible.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/back-compatible.tsp @@ -4,6 +4,7 @@ import "../Common/main.tsp"; using Azure.ClientGenerator.Core; using Common; using Microsoft.Network; +using TypeSpec.Versioning; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@Legacy.flattenProperty(ApplicationGatewayIPConfiguration.properties); @@ -1771,3 +1772,9 @@ using Microsoft.Network; @@Azure.ClientGenerator.Core.alternateType(SingletonResourceAlias.singletonResource, "swap" ); + +@@added(DdosSettings.ddosCustomPolicy, Microsoft.Network.Versions.v2025_07_01); + +@@added(DdosCustomPolicyPropertiesFormat.publicIPAddresses, + Microsoft.Network.Versions.v2025_07_01 +); diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AllVirtualNetworkGatewayRadiusServerSecretsList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AllVirtualNetworkGatewayRadiusServerSecretsList.json new file mode 100644 index 000000000000..79da09da9d13 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AllVirtualNetworkGatewayRadiusServerSecretsList.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "radiusServerAddress": "1.1.1.1", + "radiusServerSecret": "*****" + }, + { + "radiusServerAddress": "2.2.2.2", + "radiusServerSecret": "*****" + } + ] + } + } + }, + "operationId": "VirtualNetworkGateways_ListRadiusSecrets", + "title": "ListAllVirtualNetworkGatewayRadiusServerSecrets" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AllVpnServerConfigurationRadiusServerSecretsList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AllVpnServerConfigurationRadiusServerSecretsList.json new file mode 100644 index 000000000000..d2edc847823e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AllVpnServerConfigurationRadiusServerSecretsList.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "vpnServerConfigurationName": "vpnserverconfig" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "radiusServerAddress": "1.1.1.1", + "radiusServerSecret": "*****" + }, + { + "radiusServerAddress": "2.2.2.2", + "radiusServerSecret": "*****" + } + ] + } + } + }, + "operationId": "VpnServerConfigurations_ListRadiusSecrets", + "title": "ListAllVpnServerConfigurationRadiusServerSecrets" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableRequestHeadersGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableRequestHeadersGet.json new file mode 100644 index 000000000000..7c63a73ab667 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableRequestHeadersGet.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "responses": { + "200": { + "body": { + "value": [ + "Accept-Charset" + ] + } + } + }, + "operationId": "ApplicationGateways_ListAvailableRequestHeaders", + "title": "Get Available Request Headers" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableResponseHeadersGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableResponseHeadersGet.json new file mode 100644 index 000000000000..691a56890d1b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableResponseHeadersGet.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "responses": { + "200": { + "body": [ + "Access-Control-Allow-Origin" + ] + } + }, + "operationId": "ApplicationGateways_ListAvailableResponseHeaders", + "title": "Get Available Response Headers" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableServerVariablesGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableServerVariablesGet.json new file mode 100644 index 000000000000..568e76a13af7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableServerVariablesGet.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "responses": { + "200": { + "body": [ + "request_query" + ] + } + }, + "operationId": "ApplicationGateways_ListAvailableServerVariables", + "title": "Get Available Server Variables" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableSslOptionsGet.json new file mode 100644 index 000000000000..14d2735f3f65 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableSslOptionsGet.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default", + "properties": { + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "predefinedPolicies": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S" + } + ] + } + } + } + }, + "operationId": "ApplicationGateways_ListAvailableSslOptions", + "title": "Get Available Ssl Options" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json new file mode 100644 index 000000000000..e235d23733ca --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } + }, + "operationId": "ApplicationGateways_ListAvailableSslPredefinedPolicies", + "title": "Get Available Ssl Predefined Policies" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json new file mode 100644 index 000000000000..b9131602be90 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "predefinedPolicyName": "AppGwSslPolicy20150501", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } + }, + "operationId": "ApplicationGateways_GetSslPredefinedPolicy", + "title": "Get Available Ssl Predefined Policy by name" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableWafRuleSetsGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableWafRuleSetsGet.json new file mode 100644 index 000000000000..06b9de6cb53e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayAvailableWafRuleSetsGet.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "OWASP_3.0", + "type": "Microsoft.Network/applicationGatewayAvailableWafRuleSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/OWASP_3.0", + "properties": { + "provisioningState": "Succeeded", + "ruleGroups": [ + { + "description": "", + "ruleGroupName": "General", + "rules": [ + { + "description": "Multipart Request Body Strict Validation.", + "ruleId": 200003, + "ruleIdString": "200003", + "state": "Disabled" + }, + { + "description": "Possible Multipart Unmatched Boundary.", + "ruleId": 200004, + "ruleIdString": "200004" + } + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.0" + } + } + ] + } + } + }, + "operationId": "ApplicationGateways_ListAvailableWafRuleSets", + "title": "Get Available Waf Rule Sets" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayBackendHealthGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayBackendHealthGet.json new file mode 100644 index 000000000000..3ec4944300ad --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayBackendHealthGet.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "resourceGroupName": "appgw", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "backendAddressPools": [ + { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool" + }, + "backendHttpSettingsCollection": [ + { + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings" + }, + "servers": [ + { + "address": "10.220.1.8", + "health": "Up" + } + ] + } + ] + }, + { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool" + }, + "backendHttpSettingsCollection": [ + { + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings" + }, + "servers": [ + { + "address": "10.220.1.4", + "health": "Up" + }, + { + "address": "10.220.1.5", + "health": "Up" + } + ] + } + ] + } + ] + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ApplicationGateways_BackendHealth", + "title": "Get Backend Health" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayBackendHealthTest.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayBackendHealthTest.json new file mode 100644 index 000000000000..700bb1c16168 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayBackendHealthTest.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "probeRequest": { + "path": "/", + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings" + }, + "pickHostNameFromBackendHttpSettings": true, + "timeout": 30, + "protocol": "Http" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool" + }, + "backendHealthHttpSettings": { + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings" + }, + "servers": [ + { + "address": "10.220.1.4", + "health": "Up" + }, + { + "address": "10.220.1.5", + "health": "Up" + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ApplicationGateways_BackendHealthOnDemand", + "title": "Test Backend Health" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayCreate.json new file mode 100644 index 000000000000..bbc871f4a122 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayCreate.json @@ -0,0 +1,824 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "appgwpool", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.1.1" + }, + { + "ipAddress": "10.0.1.2" + } + ] + } + }, + { + "name": "appgwpool1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.0.1" + }, + { + "ipAddress": "10.0.0.2" + } + ] + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "properties": { + "cookieBasedAffinity": "Disabled", + "port": 80, + "requestTimeout": 30, + "protocol": "Http" + } + } + ], + "entraJWTValidationConfigs": [ + { + "name": "entraJWTValidationConfig1", + "properties": { + "clientId": "37293f5a-97b3-451d-b786-f532d711c9ff", + "tenantId": "70a036f6-8e4d-4615-bad6-149c02e7720d", + "unAuthorizedRequestAction": "Deny" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "properties": { + "port": 443 + } + }, + { + "name": "appgwfp80", + "properties": { + "port": 80 + } + } + ], + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet" + } + } + } + ], + "globalConfiguration": { + "enableRequestBuffering": true, + "enableResponseBuffering": true + }, + "httpListeners": [ + { + "name": "appgwhl", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "requireServerNameIndication": false, + "sslCertificate": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "sslProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1" + }, + "protocol": "Https" + } + }, + { + "name": "appgwhttplistener", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "protocol": "Http" + } + } + ], + "requestRoutingRules": [ + { + "name": "appgwrule", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "entraJWTValidationConfig": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1" + }, + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "priority": 10, + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "ruleType": "Basic" + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "properties": { + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_add_x_forwarded_for_proxy}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ], + "urlConfiguration": { + "modifiedPath": "/abc" + } + }, + "conditions": [ + { + "ignoreCase": true, + "negate": false, + "pattern": "^Bearer", + "variable": "http_req_Authorization" + } + ], + "ruleSequence": 102 + } + ] + } + } + ], + "sku": { + "name": "Standard_v2", + "capacity": 3, + "tier": "Standard_v2" + }, + "sslCertificates": [ + { + "name": "sslcert", + "properties": { + "data": "****", + "password": "****" + } + }, + { + "name": "sslcert2", + "properties": { + "keyVaultSecretId": "https://kv/secret" + } + } + ], + "sslProfiles": [ + { + "name": "sslProfile1", + "properties": { + "clientAuthConfiguration": { + "verifyClientCertIssuerDN": true + }, + "sslPolicy": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_1", + "policyType": "Custom" + }, + "trustedClientCertificates": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert" + } + ] + } + } + ], + "trustedClientCertificates": [ + { + "name": "clientcert", + "properties": { + "data": "****" + } + } + ], + "trustedRootCertificates": [ + { + "name": "rootcert", + "properties": { + "data": "****" + } + }, + { + "name": "rootcert1", + "properties": { + "keyVaultSecretId": "https://kv/secret" + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "appgw", + "type": "Microsoft.Network/applicationGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw", + "location": "southcentralus", + "properties": { + "authenticationCertificates": [], + "backendAddressPools": [ + { + "name": "appgwpool", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.1.1" + }, + { + "ipAddress": "10.0.1.2" + } + ], + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwpool1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.0.1" + }, + { + "ipAddress": "10.0.0.2" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", + "properties": { + "cookieBasedAffinity": "Disabled", + "port": 80, + "provisioningState": "Succeeded", + "requestTimeout": 30, + "protocol": "Http" + } + } + ], + "entraJWTValidationConfigs": [ + { + "name": "entraJWTValidationConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1", + "properties": { + "clientId": "37293f5a-97b3-451d-b786-f532d711c9ff", + "provisioningState": "Succeeded", + "tenantId": "70a036f6-8e4d-4615-bad6-149c02e7720d", + "unAuthorizedRequestAction": "Deny" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp", + "properties": { + "port": 443, + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwfp80", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80", + "properties": { + "port": 80, + "provisioningState": "Succeeded" + } + } + ], + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "globalConfiguration": { + "enableRequestBuffering": true, + "enableResponseBuffering": true + }, + "httpListeners": [ + { + "name": "appgwhl", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "provisioningState": "Succeeded", + "requireServerNameIndication": false, + "sslCertificate": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "sslProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1" + }, + "protocol": "Https" + } + }, + { + "name": "appgwhttplistener", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "provisioningState": "Succeeded", + "protocol": "Http" + } + } + ], + "listeners": [], + "loadDistributionPolicies": [], + "operationalState": "Running", + "privateEndpointConnections": [], + "probes": [], + "provisioningState": "Succeeded", + "redirectConfigurations": [], + "requestRoutingRules": [ + { + "name": "appgwrule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "entraJWTValidationConfig": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1" + }, + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "provisioningState": "Succeeded", + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "ruleType": "Basic" + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", + "properties": { + "provisioningState": "Succeeded", + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_remote-addr}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ], + "urlConfiguration": { + "modifiedPath": "/abc", + "modifiedQueryString": "x=y&a=b" + } + }, + "conditions": [ + { + "ignoreCase": true, + "negate": false, + "pattern": "^Bearer", + "variable": "http_req_Authorization" + } + ], + "ruleSequence": 102 + } + ] + } + } + ], + "routingRules": [], + "sku": { + "name": "Standard_Medium", + "capacity": 3, + "tier": "Standard" + }, + "sslCertificates": [ + { + "name": "sslcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "*****" + } + } + ], + "sslProfiles": [ + { + "name": "sslProfile1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1", + "properties": { + "clientAuthConfiguration": { + "verifyClientCertIssuerDN": true + }, + "provisioningState": "Succeeded", + "sslPolicy": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_1", + "policyType": "Custom" + }, + "trustedClientCertificates": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert" + } + ] + } + } + ], + "trustedClientCertificates": [ + { + "name": "clientcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert", + "properties": { + "data": "****", + "provisioningState": "Succeeded" + } + } + ], + "urlPathMaps": [] + } + } + }, + "201": { + "body": { + "name": "appgw", + "type": "Microsoft.Network/applicationGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw", + "location": "southcentralus", + "properties": { + "authenticationCertificates": [], + "backendAddressPools": [ + { + "name": "appgwpool", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.1.1" + }, + { + "ipAddress": "10.0.1.2" + } + ], + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwpool1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.0.1" + }, + { + "ipAddress": "10.0.0.2" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", + "properties": { + "cookieBasedAffinity": "Disabled", + "port": 80, + "provisioningState": "Succeeded", + "requestTimeout": 30, + "protocol": "Http" + } + } + ], + "entraJWTValidationConfigs": [ + { + "name": "entraJWTValidationConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1", + "properties": { + "clientId": "37293f5a-97b3-451d-b786-f532d711c9ff", + "provisioningState": "Succeeded", + "tenantId": "70a036f6-8e4d-4615-bad6-149c02e7720d", + "unAuthorizedRequestAction": "Deny" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp", + "properties": { + "port": 443, + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwfp80", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80", + "properties": { + "port": 80, + "provisioningState": "Succeeded" + } + } + ], + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "globalConfiguration": { + "enableRequestBuffering": true, + "enableResponseBuffering": true + }, + "httpListeners": [ + { + "name": "appgwhl", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "provisioningState": "Succeeded", + "requireServerNameIndication": false, + "sslCertificate": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "sslProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1" + }, + "protocol": "Https" + } + }, + { + "name": "appgwhttplistener", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "provisioningState": "Succeeded", + "protocol": "Http" + } + } + ], + "listeners": [], + "loadDistributionPolicies": [], + "operationalState": "Running", + "privateEndpointConnections": [], + "probes": [], + "provisioningState": "Succeeded", + "redirectConfigurations": [], + "requestRoutingRules": [ + { + "name": "appgwrule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "entraJWTValidationConfig": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1" + }, + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "provisioningState": "Succeeded", + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "ruleType": "Basic" + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", + "properties": { + "provisioningState": "Succeeded", + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_remote-addr}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ], + "urlConfiguration": { + "modifiedPath": "/abc", + "reroute": true + } + }, + "conditions": [ + { + "ignoreCase": true, + "negate": false, + "pattern": "^Bearer", + "variable": "http_req_Authorization" + } + ], + "ruleSequence": 102 + } + ] + } + } + ], + "routingRules": [], + "sku": { + "name": "Standard_Medium", + "capacity": 3, + "tier": "Standard" + }, + "sslCertificates": [ + { + "name": "sslcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "*****" + } + } + ], + "sslProfiles": [ + { + "name": "sslProfile1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1", + "properties": { + "clientAuthConfiguration": { + "verifyClientAuthMode": "Strict", + "verifyClientCertIssuerDN": true, + "verifyClientRevocation": "OCSP" + }, + "provisioningState": "Succeeded", + "sslPolicy": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_1", + "policyType": "Custom" + }, + "trustedClientCertificates": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert" + } + ] + } + } + ], + "trustedClientCertificates": [ + { + "name": "clientcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert", + "properties": { + "data": "****", + "provisioningState": "Succeeded" + } + } + ], + "urlPathMaps": [] + } + } + } + }, + "operationId": "ApplicationGateways_CreateOrUpdate", + "title": "Create Application Gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayDelete.json new file mode 100644 index 000000000000..0f78647cd9d5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ApplicationGateways_Delete", + "title": "Delete ApplicationGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayGet.json new file mode 100644 index 000000000000..e3d81c24fd2c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayGet.json @@ -0,0 +1,411 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "appgw", + "type": "Microsoft.Network/applicationGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw", + "location": "southcentralus", + "properties": { + "authenticationCertificates": [], + "backendAddressPools": [ + { + "name": "appgwpool", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", + "properties": { + "backendAddresses": [], + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwpool1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.0.1" + }, + { + "ipAddress": "10.0.0.2" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", + "properties": { + "cookieBasedAffinity": "Disabled", + "port": 80, + "provisioningState": "Succeeded", + "requestTimeout": 30, + "protocol": "Http" + } + } + ], + "entraJWTValidationConfigs": [ + { + "name": "entraJWTValidationConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1", + "properties": { + "clientId": "37293f5a-97b3-451d-b786-f532d711c9ff", + "provisioningState": "Succeeded", + "tenantId": "70a036f6-8e4d-4615-bad6-149c02e7720d", + "unAuthorizedRequestAction": "Deny" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp", + "properties": { + "port": 443, + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwfp80", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80", + "properties": { + "port": 80, + "provisioningState": "Succeeded" + } + } + ], + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "globalConfiguration": { + "enableRequestBuffering": true, + "enableResponseBuffering": true + }, + "httpListeners": [ + { + "name": "appgwhl", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "provisioningState": "Succeeded", + "requireServerNameIndication": false, + "sslCertificate": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "sslProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1" + }, + "protocol": "Https" + } + }, + { + "name": "appgwhttplistener", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "provisioningState": "Succeeded", + "protocol": "Http" + } + } + ], + "loadDistributionPolicies": [ + { + "name": "ldp1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1", + "properties": { + "loadDistributionAlgorithm": "RoundRobin", + "loadDistributionTargets": [ + { + "name": "ld11", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1/loadDistributionTargets/ldt1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "weightPerServer": 40 + } + }, + { + "name": "ld11", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1/loadDistributionTargets/ldt1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1" + }, + "weightPerServer": 60 + } + } + ] + } + } + ], + "operationalState": "Running", + "privateEndpointConnections": [], + "privateLinkConfigurations": [ + { + "name": "privateLink1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1", + "properties": { + "ipConfigurations": [ + { + "name": "natNicIpconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1/privateLinkConfigurations/privateLink1/ipConfigurations/natNicIpconfig1", + "properties": { + "primary": true, + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + }, + { + "name": "natNicIpconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1/privateLinkConfigurations/privateLink1/ipConfigurations/natNicIpconfig2", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "probes": [], + "provisioningState": "Succeeded", + "requestRoutingRules": [ + { + "name": "appgwrule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "loadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "priority": 10, + "provisioningState": "Succeeded", + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "ruleType": "Basic" + } + }, + { + "name": "appgwPathBasedRule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule", + "properties": { + "entraJWTValidationConfig": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1" + }, + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener" + }, + "priority": 20, + "provisioningState": "Succeeded", + "ruleType": "PathBasedRouting", + "urlPathMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1" + } + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", + "properties": { + "provisioningState": "Succeeded", + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_remote-addr}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ], + "urlConfiguration": { + "modifiedPath": "/abc", + "modifiedQueryString": "x=y&a=b", + "reroute": false + } + }, + "conditions": [ + { + "ignoreCase": true, + "negate": false, + "pattern": "^Bearer", + "variable": "http_req_Authorization" + } + ], + "ruleSequence": 102 + } + ] + } + } + ], + "sku": { + "name": "Standard_Medium", + "capacity": 3, + "tier": "Standard" + }, + "sslCertificates": [ + { + "name": "sslcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "*****" + } + } + ], + "sslProfiles": [ + { + "name": "sslProfile1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1", + "properties": { + "clientAuthConfiguration": { + "verifyClientAuthMode": "Strict", + "verifyClientCertIssuerDN": true, + "verifyClientRevocation": "OCSP" + }, + "provisioningState": "Succeeded", + "sslPolicy": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_1", + "policyType": "Custom" + }, + "trustedClientCertificates": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert" + } + ] + } + } + ], + "trustedClientCertificates": [ + { + "name": "clientcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert", + "properties": { + "clientCertIssuerDN": "CN=User1, OU=Eng, O=Company Ltd, L=D4, S=Arizona, C=US", + "data": "****", + "provisioningState": "Succeeded", + "validatedCertData": "****" + } + } + ], + "urlPathMaps": [ + { + "name": "pathMap1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1", + "properties": { + "defaultBackendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "defaultBackendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "defaultLoadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "defaultRewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "pathRules": [ + { + "name": "apiPaths", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "loadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "paths": [ + "/api", + "/v1/api" + ], + "provisioningState": "Succeeded", + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + } + }, + "operationId": "ApplicationGateways_Get", + "title": "Get ApplicationGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayList.json new file mode 100644 index 000000000000..e3b79e0e72e1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayList.json @@ -0,0 +1,414 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "appgw", + "type": "Microsoft.Network/applicationGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw", + "location": "southcentralus", + "properties": { + "authenticationCertificates": [], + "backendAddressPools": [ + { + "name": "appgwpool", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", + "properties": { + "backendAddresses": [], + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwpool1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.0.1" + }, + { + "ipAddress": "10.0.0.2" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", + "properties": { + "cookieBasedAffinity": "Disabled", + "port": 80, + "provisioningState": "Succeeded", + "requestTimeout": 30, + "protocol": "Http" + } + } + ], + "entraJWTValidationConfigs": [ + { + "name": "entraJWTValidationConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1", + "properties": { + "clientId": "37293f5a-97b3-451d-b786-f532d711c9ff", + "provisioningState": "Succeeded", + "tenantId": "70a036f6-8e4d-4615-bad6-149c02e7720d", + "unAuthorizedRequestAction": "Deny" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp", + "properties": { + "port": 443, + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwfp80", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80", + "properties": { + "port": 80, + "provisioningState": "Succeeded" + } + } + ], + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "globalConfiguration": { + "enableRequestBuffering": true, + "enableResponseBuffering": true + }, + "httpListeners": [ + { + "name": "appgwhl", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "provisioningState": "Succeeded", + "requireServerNameIndication": false, + "sslCertificate": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "sslProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1" + }, + "protocol": "Https" + } + }, + { + "name": "appgwhttplistener", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "provisioningState": "Succeeded", + "protocol": "Http" + } + } + ], + "loadDistributionPolicies": [ + { + "name": "ldp1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1", + "properties": { + "loadDistributionAlgorithm": "RoundRobin", + "loadDistributionTargets": [ + { + "name": "ld11", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1/loadDistributionTargets/ldt1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "weightPerServer": 40 + } + }, + { + "name": "ld11", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1/loadDistributionTargets/ldt1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1" + }, + "weightPerServer": 60 + } + } + ] + } + } + ], + "operationalState": "Running", + "privateEndpointConnections": [], + "privateLinkConfigurations": [ + { + "name": "privateLink1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1", + "properties": { + "ipConfigurations": [ + { + "name": "natNicIpconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1/privateLinkConfigurations/privateLink1/ipConfigurations/natNicIpconfig1", + "properties": { + "primary": true, + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + }, + { + "name": "natNicIpconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1/privateLinkConfigurations/privateLink1/ipConfigurations/natNicIpconfig2", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "probes": [], + "provisioningState": "Succeeded", + "requestRoutingRules": [ + { + "name": "appgwrule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "entraJWTValidationConfig": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1" + }, + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "loadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "priority": 10, + "provisioningState": "Succeeded", + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "ruleType": "Basic" + } + }, + { + "name": "appgwPathBasedRule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule", + "properties": { + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener" + }, + "priority": 20, + "provisioningState": "Succeeded", + "ruleType": "PathBasedRouting", + "urlPathMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1" + } + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", + "properties": { + "provisioningState": "Succeeded", + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_remote-addr}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ], + "urlConfiguration": { + "modifiedPath": "/abc", + "modifiedQueryString": "x=y&a=b", + "reroute": false + } + }, + "conditions": [ + { + "ignoreCase": true, + "negate": false, + "pattern": "^Bearer", + "variable": "http_req_Authorization" + } + ], + "ruleSequence": 102 + } + ] + } + } + ], + "sku": { + "name": "Standard_Medium", + "capacity": 3, + "tier": "Standard" + }, + "sslCertificates": [ + { + "name": "sslcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "*****" + } + } + ], + "sslProfiles": [ + { + "name": "sslProfile1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1", + "properties": { + "clientAuthConfiguration": { + "verifyClientAuthMode": "Strict", + "verifyClientCertIssuerDN": true, + "verifyClientRevocation": "OCSP" + }, + "provisioningState": "Succeeded", + "sslPolicy": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_1", + "policyType": "Custom" + }, + "trustedClientCertificates": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert" + } + ] + } + } + ], + "trustedClientCertificates": [ + { + "name": "clientcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert", + "properties": { + "clientCertIssuerDN": "CN=User1, OU=Eng, O=Company Ltd, L=D4, S=Arizona, C=US", + "data": "****", + "provisioningState": "Succeeded", + "validatedCertData": "****" + } + } + ], + "urlPathMaps": [ + { + "name": "pathMap1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1", + "properties": { + "defaultBackendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "defaultBackendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "defaultLoadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "defaultRewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "pathRules": [ + { + "name": "apiPaths", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "loadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "paths": [ + "/api", + "/v1/api" + ], + "provisioningState": "Succeeded", + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + ] + } + } + }, + "operationId": "ApplicationGateways_List", + "title": "Lists all application gateways in a resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayListAll.json new file mode 100644 index 000000000000..f65959d61101 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayListAll.json @@ -0,0 +1,413 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "appgw", + "type": "Microsoft.Network/applicationGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw", + "location": "southcentralus", + "properties": { + "authenticationCertificates": [], + "backendAddressPools": [ + { + "name": "appgwpool", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", + "properties": { + "backendAddresses": [], + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwpool1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.0.1" + }, + { + "ipAddress": "10.0.0.2" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", + "properties": { + "cookieBasedAffinity": "Disabled", + "port": 80, + "provisioningState": "Succeeded", + "requestTimeout": 30, + "protocol": "Http" + } + } + ], + "entraJWTValidationConfigs": [ + { + "name": "entraJWTValidationConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1", + "properties": { + "clientId": "37293f5a-97b3-451d-b786-f532d711c9ff", + "provisioningState": "Succeeded", + "tenantId": "70a036f6-8e4d-4615-bad6-149c02e7720d", + "unAuthorizedRequestAction": "Deny" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp", + "properties": { + "port": 443, + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwfp80", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80", + "properties": { + "port": 80, + "provisioningState": "Succeeded" + } + } + ], + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "globalConfiguration": { + "enableRequestBuffering": true, + "enableResponseBuffering": true + }, + "httpListeners": [ + { + "name": "appgwhl", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "provisioningState": "Succeeded", + "requireServerNameIndication": false, + "sslCertificate": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "sslProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1" + }, + "protocol": "Https" + } + }, + { + "name": "appgwhttplistener", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "provisioningState": "Succeeded", + "protocol": "Http" + } + } + ], + "loadDistributionPolicies": [ + { + "name": "ldp1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1", + "properties": { + "loadDistributionAlgorithm": "RoundRobin", + "loadDistributionTargets": [ + { + "name": "ld11", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1/loadDistributionTargets/ldt1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "weightPerServer": 40 + } + }, + { + "name": "ld11", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1/loadDistributionTargets/ldt1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1" + }, + "weightPerServer": 60 + } + } + ] + } + } + ], + "operationalState": "Running", + "privateEndpointConnections": [], + "privateLinkConfigurations": [ + { + "name": "privateLink1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1", + "properties": { + "ipConfigurations": [ + { + "name": "natNicIpconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1/privateLinkConfigurations/privateLink1/ipConfigurations/natNicIpconfig1", + "properties": { + "primary": true, + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + }, + { + "name": "natNicIpconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1/privateLinkConfigurations/privateLink1/ipConfigurations/natNicIpconfig2", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "probes": [], + "provisioningState": "Succeeded", + "requestRoutingRules": [ + { + "name": "appgwrule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "entraJWTValidationConfig": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1" + }, + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "loadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "priority": 10, + "provisioningState": "Succeeded", + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "ruleType": "Basic" + } + }, + { + "name": "appgwPathBasedRule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule", + "properties": { + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener" + }, + "priority": 20, + "provisioningState": "Succeeded", + "ruleType": "PathBasedRouting", + "urlPathMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1" + } + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", + "properties": { + "provisioningState": "Succeeded", + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_remote-addr}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ], + "urlConfiguration": { + "modifiedPath": "/abc", + "modifiedQueryString": "x=y&a=b", + "reroute": false + } + }, + "conditions": [ + { + "ignoreCase": true, + "negate": false, + "pattern": "^Bearer", + "variable": "http_req_Authorization" + } + ], + "ruleSequence": 102 + } + ] + } + } + ], + "sku": { + "name": "Standard_Medium", + "capacity": 3, + "tier": "Standard" + }, + "sslCertificates": [ + { + "name": "sslcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "*****" + } + } + ], + "sslProfiles": [ + { + "name": "sslProfile1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1", + "properties": { + "clientAuthConfiguration": { + "verifyClientAuthMode": "Strict", + "verifyClientCertIssuerDN": true, + "verifyClientRevocation": "OCSP" + }, + "provisioningState": "Succeeded", + "sslPolicy": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_1", + "policyType": "Custom" + }, + "trustedClientCertificates": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert" + } + ] + } + } + ], + "trustedClientCertificates": [ + { + "name": "clientcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert", + "properties": { + "clientCertIssuerDN": "CN=User1, OU=Eng, O=Company Ltd, L=D4, S=Arizona, C=US", + "data": "****", + "provisioningState": "Succeeded", + "validatedCertData": "****" + } + } + ], + "urlPathMaps": [ + { + "name": "pathMap1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1", + "properties": { + "defaultBackendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "defaultBackendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "defaultLoadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "defaultRewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "pathRules": [ + { + "name": "apiPaths", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "loadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "paths": [ + "/api", + "/v1/api" + ], + "provisioningState": "Succeeded", + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + ] + } + } + }, + "operationId": "ApplicationGateways_ListAll", + "title": "Lists all application gateways in a subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayPrivateEndpointConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayPrivateEndpointConnectionDelete.json new file mode 100644 index 000000000000..c43d10f3becf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayPrivateEndpointConnectionDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "connectionName": "connection1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ApplicationGatewayPrivateEndpointConnections_Delete", + "title": "Delete Application Gateway Private Endpoint Connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayPrivateEndpointConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayPrivateEndpointConnectionGet.json new file mode 100644 index 000000000000..f6c607f5bdad --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayPrivateEndpointConnectionGet.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "connectionName": "connection1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "connection1", + "type": "Microsoft.Network/applicationGateways/privateEndpointConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkResources/connection1", + "properties": { + "linkIdentifier": "805319460", + "privateEndpoint": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1" + }, + "privateLinkServiceConnectionState": { + "description": "Approval Done", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ApplicationGatewayPrivateEndpointConnections_Get", + "title": "Get Application Gateway Private Endpoint Connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayPrivateEndpointConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayPrivateEndpointConnectionList.json new file mode 100644 index 000000000000..69a012ee54a6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayPrivateEndpointConnectionList.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "connection1", + "type": "Microsoft.Network/applicationGateways/privateEndpointConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkResources/connection1", + "properties": { + "linkIdentifier": "805319460", + "privateEndpoint": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1" + }, + "privateLinkServiceConnectionState": { + "description": "Approval Done", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ApplicationGatewayPrivateEndpointConnections_List", + "title": "Lists all private endpoint connections on application gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayPrivateEndpointConnectionUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayPrivateEndpointConnectionUpdate.json new file mode 100644 index 000000000000..8f9d20bccdc3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayPrivateEndpointConnectionUpdate.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "connectionName": "connection1", + "parameters": { + "name": "connection1", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPlePeConnection", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkResources/testPlePeConnection", + "properties": { + "linkIdentifier": "linkId", + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + } + }, + "202": {} + }, + "operationId": "ApplicationGatewayPrivateEndpointConnections_Update", + "title": "Update Application Gateway Private Endpoint Connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayPrivateLinkResourceList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayPrivateLinkResourceList.json new file mode 100644 index 000000000000..a9d492b28b51 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayPrivateLinkResourceList.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "privateLink1", + "type": "Microsoft.Network/applicationGateways/privateLinkResources", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkResources/privateLink1", + "properties": { + "groupId": "privateLink1", + "requiredMembers": [ + "privateLink1" + ], + "requiredZoneNames": [] + } + } + ] + } + } + }, + "operationId": "ApplicationGatewayPrivateLinkResources_List", + "title": "Lists all private link resources on application gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayStart.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayStart.json new file mode 100644 index 000000000000..7a5f26a484ad --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayStart.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ApplicationGateways_Start", + "title": "Start Application Gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayStop.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayStop.json new file mode 100644 index 000000000000..2fd7bee09ccd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayStop.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ApplicationGateways_Stop", + "title": "Stop Application Gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayUpdateTags.json new file mode 100644 index 000000000000..868fcacc8d8a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationGatewayUpdateTags.json @@ -0,0 +1,150 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "AppGw", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "AppGw", + "type": "Microsoft.Network/applicationGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw", + "location": "westus", + "properties": { + "authenticationCertificates": [], + "backendAddressPools": [ + { + "name": "Pool01", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.10.10.1" + }, + { + "ipAddress": "10.10.10.2" + }, + { + "ipAddress": "10.10.10.3" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "PoolSetting01", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01", + "properties": { + "cookieBasedAffinity": "Disabled", + "pickHostNameFromBackendAddress": false, + "port": 80, + "provisioningState": "Succeeded", + "requestTimeout": 30, + "protocol": "Http" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "FrontEndConfig01", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1" + } + } + } + ], + "frontendPorts": [ + { + "name": "FrontEndPort01", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01", + "properties": { + "port": 80, + "provisioningState": "Succeeded" + } + } + ], + "gatewayIPConfigurations": [ + { + "name": "GatewayIp01", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1" + } + } + } + ], + "httpListeners": [ + { + "name": "listener1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01" + }, + "provisioningState": "Succeeded", + "requireServerNameIndication": false, + "protocol": "Http" + } + } + ], + "operationalState": "Running", + "probes": [], + "provisioningState": "Succeeded", + "redirectConfigurations": [], + "requestRoutingRules": [ + { + "name": "Rule01", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01" + }, + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1" + }, + "provisioningState": "Succeeded", + "ruleType": "Basic" + } + } + ], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "Standard_Small", + "capacity": 2, + "tier": "Standard" + }, + "sslCertificates": [], + "urlPathMaps": [] + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "ApplicationGateways_UpdateTags", + "title": "Update Application Gateway tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupCreate.json new file mode 100644 index 000000000000..92195f70129b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupCreate.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationSecurityGroupName": "test-asg", + "parameters": { + "location": "westus", + "properties": {} + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-asg", + "type": "Microsoft.Network/applicationSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + }, + "201": { + "body": { + "name": "test-asg", + "type": "Microsoft.Network/applicationSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + }, + "operationId": "ApplicationSecurityGroups_CreateOrUpdate", + "title": "Create application security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupDelete.json new file mode 100644 index 000000000000..9c20c89e5cd7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationSecurityGroupName": "test-asg", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ApplicationSecurityGroups_Delete", + "title": "Delete application security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupGet.json new file mode 100644 index 000000000000..f5fb7746a054 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationSecurityGroupName": "test-asg", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-asg", + "type": "Microsoft.Network/applicationSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + }, + "operationId": "ApplicationSecurityGroups_Get", + "title": "Get application security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupList.json new file mode 100644 index 000000000000..a295e4e3dd0b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupList.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "asg1", + "type": "Microsoft.Network/applicationSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + }, + { + "name": "asg2", + "type": "Microsoft.Network/applicationSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + ] + } + } + }, + "operationId": "ApplicationSecurityGroups_List", + "title": "List load balancers in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupListAll.json new file mode 100644 index 000000000000..0c53c77e157a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupListAll.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "asg1", + "type": "Microsoft.Network/applicationSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + }, + { + "name": "asg2", + "type": "Microsoft.Network/applicationSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + ] + } + } + }, + "operationId": "ApplicationSecurityGroups_ListAll", + "title": "List all application security groups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupUpdateTags.json new file mode 100644 index 000000000000..d3ccc9c528b7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ApplicationSecurityGroupUpdateTags.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationSecurityGroupName": "test-asg", + "location": "westus", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-asg", + "type": "Microsoft.Network/applicationSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "ApplicationSecurityGroups_UpdateTags", + "title": "Update application security group tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AutoApprovedPrivateLinkServicesGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AutoApprovedPrivateLinkServicesGet.json new file mode 100644 index 000000000000..ca19cbaa50b5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AutoApprovedPrivateLinkServicesGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "regionName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "privateLinkService": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1" + }, + { + "privateLinkService": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2" + }, + { + "privateLinkService": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3" + } + ] + } + } + }, + "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServices", + "title": "Get list of private link service id that can be linked to a private end point with auto approved" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AutoApprovedPrivateLinkServicesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AutoApprovedPrivateLinkServicesResourceGroupGet.json new file mode 100644 index 000000000000..dd1dbe207ef8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AutoApprovedPrivateLinkServicesResourceGroupGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "regionName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "privateLinkService": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1" + }, + { + "privateLinkService": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2" + }, + { + "privateLinkService": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3" + } + ] + } + } + }, + "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServicesByResourceGroup", + "title": "Get list of private link service id that can be linked to a private end point with auto approved" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailableDelegationsResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailableDelegationsResourceGroupGet.json new file mode 100644 index 000000000000..991720a9126b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailableDelegationsResourceGroupGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westcentralus", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Provider.resourceType", + "type": "Microsoft.Network/availableDelegations", + "actions": [ + "Microsoft.Network/resource/action" + ], + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType", + "serviceName": "Microsoft.Provider/resourceType" + } + ] + } + } + }, + "operationId": "AvailableResourceGroupDelegations_List", + "title": "Get available delegations in the resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailableDelegationsSubscriptionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailableDelegationsSubscriptionGet.json new file mode 100644 index 000000000000..d0dbb50dba43 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailableDelegationsSubscriptionGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westcentralus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Provider.resourceType", + "type": "Microsoft.Network/availableDelegations", + "actions": [ + "Microsoft.Network/resource/action" + ], + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType", + "serviceName": "Microsoft.Provider/resourceType" + } + ] + } + } + }, + "operationId": "AvailableDelegations_List", + "title": "Get available delegations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailablePrivateEndpointTypesGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailablePrivateEndpointTypesGet.json new file mode 100644 index 000000000000..4cb2dbbeb137 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailablePrivateEndpointTypesGet.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "regionName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "type": "Microsoft.Network/availablePrivateEndpointTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType", + "resourceName": "Microsoft.Provider/resourceType" + } + ] + } + } + }, + "operationId": "AvailablePrivateEndpointTypes_List", + "title": "Get available PrivateEndpoint types" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailablePrivateEndpointTypesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailablePrivateEndpointTypesResourceGroupGet.json new file mode 100644 index 000000000000..055aa9024e61 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailablePrivateEndpointTypesResourceGroupGet.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "regionName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "type": "Microsoft.Network/availablePrivateEndpointTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType", + "resourceName": "Microsoft.Provider/resourceType" + } + ] + } + } + }, + "operationId": "AvailablePrivateEndpointTypes_ListByResourceGroup", + "title": "Get available PrivateEndpoint types in the resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailableServiceAliasesList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailableServiceAliasesList.json new file mode 100644 index 000000000000..12c082a9f39f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailableServiceAliasesList.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westcentralus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "servicesAzure", + "type": "Microsoft.Network/AvailableServiceAliases", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/AvailableServiceAliases/servicesAzure", + "resourceName": "/services/Azure" + }, + { + "name": "servicesAzureManagedInstance", + "type": "Microsoft.Network/AvailableServiceAliases", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/AvailableServiceAliases/servicesAzureManagedInstance", + "resourceName": "/services/Azure/ManagedInstance" + } + ] + } + } + }, + "operationId": "AvailableServiceAliases_List", + "title": "Get available service aliases" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailableServiceAliasesListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailableServiceAliasesListByResourceGroup.json new file mode 100644 index 000000000000..2d5e0e2bb6d2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AvailableServiceAliasesListByResourceGroup.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westcentralus", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "servicesAzure", + "type": "Microsoft.Network/AvailableServiceAliases", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/AvailableServiceAliases/servicesAzure", + "resourceName": "/services/Azure" + }, + { + "name": "servicesAzureManagedInstance", + "type": "Microsoft.Network/AvailableServiceAliases", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/AvailableServiceAliases/servicesAzureManagedInstance", + "resourceName": "/services/Azure/ManagedInstance" + } + ] + } + } + }, + "operationId": "AvailableServiceAliases_ListByResourceGroup", + "title": "Get available service aliases in the resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallDelete.json new file mode 100644 index 000000000000..6d2baf68b3de --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01&t=1234567890&c=abc-123&s=def-456&h=xyz-789" + } + }, + "204": {} + }, + "operationId": "AzureFirewalls_Delete", + "title": "Delete Azure Firewall" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallFqdnTagsListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallFqdnTagsListBySubscription.json new file mode 100644 index 000000000000..a4467a390739 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallFqdnTagsListBySubscription.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "azfwfqdntag", + "type": "Microsoft.Network/azureFirewallFqdnTags", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag", + "location": "West US", + "properties": { + "fqdnTagName": "azfwfqdntag", + "provisioningState": "Succeeded" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "AzureFirewallFqdnTags_ListAll", + "title": "List all Azure Firewall FQDN Tags for a given subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGet.json new file mode 100644 index 000000000000..0e8be2233825 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGet.json @@ -0,0 +1,186 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "autoscaleConfiguration": { + "maxCapacity": 15, + "minCapacity": 10 + }, + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "ipGroups": [], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_Get", + "title": "Get Azure Firewall" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGetWithAdditionalProperties.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGetWithAdditionalProperties.json new file mode 100644 index 000000000000..23287cfa7a56 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGetWithAdditionalProperties.json @@ -0,0 +1,184 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": { + "key1": "value1", + "key2": "value2" + }, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_Get", + "title": "Get Azure Firewall With Additional Properties" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGetWithAfcConfiguration.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGetWithAfcConfiguration.json new file mode 100644 index 000000000000..492797f05aa3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGetWithAfcConfiguration.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert", + "afcConfiguration": { + "serviceEndpoint": "5e73bbe79102451d968d1cac9b5dbd41.afc.azure.com" + } + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_Get", + "title": "Get Azure Firewall With AFC Control Plane" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGetWithIpGroups.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGetWithIpGroups.json new file mode 100644 index 000000000000..0bb9e7704b24 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGetWithIpGroups.json @@ -0,0 +1,194 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "ipGroups": [ + { + "changeNumber": "5", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1" + }, + { + "changeNumber": "4", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups2" + }, + { + "changeNumber": "1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups3" + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups2" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups3" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_Get", + "title": "Get Azure Firewall With IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGetWithMgmtSubnet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGetWithMgmtSubnet.json new file mode 100644 index 000000000000..a54649ca1498 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGetWithMgmtSubnet.json @@ -0,0 +1,195 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "managementIpConfiguration": { + "name": "azureFirewallMgmtIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallMgmtIpConfiguration", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/managementPipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallManagementSubnet" + } + } + }, + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_Get", + "title": "Get Azure Firewall With management subnet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGetWithZones.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGetWithZones.json new file mode 100644 index 000000000000..fad22486766d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallGetWithZones.json @@ -0,0 +1,186 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US 2", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "ipGroups": [], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [ + "1", + "2", + "3" + ] + } + } + }, + "operationId": "AzureFirewalls_Get", + "title": "Get Azure Firewall With Zones" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallListByResourceGroup.json new file mode 100644 index 000000000000..ac88cdfee468 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallListByResourceGroup.json @@ -0,0 +1,198 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": { + "key1": "value1", + "key2": "value2" + }, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "ipGroups": [], + "managementIpConfiguration": { + "name": "azureFirewallMgmtIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallMgmtIpConfiguration", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/managementPipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallManagementSubnet" + } + } + }, + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + ] + } + } + }, + "operationId": "AzureFirewalls_List", + "title": "List all Azure Firewalls for a given resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallListBySubscription.json new file mode 100644 index 000000000000..734b23347187 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallListBySubscription.json @@ -0,0 +1,197 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": { + "key1": "value1", + "key2": "value2" + }, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "ipGroups": [], + "managementIpConfiguration": { + "name": "azureFirewallMgmtIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallMgmtIpConfiguration", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/managementPipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallManagementSubnet" + } + } + }, + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + ] + } + } + }, + "operationId": "AzureFirewalls_ListAll", + "title": "List all Azure Firewalls for a given subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallListLearnedIPPrefixes.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallListLearnedIPPrefixes.json new file mode 100644 index 000000000000..55f7d67595b8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallListLearnedIPPrefixes.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azureFirewall1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "ipPrefixes": [ + "10.101.0.0/16", + "10.102.0.0/16" + ] + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01&t=638385313328642925&c=abc-123&s=def-456&h=xyz-789" + } + } + }, + "operationId": "AzureFirewalls_ListLearnedPrefixes", + "title": "AzureFirewallListLearnedPrefixes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPacketCapture.json new file mode 100644 index 000000000000..9da287f8b829 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPacketCapture.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azureFirewall1", + "parameters": { + "durationInSeconds": 300, + "fileName": "azureFirewallPacketCapture", + "filters": [ + { + "destinationPorts": [ + "4500" + ], + "destinations": [ + "20.1.2.0" + ], + "sources": [ + "20.1.1.0" + ] + }, + { + "destinationPorts": [ + "123", + "80" + ], + "destinations": [ + "10.1.2.0" + ], + "sources": [ + "10.1.1.0", + "10.1.1.1" + ] + } + ], + "flags": [ + { + "type": "syn" + }, + { + "type": "fin" + } + ], + "numberOfPacketsToCapture": 5000, + "sasUrl": "someSASURL", + "protocol": "Any" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "AzureFirewalls_PacketCapture", + "title": "AzureFirewallPacketCapture" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPacketCaptureOperation.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPacketCaptureOperation.json new file mode 100644 index 000000000000..aa1d489e3c7e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPacketCaptureOperation.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azureFirewall1", + "parameters": { + "durationInSeconds": 300, + "fileName": "azureFirewallPacketCapture", + "filters": [ + { + "destinationPorts": [ + "4500" + ], + "destinations": [ + "20.1.2.0" + ], + "sources": [ + "20.1.1.0" + ] + }, + { + "destinationPorts": [ + "123", + "80" + ], + "destinations": [ + "10.1.2.0" + ], + "sources": [ + "10.1.1.0", + "10.1.1.1" + ] + } + ], + "flags": [ + { + "type": "syn" + }, + { + "type": "fin" + } + ], + "numberOfPacketsToCapture": 5000, + "operation": "Status", + "sasUrl": "someSASURL", + "protocol": "Any" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "message": "Packet capture in progress. Please wait till it is finished or stop the current capture before starting another.", + "statusCode": "AzureFirewallPacketCaptureInProgress" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "AzureFirewalls_PacketCaptureOperation", + "title": "AzureFirewallPacketCaptureOperation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPut.json new file mode 100644 index 000000000000..10433e94804a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPut.json @@ -0,0 +1,512 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "parameters": { + "location": "West US", + "properties": { + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "ipGroups": [], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + }, + "201": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "autoscaleConfiguration": { + "maxCapacity": 8, + "minCapacity": 8 + }, + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_CreateOrUpdate", + "title": "Create Azure Firewall" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutInHub.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutInHub.json new file mode 100644 index 000000000000..026bb786d514 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutInHub.json @@ -0,0 +1,117 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "parameters": { + "location": "West US", + "properties": { + "firewallPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1" + }, + "hubIPAddresses": { + "publicIPs": { + "addresses": [], + "count": 1 + } + }, + "sku": { + "name": "AZFW_Hub", + "tier": "Standard" + }, + "threatIntelMode": "Alert", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + }, + "zones": [] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "firewallPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1" + }, + "hubIPAddresses": { + "privateIPAddress": "10.0.0.0", + "publicIPs": { + "addresses": [ + { + "address": "13.73.240.12" + } + ], + "count": 1 + } + }, + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_Hub", + "tier": "Standard" + }, + "threatIntelMode": "Alert", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + }, + "201": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "firewallPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1" + }, + "hubIPAddresses": { + "privateIPAddress": "10.0.0.0", + "publicIPs": { + "addresses": [ + { + "address": "13.73.240.12" + } + ], + "count": 1 + } + }, + "ipGroups": [], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_Hub", + "tier": "Standard" + }, + "threatIntelMode": "Alert", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_CreateOrUpdate", + "title": "Create Azure Firewall in virtual Hub" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutWithAdditionalProperties.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutWithAdditionalProperties.json new file mode 100644 index 000000000000..642f18b550d2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutWithAdditionalProperties.json @@ -0,0 +1,517 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "parameters": { + "location": "West US", + "properties": { + "additionalProperties": { + "key1": "value1", + "key2": "value2" + }, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": { + "key1": "value1", + "key2": "value2" + }, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + }, + "201": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": { + "key1": "value1", + "key2": "value2" + }, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_CreateOrUpdate", + "title": "Create Azure Firewall With Additional Properties" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutWithAfcConfiguration.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutWithAfcConfiguration.json new file mode 100644 index 000000000000..e80675a83701 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutWithAfcConfiguration.json @@ -0,0 +1,122 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "createAfcControlPlane": true, + "parameters": { + "location": "West US", + "properties": { + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert", + "afcConfiguration": { + "serviceEndpoint": "5e73bbe79102451d968d1cac9b5dbd41.afc.azure.com" + } + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + }, + "201": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert", + "afcConfiguration": { + "serviceEndpoint": "5e73bbe79102451d968d1cac9b5dbd41.afc.azure.com" + } + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_CreateOrUpdate", + "title": "Create Azure Firewall With AFC Control Plane" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutWithIpGroups.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutWithIpGroups.json new file mode 100644 index 000000000000..084d9b70e41b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutWithIpGroups.json @@ -0,0 +1,516 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "parameters": { + "location": "West US", + "properties": { + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + }, + "201": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "ipGroups": [ + { + "changeNumber": "5", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1" + }, + { + "changeNumber": "4", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups2" + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups2" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_CreateOrUpdate", + "title": "Create Azure Firewall With IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutWithMgmtSubnet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutWithMgmtSubnet.json new file mode 100644 index 000000000000..0a624474cc12 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutWithMgmtSubnet.json @@ -0,0 +1,518 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "parameters": { + "location": "West US", + "properties": { + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "managementIpConfiguration": { + "name": "azureFirewallMgmtIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/managementPipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallManagementSubnet" + } + } + }, + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + }, + "201": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_CreateOrUpdate", + "title": "Create Azure Firewall With management subnet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutWithZones.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutWithZones.json new file mode 100644 index 000000000000..eebca2c42557 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallPutWithZones.json @@ -0,0 +1,520 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "parameters": { + "location": "West US 2", + "properties": { + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [ + "1", + "2", + "3" + ] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US 2", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "ipGroups": [], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [ + "1", + "2", + "3" + ] + } + }, + "201": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US 2", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [ + "1", + "2", + "3" + ] + } + } + }, + "operationId": "AzureFirewalls_CreateOrUpdate", + "title": "Create Azure Firewall With Zones" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallUpdateTags.json new file mode 100644 index 000000000000..ec7ae64e6aff --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureFirewallUpdateTags.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "fw1", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "azfwtest", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "fw1", + "type": "Microsoft.Network/azureFirewalls", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azfwtest/providers/Microsoft.Network/azureFirewalls/fw1", + "location": "brazilsouth", + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01&t=1234567890&c=abc-123&s=def-456&h=xyz-789" + } + } + }, + "operationId": "AzureFirewalls_UpdateTags", + "title": "Update Azure Firewall Tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureWebCategoriesListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureWebCategoriesListBySubscription.json new file mode 100644 index 000000000000..daa5268d2e93 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureWebCategoriesListBySubscription.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "4de8428a-4a92-4cea-90ff-b47128b8cab8" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Arts", + "type": "Microsoft.Network/azureWebCategories", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/4de8428a-4a92-4cea-90ff-b47128b8cab8/providers/Microsoft.Network/azureWebCategories/Arts", + "properties": { + "group": "General" + } + } + ] + } + } + }, + "operationId": "WebCategories_ListBySubscription", + "title": "List all Azure Web Categories for a given subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureWebCategoryGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureWebCategoryGet.json new file mode 100644 index 000000000000..70797e563f03 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/AzureWebCategoryGet.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "name": "Arts", + "api-version": "2025-07-01", + "subscriptionId": "4de8428a-4a92-4cea-90ff-b47128b8cab8" + }, + "responses": { + "200": { + "body": { + "name": "Arts", + "type": "Microsoft.Network/azureWebCategories", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/4de8428a-4a92-4cea-90ff-b47128b8cab8/providers/Microsoft.Network/azureWebCategories/Arts", + "properties": { + "group": "General" + } + } + } + }, + "operationId": "WebCategories_Get", + "title": "Get Azure Web Category by name" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostDelete.json new file mode 100644 index 000000000000..41b049296e34 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "BastionHosts_Delete", + "title": "Delete Bastion Host" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostDeveloperDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostDeveloperDelete.json new file mode 100644 index 000000000000..f8966b937ea6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostDeveloperDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhostdeveloper", + "resourceGroupName": "rg2", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "BastionHosts_Delete", + "title": "Delete Developer Bastion Host" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostDeveloperGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostDeveloperGet.json new file mode 100644 index 000000000000..2e16c9ea038c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostDeveloperGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhostdeveloper'", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "bastionhostdeveloper'", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/bastionHosts/bastionhostdeveloper'", + "location": "West US", + "properties": { + "dnsName": "omnibrain.uswest.bastionglobal.azure.com", + "ipConfigurations": [], + "networkAcls": { + "ipRules": [ + { + "addressPrefix": "1.1.1.1/16" + } + ] + }, + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet2" + } + }, + "sku": { + "name": "Developer" + } + } + } + }, + "operationId": "BastionHosts_Get", + "title": "Get Developer Bastion Host" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostDeveloperPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostDeveloperPut.json new file mode 100644 index 000000000000..da325789660f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostDeveloperPut.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhostdeveloper", + "parameters": { + "properties": { + "ipConfigurations": [], + "networkAcls": { + "ipRules": [ + { + "addressPrefix": "1.1.1.1/16" + } + ] + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet2" + } + } + }, + "resourceGroupName": "rg2", + "sku": { + "name": "Developer" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "bastionhostdeveloper", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/bastionHosts/bastionhostdeveloper'", + "location": "West US", + "properties": { + "dnsName": "omnibrain.uswest.bastionglobal.azure.com", + "ipConfigurations": [], + "networkAcls": { + "ipRules": [ + { + "addressPrefix": "1.1.1.1/16" + } + ] + }, + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet2" + } + }, + "sku": { + "name": "Developer" + } + } + }, + "201": { + "body": { + "name": "bastionhostdeveloper'", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/bastionHosts/bastionhostdeveloper'", + "location": "West US", + "properties": { + "dnsName": "omnibrain.uswest.bastionglobal.azure.com", + "ipConfigurations": [], + "networkAcls": { + "ipRules": [ + { + "addressPrefix": "1.1.1.1/16" + } + ] + }, + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet2" + } + }, + "sku": { + "name": "Developer" + } + } + } + }, + "operationId": "BastionHosts_CreateOrUpdate", + "title": "Create Developer Bastion Host" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostGet.json new file mode 100644 index 000000000000..3c3cd6d48d3b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostGet.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant'", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "bastionhost'", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "BastionHosts_Get", + "title": "Get Bastion Host" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostGetWithPrivateOnly.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostGetWithPrivateOnly.json new file mode 100644 index 000000000000..a2f012e4c23f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostGetWithPrivateOnly.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "bastionhosttenant", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": true, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Premium" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "BastionHosts_Get", + "title": "Get Bastion Host With Private Only" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostGetWithZones.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostGetWithZones.json new file mode 100644 index 000000000000..e5e5aaeaadae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostGetWithZones.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "bastionhosttenant", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + }, + "tags": { + "key1": "value1" + }, + "zones": [ + "1", + "2" + ] + } + } + }, + "operationId": "BastionHosts_Get", + "title": "Get Bastion Host With Zones" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostListByResourceGroup.json new file mode 100644 index 000000000000..7be297da27b0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostListByResourceGroup.json @@ -0,0 +1,137 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "bastionhosttenant", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AzureBastionSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + }, + "zones": [] + }, + { + "name": "bastionhost2", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhost2", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": true, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhost2/bastionHostIpConfigurations/IpConf", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName2" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureBastionSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Premium" + }, + "zones": [] + }, + { + "name": "bastionhost3", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhost3", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": true, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhost3/bastionHostIpConfigurations/IpConf", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet3/subnets/AzureBastionSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Premium" + }, + "zones": [] + } + ] + } + } + }, + "operationId": "BastionHosts_ListByResourceGroup", + "title": "List all Bastion Hosts for a given resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostListBySubscription.json new file mode 100644 index 000000000000..0d90e6da83cb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostListBySubscription.json @@ -0,0 +1,161 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "bastionhosttenant", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AzureBastionSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + }, + "zones": [] + }, + { + "name": "bastionhostdeveloper", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/bastionHosts/bastionhostdeveloper", + "location": "West US", + "properties": { + "dnsName": "omnibrain.uswest.bastionglobal.azure.com", + "ipConfigurations": [], + "networkAcls": { + "ipRules": [ + { + "addressPrefix": "1.1.1.1/16" + } + ] + }, + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet2" + } + }, + "sku": { + "name": "Developer" + } + }, + { + "name": "bastionhost3", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhost3", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": true, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhost3/bastionHostIpConfigurations/IpConf", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName3" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet3/subnets/AzureBastionSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Premium" + }, + "zones": [] + }, + { + "name": "bastionhost4", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhost4", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": true, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhost4/bastionHostIpConfigurations/IpConf", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet4/subnets/AzureBastionSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Premium" + }, + "zones": [] + } + ] + } + } + }, + "operationId": "BastionHosts_List", + "title": "List all Bastion Hosts for a given subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostPatch.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostPatch.json new file mode 100644 index 000000000000..c166fd4bc860 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostPatch.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "bastionhosttenant", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } + } + }, + "operationId": "BastionHosts_UpdateTags", + "title": "Patch Bastion Host" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostPut.json new file mode 100644 index 000000000000..36a59f350802 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostPut.json @@ -0,0 +1,117 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "parameters": { + "properties": { + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ] + } + }, + "resourceGroupName": "rg1", + "sku": { + "name": "Standard" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [] + }, + "responses": { + "200": { + "body": { + "name": "bastionhost", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "bastionhosttenant'", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "BastionHosts_CreateOrUpdate", + "title": "Create Bastion Host" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostPutWithPrivateOnly.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostPutWithPrivateOnly.json new file mode 100644 index 000000000000..a69b5f8de00b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostPutWithPrivateOnly.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "parameters": { + "properties": { + "enablePrivateOnlyBastion": true, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ] + } + }, + "resourceGroupName": "rg1", + "sku": { + "name": "Premium" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [] + }, + "responses": { + "200": { + "body": { + "name": "bastionhosttenant", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": true, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Premium" + } + } + }, + "201": { + "body": { + "name": "bastionhosttenant", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": true, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Premium" + } + } + } + }, + "operationId": "BastionHosts_CreateOrUpdate", + "title": "Create Bastion Host With Private Only" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostPutWithZones.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostPutWithZones.json new file mode 100644 index 000000000000..05d5be1be14d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionHostPutWithZones.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "parameters": { + "properties": { + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ] + } + }, + "resourceGroupName": "rg1", + "sku": { + "name": "Standard" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1", + "2" + ] + }, + "responses": { + "200": { + "body": { + "name": "bastionhost", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "bastionhost'", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "BastionHosts_CreateOrUpdate", + "title": "Create Bastion Host With Zones" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionSessionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionSessionDelete.json new file mode 100644 index 000000000000..bb27538654b6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionSessionDelete.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "resourceGroupName": "rg1", + "sessionIds": { + "sessionIds": [ + "session1", + "session2", + "session3" + ] + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "message": "session session1 invalidated!", + "sessionId": "session1", + "state": "Disconnected" + }, + { + "message": "session session2 could not be disconnected!", + "sessionId": "session2", + "state": "Failed" + }, + { + "message": "session session3 not found!", + "sessionId": "session3", + "state": "NotFound" + } + ] + } + } + }, + "operationId": "DisconnectActiveSessions", + "title": "Deletes the specified active session" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionSessionsList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionSessionsList.json new file mode 100644 index 000000000000..2269962c955f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionSessionsList.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "VM", + "sessionDurationInMins": 0, + "sessionId": "sessionId", + "startTime": "2019-1-1T12:00:00.0000Z", + "targetHostName": "vm01", + "targetIpAddress": "1.1.1.1", + "targetResourceGroup": "rg1", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm01", + "targetSubscriptionId": "00000000-0000-0000-0000-000000000000", + "userName": "user", + "protocol": "SSH" + } + ] + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "GetActiveSessions", + "title": "Returns a list of currently active sessions on the Bastion" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionShareableLinkCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionShareableLinkCreate.json new file mode 100644 index 000000000000..f58a1fb795a4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionShareableLinkCreate.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "bslRequest": { + "vms": [ + { + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1" + } + }, + { + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2" + } + } + ] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "bsl": "http://bst-bastionhostid.bastion.com/api/shareable-url/tokenvm1", + "createdAt": "2019-10-18T12:00:00.0000Z", + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1" + } + }, + { + "bsl": "http://bst-bastionhostid.bastion.com/api/shareable-url/tokenvm2", + "createdAt": "2019-10-17T12:00:00.0000Z", + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2" + } + } + ] + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "PutBastionShareableLink", + "title": "Create Bastion Shareable Links for the request VMs" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionShareableLinkDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionShareableLinkDelete.json new file mode 100644 index 000000000000..f399fd0ae5a4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionShareableLinkDelete.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "bslRequest": { + "vms": [ + { + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1" + } + }, + { + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2" + } + } + ] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "DeleteBastionShareableLink", + "title": "Delete Bastion Shareable Links for the request VMs" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionShareableLinkDeleteByToken.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionShareableLinkDeleteByToken.json new file mode 100644 index 000000000000..b4bd536ef6af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionShareableLinkDeleteByToken.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "bslTokenRequest": { + "tokens": [ + "abcd1234-efgh-hijk-5678-abcdefgh1234", + "dcba4321-hgfe-kjih-8765-hgfedcba4321" + ] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "DeleteBastionShareableLinkByToken", + "title": "Delete Bastion Shareable Links for the request VMs" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionShareableLinkGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionShareableLinkGet.json new file mode 100644 index 000000000000..86cc4c36a159 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/BastionShareableLinkGet.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "bslRequest": { + "vms": [ + { + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1" + } + }, + { + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2" + } + } + ] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "bsl": "http://bst-bastionhostid.bastion.com/api/shareable-url/tokenvm1", + "createdAt": "2019-10-18T12:00:00.0000Z", + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1" + } + }, + { + "bsl": "http://bst-bastionhostid.bastion.com/api/shareable-url/tokenvm2", + "createdAt": "2019-10-17T12:00:00.0000Z", + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2" + } + } + ] + } + } + }, + "operationId": "GetBastionShareableLink", + "title": "Returns the Bastion Shareable Links for the request VMs" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CheckDnsNameAvailability.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CheckDnsNameAvailability.json new file mode 100644 index 000000000000..20dbb8500ee1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CheckDnsNameAvailability.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "domainNameLabel": "testdns", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "available": false + } + } + }, + "operationId": "CheckDnsNameAvailability", + "title": "Check Dns Name Availability" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CheckPrivateLinkServiceVisibility.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CheckPrivateLinkServiceVisibility.json new file mode 100644 index 000000000000..c6fcd3d54db9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CheckPrivateLinkServiceVisibility.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "parameters": { + "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "visible": true + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibility", + "title": "Check private link service visibility" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CheckPrivateLinkServiceVisibilityByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CheckPrivateLinkServiceVisibilityByResourceGroup.json new file mode 100644 index 000000000000..a7acaaec711f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CheckPrivateLinkServiceVisibilityByResourceGroup.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "parameters": { + "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "visible": true + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibilityByResourceGroup", + "title": "Check private link service visibility" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceNetworkInterfaceGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceNetworkInterfaceGet.json new file mode 100644 index 000000000000..4267c35ce755 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceNetworkInterfaceGet.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "cloudServiceName": "cs1", + "networkInterfaceName": "nic1", + "resourceGroupName": "rg1", + "roleInstanceName": "TestVMRole_IN_0", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nic1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "dns.cdmx.internal.cloudapp.net" + }, + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ip1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1" + } + ], + "primary": true, + "privateIPAddress": "10.0.0.5", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + } + ], + "macAddress": "00-00-00-00-00-00", + "networkSecurityGroup": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "primary": true, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "NetworkInterfaces_GetCloudServiceNetworkInterface", + "title": "Get cloud service network interface" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceNetworkInterfaceList.json new file mode 100644 index 000000000000..43e519d61dfa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceNetworkInterfaceList.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "cloudServiceName": "cs1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nic1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "ruw4wz3grewudjsyzrxj44pxod.cdmx.internal.cloudapp.net" + }, + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ip1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.0" + } + ], + "primary": true, + "privateIPAddress": "10.0.0.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + } + ], + "macAddress": "00-00-00-00-00-00", + "networkSecurityGroup": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "primary": true, + "provisioningState": "Succeeded" + } + }, + { + "name": "nic1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_1/networkInterfaces/nic1", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "ruw4wz3grewudjsyzrxj44pxod.cdmx.internal.cloudapp.net" + }, + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ip1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_1/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1" + } + ], + "primary": true, + "privateIPAddress": "10.0.0.5", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + } + ], + "macAddress": "00-00-00-00-00-00", + "networkSecurityGroup": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "primary": true, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "NetworkInterfaces_ListCloudServiceNetworkInterfaces", + "title": "List cloud service network interfaces" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServicePublicIpGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServicePublicIpGet.json new file mode 100644 index 000000000000..44ce69d2b446 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServicePublicIpGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "cloudServiceName": "cs1", + "ipConfigurationName": "ip1", + "networkInterfaceName": "nic1", + "publicIpAddressName": "pub1", + "resourceGroupName": "cs-tester", + "roleInstanceName": "Test_VM_0", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "pub1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cs-tester/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/Test_VM_0/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1", + "properties": { + "dnsSettings": { + "domainNameLabel": "vm1.testvmssacc", + "fqdn": "vm1.testvmssacc.southeastasia.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 10, + "ipAddress": "13.67.119.72", + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cs-tester/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/Test_VM_0/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + } + }, + "operationId": "PublicIPAddresses_GetCloudServicePublicIPAddress", + "title": "GetVMSSPublicIP" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServicePublicIpListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServicePublicIpListAll.json new file mode 100644 index 000000000000..c6887caf24ca --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServicePublicIpListAll.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "cloudServiceName": "cs1", + "resourceGroupName": "cs-tester", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "pub1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cs-tester/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/Test_VM_0/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1", + "properties": { + "dnsSettings": { + "domainNameLabel": "vm1.testvmssacc", + "fqdn": "vm1.testvmssacc.southeastasia.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 10, + "ipAddress": "13.67.119.72", + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cs-tester/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/Test_VM_0/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + }, + { + "name": "pub1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cs-tester/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/Test_VM_3/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1", + "properties": { + "dnsSettings": { + "domainNameLabel": "vm3.testvmssacc", + "fqdn": "vm3.testvmssacc.southeastasia.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 10, + "ipAddress": "13.67.118.216", + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cs-tester/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/Test_VM_3/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + ] + } + } + }, + "operationId": "PublicIPAddresses_ListCloudServicePublicIPAddresses", + "title": "ListVMSSPublicIP" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceRoleInstanceNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceRoleInstanceNetworkInterfaceList.json new file mode 100644 index 000000000000..d0ced014cb68 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceRoleInstanceNetworkInterfaceList.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "cloudServiceName": "cs1", + "resourceGroupName": "rg1", + "roleInstanceName": "TestVMRole_IN_0", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nic1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "ruw4wz3grewudjsyzrxj44pxod.cdmx.internal.cloudapp.net" + }, + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ip1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1" + } + ], + "primary": true, + "privateIPAddress": "10.0.0.5", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + } + ], + "macAddress": "00-00-00-00-00-00", + "networkSecurityGroup": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "primary": true, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "NetworkInterfaces_ListCloudServiceRoleInstanceNetworkInterfaces", + "title": "List cloud service role instance network interfaces" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceRoleInstancePublicIpList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceRoleInstancePublicIpList.json new file mode 100644 index 000000000000..090081e3f9e9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceRoleInstancePublicIpList.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "cloudServiceName": "cs1", + "ipConfigurationName": "ip1", + "networkInterfaceName": "nic1", + "resourceGroupName": "cs-tester", + "roleInstanceName": "Test_VM_0", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "pub1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cs-tester/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/Test_VM_0/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1", + "properties": { + "dnsSettings": { + "domainNameLabel": "vm1.testvmssacc", + "fqdn": "vm1.testvmssacc.southeastasia.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 10, + "ipAddress": "13.67.119.72", + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cs-tester/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/Test_VM_0/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + ] + } + } + }, + "operationId": "PublicIPAddresses_ListCloudServiceRoleInstancePublicIPAddresses", + "title": "ListVMSSVMPublicIP" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceSwapGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceSwapGet.json new file mode 100644 index 000000000000..3b4dfcb7786e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceSwapGet.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "groupName": "rg1", + "resourceName": "testCloudService", + "singletonResource": "swap", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "swap", + "type": "Microsoft.Network/cloudServiceSlots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/testCloudService/providers/Microsoft.Network/cloudServiceSlots/swap", + "properties": { + "slotType": "Staging" + } + } + } + }, + "operationId": "VipSwap_Get", + "title": "Get swap resource" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceSwapList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceSwapList.json new file mode 100644 index 000000000000..e8b0d41fb41b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceSwapList.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "groupName": "rg1", + "resourceName": "testCloudService", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "swap", + "type": "Microsoft.Network/cloudServiceSlots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/testCloudService/providers/Microsoft.Network/cloudServiceSlots/swap", + "properties": { + "slotType": "Staging" + } + } + ] + } + } + }, + "operationId": "VipSwap_List", + "title": "Get swap resource list" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceSwapPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceSwapPut.json new file mode 100644 index 000000000000..c8fa0567af53 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CloudServiceSwapPut.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "groupName": "rg1", + "parameters": { + "properties": { + "slotType": "Production" + } + }, + "resourceName": "testCloudService", + "singletonResource": "swap", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": {} + }, + "operationId": "VipSwap_Create", + "title": "Put vip swap operation." +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConfigurationPolicyGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConfigurationPolicyGroupDelete.json new file mode 100644 index 000000000000..a7bed10b789e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConfigurationPolicyGroupDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationPolicyGroupName": "policyGroup1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnServerConfigurationName": "vpnServerConfiguration1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "ConfigurationPolicyGroups_Delete", + "title": "ConfigurationPolicyGroupDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConfigurationPolicyGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConfigurationPolicyGroupGet.json new file mode 100644 index 000000000000..205599a5f510 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConfigurationPolicyGroupGet.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationPolicyGroupName": "policyGroup1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnServerConfigurationName": "vpnServerConfiguration1" + }, + "responses": { + "200": { + "body": { + "name": "policyGroup1", + "type": "Microsoft.Network/vpnServerConfigurations/configurationPolicyGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + }, + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ConfigurationPolicyGroups_Get", + "title": "ConfigurationPolicyGroupGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConfigurationPolicyGroupListByVpnServerConfiguration.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConfigurationPolicyGroupListByVpnServerConfiguration.json new file mode 100644 index 000000000000..2dca6f0ac56e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConfigurationPolicyGroupListByVpnServerConfiguration.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnServerConfigurationName": "vpnServerConfiguration1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "policyGroup1", + "type": "Microsoft.Network/vpnServerConfigurations/configurationPolicyGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + }, + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + }, + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ConfigurationPolicyGroups_ListByVpnServerConfiguration", + "title": "ConfigurationPolicyGroupListByVpnServerConfiguration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConfigurationPolicyGroupPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConfigurationPolicyGroupPut.json new file mode 100644 index 000000000000..df261c603f9f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConfigurationPolicyGroupPut.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "VpnServerConfigurationPolicyGroupParameters": { + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + }, + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0 + } + }, + "api-version": "2025-07-01", + "configurationPolicyGroupName": "policyGroup1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnServerConfigurationName": "vpnServerConfiguration1" + }, + "responses": { + "200": { + "body": { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + }, + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + }, + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ConfigurationPolicyGroups_CreateOrUpdate", + "title": "ConfigurationPolicyGroupPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConnectionPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConnectionPolicyDelete.json new file mode 100644 index 000000000000..d5119f03b64c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConnectionPolicyDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "virtualHubName": "TestHub", + "connectionPolicyName": "testpolicy", + "api-version": "2025-07-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "ConnectionPolicies_Delete", + "title": "ConnectionPolicyDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConnectionPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConnectionPolicyGet.json new file mode 100644 index 000000000000..7b12fbc2adee --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConnectionPolicyGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "virtualHubName": "TestHub", + "connectionPolicyName": "testpolicy", + "api-version": "2025-07-01" + }, + "responses": { + "200": { + "body": { + "name": "testpolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/connectionPolicies/testpolicy", + "etag": "W/\"2b03e4fa-c9ed-403c-815f-d8bd6d40a37b\"", + "properties": { + "provisioningState": "Succeeded", + "enableInternetSecurity": true, + "associatedConnections": [], + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/hubRouteTables/defaultRouteTable" + }, + "propagatedRouteTables": { + "labels": [ + "default" + ], + "ids": [] + } + } + }, + "type": "Microsoft.Network/virtualHubs/connectionPolicies" + } + } + }, + "operationId": "ConnectionPolicies_Get", + "title": "ConnectionPolicyGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConnectionPolicyList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConnectionPolicyList.json new file mode 100644 index 000000000000..298eb4dc17fb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConnectionPolicyList.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "virtualHubName": "TestHub", + "api-version": "2025-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testpolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/connectionPolicies/testpolicy", + "etag": "W/\"2b03e4fa-c9ed-403c-815f-d8bd6d40a37b\"", + "properties": { + "provisioningState": "Succeeded", + "enableInternetSecurity": true, + "associatedConnections": [], + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/hubRouteTables/defaultRouteTable" + }, + "propagatedRouteTables": { + "labels": [ + "default" + ], + "ids": [] + } + } + }, + "type": "Microsoft.Network/virtualHubs/connectionPolicies" + }, + { + "name": "testpolicy2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/connectionPolicies/testpolicy2", + "etag": "W/\"2b03e4fa-c9ed-403c-815f-d8bd6d40a37b\"", + "properties": { + "provisioningState": "Succeeded", + "enableInternetSecurity": true, + "associatedConnections": [], + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/hubRouteTables/defaultRouteTable" + }, + "propagatedRouteTables": { + "labels": [ + "default" + ], + "ids": [] + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/routeMaps/TestRouteMap" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/routeMaps/TestRouteMap" + } + } + }, + "type": "Microsoft.Network/virtualHubs/connectionPolicies" + } + ] + } + } + }, + "operationId": "ConnectionPolicies_List", + "title": "ConnectionPolicyList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConnectionPolicyPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConnectionPolicyPut.json new file mode 100644 index 000000000000..711e54323e0c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ConnectionPolicyPut.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "virtualHubName": "TestHub", + "connectionPolicyName": "testpolicy2", + "api-version": "2025-07-01", + "resource": { + "properties": { + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/hubRouteTables/defaultRouteTable" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/routeMaps/TestRouteMap" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/routeMaps/TestRouteMap" + }, + "propagatedRouteTables": { + "labels": [ + "default" + ] + } + }, + "enableInternetSecurity": true + } + } + }, + "responses": { + "200": { + "body": { + "name": "testpolicy2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/connectionPolicies/testpolicy2", + "etag": "W/\"2b03e4fa-c9ed-403c-815f-d8bd6d40a37b\"", + "properties": { + "provisioningState": "Succeeded", + "enableInternetSecurity": true, + "associatedConnections": [], + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/hubRouteTables/defaultRouteTable" + }, + "propagatedRouteTables": { + "labels": [ + "default" + ], + "ids": [] + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/routeMaps/TestRouteMap" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/routeMaps/TestRouteMap" + } + } + }, + "type": "Microsoft.Network/virtualHubs/connectionPolicies" + } + }, + "201": { + "body": { + "name": "testpolicy2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/connectionPolicies/testpolicy2", + "etag": "W/\"2b03e4fa-c9ed-403c-815f-d8bd6d40a37b\"", + "properties": { + "provisioningState": "Succeeded", + "enableInternetSecurity": true, + "associatedConnections": [], + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/hubRouteTables/defaultRouteTable" + }, + "propagatedRouteTables": { + "labels": [ + "default" + ], + "ids": [] + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/routeMaps/TestRouteMap" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/routeMaps/TestRouteMap" + } + } + }, + "type": "Microsoft.Network/virtualHubs/connectionPolicies" + } + } + }, + "operationId": "ConnectionPolicies_CreateOrUpdate", + "title": "ConnectionPolicyPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixCreateCustomizedValues.json new file mode 100644 index 000000000000..cbf73cd5f7c0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixCreateCustomizedValues.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "customIpPrefixName": "test-customipprefix", + "parameters": { + "location": "westus", + "properties": { + "cidr": "0.0.0.0/24" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "test-customipprefix", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/customIpPrefixes/test-customipprefix", + "location": "westus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "192.168.254.2/24", + "commissionedState": "Provisioning", + "failedReason": "", + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "test-customipprefix", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/customIpPrefixes/test-customipprefix", + "location": "westus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "192.168.254.2/24", + "commissionedState": "Provisioning", + "failedReason": "", + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CustomIPPrefixes_CreateOrUpdate", + "title": "Create custom IP prefix allocation method" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixDelete.json new file mode 100644 index 000000000000..2a083a4e8867 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "customIpPrefixName": "test-customipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "CustomIPPrefixes_Delete", + "title": "Delete custom IP prefix" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixGet.json new file mode 100644 index 000000000000..6d6ff052c1dd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "customIpPrefixName": "test-customipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-customipprefix", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/customIpPrefixes/test-customipprefix", + "location": "westus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.0.0/24", + "commissionedState": "Commissioned", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + } + } + }, + "operationId": "CustomIPPrefixes_Get", + "title": "Get custom IP prefix" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixList.json new file mode 100644 index 000000000000..5f4b5e88d87f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixList.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-customipprefix", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/customIpPrefixes/test-customipprefix", + "location": "westus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.0.0/24", + "commissionedState": "Commissioned", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix2", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/customIpPrefixes/test-customipprefix2", + "location": "westus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.1.0/30", + "commissionedState": "Commissioned", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix4", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix4", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "2607:f0d1:1002:0001::/64", + "commissionedState": "Commissioned", + "customIpPrefixParent": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix5" + }, + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix5", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix5", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix4" + } + ], + "cidr": "2607:f0d1:1002::/48", + "commissionedState": "Provisioned", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix6", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix8", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.7.0/22", + "commissionedState": "Commissioning", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + } + ] + } + } + }, + "operationId": "CustomIPPrefixes_List", + "title": "List resource group Custom IP prefixes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixListAll.json new file mode 100644 index 000000000000..a74e50f7f95c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixListAll.json @@ -0,0 +1,266 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-customipprefix", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/customIpPrefixes/test-customipprefix", + "location": "westus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.0.0/24", + "commissionedState": "Commissioned", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix2", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/customIpPrefixes/test-customipprefix2", + "location": "westus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.2.0/23", + "commissionedState": "Commissioned", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix3", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix3", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.4.0/22", + "commissionedState": "Provisioning", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix4", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix4", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "2607:f0d1:1002:0001::/64", + "commissionedState": "Commissioned", + "customIpPrefixParent": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix5" + }, + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix5", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix5", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix4" + } + ], + "cidr": "2607:f0d1:1002::/48", + "commissionedState": "Provisioned", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix6", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix6", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.5.0/22", + "commissionedState": "ProvisionFailed", + "expressRouteAdvertise": false, + "failedReason": "CustomerSignatureNotVerified", + "noInternetAdvertise": false, + "provisioningState": "Failed", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix6", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix7", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.6.0/22", + "commissionedState": "Commissioning", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix6", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix8", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.7.0/22", + "commissionedState": "Commissioning", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix6", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix8", + "location": "eastus", + "properties": { + "asn": "11", + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.7.0/22", + "commissionedState": "Commissioning", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix6", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix8", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.7.0/22", + "commissionedState": "Commissioning", + "expressRouteAdvertise": false, + "failedReason": "", + "geo": "GLOBAL", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix6", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix8", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.7.0/22", + "commissionedState": "Commissioning", + "expressRouteAdvertise": true, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix6", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix8", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.7.0/22", + "commissionedState": "Commissioning", + "expressRouteAdvertise": true, + "failedReason": "", + "noInternetAdvertise": false, + "prefixType": "Parent", + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + } + ] + } + } + }, + "operationId": "CustomIPPrefixes_ListAll", + "title": "List all custom IP prefixes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixUpdateTags.json new file mode 100644 index 000000000000..cfda7883b489 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/CustomIpPrefixUpdateTags.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "customIpPrefixName": "test-customipprefix", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "test-customipprefix", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/customIpPrefixes/test-customipprefix", + "location": "westus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "192.168.254.2/24", + "commissionedState": "Provisioning", + "failedReason": "", + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CustomIPPrefixes_UpdateTags", + "title": "Update public IP address tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyCreate.json new file mode 100644 index 000000000000..0b340e97cb5f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyCreate.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ddosCustomPolicyName": "test-ddos-custom-policy", + "parameters": { + "location": "centraluseuap", + "properties": { + "detectionRules": [ + { + "name": "detectionRuleTcp", + "properties": { + "detectionMode": "TrafficThreshold", + "trafficDetectionRule": { + "packetsPerSecond": 1000000, + "trafficType": "Tcp" + } + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ddos-custom-policy", + "type": "Microsoft.Network/ddosCustomPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy", + "location": "centraluseuap", + "properties": { + "detectionRules": [ + { + "name": "detectionRuleTcp", + "type": "Microsoft.Network/ddosCustomPolicies/ddosDetectionRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy/ddosDetectionRules/detectionRuleTcp", + "properties": { + "detectionMode": "TrafficThreshold", + "provisioningState": "Succeeded", + "trafficDetectionRule": { + "packetsPerSecond": 1000000, + "trafficType": "Tcp" + } + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + }, + "201": { + "body": { + "name": "test-ddos-custom-policy", + "type": "Microsoft.Network/ddosCustomPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy", + "location": "centraluseuap", + "properties": { + "detectionRules": [ + { + "name": "detectionRuleTcp", + "type": "Microsoft.Network/ddosCustomPolicies/ddosDetectionRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy/ddosDetectionRules/detectionRuleTcp", + "properties": { + "detectionMode": "TrafficThreshold", + "provisioningState": "Succeeded", + "trafficDetectionRule": { + "packetsPerSecond": 1000000, + "trafficType": "Tcp" + } + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + }, + "operationId": "DdosCustomPolicies_CreateOrUpdate", + "title": "Create DDoS custom policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyDelete.json new file mode 100644 index 000000000000..64a9e05f9c90 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyDelete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ddosCustomPolicyName": "test-ddos-custom-policy", + "parameters": { + "properties": {} + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/locations/tempLocation/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "DdosCustomPolicies_Delete", + "title": "Delete DDoS custom policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyGet.json new file mode 100644 index 000000000000..5f52a158514d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ddosCustomPolicyName": "test-ddos-custom-policy", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ddos-custom-policy", + "type": "Microsoft.Network/ddosCustomPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy", + "location": "westus", + "properties": { + "detectionRules": [ + { + "name": "detectionRuleTcp", + "type": "Microsoft.Network/ddosCustomPolicies/ddosDetectionRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy/ddosDetectionRules/detectionRuleTcp", + "properties": { + "detectionMode": "TrafficThreshold", + "provisioningState": "Succeeded", + "trafficDetectionRule": { + "packetsPerSecond": 1000000, + "trafficType": "Tcp" + } + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + }, + "operationId": "DdosCustomPolicies_Get", + "title": "Get DDoS custom policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyList.json new file mode 100644 index 000000000000..e147f82df5d2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ddos-custom-policy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy", + "type": "Microsoft.Network/ddosCustomPolicies", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "detectionRules": [ + { + "name": "detectionRuleTcp", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy/ddosDetectionRules/detectionRuleTcp", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/ddosCustomPolicies/ddosDetectionRules", + "properties": { + "provisioningState": "Succeeded", + "detectionMode": "TrafficThreshold", + "trafficDetectionRule": { + "trafficType": "Tcp", + "packetsPerSecond": 1000000 + } + } + } + ] + } + }, + { + "name": "test-ddos-custom-policy-2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy-2", + "type": "Microsoft.Network/ddosCustomPolicies", + "location": "eastus", + "properties": { + "resourceGuid": "00000000-0000-0000-0000-000000000001", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "DdosCustomPolicies_List", + "title": "List DDoS custom policies in a resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyListAll.json new file mode 100644 index 000000000000..9c6cbed91264 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyListAll.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ddos-custom-policy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy", + "type": "Microsoft.Network/ddosCustomPolicies", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "detectionRules": [ + { + "name": "detectionRuleTcp", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy/ddosDetectionRules/detectionRuleTcp", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/ddosCustomPolicies/ddosDetectionRules", + "properties": { + "provisioningState": "Succeeded", + "detectionMode": "TrafficThreshold", + "trafficDetectionRule": { + "trafficType": "Tcp", + "packetsPerSecond": 1000000 + } + } + } + ] + } + }, + { + "name": "test-ddos-custom-policy-2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy-2", + "type": "Microsoft.Network/ddosCustomPolicies", + "location": "eastus", + "properties": { + "resourceGuid": "00000000-0000-0000-0000-000000000001", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "DdosCustomPolicies_ListAll", + "title": "List all DDoS custom policies in subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyUpdateTags.json new file mode 100644 index 000000000000..6ed423db21f8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosCustomPolicyUpdateTags.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ddosCustomPolicyName": "test-ddos-custom-policy", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ddos-custom-policy", + "type": "Microsoft.Network/ddosCustomPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy", + "location": "westus", + "properties": { + "detectionRules": [ + { + "name": "detectionRuleTcp", + "type": "Microsoft.Network/ddosCustomPolicies/ddosDetectionRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy/ddosDetectionRules/detectionRuleTcp", + "properties": { + "detectionMode": "TrafficThreshold", + "provisioningState": "Succeeded", + "trafficDetectionRule": { + "packetsPerSecond": 1000000, + "trafficType": "Tcp" + } + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "DdosCustomPolicies_UpdateTags", + "title": "DDoS Custom policy Update tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanCreate.json new file mode 100644 index 000000000000..3c947040d6b8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanCreate.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ddosProtectionPlanName": "test-plan", + "parameters": { + "location": "westus", + "properties": {} + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-plan", + "type": "Microsoft.Network/ddosProtectionPlans", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddresses": [], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [] + } + } + }, + "201": { + "body": { + "name": "test-plan", + "type": "Microsoft.Network/ddosProtectionPlans", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddresses": [], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [] + } + } + } + }, + "operationId": "DdosProtectionPlans_CreateOrUpdate", + "title": "Create DDoS protection plan" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanDelete.json new file mode 100644 index 000000000000..1c31a8f3bd53 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ddosProtectionPlanName": "test-plan", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/locations/tempLocation/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "DdosProtectionPlans_Delete", + "title": "Delete DDoS protection plan" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanGet.json new file mode 100644 index 000000000000..70a83565c44e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ddosProtectionPlanName": "test-plan", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-plan", + "type": "Microsoft.Network/ddosProtectionPlans", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip" + } + ], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + } + ] + } + } + } + }, + "operationId": "DdosProtectionPlans_Get", + "title": "Get DDoS protection plan" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanList.json new file mode 100644 index 000000000000..4e83d31d3d6d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanList.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "plan1", + "type": "Microsoft.Network/ddosProtectionPlans", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip" + } + ], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + } + ] + } + }, + { + "name": "plan2", + "type": "Microsoft.Network/ddosProtectionPlans", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip" + } + ], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + } + ] + } + } + ] + } + } + }, + "operationId": "DdosProtectionPlans_ListByResourceGroup", + "title": "List DDoS protection plans in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanListAll.json new file mode 100644 index 000000000000..398b07dc1789 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanListAll.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "plan1", + "type": "Microsoft.Network/ddosProtectionPlans", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip" + } + ], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1" + } + ] + } + }, + { + "name": "plan2", + "type": "Microsoft.Network/ddosProtectionPlans", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip3" + } + ], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3" + } + ] + } + } + ] + } + } + }, + "operationId": "DdosProtectionPlans_List", + "title": "List all DDoS protection plans" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanUpdateTags.json new file mode 100644 index 000000000000..5d4f39ad83de --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DdosProtectionPlanUpdateTags.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ddosProtectionPlanName": "test-plan", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-plan", + "type": "Microsoft.Network/ddosProtectionPlans", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddresses": [], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [] + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "DdosProtectionPlans_UpdateTags", + "title": "DDoS protection plan Update tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DefaultSecurityRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DefaultSecurityRuleGet.json new file mode 100644 index 000000000000..c253b5985278 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DefaultSecurityRuleGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "defaultSecurityRuleName": "AllowVnetInBound", + "networkSecurityGroupName": "nsg1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationAddressPrefixes": [], + "destinationPortRange": "*", + "destinationPortRanges": [], + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourceAddressPrefixes": [], + "sourcePortRange": "*", + "sourcePortRanges": [], + "protocol": "*" + } + } + } + }, + "operationId": "DefaultSecurityRules_Get", + "title": "DefaultSecurityRuleGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DefaultSecurityRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DefaultSecurityRuleList.json new file mode 100644 index 000000000000..90ac2acb349c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DefaultSecurityRuleList.json @@ -0,0 +1,138 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "nsg1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationAddressPrefixes": [], + "destinationPortRange": "*", + "destinationPortRanges": [], + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourceAddressPrefixes": [], + "sourcePortRange": "*", + "sourcePortRanges": [], + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationAddressPrefixes": [], + "destinationPortRange": "*", + "destinationPortRanges": [], + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourceAddressPrefixes": [], + "sourcePortRange": "*", + "sourcePortRanges": [], + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationAddressPrefixes": [], + "destinationPortRange": "*", + "destinationPortRanges": [], + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourceAddressPrefixes": [], + "sourcePortRange": "*", + "sourcePortRanges": [], + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationAddressPrefixes": [], + "destinationPortRange": "*", + "destinationPortRanges": [], + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourceAddressPrefixes": [], + "sourcePortRange": "*", + "sourcePortRanges": [], + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationAddressPrefixes": [], + "destinationPortRange": "*", + "destinationPortRanges": [], + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourceAddressPrefixes": [], + "sourcePortRange": "*", + "sourcePortRanges": [], + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationAddressPrefixes": [], + "destinationPortRange": "*", + "destinationPortRanges": [], + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourceAddressPrefixes": [], + "sourcePortRange": "*", + "sourcePortRanges": [], + "protocol": "*" + } + } + ] + } + } + }, + "operationId": "DefaultSecurityRules_List", + "title": "DefaultSecurityRuleList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DscpConfigurationCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DscpConfigurationCreate.json new file mode 100644 index 000000000000..4e7802735842 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DscpConfigurationCreate.json @@ -0,0 +1,233 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "dscpConfigurationName": "mydscpconfig", + "parameters": { + "location": "eastus", + "properties": { + "qosDefinitionCollection": [ + { + "destinationIpRanges": [ + { + "endIP": "127.0.10.2", + "startIP": "127.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 15, + "start": 15 + } + ], + "markings": [ + 1 + ], + "sourceIpRanges": [ + { + "endIP": "127.0.0.2", + "startIP": "127.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 11, + "start": 10 + }, + { + "end": 21, + "start": 20 + } + ], + "protocol": "Tcp" + }, + { + "destinationIpRanges": [ + { + "endIP": "12.0.10.2", + "startIP": "12.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 52, + "start": 51 + } + ], + "markings": [ + 2 + ], + "sourceIpRanges": [ + { + "endIP": "12.0.0.2", + "startIP": "12.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Udp" + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "mydscpConfig", + "type": "Microsoft.Network/dscpConfiguration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/dscpConfiguration/mydscpConfig", + "location": "eastus", + "properties": { + "associatedNetworkInterfaces": [], + "provisioningState": "Succeeded", + "qosCollectionId": "0f8fad5b-d9cb-469f-a165-70867728950e", + "qosDefinitionCollection": [ + { + "destinationIpRanges": [ + { + "endIP": "127.0.10.2", + "startIP": "127.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 62, + "start": 61 + } + ], + "markings": [ + 1 + ], + "sourceIpRanges": [ + { + "endIP": "127.0.0.2", + "startIP": "127.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Tcp" + }, + { + "destinationIpRanges": [ + { + "endIP": "12.0.10.2", + "startIP": "12.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 52, + "start": 51 + } + ], + "markings": [ + 2 + ], + "sourceIpRanges": [ + { + "endIP": "12.0.0.2", + "startIP": "12.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Udp" + } + ] + } + } + }, + "201": { + "body": { + "name": "mydscpConfig", + "type": "Microsoft.Network/dscpConfiguration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/dscpConfiguration/mydscpConfig", + "location": "eastus", + "properties": { + "associatedNetworkInterfaces": [], + "provisioningState": "Succeeded", + "qosCollectionId": "0f8fad5b-d9cb-469f-a165-70867728950e", + "qosDefinitionCollection": [ + { + "destinationIpRanges": [ + { + "endIP": "127.0.10.2", + "startIP": "127.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 62, + "start": 61 + } + ], + "markings": [ + 1 + ], + "sourceIpRanges": [ + { + "endIP": "127.0.0.2", + "startIP": "127.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Tcp" + }, + { + "destinationIpRanges": [ + { + "endIP": "12.0.10.2", + "startIP": "12.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 52, + "start": 51 + } + ], + "markings": [ + 2 + ], + "sourceIpRanges": [ + { + "endIP": "12.0.0.2", + "startIP": "12.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Udp" + } + ] + } + } + } + }, + "operationId": "DscpConfiguration_CreateOrUpdate", + "title": "Create DSCP Configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DscpConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DscpConfigurationDelete.json new file mode 100644 index 000000000000..893f9c757505 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DscpConfigurationDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "dscpConfigurationName": "mydscpConfig", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "DscpConfiguration_Delete", + "title": "Delete DSCP Configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DscpConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DscpConfigurationGet.json new file mode 100644 index 000000000000..8ad6385abed4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DscpConfigurationGet.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "dscpConfigurationName": "mydscpConfig", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "mydscpConfig", + "type": "Microsoft.Network/dscpConfiguration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/dscpConfiguration/mydscpConfig", + "location": "eastus", + "properties": { + "associatedNetworkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2" + } + ], + "provisioningState": "Succeeded", + "qosCollectionId": "0f8fad5b-d9cb-469f-a165-70867728950e", + "qosDefinitionCollection": [ + { + "destinationIpRanges": [ + { + "endIP": "127.0.10.2", + "startIP": "127.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 62, + "start": 61 + } + ], + "markings": [ + 1 + ], + "sourceIpRanges": [ + { + "endIP": "127.0.0.2", + "startIP": "127.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Tcp" + }, + { + "destinationIpRanges": [ + { + "endIP": "12.0.10.2", + "startIP": "12.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 52, + "start": 51 + } + ], + "markings": [ + 2 + ], + "sourceIpRanges": [ + { + "endIP": "12.0.0.2", + "startIP": "12.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Udp" + } + ] + } + } + } + }, + "operationId": "DscpConfiguration_Get", + "title": "Get Dscp Configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DscpConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DscpConfigurationList.json new file mode 100644 index 000000000000..ed09dabeb9c7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DscpConfigurationList.json @@ -0,0 +1,177 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "mydscpConfig", + "type": "Microsoft.Network/dscpConfiguration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/dscpConfiguration/mydscpConfig", + "location": "eastus", + "properties": { + "associatedNetworkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2" + } + ], + "provisioningState": "Succeeded", + "qosCollectionId": "0f8fad5b-d9cb-469f-a165-70867728950e", + "qosDefinitionCollection": [ + { + "destinationIpRanges": [ + { + "endIP": "127.0.10.2", + "startIP": "127.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 62, + "start": 61 + } + ], + "markings": [ + 1 + ], + "sourceIpRanges": [ + { + "endIP": "127.0.0.2", + "startIP": "127.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Tcp" + }, + { + "destinationIpRanges": [ + { + "endIP": "12.0.10.2", + "startIP": "12.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 52, + "start": 51 + } + ], + "markings": [ + 2 + ], + "sourceIpRanges": [ + { + "endIP": "12.0.0.2", + "startIP": "12.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Udp" + } + ] + } + }, + { + "name": "mydscpConfig2", + "type": "Microsoft.Network/dscpConfiguration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/dscpConfiguration/mydscpConfig2", + "location": "eastus", + "properties": { + "associatedNetworkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic3" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic4" + } + ], + "provisioningState": "Succeeded", + "qosCollectionId": "9as24mf6-d9cb-7a7f-a165-70867728950e", + "qosDefinitionCollection": [ + { + "destinationIpRanges": [ + { + "endIP": "127.0.10.2", + "startIP": "127.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 62, + "start": 61 + } + ], + "markings": [ + 1 + ], + "sourceIpRanges": [ + { + "endIP": "127.0.0.2", + "startIP": "127.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Tcp" + }, + { + "destinationIpRanges": [ + { + "endIP": "12.0.10.2", + "startIP": "12.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 52, + "start": 51 + } + ], + "markings": [ + 2 + ], + "sourceIpRanges": [ + { + "endIP": "12.0.0.2", + "startIP": "12.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Udp" + } + ] + } + } + ] + } + } + }, + "operationId": "DscpConfiguration_List", + "title": "Get Dscp Configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DscpConfigurationListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DscpConfigurationListAll.json new file mode 100644 index 000000000000..1f211ec57134 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/DscpConfigurationListAll.json @@ -0,0 +1,176 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "mydscpConfig", + "type": "Microsoft.Network/dscpConfiguration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/dscpConfiguration/mydscpConfig", + "location": "eastus", + "properties": { + "associatedNetworkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2" + } + ], + "provisioningState": "Succeeded", + "qosCollectionId": "0f8fad5b-d9cb-469f-a165-70867728950e", + "qosDefinitionCollection": [ + { + "destinationIpRanges": [ + { + "endIP": "127.0.10.2", + "startIP": "127.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 62, + "start": 61 + } + ], + "markings": [ + 1 + ], + "sourceIpRanges": [ + { + "endIP": "127.0.0.2", + "startIP": "127.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Tcp" + }, + { + "destinationIpRanges": [ + { + "endIP": "12.0.10.2", + "startIP": "12.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 52, + "start": 51 + } + ], + "markings": [ + 2 + ], + "sourceIpRanges": [ + { + "endIP": "12.0.0.2", + "startIP": "12.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Udp" + } + ] + } + }, + { + "name": "mydscpConfig2", + "type": "Microsoft.Network/dscpConfiguration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/dscpConfiguration/mydscpConfig2", + "location": "eastus", + "properties": { + "associatedNetworkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/test-nic3" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/test-nic4" + } + ], + "provisioningState": "Succeeded", + "qosCollectionId": "9as24mf6-d9cb-7a7f-a165-70867728950e", + "qosDefinitionCollection": [ + { + "destinationIpRanges": [ + { + "endIP": "127.0.10.2", + "startIP": "127.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 62, + "start": 61 + } + ], + "markings": [ + 1 + ], + "sourceIpRanges": [ + { + "endIP": "127.0.0.2", + "startIP": "127.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Tcp" + }, + { + "destinationIpRanges": [ + { + "endIP": "12.0.10.2", + "startIP": "12.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 52, + "start": 51 + } + ], + "markings": [ + 2 + ], + "sourceIpRanges": [ + { + "endIP": "12.0.0.2", + "startIP": "12.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Udp" + } + ] + } + } + ] + } + } + }, + "operationId": "DscpConfiguration_ListAll", + "title": "List all network interfaces" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/EffectiveRoutesListForConnection.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/EffectiveRoutesListForConnection.json new file mode 100644 index 000000000000..3d785d9a9634 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/EffectiveRoutesListForConnection.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "effectiveRoutesParameters": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "virtualWanResourceType": "ExpressRouteConnection" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "addressPrefixes": [ + "10.147.128.0/17" + ], + "asPath": "65520-65520", + "nextHopType": "Remote Hub", + "nextHops": [ + "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0" + ], + "routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0" + }, + { + "addressPrefixes": [ + "10.0.0.0/16" + ], + "asPath": "12076-12076", + "nextHopType": "ExpressRouteGateway", + "nextHops": [ + "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1" + ], + "routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1" + } + ] + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VirtualHubs_GetEffectiveVirtualHubRoutes", + "title": "Effective Routes for a Connection resource" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/EffectiveRoutesListForRouteTable.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/EffectiveRoutesListForRouteTable.json new file mode 100644 index 000000000000..d3281f5b34f3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/EffectiveRoutesListForRouteTable.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "effectiveRoutesParameters": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1", + "virtualWanResourceType": "RouteTable" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "addressPrefixes": [ + "10.147.128.0/17" + ], + "asPath": "65520-65520", + "nextHopType": "Remote Hub", + "nextHops": [ + "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0" + ], + "routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0" + }, + { + "addressPrefixes": [ + "10.0.0.0/16" + ], + "asPath": "12076-12076", + "nextHopType": "ExpressRouteGateway", + "nextHops": [ + "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1" + ], + "routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1" + } + ] + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VirtualHubs_GetEffectiveVirtualHubRoutes", + "title": "Effective Routes for a Route Table resource" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/EffectiveRoutesListForVirtualHub.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/EffectiveRoutesListForVirtualHub.json new file mode 100644 index 000000000000..18ef463c802f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/EffectiveRoutesListForVirtualHub.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "effectiveRoutesParameters": null, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "addressPrefixes": [ + "10.147.128.0/17" + ], + "asPath": "65520-65520", + "nextHopType": "Remote Hub", + "nextHops": [ + "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0" + ], + "routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0" + }, + { + "addressPrefixes": [ + "10.0.0.0/16" + ], + "asPath": "12076-12076", + "nextHopType": "ExpressRouteGateway", + "nextHops": [ + "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1" + ], + "routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1" + } + ] + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VirtualHubs_GetEffectiveVirtualHubRoutes", + "title": "Effective Routes for the Virtual Hub" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/EndpointServicesList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/EndpointServicesList.json new file mode 100644 index 000000000000..e8944ba61973 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/EndpointServicesList.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Storage", + "type": "Microsoft.Network/virtualNetworkEndpointServices", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage" + }, + { + "name": "Microsoft.Sql", + "type": "Microsoft.Network/virtualNetworkEndpointServices", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql" + }, + { + "name": "Microsoft.AzureActiveDirectory", + "type": "Microsoft.Network/virtualNetworkEndpointServices", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory" + } + ] + } + } + }, + "operationId": "AvailableEndpointServices_List", + "title": "EndpointServicesList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitARPTableList.json new file mode 100644 index 000000000000..6b9fa3874b78 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitARPTableList.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "devicePath": "devicePath", + "peeringName": "peeringName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "age": 0, + "interface": "Microsoft", + "ipAddress": "IPAddress", + "macAddress": "macAddress" + } + ] + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteCircuits_ListArpTable", + "title": "List ARP Table" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitAuthorizationCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitAuthorizationCreate.json new file mode 100644 index 000000000000..4c483e1c1a32 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitAuthorizationCreate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "authorizationName": "authorizatinName", + "authorizationParameters": { + "properties": {} + }, + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "authorizationName", + "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/authorizationName", + "properties": { + "authorizationUseStatus": "Available", + "provisioningState": "Updating" + } + } + }, + "201": { + "body": { + "name": "authorizationName", + "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/authorizationName", + "properties": { + "authorizationUseStatus": "Available", + "provisioningState": "Updating" + } + } + } + }, + "operationId": "ExpressRouteCircuitAuthorizations_CreateOrUpdate", + "title": "Create ExpressRouteCircuit Authorization" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitAuthorizationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitAuthorizationDelete.json new file mode 100644 index 000000000000..9c53a30d64a6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitAuthorizationDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "authorizationName": "authorizationName", + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ExpressRouteCircuitAuthorizations_Delete", + "title": "Delete ExpressRouteCircuit Authorization" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitAuthorizationGet.json new file mode 100644 index 000000000000..84070446a481 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitAuthorizationGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "authorizationName": "authorizationName", + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "MyAuthorization1", + "type": "Microsoft.Network/expressRouteCircuits/authorizations", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "properties": { + "authorizationKey": "authKey", + "authorizationUseStatus": "Available", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRouteCircuitAuthorizations_Get", + "title": "Get ExpressRouteCircuit Authorization" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitAuthorizationList.json new file mode 100644 index 000000000000..842b53c0ba72 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitAuthorizationList.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "properties": { + "authorizationKey": "authKey", + "authorizationUseStatus": "Available", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ExpressRouteCircuitAuthorizations_List", + "title": "List ExpressRouteCircuit Authorization" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitConnectionCreate.json new file mode 100644 index 000000000000..d5c5cf83c38b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitConnectionCreate.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "type": "Microsoft.Network/expressRouteCircuits/peerings/connections", + "api-version": "2025-07-01", + "circuitName": "ExpressRouteARMCircuitA", + "connectionName": "circuitConnectionUSAUS", + "expressRouteCircuitConnectionParameters": { + "properties": { + "addressPrefix": "10.0.0.0/29", + "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "ipv6CircuitConnectionConfig": { + "addressPrefix": "aa:bb::/125" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" + } + } + }, + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "circuitConnectionUSAUS", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS", + "properties": { + "addressPrefix": "10.0.0.0/24", + "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", + "circuitConnectionStatus": "Connected", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "ipv6CircuitConnectionConfig": { + "addressPrefix": "aa:bb::1/125", + "circuitConnectionStatus": "Connected" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" + }, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "circuitConnectionUSAUS", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS", + "properties": { + "addressPrefix": "10.0.0.0/24", + "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", + "circuitConnectionStatus": "Connected", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "ipv6CircuitConnectionConfig": { + "addressPrefix": "aa:bb::1/125", + "circuitConnectionStatus": "Connected" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRouteCircuitConnections_CreateOrUpdate", + "title": "ExpressRouteCircuitConnectionCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitConnectionDelete.json new file mode 100644 index 000000000000..f744a6763e36 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitConnectionDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "ExpressRouteARMCircuitA", + "connectionName": "circuitConnectionUSAUS", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ExpressRouteCircuitConnections_Delete", + "title": "Delete ExpressRouteCircuit" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitConnectionGet.json new file mode 100644 index 000000000000..f73bb893eb53 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitConnectionGet.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "ExpressRouteARMCircuitA", + "connectionName": "circuitConnectionUSAUS", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "circuitConnectionUSAUS", + "type": "Microsoft.Network/expressRouteCircuits/peerings/connections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS", + "properties": { + "addressPrefix": "10.0.0.0/24", + "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", + "circuitConnectionStatus": "Connected", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "ipv6CircuitConnectionConfig": { + "addressPrefix": "aa:bb::1/125", + "circuitConnectionStatus": "Connected" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRouteCircuitConnections_Get", + "title": "ExpressRouteCircuitConnectionGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitConnectionList.json new file mode 100644 index 000000000000..24ccf47206b7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitConnectionList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "ExpressRouteARMCircuitA", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "circuitConnectionUSAUS", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS", + "properties": { + "addressPrefix": "10.0.0.0/24", + "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", + "circuitConnectionStatus": "Connected", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "ipv6CircuitConnectionConfig": { + "addressPrefix": "aa:bb::1/125", + "circuitConnectionStatus": "Connected" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" + }, + "provisioningState": "Succeeded" + } + }, + { + "name": "circuitConnectionUSEUR", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR", + "properties": { + "addressPrefix": "20.0.0.0/24", + "circuitConnectionStatus": "Connected", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ExpressRouteCircuitConnections_List", + "title": "List ExpressRouteCircuit Connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitCreate.json new file mode 100644 index 000000000000..bc71560eb41b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitCreate.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "parameters": { + "location": "Brazil South", + "properties": { + "allowClassicOperations": false, + "authorizations": [], + "peerings": [], + "serviceProviderProperties": { + "bandwidthInMbps": 200, + "peeringLocation": "Silicon Valley", + "serviceProviderName": "Equinix" + } + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "circuitName", + "type": "Microsoft.Network/expressRouteCircuits", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "location": "Brazil South", + "properties": { + "allowClassicOperations": false, + "authorizations": [], + "circuitProvisioningState": "Enabled", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProperties": { + "bandwidthInMbps": 200, + "peeringLocation": "Silicon Valley", + "serviceProviderName": "Equinix" + }, + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + } + } + }, + "201": { + "body": { + "name": "circuitName", + "type": "Microsoft.Network/expressRouteCircuits", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "location": "Brazil South", + "properties": { + "allowClassicOperations": false, + "authorizations": [], + "circuitProvisioningState": "Enabled", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProperties": { + "bandwidthInMbps": 200, + "peeringLocation": "Silicon Valley", + "serviceProviderName": "Equinix" + }, + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + } + } + } + }, + "operationId": "ExpressRouteCircuits_CreateOrUpdate", + "title": "Create ExpressRouteCircuit" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitCreateOnExpressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitCreateOnExpressRoutePort.json new file mode 100644 index 000000000000..7d0ef6f72f5e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitCreateOnExpressRoutePort.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "type": "Microsoft.Network/expressRouteCircuits", + "api-version": "2025-07-01", + "circuitName": "expressRouteCircuit1", + "parameters": { + "location": "westus", + "properties": { + "authorizationKey": "b0be57f5-1fba-463b-adec-ffe767354cdd", + "bandwidthInGbps": 10, + "enableDirectPortRateLimit": false, + "expressRoutePort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" + } + }, + "sku": { + "name": "Premium_MeteredData", + "family": "MeteredData", + "tier": "Premium" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "expressRouteCircuit1", + "type": "Microsoft.Network/expressRouteCircuits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1", + "location": "westus", + "properties": { + "allowClassicOperations": false, + "authorizationKey": "b0be57f5-1fba-463b-adec-ffe767354cdd", + "authorizationStatus": "Enabled", + "authorizations": [], + "bandwidthInGbps": 10, + "circuitProvisioningState": "Enabled", + "enableDirectPortRateLimit": false, + "expressRoutePort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" + }, + "gatewayManagerEtag": "20", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Premium_MeteredData", + "family": "MeteredData", + "tier": "Premium" + } + } + }, + "201": { + "body": { + "name": "expressRouteCircuit1", + "type": "Microsoft.Network/expressRouteCircuits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1", + "location": "westus", + "properties": { + "allowClassicOperations": false, + "authorizationKey": "b0be57f5-1fba-463b-adec-ffe767354cdd", + "authorizationStatus": "Enabled", + "authorizations": [], + "bandwidthInGbps": 10, + "circuitProvisioningState": "Enabled", + "enableDirectPortRateLimit": false, + "expressRoutePort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" + }, + "gatewayManagerEtag": "20", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Premium_MeteredData", + "family": "MeteredData", + "tier": "Premium" + } + } + } + }, + "operationId": "ExpressRouteCircuits_CreateOrUpdate", + "title": "Create ExpressRouteCircuit on ExpressRoutePort" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitDelete.json new file mode 100644 index 000000000000..6ee064f694b4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ExpressRouteCircuits_Delete", + "title": "Delete ExpressRouteCircuit" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitGet.json new file mode 100644 index 000000000000..876d8ad950a9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "circuitName", + "type": "Microsoft.Network/expressRouteCircuits", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "location": "westus", + "properties": { + "allowClassicOperations": false, + "authorizations": [], + "circuitProvisioningState": "Enabled", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProperties": { + "bandwidthInMbps": 200, + "peeringLocation": "peeringLocation", + "serviceProviderName": "providerName" + }, + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + } + } + } + }, + "operationId": "ExpressRouteCircuits_Get", + "title": "Get ExpressRouteCircuit" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitGetCircuitLinkFailoverAllTestsDetails.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitGetCircuitLinkFailoverAllTestsDetails.json new file mode 100644 index 000000000000..11c7598eca4d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitGetCircuitLinkFailoverAllTestsDetails.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "failoverTestType": "SingleSiteFailover", + "fetchLatest": true, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "circuitName": "circuit1" + }, + "responses": { + "200": { + "body": [ + { + "status": "Completed", + "startTime": "2025-01-01T00:00:00Z", + "endTime": "2025-01-01T01:00:00Z", + "testGuid": "00000000-0000-0000-0000-000000000001", + "testType": "SingleSiteFailover", + "issues": [], + "wasSimulationSuccessful": true, + "circuitTestCategory": "BgpDisconnect", + "linkType": "Primary", + "bgpStatus": [ + { + "type": "IPv4", + "link": "Primary", + "status": "Connected", + "checkTimeUtc": "2025-01-01T00:30:00Z" + } + ] + } + ] + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteCircuits_GetCircuitLinkFailoverAllTestsDetails", + "title": "ExpressRouteCircuitGetCircuitLinkFailoverAllTestsDetails" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitGetCircuitLinkFailoverSingleTestDetails.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitGetCircuitLinkFailoverSingleTestDetails.json new file mode 100644 index 000000000000..01ee1ba65b19 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitGetCircuitLinkFailoverSingleTestDetails.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "linkType": "Primary", + "circuitTestCategory": "BgpDisconnect", + "failoverTestId": "00000000-0000-0000-0000-000000000001", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "circuitName": "circuit1" + }, + "responses": { + "200": { + "body": [ + { + "startTimeUtc": "2025-01-01T00:00:00Z", + "endTimeUtc": "2025-01-01T01:00:00Z", + "status": "Completed", + "wasSimulationSuccessful": true, + "linkType": "Primary", + "circuitTestCategory": "BgpDisconnect", + "isSimulationVerified": true, + "redundantRoutes": { + "beforeSimulation": [ + { + "route": "10.0.0.0/24", + "nextHop": "10.0.0.1", + "primaryASPath": "65000 65001", + "secondaryASPath": "65000 65002" + } + ], + "duringSimulation": [ + { + "route": "10.0.0.0/24", + "nextHop": "10.0.0.2", + "primaryASPath": "65000 65001", + "secondaryASPath": "65000 65002" + } + ] + }, + "nonRedundantRoutes": { + "beforeSimulation": [], + "duringSimulation": [] + }, + "bgpStatus": [ + { + "type": "IPv4", + "link": "Primary", + "status": "Connected", + "checkTimeUtc": "2025-01-01T00:30:00Z" + } + ] + } + ] + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteCircuits_GetCircuitLinkFailoverSingleTestDetails", + "title": "ExpressRouteCircuitGetCircuitLinkFailoverSingleTestDetails" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitListByResourceGroup.json new file mode 100644 index 000000000000..cef55859bc04 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitListByResourceGroup.json @@ -0,0 +1,93 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "circuitName1", + "type": "Microsoft.Network/expressRouteCircuits", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "location": "westus", + "properties": { + "allowClassicOperations": false, + "authorizations": [ + { + "name": "MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "properties": { + "authorizationKey": "authkey", + "authorizationUseStatus": "Available", + "provisioningState": "Succeeded" + } + } + ], + "circuitProvisioningState": "Enabled", + "gatewayManagerEtag": "113", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProperties": { + "bandwidthInMbps": 200, + "peeringLocation": "peeringLocation", + "serviceProviderName": "providerName" + }, + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + } + }, + { + "name": "circuitName2", + "type": "Microsoft.Network/expressRouteCircuits", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "location": "westus", + "properties": { + "allowClassicOperations": false, + "authorizations": [ + { + "name": "MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "properties": { + "authorizationKey": "authkey", + "authorizationUseStatus": "Available", + "provisioningState": "Succeeded" + } + } + ], + "circuitProvisioningState": "Enabled", + "gatewayManagerEtag": "", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProperties": { + "bandwidthInMbps": 200, + "peeringLocation": "peeringLocation", + "serviceProviderName": "providerName" + }, + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + } + } + ] + } + } + }, + "operationId": "ExpressRouteCircuits_List", + "title": "List ExpressRouteCircuits in a resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitListBySubscription.json new file mode 100644 index 000000000000..6fcb368eb044 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitListBySubscription.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "circuitName1", + "type": "Microsoft.Network/expressRouteCircuits", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "location": "westus", + "properties": { + "allowClassicOperations": false, + "authorizations": [ + { + "name": "MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "properties": { + "authorizationKey": "authkey", + "authorizationUseStatus": "Available", + "provisioningState": "Succeeded" + } + } + ], + "circuitProvisioningState": "Enabled", + "gatewayManagerEtag": "113", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProperties": { + "bandwidthInMbps": 200, + "peeringLocation": "peeringLocation", + "serviceProviderName": "providerName" + }, + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + } + }, + { + "name": "circuitName2", + "type": "Microsoft.Network/expressRouteCircuits", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "location": "westus", + "properties": { + "allowClassicOperations": false, + "authorizations": [ + { + "name": "MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "properties": { + "authorizationKey": "authkey", + "authorizationUseStatus": "Available", + "provisioningState": "Succeeded" + } + } + ], + "circuitProvisioningState": "Enabled", + "gatewayManagerEtag": "", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProperties": { + "bandwidthInMbps": 200, + "peeringLocation": "peeringLocation", + "serviceProviderName": "providerName" + }, + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + } + } + ] + } + } + }, + "operationId": "ExpressRouteCircuits_ListAll", + "title": "List ExpressRouteCircuits in a subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitPeeringCreate.json new file mode 100644 index 000000000000..bd7635988adb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitPeeringCreate.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "peeringName": "AzurePrivatePeering", + "peeringParameters": { + "properties": { + "peerASN": 200, + "primaryPeerAddressPrefix": "192.168.16.252/30", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "vlanId": 200 + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "properties": { + "azureASN": 12076, + "gatewayManagerEtag": "", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "peerASN": 200, + "peeringType": "AzurePrivatePeering", + "primaryAzurePort": "", + "primaryPeerAddressPrefix": "192.168.16.252/30", + "provisioningState": "Succeeded", + "secondaryAzurePort": "", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "state": "Enabled", + "vlanId": 200 + } + } + }, + "201": { + "body": { + "name": "AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "properties": { + "azureASN": 12076, + "expressRouteConnection": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" + }, + "gatewayManagerEtag": "", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "peerASN": 200, + "peeringType": "AzurePrivatePeering", + "primaryAzurePort": "", + "primaryPeerAddressPrefix": "192.168.16.252/30", + "provisioningState": "Succeeded", + "secondaryAzurePort": "", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "state": "Enabled", + "vlanId": 200 + } + } + } + }, + "operationId": "ExpressRouteCircuitPeerings_CreateOrUpdate", + "title": "Create ExpressRouteCircuit Peerings" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitPeeringDelete.json new file mode 100644 index 000000000000..3ff3c7d1c577 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitPeeringDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "peeringName": "peeringName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ExpressRouteCircuitPeerings_Delete", + "title": "Delete ExpressRouteCircuit Peerings" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitPeeringGet.json new file mode 100644 index 000000000000..6c0f0947a0c3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitPeeringGet.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "peeringName": "MicrosoftPeering", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "MicrosoftPeering", + "type": "Microsoft.Network/expressRouteCircuits/peerings", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "properties": { + "azureASN": 12076, + "gatewayManagerEtag": "103", + "ipv6PeeringConfig": { + "microsoftPeeringConfig": { + "advertisedCommunities": [], + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + }, + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "microsoftPeeringConfig": { + "advertisedCommunities": [], + "advertisedPublicPrefixes": [ + "123.1.0.0/24" + ], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + }, + "peerASN": 100, + "peeringType": "MicrosoftPeering", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "primaryPeerAddressPrefix": "123.0.0.0/30", + "provisioningState": "Succeeded", + "routeFilter": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName" + }, + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "state": "Enabled", + "vlanId": 300 + } + } + } + }, + "operationId": "ExpressRouteCircuitPeerings_Get", + "title": "Get ExpressRouteCircuit Peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitPeeringList.json new file mode 100644 index 000000000000..f9f3910e8d34 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitPeeringList.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "properties": { + "azureASN": 12076, + "gatewayManagerEtag": "103", + "ipv6PeeringConfig": { + "microsoftPeeringConfig": { + "advertisedCommunities": [], + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + }, + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "microsoftPeeringConfig": { + "advertisedCommunities": [], + "advertisedPublicPrefixes": [ + "123.1.0.0/24" + ], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + }, + "peerASN": 100, + "peeringType": "MicrosoftPeering", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "primaryPeerAddressPrefix": "123.0.0.0/30", + "provisioningState": "Succeeded", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "state": "Enabled", + "vlanId": 300 + } + }, + { + "name": "AzurePrivatePeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "properties": { + "azureASN": 12076, + "expressRouteConnection": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" + }, + "gatewayManagerEtag": "103", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "peerASN": 100, + "peeringType": "AzurePrivatePeering", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "primaryPeerAddressPrefix": "10.0.0.0/30", + "provisioningState": "Succeeded", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "state": "Enabled", + "vlanId": 200 + } + } + ] + } + } + }, + "operationId": "ExpressRouteCircuitPeerings_List", + "title": "List ExpressRouteCircuit Peerings" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitPeeringStats.json new file mode 100644 index 000000000000..3d99c5e26beb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitPeeringStats.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "peeringName": "peeringName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "primarybytesIn": 537408, + "primarybytesOut": 44032550, + "secondarybytesIn": 0, + "secondarybytesOut": 39002500 + } + } + }, + "operationId": "ExpressRouteCircuits_GetPeeringStats", + "title": "Get ExpressRoute Circuit Peering Traffic Stats" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitRouteTableList.json new file mode 100644 index 000000000000..f36c1d9d5992 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitRouteTableList.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "devicePath": "devicePath", + "peeringName": "peeringName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "path": "", + "locPrf": "", + "network": "", + "nextHop": "", + "weight": 0 + } + ] + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteCircuits_ListRoutesTable", + "title": "List Route Tables" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitRouteTableSummaryList.json new file mode 100644 index 000000000000..ce8f1a07cedf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitRouteTableSummaryList.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "devicePath": "devicePath", + "peeringName": "peeringName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "as": 9583, + "neighbor": "100.65.171.1", + "statePfxRcd": "Idle", + "upDown": "never", + "v": 4 + } + ] + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteCircuits_ListRoutesTableSummary", + "title": "List Route Table Summary" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitStartCircuitLinkFailoverTest.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitStartCircuitLinkFailoverTest.json new file mode 100644 index 000000000000..858ceb6d3b7f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitStartCircuitLinkFailoverTest.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "linkType": "Primary", + "circuitTestCategory": "BgpDisconnect", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "circuitName": "circuit1" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteCircuits_StartCircuitLinkFailoverTest", + "title": "ExpressRouteCircuitStartCircuitLinkFailoverTest" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitStats.json new file mode 100644 index 000000000000..6f376f88d859 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitStats.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "primarybytesIn": 537408, + "primarybytesOut": 44032550, + "secondarybytesIn": 0, + "secondarybytesOut": 39002500 + } + } + }, + "operationId": "ExpressRouteCircuits_GetStats", + "title": "Get ExpressRoute Circuit Traffic Stats" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitStopCircuitLinkFailoverTest.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitStopCircuitLinkFailoverTest.json new file mode 100644 index 000000000000..0b2e46e76304 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitStopCircuitLinkFailoverTest.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "circuitName": "circuit1", + "stopParameters": { + "circuitTestCategory": "BgpDisconnect", + "linkType": "Primary", + "wasSimulationSuccessful": true, + "isVerified": true + } + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteCircuits_StopCircuitLinkFailoverTest", + "title": "ExpressRouteCircuitStopCircuitLinkFailoverTest" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitUpdateTags.json new file mode 100644 index 000000000000..91335b5ea617 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCircuitUpdateTags.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "er1", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "ertest", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "er1", + "type": "Microsoft.Network/expressRouteCircuits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1", + "location": "brazilsouth", + "properties": { + "allowClassicOperations": false, + "authorizations": [], + "circuitProvisioningState": "Enabled", + "gatewayManagerEtag": "", + "peerings": [], + "provisioningState": "Failed", + "serviceKey": "0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c", + "serviceProviderProperties": { + "bandwidthInMbps": 1000, + "peeringLocation": "Silicon Valley", + "serviceProviderName": "Equinix" + }, + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "ExpressRouteCircuits_UpdateTags", + "title": "Update Express Route Circuit Tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteConnectionCreate.json new file mode 100644 index 000000000000..90f1fe0f5384 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteConnectionCreate.json @@ -0,0 +1,140 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connectionName", + "expressRouteGatewayName": "gateway-2", + "putExpressRouteConnectionParameters": { + "name": "connectionName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName", + "properties": { + "authorizationKey": "authorizationKey", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "routingWeight": 2 + } + }, + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "connectionName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName", + "properties": { + "authorizationKey": "authorizationKey", + "enableInternetSecurity": false, + "enablePrivateLinkFastPath": false, + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "expressRouteGatewayBypass": false, + "provisioningState": "Provisioned", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "routingWeight": 2 + } + } + }, + "201": { + "body": { + "name": "connectionName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName", + "properties": { + "authorizationKey": "authorizationKey", + "enableInternetSecurity": false, + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "provisioningState": "Provisioned", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "routingWeight": 2 + } + } + } + }, + "operationId": "ExpressRouteConnections_CreateOrUpdate", + "title": "ExpressRouteConnectionCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteConnectionDelete.json new file mode 100644 index 000000000000..6351bdd5a6b3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteConnectionDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connectionName", + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "ExpressRouteConnections_Delete", + "title": "ExpressRouteConnectionDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteConnectionGet.json new file mode 100644 index 000000000000..bdef444bf19d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteConnectionGet.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connectionName", + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "connectionName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "authorizationKey": "authorizationKey", + "enableInternetSecurity": false, + "enablePrivateLinkFastPath": false, + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "expressRouteGatewayBypass": false, + "provisioningState": "Provisioned", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "routingWeight": 1 + } + } + } + }, + "operationId": "ExpressRouteConnections_Get", + "title": "ExpressRouteConnectionGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteConnectionList.json new file mode 100644 index 000000000000..a2ebfc82ff3f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteConnectionList.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "connectionName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "authorizationKey": "authorizationKey", + "enableInternetSecurity": false, + "enablePrivateLinkFastPath": false, + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "expressRouteGatewayBypass": false, + "provisioningState": "Provisioned", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "routingWeight": 1 + } + } + ] + } + } + }, + "operationId": "ExpressRouteConnections_List", + "title": "ExpressRouteConnectionList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionBgpPeeringCreate.json new file mode 100644 index 000000000000..7d9703f0e8b2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "peeringName": "AzurePrivatePeering", + "peeringParameters": { + "properties": { + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126" + }, + "peerASN": 200, + "primaryPeerAddressPrefix": "192.168.16.252/30", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "vlanId": 200 + } + }, + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering", + "properties": { + "azureASN": 12076, + "gatewayManagerEtag": "", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "peerASN": 200, + "peeringType": "AzurePrivatePeering", + "primaryAzurePort": "", + "primaryPeerAddressPrefix": "192.168.16.252/30", + "provisioningState": "Succeeded", + "secondaryAzurePort": "", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "state": "Enabled", + "vlanId": 200 + } + } + }, + "201": { + "body": { + "name": "AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering", + "properties": { + "azureASN": 12076, + "gatewayManagerEtag": "", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "peerASN": 200, + "peeringType": "AzurePrivatePeering", + "primaryAzurePort": "", + "primaryPeerAddressPrefix": "192.168.16.252/30", + "provisioningState": "Succeeded", + "secondaryAzurePort": "", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "state": "Enabled", + "vlanId": 200 + } + } + } + }, + "operationId": "ExpressRouteCrossConnectionPeerings_CreateOrUpdate", + "title": "ExpressRouteCrossConnectionBgpPeeringCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionBgpPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionBgpPeeringDelete.json new file mode 100644 index 000000000000..3d791590689c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionBgpPeeringDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "" + } + }, + "204": {} + }, + "operationId": "ExpressRouteCrossConnectionPeerings_Delete", + "title": "DeleteExpressRouteCrossConnectionBgpPeering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionBgpPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionBgpPeeringGet.json new file mode 100644 index 000000000000..d0ccbf11d8cc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionBgpPeeringGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering", + "properties": { + "azureASN": 12076, + "gatewayManagerEtag": "", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "peerASN": 200, + "peeringType": "AzurePrivatePeering", + "primaryAzurePort": "", + "primaryPeerAddressPrefix": "192.168.16.252/30", + "provisioningState": "Succeeded", + "secondaryAzurePort": "", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "state": "Enabled", + "vlanId": 200 + } + } + } + }, + "operationId": "ExpressRouteCrossConnectionPeerings_Get", + "title": "GetExpressRouteCrossConnectionBgpPeering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionBgpPeeringList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionBgpPeeringList.json new file mode 100644 index 000000000000..4760a3ed8b2e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionBgpPeeringList.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering", + "properties": { + "azureASN": 12076, + "gatewayManagerEtag": "", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "peerASN": 200, + "peeringType": "AzurePrivatePeering", + "primaryAzurePort": "", + "primaryPeerAddressPrefix": "192.168.16.252/30", + "provisioningState": "Succeeded", + "secondaryAzurePort": "", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "state": "Enabled", + "vlanId": 200 + } + } + ] + } + } + }, + "operationId": "ExpressRouteCrossConnectionPeerings_List", + "title": "ExpressRouteCrossConnectionBgpPeeringList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionGet.json new file mode 100644 index 000000000000..0fe3cb7e2360 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "", + "type": "Microsoft.Network/expressRouteCrossConnections", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", + "location": "brazilsouth", + "properties": { + "bandwidthInMbps": 1000, + "expressRouteCircuit": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1" + }, + "peeringLocation": "SiliconValley", + "peerings": [], + "primaryAzurePort": "bvtazureixp01", + "provisioningState": "Enabled", + "sTag": 2, + "secondaryAzurePort": "bvtazureixp01", + "serviceProviderProvisioningState": "NotProvisioned" + } + } + } + }, + "operationId": "ExpressRouteCrossConnections_Get", + "title": "GetExpressRouteCrossConnection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionList.json new file mode 100644 index 000000000000..341b916ca98d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionList.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "name": "", + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "", + "type": "Microsoft.Network/expressRouteCrossConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", + "location": "brazilsouth", + "properties": { + "bandwidthInMbps": 1000, + "expressRouteCircuit": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1" + }, + "peeringLocation": "SiliconValley", + "peerings": [], + "primaryAzurePort": "bvtazureixp01", + "provisioningState": "Enabled", + "sTag": 2, + "secondaryAzurePort": "bvtazureixp01", + "serviceProviderProvisioningState": "NotProvisioned" + } + } + ] + } + } + }, + "operationId": "ExpressRouteCrossConnections_List", + "title": "ExpressRouteCrossConnectionList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionListByResourceGroup.json new file mode 100644 index 000000000000..fd96c773d53c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionListByResourceGroup.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "", + "type": "Microsoft.Network/expressRouteCrossConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/", + "location": "brazilsouth", + "properties": { + "bandwidthInMbps": 1000, + "expressRouteCircuit": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1" + }, + "peeringLocation": "SiliconValley", + "peerings": [], + "primaryAzurePort": "bvtazureixp01", + "provisioningState": "Enabled", + "sTag": 2, + "secondaryAzurePort": "bvtazureixp01", + "serviceProviderProvisioningState": "NotProvisioned" + } + } + ] + } + } + }, + "operationId": "ExpressRouteCrossConnections_ListByResourceGroup", + "title": "ExpressRouteCrossConnectionListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionUpdate.json new file mode 100644 index 000000000000..159c57df539b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionUpdate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "parameters": { + "properties": { + "serviceProviderProvisioningState": "NotProvisioned" + } + }, + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "", + "type": "Microsoft.Network/expressRouteCrossConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", + "location": "brazilsouth", + "properties": { + "bandwidthInMbps": 1000, + "expressRouteCircuit": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1" + }, + "peeringLocation": "SiliconValley", + "peerings": [], + "primaryAzurePort": "bvtazureixp01", + "provisioningState": "Enabled", + "sTag": 2, + "secondaryAzurePort": "bvtazureixp01", + "serviceProviderProvisioningState": "NotProvisioned" + } + } + } + }, + "operationId": "ExpressRouteCrossConnections_CreateOrUpdate", + "title": "UpdateExpressRouteCrossConnection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionUpdateTags.json new file mode 100644 index 000000000000..d62f87c6f7bd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionUpdateTags.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "crossConnectionParameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "er1", + "type": "Microsoft.Network/expressRouteCrossConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", + "location": "brazilsouth", + "properties": { + "bandwidthInMbps": 1000, + "expressRouteCircuit": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1" + }, + "peeringLocation": "SiliconValley", + "peerings": [], + "primaryAzurePort": "bvtazureixp01", + "provisioningState": "Failed", + "sTag": 2, + "secondaryAzurePort": "bvtazureixp01", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "ExpressRouteCrossConnections_UpdateTags", + "title": "UpdateExpressRouteCrossConnectionTags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionsArpTable.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionsArpTable.json new file mode 100644 index 000000000000..0c300317f1ff --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionsArpTable.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "devicePath": "primary", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "age": 0, + "interface": "Microsoft", + "ipAddress": "192.116.14.254", + "macAddress": "885a.9269.9110" + } + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "" + } + } + }, + "operationId": "ExpressRouteCrossConnections_ListArpTable", + "title": "GetExpressRouteCrossConnectionsArpTable" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionsRouteTable.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionsRouteTable.json new file mode 100644 index 000000000000..abaae3201169 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionsRouteTable.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "devicePath": "primary", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "path": "65514", + "locPrf": "", + "network": "10.6.0.0/16", + "nextHop": "10.6.1.12", + "weight": 0 + }, + { + "path": "65514", + "locPrf": "", + "network": "10.7.0.0/16", + "nextHop": "10.7.1.13", + "weight": 0 + } + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "" + } + } + }, + "operationId": "ExpressRouteCrossConnections_ListRoutesTable", + "title": "GetExpressRouteCrossConnectionsRouteTable" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionsRouteTableSummary.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionsRouteTableSummary.json new file mode 100644 index 000000000000..7d9942b1d8a9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteCrossConnectionsRouteTableSummary.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "devicePath": "primary", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "asn": 65514, + "neighbor": "10.6.1.112", + "stateOrPrefixesReceived": "Active", + "upDown": "1d14h" + }, + { + "asn": 65514, + "neighbor": "10.6.1.113", + "stateOrPrefixesReceived": "1", + "upDown": "1d14h" + } + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "" + } + } + }, + "operationId": "ExpressRouteCrossConnections_ListRoutesTableSummary", + "title": "GetExpressRouteCrossConnectionsRouteTableSummary" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayCreate.json new file mode 100644 index 000000000000..a2fb06aa805b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayCreate.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRouteGatewayName": "gateway-2", + "putExpressRouteGatewayParameters": { + "location": "westus", + "properties": { + "allowNonVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "min": 3 + } + }, + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + }, + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "gateway-2", + "type": "Microsoft.Network/expressRouteGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2", + "location": "westus", + "properties": { + "allowNonVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "min": 3 + } + }, + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + } + }, + "201": { + "body": { + "name": "gateway-2", + "type": "Microsoft.Network/expressRouteGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2", + "location": "westus", + "properties": { + "allowNonVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "min": 3 + } + }, + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + } + } + }, + "operationId": "ExpressRouteGateways_CreateOrUpdate", + "title": "ExpressRouteGatewayCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayDelete.json new file mode 100644 index 000000000000..db308d306616 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "ExpressRouteGateways_Delete", + "title": "ExpressRouteGatewayDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayGet.json new file mode 100644 index 000000000000..c54a930c0af5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayGet.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "expressRouteGatewayName", + "type": "Microsoft.Network/expressRouteGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "location": "westus", + "properties": { + "allowNonVirtualWanTraffic": false, + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + } + } + }, + "operationId": "ExpressRouteGateways_Get", + "title": "ExpressRouteGatewayGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayGetFailoverAllTestsDetails.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayGetFailoverAllTestsDetails.json new file mode 100644 index 000000000000..4068064d3b86 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayGetFailoverAllTestsDetails.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "type": "SingleSiteFailover", + "fetchLatest": true, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "expressRouteGatewayName": "ergw1" + }, + "responses": { + "200": { + "body": [ + { + "peeringLocation": "Hong Kong", + "circuits": [ + { + "nrpResourceUri": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuit1", + "name": "circuit1", + "connectionName": "conn1" + } + ], + "status": "Completed", + "startTime": "2026-02-11T07:37:04Z", + "endTime": "2026-02-11T08:41:50Z", + "connections": [ + { + "nrpResourceUri": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/ergw1/expressRouteConnections/conn1", + "name": "conn1", + "status": "Connected", + "lastUpdatedTime": "2026-02-11T08:41:49Z" + } + ], + "testGuid": "16546d1a-0548-4d6d-84ca-7149f3af4403", + "testType": "SingleSiteFailover", + "issues": [] + }, + { + "peeringLocation": "Hong Kong2", + "circuits": [ + { + "nrpResourceUri": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuit2", + "name": "circuit2", + "connectionName": "conn2" + } + ], + "status": "NotStarted", + "startTime": "", + "endTime": "", + "connections": [ + { + "nrpResourceUri": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/ergw1/expressRouteConnections/conn2", + "name": "conn2", + "status": "Connected" + } + ], + "testGuid": "00000000-0000-0000-0000-000000000000", + "testType": "SingleSiteFailover", + "issues": [] + } + ] + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteGateways_GetFailoverAllTestsDetails", + "title": "ExpressRouteGatewayGetFailoverAllTestsDetails" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayGetFailoverSingleTestDetails.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayGetFailoverSingleTestDetails.json new file mode 100644 index 000000000000..a068a64261b0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayGetFailoverSingleTestDetails.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "peeringLocation": "Vancouver", + "failoverTestId": "00000000-0000-0000-0000-000000000001", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "expressRouteGatewayName": "ergw1" + }, + "responses": { + "200": { + "body": [ + { + "peeringLocation": "Hong Kong", + "startTimeUtc": "2026-02-11T07:37:04Z", + "endTimeUtc": "2026-02-11T08:41:50Z", + "status": "Completed", + "wasSimulationSuccessful": true, + "redundantRoutes": [ + { + "peeringLocations": [ + "Atlanta", + "Silicon Valley" + ], + "routes": [ + "10.0.0.0/24" + ] + } + ], + "nonRedundantRoutes": [ + "10.10.0.0/16", + "10.11.0.0/24" + ], + "failoverConnectionDetails": [ + { + "failoverConnectionName": "conn1", + "failoverLocation": "Hong Kong2", + "isVerified": true + } + ] + } + ] + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteGateways_GetFailoverSingleTestDetails", + "title": "ExpressRouteGatewayGetFailoverSingleTestDetails" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayGetResiliencyInformation.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayGetResiliencyInformation.json new file mode 100644 index 000000000000..a91494435293 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayGetResiliencyInformation.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "attemptRefresh": false, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "expressRouteGatewayName": "ergw1" + }, + "responses": { + "200": { + "body": { + "overallScore": "85", + "scoreChange": "5", + "minScoreFromRecommendations": "2", + "maxScoreFromRecommendations": "10", + "lastComputedTime": "2025-01-01T00:00:00Z", + "nextEligibleComputeTime": "2025-01-01T01:00:00Z", + "components": [ + { + "name": "Disaster Recovery", + "currentScore": "-", + "maxScore": "-", + "recommendations": [ + { + "recommendationTitle": "Site Failover Not Yet Validated", + "recommendationId": "6", + "severity": "High", + "recommendationText": "Use Resiliency Validation Tests at least once every 3 months.", + "callToActionText": "Run Resiliency Validation Tests.", + "callToActionLink": "https://learn.microsoft.com/en-us/azure/expressroute/resiliency-insights" + } + ] + } + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteGateways_GetResiliencyInformation", + "title": "ExpressRouteGatewayGetResiliencyInformation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayGetRoutesInformation.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayGetRoutesInformation.json new file mode 100644 index 000000000000..c2d4b2eec503 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayGetRoutesInformation.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "attemptRefresh": false, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "expressRouteGatewayName": "ergw1" + }, + "responses": { + "200": { + "body": { + "lastComputedTime": "2025-01-01T00:00:00Z", + "nextEligibleComputeTime": "2025-01-01T01:00:00Z", + "routeSetVersion": "1", + "routeSets": [ + { + "name": "Set-1", + "locations": [ + "Washington DC", + "London2" + ], + "details": { + "10.11.0.0/24": [ + { + "circuit": "x0", + "pri": "1", + "sec": "1" + }, + { + "circuit": "x1", + "pri": "2", + "sec": "2" + } + ], + "10.57.0.0/16": [ + { + "circuit": "x0", + "pri": "1", + "sec": "1" + } + ] + } + } + ], + "circuitsMetadataMap": { + "x0": { + "name": "circuit1", + "link": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuit1", + "location": "Hong Kong" + }, + "x1": { + "name": "circuit2", + "link": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuit2", + "location": "Hong Kong2" + } + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteGateways_GetRoutesInformation", + "title": "ExpressRouteGatewayGetRoutesInformation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayListByResourceGroup.json new file mode 100644 index 000000000000..2fd047725366 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayListByResourceGroup.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "expressRouteGatewayName", + "type": "Microsoft.Network/expressRouteGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "location": "westus", + "properties": { + "allowNonVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "min": 2 + } + }, + "expressRouteConnections": [ + { + "name": "connectionName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", + "enableInternetSecurity": false, + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "provisioningState": "Provisioned", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hvirtualHubNameub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "routingWeight": 1 + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + } + ] + } + } + }, + "operationId": "ExpressRouteGateways_ListByResourceGroup", + "title": "ExpressRouteGatewayListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayListBySubscription.json new file mode 100644 index 000000000000..f87f5c15b615 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayListBySubscription.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "expressRouteGatewayName", + "type": "Microsoft.Network/expressRouteGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "location": "westus", + "properties": { + "allowNonVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "min": 2 + } + }, + "expressRouteConnections": [ + { + "name": "connectionName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", + "enableInternetSecurity": false, + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "provisioningState": "Provisioned", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hvirtualHubNameub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "routingWeight": 1 + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + } + ] + } + } + }, + "operationId": "ExpressRouteGateways_ListBySubscription", + "title": "ExpressRouteGatewayListBySubscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayStartSiteFailoverTest.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayStartSiteFailoverTest.json new file mode 100644 index 000000000000..73cd514152ac --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayStartSiteFailoverTest.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "peeringLocation": "Vancouver", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "expressRouteGatewayName": "ergw1" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteGateways_StartSiteFailoverTest", + "title": "ExpressRouteGatewayStartSiteFailoverTest" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayStopSiteFailoverTest.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayStopSiteFailoverTest.json new file mode 100644 index 000000000000..94224a28fbd2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayStopSiteFailoverTest.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "expressRouteGatewayName": "ergw1", + "stopParameters": { + "peeringLocation": "Vancouver", + "wasSimulationSuccessful": true, + "details": [ + { + "failoverConnectionName": "conn1", + "failoverLocation": "Denver", + "isVerified": true + } + ] + } + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteGateways_StopSiteFailoverTest", + "title": "ExpressRouteGatewayStopSiteFailoverTest" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayUpdateTags.json new file mode 100644 index 000000000000..f33512cc9e9b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteGatewayUpdateTags.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRouteGatewayName": "expressRouteGatewayName", + "expressRouteGatewayParameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "expressRouteGatewayName", + "type": "Microsoft.Network/expressRouteGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "location": "westus", + "properties": { + "allowNonVirtualWanTraffic": false, + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "ExpressRouteGateways_UpdateTags", + "title": "ExpressRouteGatewayUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteLinkGet.json new file mode 100644 index 000000000000..2dc6cdd99632 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteLinkGet.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "portName", + "linkName": "linkName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "linkName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocationName", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + } + } + }, + "operationId": "ExpressRouteLinks_Get", + "title": "ExpressRouteLinkGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteLinkList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteLinkList.json new file mode 100644 index 000000000000..8320c62d9d85 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteLinkList.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "portName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocation1", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocation2", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ] + } + } + }, + "operationId": "ExpressRouteLinks_List", + "title": "ExpressRouteLinkGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortAuthorizationCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortAuthorizationCreate.json new file mode 100644 index 000000000000..a3c34c5f2b66 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortAuthorizationCreate.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "authorizationName": "authorizatinName", + "authorizationParameters": { + "properties": {} + }, + "expressRoutePortName": "expressRoutePortName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "authorizationName", + "type": "Microsoft.Network/expressRoutePorts/authorizations", + "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ExpressRoutePorts/expressRoutePortName/authorizations/authorizationName", + "properties": { + "authorizationUseStatus": "Available", + "circuitResourceUri": "", + "provisioningState": "Updating" + } + } + }, + "201": { + "body": { + "name": "authorizationName", + "type": "Microsoft.Network/expressRoutePorts/authorizations", + "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ExpressRoutePorts/expressRoutePortName/authorizations/authorizationName", + "properties": { + "authorizationUseStatus": "Available", + "circuitResourceUri": "", + "provisioningState": "Updating" + } + } + } + }, + "operationId": "ExpressRoutePortAuthorizations_CreateOrUpdate", + "title": "Create ExpressRoutePort Authorization" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortAuthorizationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortAuthorizationDelete.json new file mode 100644 index 000000000000..2c985505cec8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortAuthorizationDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "authorizationName": "authorizationName", + "expressRoutePortName": "expressRoutePortName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "" + } + }, + "204": {} + }, + "operationId": "ExpressRoutePortAuthorizations_Delete", + "title": "Delete ExpressRoutePort Authorization" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortAuthorizationGet.json new file mode 100644 index 000000000000..e870734c0e58 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortAuthorizationGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "authorizationName": "authorizationName", + "expressRoutePortName": "expressRoutePortName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "authorizationName", + "type": "Microsoft.Network/expressRoutePorts/authorizations", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ExpressRoutePorts/expressRoutePortName/authorizations/authorizationName", + "properties": { + "authorizationKey": "authKey", + "authorizationUseStatus": "Available", + "circuitResourceUri": "", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRoutePortAuthorizations_Get", + "title": "Get ExpressRoutePort Authorization" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortAuthorizationList.json new file mode 100644 index 000000000000..bf34cfb0f614 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortAuthorizationList.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "expressRoutePortName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "authorizationName", + "type": "Microsoft.Network/expressRoutePorts/authorizations", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ExpressRoutePorts/expressRoutePortName/authorizations/authorizationName", + "properties": { + "authorizationKey": "authKey", + "authorizationUseStatus": "Available", + "circuitResourceUri": "", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ExpressRoutePortAuthorizations_List", + "title": "List ExpressRoutePort Authorization" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortCreate.json new file mode 100644 index 000000000000..52ce86d6a6a8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortCreate.json @@ -0,0 +1,117 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "portName", + "parameters": { + "location": "westus", + "properties": { + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "encapsulation": "QinQ", + "peeringLocation": "peeringLocationName" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "portName", + "type": "Microsoft.Network/expressRoutePorts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "location": "westus", + "properties": { + "allocationDate": "Friday, July 1, 2018", + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "circuits": [], + "encapsulation": "QinQ", + "etherType": "0x8100", + "links": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Disabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ], + "mtu": "1500", + "peeringLocation": "peeringLocationName", + "provisionedBandwidthInGbps": 0, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "portName", + "type": "Microsoft.Network/expressRoutePorts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "location": "westus", + "properties": { + "allocationDate": "Friday, July 1, 2018", + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "circuits": [], + "encapsulation": "QinQ", + "etherType": "0x8100", + "links": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Disabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ], + "mtu": "1500", + "peeringLocation": "peeringLocationName", + "provisionedBandwidthInGbps": 0, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRoutePorts_CreateOrUpdate", + "title": "ExpressRoutePortCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortDelete.json new file mode 100644 index 000000000000..ee30b0cdd4cc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "portName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "" + } + }, + "204": {} + }, + "operationId": "ExpressRoutePorts_Delete", + "title": "ExpressRoutePortDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortGet.json new file mode 100644 index 000000000000..b86462cb21f0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortGet.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "portName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "portName", + "type": "Microsoft.Network/expressRoutePorts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "location": "westus", + "properties": { + "allocationDate": "Friday, July 1, 2018", + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "circuits": [], + "encapsulation": "QinQ", + "etherType": "0x8100", + "links": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocation1", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocation2", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ], + "mtu": "1500", + "peeringLocation": "peeringLocationName", + "provisionedBandwidthInGbps": 0, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRoutePorts_Get", + "title": "ExpressRoutePortGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortList.json new file mode 100644 index 000000000000..141f39e43aa7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortList.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "portName", + "type": "Microsoft.Network/expressRoutePorts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "location": "westus", + "properties": { + "allocationDate": "Friday, July 1, 2018", + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "circuits": [], + "encapsulation": "QinQ", + "etherType": "0x8100", + "links": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocation1", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocation2", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ], + "mtu": "1500", + "peeringLocation": "peeringLocationName", + "provisionedBandwidthInGbps": 0, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ExpressRoutePorts_List", + "title": "ExpressRoutePortList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortListByResourceGroup.json new file mode 100644 index 000000000000..ce4e3439fd46 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortListByResourceGroup.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "portName", + "type": "Microsoft.Network/expressRoutePorts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "location": "westus", + "properties": { + "allocationDate": "Friday, July 1, 2018", + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "circuits": [], + "encapsulation": "QinQ", + "etherType": "0x8100", + "links": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocation1", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocation2", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ], + "mtu": "1500", + "peeringLocation": "peeringLocationName", + "provisionedBandwidthInGbps": 0, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ExpressRoutePorts_ListByResourceGroup", + "title": "ExpressRoutePortListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortUpdateLink.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortUpdateLink.json new file mode 100644 index 000000000000..93ea7f81b519 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortUpdateLink.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "portName", + "parameters": { + "location": "westus", + "properties": { + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "encapsulation": "QinQ", + "links": [ + { + "name": "link1", + "properties": { + "adminState": "Enabled" + } + } + ], + "peeringLocation": "peeringLocationName" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "portName", + "type": "Microsoft.Network/expressRoutePorts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "location": "westus", + "properties": { + "allocationDate": "Friday, July 1, 2018", + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "circuits": [], + "encapsulation": "QinQ", + "etherType": "0x8100", + "links": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Enabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ], + "mtu": "1500", + "peeringLocation": "peeringLocationName", + "provisionedBandwidthInGbps": 0, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "portName", + "type": "Microsoft.Network/expressRoutePorts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "location": "westus", + "properties": { + "allocationDate": "Friday, July 1, 2018", + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "circuits": [], + "encapsulation": "QinQ", + "etherType": "0x8100", + "links": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Enabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ], + "mtu": "1500", + "peeringLocation": "peeringLocationName", + "provisionedBandwidthInGbps": 0, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRoutePorts_CreateOrUpdate", + "title": "ExpressRoutePortUpdateLink" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortUpdateTags.json new file mode 100644 index 000000000000..9a26bd562b4e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortUpdateTags.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "portName", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "portName", + "type": "Microsoft.Network/expressRoutePorts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "location": "westus", + "properties": { + "allocationDate": "Friday, July 1, 2018", + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "circuits": [], + "encapsulation": "QinQ", + "etherType": "0x8100", + "links": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Disabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ], + "mtu": "1500", + "peeringLocation": "peeringLocationName", + "provisionedBandwidthInGbps": 0, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRoutePorts_UpdateTags", + "title": "ExpressRoutePortUpdateTags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortsLocationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortsLocationGet.json new file mode 100644 index 000000000000..26ad78717750 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortsLocationGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "locationName": "locationName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "location": "westus", + "properties": { + "address": "123 Main Street, City, State, Zip", + "availableBandwidths": [ + { + "offerName": "100 Gbps", + "valueInGbps": 100 + } + ], + "contact": "email@address.com", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRoutePortsLocations_Get", + "title": "ExpressRoutePortsLocationGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortsLocationList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortsLocationList.json new file mode 100644 index 000000000000..b5f81893ae55 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRoutePortsLocationList.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "location": "westus", + "properties": { + "address": "123 Main Street, City, State, Zip", + "availableBandwidths": [], + "contact": "email@address.com", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ExpressRoutePortsLocations_List", + "title": "ExpressRoutePortsLocationList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteProviderList.json new file mode 100644 index 000000000000..81b00d72e4e6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ExpressRouteProviderList.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "providerName", + "type": "Microsoft.Network/expressRouteServiceProviders", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", + "properties": { + "bandwidthsOffered": [ + { + "offerName": "50Mbps", + "valueInMbps": 50 + }, + { + "offerName": "100Mbps", + "valueInMbps": 100 + }, + { + "offerName": "200Mbps", + "valueInMbps": 200 + }, + { + "offerName": "500Mbps", + "valueInMbps": 500 + }, + { + "offerName": "1Gbps", + "valueInMbps": 1000 + }, + { + "offerName": "2Gbps", + "valueInMbps": 2000 + }, + { + "offerName": "5Gbps", + "valueInMbps": 5000 + }, + { + "offerName": "10Gbps", + "valueInMbps": 10000 + } + ], + "peeringLocations": [ + "peeringLocation1", + "peeringLocation2" + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ExpressRouteServiceProviders_List", + "title": "List ExpressRoute providers" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyDelete.json new file mode 100644 index 000000000000..590607259e13 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/providers/Microsoft.Network/locations/region1" + } + }, + "204": {} + }, + "operationId": "FirewallPolicies_Delete", + "title": "Delete Firewall Policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyDraftDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyDraftDelete.json new file mode 100644 index 000000000000..8359c309f7f5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyDraftDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "FirewallPolicyDrafts_Delete", + "title": "delete firewall policy draft" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyDraftDeploy.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyDraftDeploy.json new file mode 100644 index 000000000000..106aa9ac05ba --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyDraftDeploy.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "FirewallPolicyDeployments_Deploy", + "title": "deploy firewall policy draft" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyDraftGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyDraftGet.json new file mode 100644 index 000000000000..7151719f4434 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyDraftGet.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "enablePacFile": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + } + } + } + } + }, + "operationId": "FirewallPolicyDrafts_Get", + "title": "get firewall policy draft" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyDraftPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyDraftPut.json new file mode 100644 index 000000000000..f6fc81d6f463 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyDraftPut.json @@ -0,0 +1,283 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "enablePacFile": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert", + "profile": "Balanced" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "enablePacFile": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert", + "profile": "Balanced" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + } + } + } + }, + "201": { + "body": { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "enablePacFile": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert", + "profile": "Balanced" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + } + } + } + } + }, + "operationId": "FirewallPolicyDrafts_CreateOrUpdate", + "title": "create or update firewall policy draft" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyGet.json new file mode 100644 index 000000000000..eeeb4f8115fe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyGet.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "location": "West US", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "enablePacFile": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "firewalls": [], + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert" + }, + "provisioningState": "Succeeded", + "ruleCollectionGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1" + } + ], + "size": "0.5MB", + "sku": { + "tier": "Premium" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + }, + "transportSecurity": { + "certificateAuthority": { + "name": "clientcert", + "keyVaultSecretId": "https://kv/secret" + } + } + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "FirewallPolicies_Get", + "title": "Get FirewallPolicy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyListByResourceGroup.json new file mode 100644 index 000000000000..27b5d7ff9da2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyListByResourceGroup.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "location": "West US", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "firewalls": [], + "provisioningState": "Succeeded", + "ruleCollectionGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1" + } + ], + "sku": { + "tier": "Standard" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "FirewallPolicies_List", + "title": "List all Firewall Policies for a given resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyListBySubscription.json new file mode 100644 index 000000000000..f35ec2f90e75 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyListBySubscription.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "location": "West US", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "firewalls": [], + "provisioningState": "Succeeded", + "ruleCollectionGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1" + } + ], + "sku": { + "tier": "Standard" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "FirewallPolicies_ListAll", + "title": "List all Firewall Policies for a given subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyNatRuleCollectionGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyNatRuleCollectionGroupGet.json new file mode 100644 index 000000000000..f008bccb84fe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyNatRuleCollectionGroupGet.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 100, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "NatRC", + "action": { + "type": "DNAT" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyNatRuleCollection", + "rules": [ + { + "name": "NatRule1", + "destinationAddresses": [ + "152.23.32.23" + ], + "destinationPorts": [ + "8080" + ], + "ipProtocols": [ + "TCP", + "UDP" + ], + "ruleType": "NatRule", + "sourceAddresses": [ + "2.2.2.2" + ], + "sourceIpGroups": [], + "translatedFqdn": "internalhttpserver", + "translatedPort": "8080" + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_Get", + "title": "Get FirewallPolicyNatRuleCollectionGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyNatRuleCollectionGroupPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyNatRuleCollectionGroupPut.json new file mode 100644 index 000000000000..bf7029cdeeb0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyNatRuleCollectionGroupPut.json @@ -0,0 +1,135 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "properties": { + "priority": 100, + "ruleCollections": [ + { + "name": "Example-Nat-Rule-Collection", + "action": { + "type": "DNAT" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyNatRuleCollection", + "rules": [ + { + "name": "nat-rule1", + "destinationAddresses": [ + "152.23.32.23" + ], + "destinationPorts": [ + "8080" + ], + "ipProtocols": [ + "TCP", + "UDP" + ], + "ruleType": "NatRule", + "sourceAddresses": [ + "2.2.2.2" + ], + "sourceIpGroups": [], + "translatedFqdn": "internalhttp.server.net", + "translatedPort": "8080" + } + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 100, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Nat-Rule-Collection", + "action": { + "type": "DNAT" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyNatRuleCollection", + "rules": [ + { + "name": "nat-rule1", + "destinationAddresses": [ + "152.23.32.23" + ], + "destinationPorts": [ + "8080" + ], + "ipProtocols": [ + "TCP", + "UDP" + ], + "ruleType": "NatRule", + "sourceAddresses": [ + "2.2.2.2" + ], + "sourceIpGroups": [], + "translatedFqdn": "internalhttp.server.net", + "translatedPort": "8080" + } + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "firewallPolicy", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "properties": { + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Nat-Rule-Collection", + "action": { + "type": "DNAT" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyNatRuleCollection", + "rules": [ + { + "name": "nat-rule1", + "destinationAddresses": [ + "152.23.32.23" + ], + "destinationPorts": [ + "8080" + ], + "ipProtocols": [ + "TCP", + "UDP" + ], + "ruleType": "NatRule", + "sourceAddresses": [ + "2.2.2.2" + ], + "sourceIpGroups": [], + "translatedFqdn": "internalhttp.server.net", + "translatedPort": "8080" + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_CreateOrUpdate", + "title": "Create Firewall Policy Nat Rule Collection Group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyPatch.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyPatch.json new file mode 100644 index 000000000000..dd5352806c96 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyPatch.json @@ -0,0 +1,130 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "location": "West US", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "firewalls": [], + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert" + }, + "provisioningState": "Succeeded", + "ruleCollectionGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1" + } + ], + "sku": { + "tier": "Premium" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + }, + "transportSecurity": { + "certificateAuthority": { + "name": "clientcert", + "keyVaultSecretId": "https://kv/secret" + } + } + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "FirewallPolicies_UpdateTags", + "title": "Update FirewallPolicy Tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyPut.json new file mode 100644 index 000000000000..4fde32d8df36 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyPut.json @@ -0,0 +1,346 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "location": "West US", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "enablePacFile": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert", + "profile": "Balanced" + }, + "sku": { + "tier": "Premium" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + }, + "transportSecurity": { + "certificateAuthority": { + "name": "clientcert", + "keyVaultSecretId": "https://kv/secret" + } + } + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "location": "West US", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "enablePacFile": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "firewalls": [], + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert", + "profile": "Balanced" + }, + "provisioningState": "Succeeded", + "ruleCollectionGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup2" + } + ], + "size": "0.5MB", + "sku": { + "tier": "Premium" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + }, + "transportSecurity": { + "certificateAuthority": { + "name": "clientcert", + "keyVaultSecretId": "https://kv/secret" + } + } + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "location": "West US", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "enablePacFile": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "firewalls": [], + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert", + "profile": "Balanced" + }, + "provisioningState": "Succeeded", + "ruleCollectionGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup2" + } + ], + "size": "0.5MB", + "sku": { + "tier": "Premium" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + }, + "transportSecurity": { + "certificateAuthority": { + "name": "clientcert", + "keyVaultSecretId": "https://kv/secret" + } + } + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "FirewallPolicies_CreateOrUpdate", + "title": "Create FirewallPolicy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyQuerySignatureOverrides.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyQuerySignatureOverrides.json new file mode 100644 index 000000000000..f79654c402d8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyQuerySignatureOverrides.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "filters": [ + { + "field": "Mode", + "values": [ + "Deny" + ] + } + ], + "orderBy": { + "field": "severity", + "order": "Ascending" + }, + "resultsPerPage": 20, + "search": "", + "skip": 0 + }, + "resourceGroupName": "rg1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "matchingRecordsCount": 2, + "signatures": [ + { + "description": "P2P Phatbot Control Connection", + "destinationPorts": [ + "any" + ], + "direction": 2, + "group": "A Network Trojan was detected", + "inheritedFromParentPolicy": false, + "lastUpdated": "2010-07-30T00:00:00", + "mode": 2, + "severity": 1, + "signatureId": 2000015, + "sourcePorts": [ + "any" + ], + "protocol": "tcp" + }, + { + "description": "WEB_SERVER SQL sp_delete_alert attempt", + "destinationPorts": [ + "any" + ], + "direction": 1, + "group": "Attempted User Privilege Gain", + "inheritedFromParentPolicy": false, + "lastUpdated": "2019-09-27T00:00:00", + "mode": 2, + "severity": 1, + "signatureId": 2000106, + "sourcePorts": [ + "any" + ], + "protocol": "http" + } + ] + } + } + }, + "operationId": "FirewallPolicyIdpsSignatures_List", + "title": "query signature overrides" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyQuerySignatureOverridesFilterValues.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyQuerySignatureOverridesFilterValues.json new file mode 100644 index 000000000000..cd8a4aea9b9d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyQuerySignatureOverridesFilterValues.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "filterName": "severity" + }, + "resourceGroupName": "rg1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "filterValues": [ + "low", + "medium", + "high" + ] + } + } + }, + "operationId": "FirewallPolicyIdpsSignaturesFilterValues_List", + "title": "query signature overrides" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupDelete.json new file mode 100644 index 000000000000..97e315d863ae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/providers/Microsoft.Network/locations/region1" + } + }, + "204": {} + }, + "operationId": "FirewallPolicyRuleCollectionGroups_Delete", + "title": "Delete FirewallPolicyRuleCollectionGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupDraftDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupDraftDelete.json new file mode 100644 index 000000000000..0a5e09c30be6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupDraftDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "FirewallPolicyRuleCollectionGroupDrafts_Delete", + "title": "delete firewall rule collection group draft" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupDraftGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupDraftGet.json new file mode 100644 index 000000000000..e256b9f0a382 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupDraftGet.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 200, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroupDrafts_Get", + "title": "get rule collection group draft" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupDraftPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupDraftPut.json new file mode 100644 index 000000000000..077c0b8e789d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupDraftPut.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "properties": { + "priority": 100, + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 100, + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "firewallPolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "properties": { + "priority": 100, + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroupDrafts_CreateOrUpdate", + "title": "create or update rule collection group draft" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupGet.json new file mode 100644 index 000000000000..ca16fe598491 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupGet.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 200, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ], + "size": "1.2MB" + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_Get", + "title": "Get FirewallPolicyRuleCollectionGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupList.json new file mode 100644 index 000000000000..94650bd83bd0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ruleCollectionGroup1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 120, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule-1", + "description": "Network rule", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ] + } + } + ] + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_List", + "title": "List all FirewallPolicyRuleCollectionGroups for a given FirewallPolicy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupPut.json new file mode 100644 index 000000000000..fd7b1c1046db --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupPut.json @@ -0,0 +1,126 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "properties": { + "priority": 100, + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 100, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ], + "size": "1.2MB" + } + } + }, + "201": { + "body": { + "name": "firewallPolicy", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "properties": { + "priority": 100, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ], + "size": "1.2MB" + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_CreateOrUpdate", + "title": "Create Firewall Policy Rule Collection Group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithHttpHeadersToInsert.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithHttpHeadersToInsert.json new file mode 100644 index 000000000000..b8e932ddbc62 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithHttpHeadersToInsert.json @@ -0,0 +1,145 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "properties": { + "priority": 110, + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Allow" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "rule1", + "description": "Insert trusted tenants header", + "fqdnTags": [ + "WindowsVirtualDesktop" + ], + "httpHeadersToInsert": [ + { + "headerName": "Restrict-Access-To-Tenants", + "headerValue": "contoso.com,fabrikam.onmicrosoft.com" + } + ], + "protocols": [ + { + "port": 80, + "protocolType": "Http" + } + ], + "ruleType": "ApplicationRule", + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Allow" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "rule1", + "description": "Insert trusted tenants header", + "fqdnTags": [ + "WindowsVirtualDesktop" + ], + "httpHeadersToInsert": [ + { + "headerName": "Restrict-Access-To-Tenants", + "headerValue": "contoso.com,fabrikam.onmicrosoft.com" + } + ], + "protocols": [ + { + "port": 80, + "protocolType": "Http" + } + ], + "ruleType": "ApplicationRule", + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Allow" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "rule1", + "description": "Insert trusted tenants header", + "fqdnTags": [ + "WindowsVirtualDesktop" + ], + "httpHeadersToInsert": [ + { + "headerName": "Restrict-Access-To-Tenants", + "headerValue": "contoso.com,fabrikam.onmicrosoft.com" + } + ], + "protocols": [ + { + "port": 80, + "protocolType": "Http" + } + ], + "ruleType": "ApplicationRule", + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_CreateOrUpdate", + "title": "Create Firewall Policy Rule Collection Group With http header to insert" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.json new file mode 100644 index 000000000000..80352eb0b238 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleGroup1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 200, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups2" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups1" + ] + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_Get", + "title": "Get FirewallPolicyRuleCollectionGroup With IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithIpGroupsList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithIpGroupsList.json new file mode 100644 index 000000000000..533fe48e9da4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithIpGroupsList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ruleCollectionGroup1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 120, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule-1", + "description": "Network rule", + "destinationIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups2" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups1" + ] + } + ] + } + ] + } + } + ] + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_List", + "title": "List all FirewallPolicyRuleCollectionGroups with IpGroups for a given FirewallPolicy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithIpGroupsPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithIpGroupsPut.json new file mode 100644 index 000000000000..255a637ed0d1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithIpGroupsPut.json @@ -0,0 +1,121 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "properties": { + "priority": 110, + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-1", + "destinationIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups2" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups1" + ] + } + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-1", + "destinationIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups2" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups1" + ] + } + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "firewallPolicy", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-1", + "destinationIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups2" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups1" + ] + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_CreateOrUpdate", + "title": "Create Firewall Policy Rule Collection Group With IP Groups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.json new file mode 100644 index 000000000000..71df5b104e0f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 200, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "ruleType": "ApplicationRule", + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "webCategories": [ + "Hacking" + ] + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_Get", + "title": "Get FirewallPolicyRuleCollectionGroup With Web Categories" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithWebCategoriesList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithWebCategoriesList.json new file mode 100644 index 000000000000..6c215fb913c5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithWebCategoriesList.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ruleCollectionGroup1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 120, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "ruleType": "ApplicationRule", + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "webCategories": [ + "Hacking" + ] + } + ] + } + ] + } + } + ] + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_List", + "title": "List all FirewallPolicyRuleCollectionGroup With Web Categories" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithWebCategoriesPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithWebCategoriesPut.json new file mode 100644 index 000000000000..c954bff27a51 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicyRuleCollectionGroupWithWebCategoriesPut.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "properties": { + "priority": 110, + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "ruleType": "ApplicationRule", + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "webCategories": [ + "Hacking" + ] + } + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "ruleType": "ApplicationRule", + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "webCategories": [ + "Hacking" + ] + } + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "firewallPolicy", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "ruleType": "ApplicationRule", + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "webCategories": [ + "Hacking" + ] + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_CreateOrUpdate", + "title": "Create Firewall Policy Rule Collection Group With Web Categories" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicySignatureOverridesGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicySignatureOverridesGet.json new file mode 100644 index 000000000000..25e5cfff4d5d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicySignatureOverridesGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": {}, + "resourceGroupName": "rg1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/firewallPolicies/signatureOverrides", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", + "properties": { + "signatures": { + "2000105": "Off", + "2000106": "Deny" + } + } + } + } + }, + "operationId": "FirewallPolicyIdpsSignaturesOverrides_Get", + "title": "get signature overrides" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicySignatureOverridesList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicySignatureOverridesList.json new file mode 100644 index 000000000000..0a3c787c13ef --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicySignatureOverridesList.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": {}, + "resourceGroupName": "rg1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Network/firewallPolicies/signatureOverrides", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", + "properties": { + "signatures": { + "2000105": "Off", + "2000106": "Deny" + } + } + } + ] + } + } + }, + "operationId": "FirewallPolicyIdpsSignaturesOverrides_List", + "title": "get signature overrides" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicySignatureOverridesPatch.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicySignatureOverridesPatch.json new file mode 100644 index 000000000000..beee44914183 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicySignatureOverridesPatch.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "name": "default", + "type": "Microsoft.Network/firewallPolicies/signatureOverrides", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", + "properties": { + "signatures": { + "2000105": "Off", + "2000106": "Deny" + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/firewallPolicies/signatureOverrides", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", + "properties": { + "signatures": { + "2000105": "Off", + "2000106": "Deny" + } + } + } + } + }, + "operationId": "FirewallPolicyIdpsSignaturesOverrides_Patch", + "title": "patch signature overrides" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicySignatureOverridesPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicySignatureOverridesPut.json new file mode 100644 index 000000000000..39e7c3bbc693 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/FirewallPolicySignatureOverridesPut.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "name": "default", + "type": "Microsoft.Network/firewallPolicies/signatureOverrides", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", + "properties": { + "signatures": { + "2000105": "Off", + "2000106": "Deny" + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/firewallPolicies/signatureOverrides", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", + "properties": { + "signatures": { + "2000105": "Off", + "2000106": "Deny" + } + } + } + } + }, + "operationId": "FirewallPolicyIdpsSignaturesOverrides_Put", + "title": "put signature overrides" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GenerateExpressRoutePortsLOA.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GenerateExpressRoutePortsLOA.json new file mode 100644 index 000000000000..da376667adfb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GenerateExpressRoutePortsLOA.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "portName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "customerName": "customerName" + } + }, + "responses": { + "200": { + "description": "Request successful. Returns the content as a base64 encoded string", + "body": { + "encodedContent": "TWFuIGlzIGRpc3" + } + } + }, + "operationId": "ExpressRoutePorts_GenerateLOA", + "title": "GenerateExpressRoutePortLOA" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GenerateVirtualWanVpnServerConfigurationVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GenerateVirtualWanVpnServerConfigurationVpnProfile.json new file mode 100644 index 000000000000..63f6446077c6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GenerateVirtualWanVpnServerConfigurationVpnProfile.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualWANName": "wan1", + "vpnClientParams": { + "authenticationMethod": "EAPTLS", + "vpnServerConfigurationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnconfig1" + } + }, + "responses": { + "200": { + "body": { + "profileUrl": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "generatevirtualwanvpnserverconfigurationvpnprofile", + "title": "GenerateVirtualWanVpnServerConfigurationVpnProfile" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GetApplicationGatewayWafDynamicManifests.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GetApplicationGatewayWafDynamicManifests.json new file mode 100644 index 000000000000..5b22640d71d4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GetApplicationGatewayWafDynamicManifests.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Network/applicationGatewayWafDynamicManifest", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/applicationGatewayWafDynamicManifests/default", + "properties": { + "availableRuleSets": [ + { + "ruleGroups": [ + { + "description": "", + "ruleGroupName": "General", + "rules": [ + { + "description": "Failed to Parse Request Body.", + "action": "AnomalyScoring", + "ruleId": 200002, + "ruleIdString": "200002", + "state": "Enabled" + }, + { + "description": "Multipart Request Body Strict Validation.", + "action": "AnomalyScoring", + "ruleId": 200003, + "ruleIdString": "200003", + "state": "Enabled" + }, + { + "description": "Possible Multipart Unmatched Boundary.", + "action": "AnomalyScoring", + "ruleId": 200004, + "ruleIdString": "200004", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2", + "status": "0", + "tiers": [ + "WAF_v2" + ] + } + ], + "defaultRuleSet": { + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + } + } + ] + } + } + }, + "operationId": "ApplicationGatewayWafDynamicManifests_Get", + "title": "Gets WAF manifests" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GetApplicationGatewayWafDynamicManifestsDefault.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GetApplicationGatewayWafDynamicManifestsDefault.json new file mode 100644 index 000000000000..84cf60e8e8b3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GetApplicationGatewayWafDynamicManifestsDefault.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/applicationGatewayWafDynamicManifest", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/applicationGatewayWafDynamicManifests/default", + "properties": { + "availableRuleSets": [ + { + "ruleGroups": [ + { + "description": "", + "ruleGroupName": "General", + "rules": [ + { + "description": "Failed to Parse Request Body.", + "action": "AnomalyScoring", + "ruleId": 200002, + "ruleIdString": "200002", + "state": "Enabled" + }, + { + "description": "Multipart Request Body Strict Validation.", + "action": "AnomalyScoring", + "ruleId": 200003, + "ruleIdString": "200003", + "state": "Enabled" + }, + { + "description": "Possible Multipart Unmatched Boundary.", + "action": "AnomalyScoring", + "ruleId": 200004, + "ruleIdString": "200004", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2", + "status": "0", + "tiers": [ + "WAF_v2" + ] + } + ], + "defaultRuleSet": { + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + } + } + } + }, + "operationId": "ApplicationGatewayWafDynamicManifestsDefault_Get", + "title": "Gets WAF default manifest" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GetInboundRoutes.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GetInboundRoutes.json new file mode 100644 index 000000000000..32f31bc65cb8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GetInboundRoutes.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "getInboundRoutesParameters": { + "connectionType": "ExpressRouteConnection", + "resourceUri": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGw1/expressRouteConnections/exrConn1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "asPath": "65520-65520", + "bgpCommunities": "4293853166,12076,51004", + "prefix": "192.168.50.0/24" + }, + { + "asPath": "65520-65520-12076-12076", + "bgpCommunities": "4293787629,12076,51027,4293734188", + "prefix": "10.200.0.0/16" + } + ] + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VirtualHubs_GetInboundRoutes", + "title": "Inbound Routes for the Virtual Hub on a Particular Connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GetOutboundRoutes.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GetOutboundRoutes.json new file mode 100644 index 000000000000..66adeb2814b0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GetOutboundRoutes.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "getOutboundRoutesParameters": { + "connectionType": "ExpressRouteConnection", + "resourceUri": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGw1/expressRouteConnections/exrConn1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "asPath": "65520-65520", + "bgpCommunities": "4293853166,12076,51004", + "prefix": "192.168.50.0/24" + }, + { + "asPath": "65520-65520-12076-12076", + "bgpCommunities": "4293787629,12076,51027,4293734188", + "prefix": "10.200.0.0/16" + } + ] + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VirtualHubs_GetOutboundRoutes", + "title": "Outbound Routes for the Virtual Hub on a Particular Connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GetVirtualWanVpnServerConfigurations.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GetVirtualWanVpnServerConfigurations.json new file mode 100644 index 000000000000..934cbf6a8e12 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/GetVirtualWanVpnServerConfigurations.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualWANName": "wan1" + }, + "responses": { + "200": { + "description": "Request successful.", + "body": { + "vpnServerConfigurationResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnconfig1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnconfig2" + ] + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnServerConfigurationsAssociatedWithVirtualWan_List", + "title": "GetVirtualWanVpnServerConfigurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubRouteTableDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubRouteTableDelete.json new file mode 100644 index 000000000000..3f4a98ef5381 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubRouteTableDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "hubRouteTable1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "HubRouteTables_Delete", + "title": "RouteTableDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubRouteTableGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubRouteTableGet.json new file mode 100644 index 000000000000..3c0f2fa46eb8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubRouteTableGet.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "hubRouteTable1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "hubRouteTable1", + "type": "Microsoft.Network/virtualHubs/hubRouteTables", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1", + "properties": { + "associatedConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn2" + ], + "labels": [ + "label1", + "label2" + ], + "propagatingConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/erg1/expressRouteConnections/erConn1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw1/vpnConnections/vpnConn2" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "destinationType": "CIDR", + "destinations": [ + "10.0.0.0/8", + "20.0.0.0/8", + "30.0.0.0/8" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azureFirewall1", + "nextHopType": "ResourceId" + } + ] + } + } + } + }, + "operationId": "HubRouteTables_Get", + "title": "RouteTableGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubRouteTableList.json new file mode 100644 index 000000000000..0fdbbc4f541d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubRouteTableList.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "hubRouteTable1", + "type": "Microsoft.Network/virtualHubs/hubRouteTables", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1", + "properties": { + "associatedConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn2" + ], + "labels": [ + "label1", + "label2" + ], + "propagatingConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/erg1/expressRouteConnections/erConn1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw1/vpnConnections/vpnConn2" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1a", + "destinationType": "CIDR", + "destinations": [ + "10.0.0.0/8", + "20.0.0.0/8", + "30.0.0.0/8" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azureFirewall1", + "nextHopType": "ResourceId" + } + ] + } + }, + { + "name": "hubRouteTable2", + "type": "Microsoft.Network/virtualHubs/hubRouteTables", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2", + "properties": { + "associatedConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn3", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn4" + ], + "labels": [ + "label3" + ], + "propagatingConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/erg1/expressRouteConnections/erConn2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw1/vpnConnections/vpnConn1" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route2a", + "destinationType": "CIDR", + "destinations": [ + "40.0.0.0/8", + "50.0.0.0/8", + "60.0.0.0/8" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubVirtualNetworkConnections/vn1", + "nextHopType": "ResourceId" + } + ] + } + } + ] + } + } + }, + "operationId": "HubRouteTables_List", + "title": "RouteTableList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubRouteTablePut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubRouteTablePut.json new file mode 100644 index 000000000000..781a21580ea8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubRouteTablePut.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "hubRouteTable1", + "routeTableParameters": { + "properties": { + "labels": [ + "label1", + "label2" + ], + "routes": [ + { + "name": "route1", + "destinationType": "CIDR", + "destinations": [ + "10.0.0.0/8", + "20.0.0.0/8", + "30.0.0.0/8" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azureFirewall1", + "nextHopType": "ResourceId" + } + ] + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "hubRouteTable1", + "type": "Microsoft.Network/virtualHubs/hubRouteTables", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1", + "properties": { + "associatedConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn2" + ], + "labels": [ + "label1", + "label2" + ], + "propagatingConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/erg1/expressRouteConnections/erConn1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw1/vpnConnections/vpnConn2" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "destinationType": "CIDR", + "destinations": [ + "10.0.0.0/8", + "20.0.0.0/8", + "30.0.0.0/8" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azureFirewall1", + "nextHopType": "ResourceId" + } + ] + } + } + }, + "201": { + "body": { + "name": "hubRouteTable1", + "type": "Microsoft.Network/virtualHubs/hubRouteTables", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1a", + "properties": { + "associatedConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn2" + ], + "labels": [ + "label1", + "label2" + ], + "propagatingConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/erg1/expressRouteConnections/erConn1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw1/vpnConnections/vpnConn2" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "destinationType": "CIDR", + "destinations": [ + "10.0.0.0/8", + "20.0.0.0/8", + "30.0.0.0/8" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azureFirewall1", + "nextHopType": "ResourceId" + } + ] + } + } + } + }, + "operationId": "HubRouteTables_CreateOrUpdate", + "title": "RouteTablePut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubVirtualNetworkConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubVirtualNetworkConnectionDelete.json new file mode 100644 index 000000000000..faa01a25c98e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubVirtualNetworkConnectionDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connection1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "HubVirtualNetworkConnections_Delete", + "title": "HubVirtualNetworkConnectionDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubVirtualNetworkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubVirtualNetworkConnectionGet.json new file mode 100644 index 000000000000..02fe8d340b36 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubVirtualNetworkConnectionGet.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connection1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "properties": { + "enableInternetSecurity": false, + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "bgpConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/bgpConnections/bgpConn1" + } + ], + "staticRoutes": [ + { + "name": "route1", + "addressPrefixes": [ + "10.1.0.0/16", + "10.2.0.0/16" + ], + "nextHopIpAddress": "10.0.0.68" + }, + { + "name": "route2", + "addressPrefixes": [ + "10.3.0.0/16", + "10.4.0.0/16" + ], + "nextHopIpAddress": "10.0.0.65" + } + ], + "staticRoutesConfig": { + "propagateStaticRoutes": true, + "vnetLocalRouteOverrideCriteria": "Equal" + } + } + } + } + } + } + }, + "operationId": "HubVirtualNetworkConnections_Get", + "title": "HubVirtualNetworkConnectionGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubVirtualNetworkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubVirtualNetworkConnectionList.json new file mode 100644 index 000000000000..a6e36463fb65 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubVirtualNetworkConnectionList.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connection1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "properties": { + "enableInternetSecurity": false, + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "bgpConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/bgpConnections/bgpConn1" + } + ], + "staticRoutes": [ + { + "name": "route1", + "addressPrefixes": [ + "10.1.0.0/16", + "10.2.0.0/16" + ], + "nextHopIpAddress": "10.0.0.68" + }, + { + "name": "route2", + "addressPrefixes": [ + "10.3.0.0/16", + "10.4.0.0/16" + ], + "nextHopIpAddress": "10.0.0.65" + } + ], + "staticRoutesConfig": { + "propagateStaticRoutes": true, + "vnetLocalRouteOverrideCriteria": "Equal" + } + } + } + } + }, + { + "name": "connection2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", + "properties": { + "enableInternetSecurity": false, + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "bgpConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/bgpConnections/bgpConn2" + } + ], + "staticRoutes": [ + { + "name": "route1", + "addressPrefixes": [ + "10.1.0.0/16", + "10.2.0.0/16" + ], + "nextHopIpAddress": "10.0.0.68" + }, + { + "name": "route2", + "addressPrefixes": [ + "10.3.0.0/16", + "10.4.0.0/16" + ], + "nextHopIpAddress": "10.0.0.65" + } + ] + } + } + } + } + ] + } + } + }, + "operationId": "HubVirtualNetworkConnections_List", + "title": "HubVirtualNetworkConnectionList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubVirtualNetworkConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubVirtualNetworkConnectionPut.json new file mode 100644 index 000000000000..14c827662841 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/HubVirtualNetworkConnectionPut.json @@ -0,0 +1,196 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connection1", + "hubVirtualNetworkConnectionParameters": { + "properties": { + "enableInternetSecurity": false, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [ + { + "name": "route1", + "addressPrefixes": [ + "10.1.0.0/16", + "10.2.0.0/16" + ], + "nextHopIpAddress": "10.0.0.68" + }, + { + "name": "route2", + "addressPrefixes": [ + "10.3.0.0/16", + "10.4.0.0/16" + ], + "nextHopIpAddress": "10.0.0.65" + } + ], + "staticRoutesConfig": { + "vnetLocalRouteOverrideCriteria": "Equal" + } + } + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "properties": { + "enableInternetSecurity": false, + "provisioningState": "Updating", + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "bgpConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/bgpConnections/bgpConn1" + } + ], + "staticRoutes": [ + { + "name": "route1", + "addressPrefixes": [ + "10.1.0.0/16", + "10.2.0.0/16" + ], + "nextHopIpAddress": "10.0.0.68" + }, + { + "name": "route2", + "addressPrefixes": [ + "10.3.0.0/16", + "10.4.0.0/16" + ], + "nextHopIpAddress": "10.0.0.65" + } + ], + "staticRoutesConfig": { + "propagateStaticRoutes": true, + "vnetLocalRouteOverrideCriteria": "Equal" + } + } + } + } + } + }, + "201": { + "body": { + "name": "connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "properties": { + "enableInternetSecurity": false, + "provisioningState": "Updating", + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "bgpConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/bgpConnections/bgpConn1" + } + ], + "staticRoutes": [ + { + "name": "route1", + "addressPrefixes": [ + "10.1.0.0/16", + "10.2.0.0/16" + ], + "nextHopIpAddress": "10.0.0.68" + }, + { + "name": "route2", + "addressPrefixes": [ + "10.3.0.0/16", + "10.4.0.0/16" + ], + "nextHopIpAddress": "10.0.0.65" + } + ], + "staticRoutesConfig": { + "propagateStaticRoutes": true, + "vnetLocalRouteOverrideCriteria": "Equal" + } + } + } + } + } + } + }, + "operationId": "HubVirtualNetworkConnections_CreateOrUpdate", + "title": "HubVirtualNetworkConnectionPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundNatRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundNatRuleCreate.json new file mode 100644 index 000000000000..d116ffaa25b1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundNatRuleCreate.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "inboundNatRuleName": "natRule1.1", + "inboundNatRuleParameters": { + "properties": { + "backendPort": 3389, + "enableFloatingIP": false, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3390, + "idleTimeoutInMinutes": 4, + "protocol": "Tcp" + } + }, + "loadBalancerName": "lb1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "natRule1.1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1", + "properties": { + "backendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "backendPort": 3389, + "enableFloatingIP": false, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3390, + "idleTimeoutInMinutes": 4, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + }, + "201": { + "body": { + "name": "natRule1.1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1", + "properties": { + "backendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "backendPort": 3389, + "enableFloatingIP": false, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3390, + "idleTimeoutInMinutes": 4, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + } + }, + "operationId": "InboundNatRules_CreateOrUpdate", + "title": "InboundNatRuleCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundNatRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundNatRuleDelete.json new file mode 100644 index 000000000000..81756e849772 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundNatRuleDelete.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "inboundNatRuleName": "natRule1.1", + "loadBalancerName": "lb1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "InboundNatRules_Delete", + "title": "InboundNatRuleDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundNatRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundNatRuleGet.json new file mode 100644 index 000000000000..d4036552e06f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundNatRuleGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "inboundNatRuleName": "natRule1.1", + "loadBalancerName": "lb1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "natRule1.1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1", + "properties": { + "backendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "backendPort": 3389, + "enableFloatingIP": false, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3390, + "idleTimeoutInMinutes": 4, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + } + }, + "operationId": "InboundNatRules_Get", + "title": "InboundNatRuleGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundNatRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundNatRuleList.json new file mode 100644 index 000000000000..ce21a4b5e0ff --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundNatRuleList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "natRule1.1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1", + "properties": { + "backendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "backendPort": 3389, + "enableFloatingIP": false, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3390, + "idleTimeoutInMinutes": 4, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + }, + { + "name": "natRule1.3", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3", + "properties": { + "backendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "backendPort": 3389, + "enableFloatingIP": false, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3392, + "idleTimeoutInMinutes": 4, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ] + } + } + }, + "operationId": "InboundNatRules_List", + "title": "InboundNatRuleList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundSecurityRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundSecurityRuleGet.json new file mode 100644 index 000000000000..f0416fd19662 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundSecurityRuleGet.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "ruleCollectionName": "rule1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "rule1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1", + "properties": { + "provisioningState": "Succeeded", + "ruleType": "Permanent", + "rules": [ + { + "name": "inboundRule1", + "appliesOn": [ + "slbip1" + ], + "destinationPortRange": 22, + "destinationPortRanges": [ + "80-100" + ], + "sourceAddressPrefix": "50.20.121.5/32", + "protocol": "TCP" + } + ] + } + } + } + }, + "operationId": "InboundSecurityRule_Get", + "title": "Create Network Virtual Appliance Inbound Security Rules" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundSecurityRulePut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundSecurityRulePut.json new file mode 100644 index 000000000000..ace217256974 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/InboundSecurityRulePut.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "properties": { + "ruleType": "Permanent", + "rules": [ + { + "name": "inboundRule1", + "appliesOn": [ + "slbip1" + ], + "destinationPortRange": 22, + "destinationPortRanges": [ + "80-100" + ], + "sourceAddressPrefix": "50.20.121.5/32", + "protocol": "TCP" + } + ] + } + }, + "resourceGroupName": "rg1", + "ruleCollectionName": "rule1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "rule1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1", + "properties": { + "provisioningState": "Succeeded", + "ruleType": "Permanent", + "rules": [ + { + "name": "inboundRule1", + "appliesOn": [ + "slbip1" + ], + "destinationPortRange": 22, + "destinationPortRanges": [ + "80-100" + ], + "sourceAddressPrefix": "50.20.121.5/32", + "protocol": "TCP" + } + ] + } + } + }, + "201": { + "body": { + "name": "rule1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1", + "properties": { + "provisioningState": "Succeeded", + "ruleType": "Permanent", + "rules": [ + { + "name": "inboundRule1", + "appliesOn": [ + "slbip1" + ], + "destinationPortRange": 22, + "destinationPortRanges": [ + "80-100" + ], + "sourceAddressPrefix": "50.20.121.5/32", + "protocol": "TCP" + } + ] + } + } + } + }, + "operationId": "InboundSecurityRule_CreateOrUpdate", + "title": "Create Network Virtual Appliance Inbound Security Rules" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationCreate.json new file mode 100644 index 000000000000..99b8364127e3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationCreate.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipAllocationName": "test-ipallocation", + "parameters": { + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1" + }, + "prefix": "3.2.5.0/24" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ipallocation", + "type": "Microsoft.Network/IpAllocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation", + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1" + }, + "ipamAllocationId": "916d3b28-663f-448b-9abc-1bea9d5fed8f", + "prefix": "3.2.5.0/24" + } + } + }, + "201": { + "body": { + "name": "test-ipallocation", + "type": "Microsoft.Network/IpAllocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation", + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1" + }, + "ipamAllocationId": "916d3b28-663f-448b-9abc-1bea9d5fed8f", + "prefix": "3.2.5.0/24" + } + } + } + }, + "operationId": "IpAllocations_CreateOrUpdate", + "title": "Create IpAllocation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationDelete.json new file mode 100644 index 000000000000..c7c5da49089b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipAllocationName": "test-ipallocation", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "IpAllocations_Delete", + "title": "Delete IpAllocation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationGet.json new file mode 100644 index 000000000000..577c79700149 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationGet.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipAllocationName": "test-ipallocation", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ipallocation", + "type": "Microsoft.Network/IpAllocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation", + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1" + }, + "ipamAllocationId": "916d3b28-663f-448b-9abc-1bea9d5fed8f", + "prefix": "3.2.5.0/24" + } + } + } + }, + "operationId": "IpAllocations_Get", + "title": "Get IpAllocation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationList.json new file mode 100644 index 000000000000..7a128e5dec81 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationList.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ipallocation1", + "type": "Microsoft.Network/IpAllocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation1", + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1" + }, + "ipamAllocationId": "916d3b28-663f-448b-9abc-1bea9d5fed8f", + "prefix": "3.2.5.0/24" + } + }, + { + "name": "test-ipallocation2", + "type": "Microsoft.Network/IpAllocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation2", + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet2" + }, + "ipamAllocationId": "57dc7256-2ff7-43f2-b9c8-85a70b5c6408", + "prefix": "3.2.6.0/24" + } + } + ] + } + } + }, + "operationId": "IpAllocations_List", + "title": "List all IpAllocations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationListByResourceGroup.json new file mode 100644 index 000000000000..f763a85502bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationListByResourceGroup.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ipallocation1", + "type": "Microsoft.Network/IpAllocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation1", + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1" + }, + "ipamAllocationId": "916d3b28-663f-448b-9abc-1bea9d5fed8f", + "prefix": "3.2.5.0/24" + } + }, + { + "name": "test-ipallocation2", + "type": "Microsoft.Network/IpAllocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation2", + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet2" + }, + "ipamAllocationId": "57dc7256-2ff7-43f2-b9c8-85a70b5c6408", + "prefix": "3.2.6.0/24" + } + } + ] + } + } + }, + "operationId": "IpAllocations_ListByResourceGroup", + "title": "List IpAllocations in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationUpdateTags.json new file mode 100644 index 000000000000..1ebaa3eaebd6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpAllocationUpdateTags.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipAllocationName": "test-ipallocation", + "location": "centraluseuap", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ipallocation", + "type": "Microsoft.Network/IpAllocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation", + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1" + }, + "ipamAllocationId": "916d3b28-663f-448b-9abc-1bea9d5fed8f", + "prefix": "3.2.5.0/24" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "IpAllocations_UpdateTags", + "title": "Update virtual network tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsCreate.json new file mode 100644 index 000000000000..a6da1571f39a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsCreate.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipGroupsName": "ipGroups1", + "parameters": { + "location": "West US", + "properties": { + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ] + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ipGroups1", + "type": "Microsoft.Network/ipGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1", + "location": "westcentralus", + "properties": { + "firewallPolicies": [], + "firewalls": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ], + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "ipGroups1", + "type": "Microsoft.Network/ipGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1", + "location": "westcentralus", + "properties": { + "firewallPolicies": [], + "firewalls": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ], + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "IpGroups_CreateOrUpdate", + "title": "CreateOrUpdate_IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsDelete.json new file mode 100644 index 000000000000..bfac5c1adaa7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipGroupsName": "ipGroups1", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/ipGroups/ipGroups1?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "IpGroups_Delete", + "title": "Delete_IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsGet.json new file mode 100644 index 000000000000..4906c3cbdb9d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipGroupsName": "ipGroups1", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ipGroups1", + "type": "Microsoft.Network/ipGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1", + "location": "westcentralus", + "properties": { + "firewallPolicies": [], + "firewalls": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ], + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "IpGroups_Get", + "title": "Get_IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsListByResourceGroup.json new file mode 100644 index 000000000000..168b8cb40cf1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsListByResourceGroup.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ipGroups1", + "type": "Microsoft.Network/ipGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups", + "location": "westcentralus", + "properties": { + "firewallPolicies": [], + "firewalls": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ], + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "provisioningState": "Succeeded" + } + }, + { + "name": "ipGroups2", + "type": "Microsoft.Network/ipGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups", + "location": "centralus", + "properties": { + "firewallPolicies": [], + "firewalls": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ], + "ipAddresses": [ + "14.64.39.16/32", + "41.74.146.80/31", + "42.74.147.32/28" + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "IpGroups_ListByResourceGroup", + "title": "ListByResourceGroup_IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsListBySubscription.json new file mode 100644 index 000000000000..1e008d88017c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsListBySubscription.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "iptag1", + "type": "Microsoft.Network/ipGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup1/ipGroups", + "location": "westcentralus", + "properties": { + "firewallPolicies": [], + "firewalls": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ], + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "provisioningState": "Succeeded" + } + }, + { + "name": "iptag2", + "type": "Microsoft.Network/ipGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup2/ipGroups", + "location": "centralus", + "properties": { + "firewallPolicies": [], + "firewalls": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ], + "ipAddresses": [ + "14.64.39.16/32", + "41.74.146.80/31", + "42.74.147.32/28" + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "IpGroups_List", + "title": "List_IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsUpdateTags.json new file mode 100644 index 000000000000..2b6d70bb8a92 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpGroupsUpdateTags.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipGroupsName": "ipGroups1", + "parameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ipGroups1", + "type": "Microsoft.Network/ipGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1", + "location": "westcentralus", + "properties": { + "firewallPolicies": [], + "firewalls": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ], + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "IpGroups_UpdateGroups", + "title": "Update_IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_Create.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_Create.json new file mode 100644 index 000000000000..a49cf1d816bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_Create.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "body": { + "location": "eastus", + "properties": { + "description": "Test description.", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "parentPoolName": "" + } + }, + "networkManagerName": "TestNetworkManager", + "poolName": "TestPool", + "resourceGroupName": "rg1", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "IpamPools_Create", + "responses": { + "200": { + "body": { + "name": "TestPool", + "type": "Microsoft.Network/networkManagers/ipamPools", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool", + "location": "eastus", + "properties": { + "description": "Test description.", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "ipAddressType": [ + "IPv4" + ], + "parentPoolName": "", + "provisioningState": "Updating" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "TestPool", + "type": "Microsoft.Network/networkManagers/ipamPools", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool", + "location": "eastus", + "properties": { + "description": "Test description.", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "ipAddressType": [ + "IPv4" + ], + "parentPoolName": "", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/ipamPoolOperationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "IpamPools_Create" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_Delete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_Delete.json new file mode 100644 index 000000000000..ea4bb1cd905a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "poolName": "TestPool", + "resourceGroupName": "rg1", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "IpamPools_Delete", + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/ipamPoolOperationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "IpamPools_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_Get.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_Get.json new file mode 100644 index 000000000000..e78679c8f73b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "poolName": "TestPool", + "resourceGroupName": "rg1", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "IpamPools_Get", + "responses": { + "200": { + "body": { + "name": "TestPool", + "type": "Microsoft.Network/networkManagers/ipamPools", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool", + "location": "eastus", + "properties": { + "description": "Test description.", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "ipAddressType": [ + "IPv4" + ], + "parentPoolName": "", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "IpamPools_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_GetPoolUsage.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_GetPoolUsage.json new file mode 100644 index 000000000000..526bb397d698 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_GetPoolUsage.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "poolName": "TestPool", + "resourceGroupName": "rg1", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "IpamPools_GetPoolUsage", + "responses": { + "200": { + "body": { + "addressPrefixes": [ + "10.0.0.0/8", + "192.0.0.0/8" + ], + "allocatedAddressPrefixes": [ + "10.0.2.0/26", + "10.0.3.0/26" + ], + "availableAddressPrefixes": [ + "10.0.1.0/24", + "10.0.2.64/26", + "10.0.2.128/25", + "10.0.3.64/26", + "10.0.3.128/25", + "10.0.4.0/22", + "10.0.8.0/21", + "10.0.16.0/20", + "10.0.32.0/19", + "10.0.64.0/18", + "10.0.128.0/17", + "10.1.0.0/16", + "10.2.0.0/15", + "10.4.0.0/14", + "10.8.0.0/13", + "10.16.0.0/12", + "10.32.0.0/11", + "10.64.0.0/10", + "10.128.0.0/9", + "192.0.0.0/8" + ], + "childPools": [ + { + "addressPrefixes": [ + "10.0.2.0/26" + ], + "resourceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool1" + }, + { + "addressPrefixes": [ + "10.0.3.0/26" + ], + "resourceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool2" + } + ], + "numberOfAllocatedIPAddresses": "128", + "numberOfAvailableIPAddresses": "33554048", + "numberOfReservedIPAddresses": "256", + "reservedAddressPrefixes": [ + "10.0.0.0/24" + ], + "totalNumberOfIPAddresses": "33554432" + } + } + }, + "operationId": "IpamPools_GetPoolUsage" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_List.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_List.json new file mode 100644 index 000000000000..24185afbbcd7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_List.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "IpamPools_List", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "TestPool", + "type": "Microsoft.Network/networkManagers/ipamPools", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool", + "location": "eastus", + "properties": { + "description": "Test description.", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "ipAddressType": [ + "IPv4" + ], + "parentPoolName": "", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "IpamPools_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_ListAssociatedResources.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_ListAssociatedResources.json new file mode 100644 index 000000000000..779f403b35b0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_ListAssociatedResources.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "poolName": "TestPool", + "resourceGroupName": "rg1", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "IpamPools_ListAssociatedResources", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool/listAssociatedResources?api-version=2025-07-01", + "value": [ + { + "description": "", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "createdAt": "2020-09-09T20:00:00.0000000Z", + "numberOfReservedIPAddresses": "0", + "poolId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool", + "reservationExpiresAt": null, + "reservedPrefixes": [], + "resourceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testVnet", + "totalNumberOfIPAddresses": "256" + } + ] + } + } + }, + "operationId": "IpamPools_ListAssociatedResources" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_Update.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_Update.json new file mode 100644 index 000000000000..04f539ba22f6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/IpamPools_Update.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "parameters": { + "properties": { + "description": "Test description.", + "displayName": "TestPool" + } + }, + "poolName": "TestPool", + "resourceGroupName": "rg1", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "IpamPools_Update", + "responses": { + "200": { + "body": { + "name": "TestPool", + "type": "Microsoft.Network/networkManagers/ipamPools", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool", + "location": "eastus", + "properties": { + "description": "Test description.", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "ipAddressType": [ + "IPv4" + ], + "parentPoolName": "test-ipam-pool", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "IpamPools_Update" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LBBackendAddressPoolListWithBackendAddressesPoolType.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LBBackendAddressPoolListWithBackendAddressesPoolType.json new file mode 100644 index 000000000000..55df0d552983 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LBBackendAddressPoolListWithBackendAddressesPoolType.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "backend", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", + "properties": { + "loadBalancerBackendAddresses": [ + { + "name": "address1", + "properties": { + "ipAddress": "10.0.0.4", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + }, + { + "name": "address2", + "properties": { + "ipAddress": "10.0.0.5", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "LoadBalancerBackendAddressPools_List", + "title": "Load balancer with BackendAddressPool containing BackendAddresses" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LBBackendAddressPoolWithBackendAddressesGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LBBackendAddressPoolWithBackendAddressesGet.json new file mode 100644 index 000000000000..6c2cbfbf4132 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LBBackendAddressPoolWithBackendAddressesGet.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "backendAddressPoolName": "backend", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "backend", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", + "properties": { + "loadBalancerBackendAddresses": [ + { + "name": "address1", + "properties": { + "ipAddress": "10.0.0.4", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + }, + { + "name": "address2", + "properties": { + "ipAddress": "10.0.0.5", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "LoadBalancerBackendAddressPools_Get", + "title": "LoadBalancer with BackendAddressPool with BackendAddresses" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LBBackendAddressPoolWithBackendAddressesPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LBBackendAddressPoolWithBackendAddressesPut.json new file mode 100644 index 000000000000..4db5f8332986 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LBBackendAddressPoolWithBackendAddressesPut.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "backendAddressPoolName": "backend", + "loadBalancerName": "lb", + "parameters": { + "properties": { + "loadBalancerBackendAddresses": [ + { + "name": "address1", + "properties": { + "ipAddress": "10.0.0.4", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + }, + { + "name": "address2", + "properties": { + "ipAddress": "10.0.0.5", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + } + ] + } + }, + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "backend", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", + "properties": { + "loadBalancerBackendAddresses": [ + { + "name": "address1", + "properties": { + "ipAddress": "10.0.0.4", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + }, + { + "name": "address2", + "properties": { + "ipAddress": "10.0.0.5", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "backend", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", + "properties": { + "loadBalancerBackendAddresses": [ + { + "name": "address1", + "properties": { + "ipAddress": "10.0.0.4", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + }, + { + "name": "address2", + "properties": { + "ipAddress": "10.0.0.5", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "LoadBalancerBackendAddressPools_CreateOrUpdate", + "title": "Update load balancer backend pool with backend addresses containing virtual network and IP address." +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerBackendAddressPoolDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerBackendAddressPoolDelete.json new file mode 100644 index 000000000000..f6a04560479b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerBackendAddressPoolDelete.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "backendAddressPoolName": "backend", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "LoadBalancerBackendAddressPools_Delete", + "title": "BackendAddressPoolDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerBackendAddressPoolGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerBackendAddressPoolGet.json new file mode 100644 index 000000000000..6965be43a77a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerBackendAddressPoolGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "backendAddressPoolName": "backend", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "backend", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", + "properties": { + "backendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "LoadBalancerBackendAddressPools_Get", + "title": "LoadBalancerBackendAddressPoolGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerBackendAddressPoolList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerBackendAddressPoolList.json new file mode 100644 index 000000000000..09e755e8f95b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerBackendAddressPoolList.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "backend", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", + "properties": { + "backendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "LoadBalancerBackendAddressPools_List", + "title": "LoadBalancerBackendAddressPoolList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreate.json new file mode 100644 index 000000000000..c0f7ee22db8b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreate.json @@ -0,0 +1,349 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "properties": {} + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "scope": "Public" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableConnectionTracking": false, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "scope": "Public" + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableConnectionTracking": false, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "scope": "Public" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateGatewayLoadBalancerConsumer.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateGatewayLoadBalancerConsumer.json new file mode 100644 index 000000000000..79d81b2784a6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateGatewayLoadBalancerConsumer.json @@ -0,0 +1,353 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "properties": {} + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "gatewayLoadBalancer": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "gatewayLoadBalancer": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider" + }, + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "gatewayLoadBalancer": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider" + }, + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with Gateway Load Balancer Consumer configured" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateGatewayLoadBalancerProviderWithOneBackendPool.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateGatewayLoadBalancerProviderWithOneBackendPool.json new file mode 100644 index 000000000000..e06a22b0a7b5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateGatewayLoadBalancerProviderWithOneBackendPool.json @@ -0,0 +1,335 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "properties": { + "tunnelInterfaces": [ + { + "type": "Internal", + "identifier": 900, + "port": 15000, + "protocol": "VXLAN" + }, + { + "type": "Internal", + "identifier": 901, + "port": 15001, + "protocol": "VXLAN" + } + ] + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + } + ], + "backendPort": 0, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 0, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "All" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + }, + "sku": { + "name": "Gateway" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded", + "tunnelInterfaces": [ + { + "type": "Internal", + "identifier": 900, + "port": 15000, + "protocol": "VXLAN" + }, + { + "type": "Internal", + "identifier": 901, + "port": 15001, + "protocol": "VXLAN" + } + ] + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + } + ], + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Gateway" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded", + "tunnelInterfaces": [ + { + "type": "Internal", + "identifier": 900, + "port": 15000, + "protocol": "VXLAN" + }, + { + "type": "Internal", + "identifier": 901, + "port": 15001, + "protocol": "VXLAN" + } + ] + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + } + ], + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Gateway" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with Gateway Load Balancer Provider configured with one Backend Pool" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateGatewayLoadBalancerProviderWithTwoBackendPool.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateGatewayLoadBalancerProviderWithTwoBackendPool.json new file mode 100644 index 000000000000..7bd868e419cc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateGatewayLoadBalancerProviderWithTwoBackendPool.json @@ -0,0 +1,366 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb1", + "properties": {} + }, + { + "name": "be-lb2", + "properties": {} + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPool": {}, + "backendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2" + } + ], + "backendPort": 0, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 0, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "All" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + }, + "sku": { + "name": "Gateway" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb1", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded", + "tunnelInterfaces": [ + { + "type": "Internal", + "identifier": 900, + "port": 15000, + "protocol": "VXLAN" + } + ] + } + }, + { + "name": "be-lb2", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded", + "tunnelInterfaces": [ + { + "type": "Internal", + "identifier": 901, + "port": 15001, + "protocol": "VXLAN" + } + ] + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2" + } + ], + "backendPort": 0, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 0, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Gateway" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb1", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded", + "tunnelInterfaces": [ + { + "type": "Internal", + "identifier": 900, + "port": 15000, + "protocol": "VXLAN" + } + ] + } + }, + { + "name": "be-lb2", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded", + "tunnelInterfaces": [ + { + "type": "Internal", + "identifier": 901, + "port": 15001, + "protocol": "VXLAN" + } + ] + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2" + } + ], + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Gateway" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with Gateway Load Balancer Provider configured with two Backend Pool" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateGlobalTier.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateGlobalTier.json new file mode 100644 index 000000000000..43ca3931a998 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateGlobalTier.json @@ -0,0 +1,319 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "properties": { + "loadBalancerBackendAddresses": [ + { + "name": "regional-lb1-address", + "properties": { + "loadBalancerFrontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb" + } + } + } + ] + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + }, + "sku": { + "name": "Standard", + "tier": "Global" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancerBackendAddresses": [ + { + "name": "regional-lb1-address", + "properties": { + "loadBalancerFrontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb" + } + } + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard", + "tier": "Global" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancerBackendAddresses": [ + { + "name": "regional-lb1-address", + "properties": { + "loadBalancerFrontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb" + } + } + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard", + "tier": "Global" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with Global Tier and one regional load balancer in its backend pool" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateStandardSku.json new file mode 100644 index 000000000000..2e9021adf676 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateStandardSku.json @@ -0,0 +1,346 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "properties": {} + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableConnectionTracking": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableConnectionTracking": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with Standard SKU" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateWithInboundNatPool.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateWithInboundNatPool.json new file mode 100644 index 000000000000..32c89a73007b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateWithInboundNatPool.json @@ -0,0 +1,182 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [], + "frontendIPConfigurations": [ + { + "name": "test", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet" + } + }, + "zones": [] + } + ], + "inboundNatPools": [ + { + "name": "test", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test", + "properties": { + "backendPort": 8888, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test" + }, + "frontendPortRangeEnd": 8085, + "frontendPortRangeStart": 8080, + "idleTimeoutInMinutes": 10, + "protocol": "Tcp" + } + } + ], + "inboundNatRules": [], + "loadBalancingRules": [], + "outboundRules": [], + "probes": [] + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [], + "frontendIPConfigurations": [ + { + "name": "test", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test", + "properties": { + "inboundNatPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet" + } + } + } + ], + "inboundNatPools": [ + { + "name": "test", + "type": "Microsoft.Network/loadBalancers/inboundNatPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test", + "properties": { + "backendPort": 8888, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test" + }, + "frontendPortRangeEnd": 8085, + "frontendPortRangeStart": 8080, + "idleTimeoutInMinutes": 10, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "inboundNatRules": [], + "loadBalancingRules": [], + "outboundRules": [], + "probes": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [], + "frontendIPConfigurations": [ + { + "name": "test", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test", + "properties": { + "inboundNatPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet" + } + } + } + ], + "inboundNatPools": [ + { + "name": "test", + "type": "Microsoft.Network/loadBalancers/inboundNatPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test", + "properties": { + "backendPort": 8888, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test" + }, + "frontendPortRangeEnd": 8085, + "frontendPortRangeStart": 8080, + "idleTimeoutInMinutes": 10, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "inboundNatRules": [], + "loadBalancingRules": [], + "outboundRules": [], + "probes": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with inbound nat pool" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateWithOutboundRules.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateWithOutboundRules.json new file mode 100644 index 000000000000..5c33f8be9f48 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateWithOutboundRules.json @@ -0,0 +1,428 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "properties": {} + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": true, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "Tcp" + } + } + ], + "outboundRules": [ + { + "name": "rule1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "frontendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "protocol": "All" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "outboundRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "outboundRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1" + } + ], + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": true, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [ + { + "name": "rule1", + "type": "Microsoft.Network/loadBalancers/outboundRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1", + "properties": { + "allocatedOutboundPorts": 1024, + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "enableTcpReset": false, + "frontendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "idleTimeoutInMinutes": 4, + "provisioningState": "Succeeded", + "protocol": "All" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "outboundRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "outboundRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1" + } + ], + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": true, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [ + { + "name": "rule1", + "type": "Microsoft.Network/loadBalancers/outboundRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1", + "properties": { + "allocatedOutboundPorts": 1024, + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "enableTcpReset": false, + "frontendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "idleTimeoutInMinutes": 4, + "provisioningState": "Succeeded", + "protocol": "All" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with outbound rules" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateWithSyncModePropertyOnPool.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateWithSyncModePropertyOnPool.json new file mode 100644 index 000000000000..e4ff673b64b6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateWithSyncModePropertyOnPool.json @@ -0,0 +1,357 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "properties": { + "syncMode": "Automatic", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded", + "syncMode": "Automatic", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded", + "syncMode": "Automatic", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with Sync Mode Property on Pool" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateWithZones.json new file mode 100644 index 000000000000..8f71a3c65e59 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerCreateWithZones.json @@ -0,0 +1,353 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "properties": {} + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + }, + "zones": [ + "1" + ] + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + }, + "zones": [ + "1" + ] + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + }, + "zones": [ + "1" + ] + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with Frontend IP in Zone 1" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerDelete.json new file mode 100644 index 000000000000..74d94f90ab2f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerDelete.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "LoadBalancers_Delete", + "title": "Delete load balancer" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerFrontendIPConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerFrontendIPConfigurationGet.json new file mode 100644 index 000000000000..24c6aa76e5a6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerFrontendIPConfigurationGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "frontendIPConfigurationName": "frontend", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "frontend", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + } + }, + "operationId": "LoadBalancerFrontendIPConfigurations_Get", + "title": "LoadBalancerFrontendIPConfigurationGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerFrontendIPConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerFrontendIPConfigurationList.json new file mode 100644 index 000000000000..1c93b6dcb4a5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerFrontendIPConfigurationList.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "frontend", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ] + } + } + }, + "operationId": "LoadBalancerFrontendIPConfigurations_List", + "title": "LoadBalancerFrontendIPConfigurationList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerGet.json new file mode 100644 index 000000000000..ff7d0a9855e5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerGet.json @@ -0,0 +1,143 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "westus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "scope": "Public" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_Get", + "title": "Get load balancer" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerGetInboundNatRulePortMapping.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerGetInboundNatRulePortMapping.json new file mode 100644 index 000000000000..01178591ccac --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerGetInboundNatRulePortMapping.json @@ -0,0 +1,165 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "westus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancerBackendAddresses": [ + { + "name": "8bec96ef-0a6a-45b8-9860-4ffde7bf3572", + "properties": { + "inboundNatRulesPortMapping": [ + { + "backendPort": 3389, + "frontendPort": 3389, + "inboundNatRuleName": "natRule" + } + ], + "ipAddress": "10.0.0.4", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 0, + "frontendPortRangeEnd": 4000, + "frontendPortRangeStart": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_Get", + "title": "Get load balancer with inbound NAT rule port mapping" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerGetReduced.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerGetReduced.json new file mode 100644 index 000000000000..3e12b66bdaa5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerGetReduced.json @@ -0,0 +1,39 @@ +{ + "title": "Get load balancer reduced", + "operationId": "LoadBalancers_Get", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg-name", + "loadBalancerName": "lb-name", + "api-version": "2025-07-01", + "detailLevel": "Reduced" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Network/loadBalancers/lb-name", + "name": "lb-name", + "type": "Microsoft.Network/loadBalancers", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "frontendIPConfigurations": [ + { + "name": "frontendConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Network/loadBalancers/lb-name/frontendIPConfigurations/frontendConfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ] + }, + "sku": { + "name": "Standard", + "tier": "Regional" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerHealth.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerHealth.json new file mode 100644 index 000000000000..ae1c28c89e55 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerHealth.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "groupName": "rg1", + "loadBalancerName": "lb1", + "loadBalancingRuleName": "rulelb", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "down": 0, + "loadBalancerBackendAddresses": [ + { + "ipAddress": "10.1.0.4", + "networkInterfaceIPConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/NIC1/IpConfigurations/ipConfig", + "reason": "Up_Probe_Success", + "state": "Up" + } + ], + "up": 1 + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "LoadBalancerLoadBalancingRules_Health", + "title": "Query load balancing rule health" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerList.json new file mode 100644 index 000000000000..d1970cf1463c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerList.json @@ -0,0 +1,164 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "westus", + "properties": { + "backendAddressPools": [ + { + "name": "belb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "felb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "inrlb", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb" + }, + "backendPort": 80, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "prlb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Basic" + } + }, + { + "name": "lb2", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2", + "location": "westus", + "properties": { + "backendAddressPools": [], + "frontendIPConfigurations": [], + "inboundNatPools": [], + "inboundNatRules": [], + "loadBalancingRules": [], + "probes": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Basic" + } + } + ] + } + } + }, + "operationId": "LoadBalancers_List", + "title": "List load balancers in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerListAll.json new file mode 100644 index 000000000000..1f65990218b7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerListAll.json @@ -0,0 +1,163 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "westus", + "properties": { + "backendAddressPools": [ + { + "name": "belb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "felb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "inrlb", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb" + }, + "backendPort": 80, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "prlb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Basic" + } + }, + { + "name": "lb3", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3", + "location": "westus", + "properties": { + "backendAddressPools": [], + "frontendIPConfigurations": [], + "inboundNatPools": [], + "inboundNatRules": [], + "loadBalancingRules": [], + "probes": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Basic" + } + } + ] + } + } + }, + "operationId": "LoadBalancers_ListAll", + "title": "List all load balancers" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerLoadBalancingRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerLoadBalancingRuleGet.json new file mode 100644 index 000000000000..ce731402c9f3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerLoadBalancingRuleGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb1", + "loadBalancingRuleName": "rule1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "rule1", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1" + }, + "backendPort": 80, + "enableFloatingIP": false, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + } + }, + "operationId": "LoadBalancerLoadBalancingRules_Get", + "title": "LoadBalancerLoadBalancingRuleGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerLoadBalancingRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerLoadBalancingRuleList.json new file mode 100644 index 000000000000..8416e8a505b1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerLoadBalancingRuleList.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "rule1", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1" + }, + "backendPort": 80, + "enableFloatingIP": false, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ] + } + } + }, + "operationId": "LoadBalancerLoadBalancingRules_List", + "title": "LoadBalancerLoadBalancingRuleList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerNetworkInterfaceListSimple.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerNetworkInterfaceListSimple.json new file mode 100644 index 000000000000..990d710e3b31 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerNetworkInterfaceListSimple.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "mynic", + "type": "Microsoft.Network/networkInterfaces", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic", + "location": "westus", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [] + }, + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + ] + } + } + }, + "operationId": "LoadBalancerNetworkInterfaces_List", + "title": "LoadBalancerNetworkInterfaceListSimple" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerNetworkInterfaceListVmss.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerNetworkInterfaceListVmss.json new file mode 100644 index 000000000000..9d7555edfec9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerNetworkInterfaceListVmss.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vmss1Nic", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net" + }, + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "vmss1IpConfig", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0" + } + ], + "primary": true, + "privateIPAddress": "10.0.0.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default" + } + } + } + ], + "macAddress": "00-00-00-00-00-00", + "primary": true, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualMachine": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0" + } + } + }, + { + "name": "vmss1Nic", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net" + }, + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "vmss1IpConfig", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1" + } + ], + "primary": true, + "privateIPAddress": "10.0.0.5", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default" + } + } + } + ], + "macAddress": "00-00-00-00-00-00", + "primary": true, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualMachine": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1" + } + } + } + ] + } + } + }, + "operationId": "LoadBalancerNetworkInterfaces_List", + "title": "LoadBalancerNetworkInterfaceListVmss" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerOutboundRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerOutboundRuleGet.json new file mode 100644 index 000000000000..611b1071752a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerOutboundRuleGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb1", + "outboundRuleName": "rule1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "rule1", + "type": "Microsoft.Network/loadBalancers/outboundRules", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1", + "properties": { + "allocatedOutboundPorts": 64, + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1" + }, + "enableTcpReset": true, + "frontendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend" + } + ], + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + } + }, + "operationId": "LoadBalancerOutboundRules_Get", + "title": "LoadBalancerOutboundRuleGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerOutboundRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerOutboundRuleList.json new file mode 100644 index 000000000000..cd1e19fd0e22 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerOutboundRuleList.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "rule1", + "type": "Microsoft.Network/loadBalancers/outboundRules", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1", + "properties": { + "allocatedOutboundPorts": 64, + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1" + }, + "enableTcpReset": true, + "frontendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend" + } + ], + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ] + } + } + }, + "operationId": "LoadBalancerOutboundRules_List", + "title": "LoadBalancerOutboundRuleList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerProbeGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerProbeGet.json new file mode 100644 index 000000000000..8c21ea84cc33 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerProbeGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "probeName": "probe1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "probe1", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + } + }, + "operationId": "LoadBalancerProbes_Get", + "title": "LoadBalancerProbeGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerProbeList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerProbeList.json new file mode 100644 index 000000000000..f4620ab70841 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerProbeList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "prlb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + } + } + }, + "operationId": "LoadBalancerProbes_List", + "title": "LoadBalancerProbeList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerUpdateTags.json new file mode 100644 index 000000000000..396fa8480caa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancerUpdateTags.json @@ -0,0 +1,135 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "westus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "LoadBalancers_UpdateTags", + "title": "Update load balancer tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancersSwapPublicIpAddresses.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancersSwapPublicIpAddresses.json new file mode 100644 index 000000000000..2af1d2c37f78 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LoadBalancersSwapPublicIpAddresses.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "parameters": { + "frontendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfe1", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/pip2" + } + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb2/frontendIPConfigurations/lbfe2", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip1" + } + } + } + ] + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "LoadBalancers_SwapPublicIpAddresses", + "title": "Swap VIPs between two load balancers." +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LocalNetworkGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LocalNetworkGatewayCreate.json new file mode 100644 index 000000000000..75c3cc6f3212 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LocalNetworkGatewayCreate.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "localNetworkGatewayName": "localgw", + "parameters": { + "location": "Central US", + "properties": { + "fqdn": "site1.contoso.com", + "gatewayIpAddress": "11.12.13.14", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "localgw", + "type": "Microsoft.Network/localNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "location": "centralus", + "properties": { + "gatewayIpAddress": "11.12.13.14", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + }, + "201": { + "body": { + "name": "localgw", + "type": "Microsoft.Network/localNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "location": "centralus", + "properties": { + "gatewayIpAddress": "11.12.13.14", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + }, + "operationId": "LocalNetworkGateways_CreateOrUpdate", + "title": "CreateLocalNetworkGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LocalNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LocalNetworkGatewayDelete.json new file mode 100644 index 000000000000..70ce1291cae3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LocalNetworkGatewayDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "localNetworkGatewayName": "localgw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "LocalNetworkGateways_Delete", + "title": "DeleteLocalNetworkGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LocalNetworkGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LocalNetworkGatewayGet.json new file mode 100644 index 000000000000..72003395ff18 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LocalNetworkGatewayGet.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "localNetworkGatewayName": "localgw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "localgw", + "type": "Microsoft.Network/localNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "location": "centralus", + "properties": { + "gatewayIpAddress": "x.x.x.x", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + }, + "operationId": "LocalNetworkGateways_Get", + "title": "GetLocalNetworkGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LocalNetworkGatewayList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LocalNetworkGatewayList.json new file mode 100644 index 000000000000..13e617385c0d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LocalNetworkGatewayList.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "localgw1", + "type": "Microsoft.Network/localNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1", + "location": "centralus", + "properties": { + "gatewayIpAddress": "x.x.x.x", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + }, + { + "name": "localgw2", + "type": "Microsoft.Network/localNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2", + "location": "eastus", + "properties": { + "gatewayIpAddress": "x.x.x.x", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.2.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + ] + } + } + }, + "operationId": "LocalNetworkGateways_List", + "title": "ListLocalNetworkGateways" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LocalNetworkGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LocalNetworkGatewayUpdateTags.json new file mode 100644 index 000000000000..c598cd87660a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/LocalNetworkGatewayUpdateTags.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "localNetworkGatewayName": "lgw", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lgw", + "type": "Microsoft.Network/localNetworkGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw", + "location": "westus", + "properties": { + "gatewayIpAddress": "12.0.0.1", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "LocalNetworkGateways_UpdateTags", + "title": "UpdateLocalNetworkGatewayTags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/MigrateLoadBalancerToIPBased.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/MigrateLoadBalancerToIPBased.json new file mode 100644 index 000000000000..54887e75a9b7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/MigrateLoadBalancerToIPBased.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "groupName": "rg1", + "loadBalancerName": "lb1", + "parameters": { + "pools": [ + "pool1", + "pool2" + ] + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "migratedPools": [ + "pool1", + "pool2" + ] + } + } + }, + "operationId": "LoadBalancers_MigrateToIpBased", + "title": "Migrate load balancer to IP Based" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayCreateOrUpdate.json new file mode 100644 index 000000000000..3cabdbffdae8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayCreateOrUpdate.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natgateway", + "parameters": { + "location": "westus", + "properties": { + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ] + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + } + }, + "202": {} + }, + "operationId": "NatGateways_CreateOrUpdate", + "title": "Create nat gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayCreateOrUpdateStandardV2Sku.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayCreateOrUpdateStandardV2Sku.json new file mode 100644 index 000000000000..de246f8a9c0b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayCreateOrUpdateStandardV2Sku.json @@ -0,0 +1,107 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natgateway", + "parameters": { + "location": "westus", + "properties": { + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ] + }, + "sku": { + "name": "StandardV2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "sourceVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + }, + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "StandardV2" + } + } + }, + "201": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpAddressesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress2" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "publicIpPrefixesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix2" + } + ], + "sourceVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + }, + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "StandardV2" + } + } + }, + "202": {} + }, + "operationId": "NatGateways_CreateOrUpdate", + "title": "Create nat gateway with StandardV2 Sku" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayDelete.json new file mode 100644 index 000000000000..f1db38ada973 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayDelete.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natGateway", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NatGateways_Delete", + "title": "Delete nat gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayGet.json new file mode 100644 index 000000000000..a5d1bd894701 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayGet.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natGateway", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "NatGateways_Get", + "title": "Get nat gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayGetStandardV2Sku.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayGetStandardV2Sku.json new file mode 100644 index 000000000000..dc936006be5c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayGetStandardV2Sku.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natGateway", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpAddressesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress2" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "publicIpPrefixesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix2" + } + ], + "sourceVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + }, + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "StandardV2" + } + } + } + }, + "operationId": "NatGateways_Get", + "title": "Get nat gateway with StandardV2 Sku" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayList.json new file mode 100644 index 000000000000..429f2ab0d2e9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayList.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateway/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + }, + { + "name": "test-natGateway2", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/natGateway/test-natGateway2", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + }, + { + "name": "test-natGateway3", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/natGateway/test-natGateway3", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpAddressesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress2" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "publicIpPrefixesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix2" + } + ], + "sourceVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + }, + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "StandardV2" + } + } + ] + } + } + }, + "operationId": "NatGateways_List", + "title": "List nat gateways in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayListAll.json new file mode 100644 index 000000000000..94efcbbe69fa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayListAll.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + }, + { + "name": "test-natGateway2", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/natGatewayes/test-natGateway2", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + }, + { + "name": "test-natGateway3", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/natGatewayes/test-natGateway3", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpAddressesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress2" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "publicIpPrefixesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix2" + } + ], + "sourceVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + }, + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "StandardV2" + } + } + ] + } + } + }, + "operationId": "NatGateways_ListAll", + "title": "List all nat gateways" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayUpdateTags.json new file mode 100644 index 000000000000..13791578ff1c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayUpdateTags.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natGateway", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "NatGateways_UpdateTags", + "title": "Update nat gateway tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayUpdateTagsStandardV2Sku.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayUpdateTagsStandardV2Sku.json new file mode 100644 index 000000000000..28f5d5d5c6e0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayUpdateTagsStandardV2Sku.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natGateway", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpAddressesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress2" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "publicIpPrefixesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix2" + } + ], + "sourceVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + }, + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "StandardV2" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "NatGateways_UpdateTags", + "title": "Update nat gateway with StandardV2 Sku tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayWithNat64CreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayWithNat64CreateOrUpdate.json new file mode 100644 index 000000000000..18474e535af9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayWithNat64CreateOrUpdate.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natgateway", + "parameters": { + "location": "westus", + "properties": { + "nat64": "Enabled", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ] + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "nat64": "Enabled", + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "nat64": "Enabled", + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + } + }, + "202": {} + }, + "operationId": "NatGateways_CreateOrUpdate", + "title": "Create nat gateway with nat64" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayWithNat64Get.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayWithNat64Get.json new file mode 100644 index 000000000000..a2b404619e63 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayWithNat64Get.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natGateway", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "nat64": "Enabled", + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "NatGateways_Get", + "title": "Get nat gateway with nat64" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayWithServiceGatewayCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayWithServiceGatewayCreateOrUpdate.json new file mode 100644 index 000000000000..8b8adc2dc3be --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayWithServiceGatewayCreateOrUpdate.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natgateway", + "parameters": { + "location": "westus", + "properties": { + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "serviceGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/SG1" + } + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "serviceGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/SG1" + } + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "serviceGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/SG1" + } + }, + "sku": { + "name": "Standard" + } + } + }, + "202": {} + }, + "operationId": "NatGateways_CreateOrUpdate", + "title": "Create nat gateway with service gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayWithServiceGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayWithServiceGatewayGet.json new file mode 100644 index 000000000000..ac7975cd73cd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatGatewayWithServiceGatewayGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natGateway", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "serviceGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/SG1" + } + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "NatGateways_Get", + "title": "Get nat gateway with service gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatRuleDelete.json new file mode 100644 index 000000000000..88b1da4347cd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatRuleDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "natRuleName": "natRule1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "NatRules_Delete", + "title": "NatRuleDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatRuleGet.json new file mode 100644 index 000000000000..023e84fc8153 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatRuleGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "natRuleName": "natRule1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "natRule1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/natRule1", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [], + "externalMappings": [], + "ingressVpnSiteLinkConnections": [], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24" + } + ], + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "NatRules_Get", + "title": "NatRuleGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatRuleList.json new file mode 100644 index 000000000000..1d18c1a4eb44 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatRuleList.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "natRule1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/natRule1", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/vpnLinkConnection1" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24" + } + ], + "ingressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/vpnLinkConnection2" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/cloudnet1-VNG/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + }, + { + "name": "natRule2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/natRule2", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/vpnLinkConnection1" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24" + } + ], + "ingressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/vpnLinkConnection2" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/cloudnet1-VNG1/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "NatRules_ListByVpnGateway", + "title": "NatRuleList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatRulePut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatRulePut.json new file mode 100644 index 000000000000..5d4ff279afc1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NatRulePut.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "NatRuleParameters": { + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/cloudnet1-VNG/ipConfigurations/default", + "mode": "EgressSnat" + } + }, + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "natRuleName": "natRule1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "natRule1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/natRule1", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/vpnLinkConnection1" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24" + } + ], + "ingressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/vpnLinkConnection2" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/cloudnet1-VNG/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "natRule1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/natRule1", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/vpnLinkConnection1" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24" + } + ], + "ingressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/vpnLinkConnection2" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/cloudnet1-VNG/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "NatRules_CreateOrUpdate", + "title": "NatRulePut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceCreate.json new file mode 100644 index 000000000000..044d638871dd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceCreate.json @@ -0,0 +1,143 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "test-nic", + "parameters": { + "location": "eastus", + "properties": { + "disableTcpStateTracking": true, + "enableAcceleratedNetworking": true, + "ipConfigurations": [ + { + "name": "ipconfig1", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + }, + { + "name": "ipconfig2", + "properties": { + "privateIPAddressPrefixLength": 28 + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-nic", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "disableTcpStateTracking": true, + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + }, + { + "name": "ipconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig2", + "properties": { + "primary": false, + "privateIPAddress": "172.20.2.16/28", + "privateIPAddressPrefixLength": 28, + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "provisioningState": "Succeeded", + "vnetEncryptionSupported": false + } + } + }, + "201": { + "body": { + "name": "test-nic", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + }, + { + "name": "ipconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig2", + "properties": { + "primary": false, + "privateIPAddress": "172.20.2.16/28", + "privateIPAddressPrefixLength": 28, + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "provisioningState": "Succeeded", + "vnetEncryptionSupported": false + } + } + } + }, + "operationId": "NetworkInterfaces_CreateOrUpdate", + "title": "Create network interface" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceCreateGatewayLoadBalancerConsumer.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceCreateGatewayLoadBalancerConsumer.json new file mode 100644 index 000000000000..63c32e5df498 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceCreateGatewayLoadBalancerConsumer.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "test-nic", + "parameters": { + "location": "eastus", + "properties": { + "enableAcceleratedNetworking": true, + "ipConfigurations": [ + { + "name": "ipconfig1", + "properties": { + "gatewayLoadBalancer": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider" + }, + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-nic", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "gatewayLoadBalancer": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider" + }, + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "test-nic", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "gatewayLoadBalancer": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider" + }, + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "NetworkInterfaces_CreateOrUpdate", + "title": "Create network interface with Gateway Load Balancer Consumer configured" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceDelete.json new file mode 100644 index 000000000000..5137b8b95677 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "test-nic", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "NetworkInterfaces_Delete", + "title": "Delete network interface" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceEffectiveNSGList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceEffectiveNSGList.json new file mode 100644 index 000000000000..e47b07eff5c7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceEffectiveNSGList.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "nic1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "association": { + "networkInterface": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1" + }, + "networkManager": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/nm1" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + }, + "effectiveSecurityRules": [ + { + "name": "securityRules/rule1", + "access": "Allow", + "destinationAddressPrefix": "0.0.0.0/32", + "destinationPortRange": "6579-6579", + "direction": "Inbound", + "priority": 234, + "sourceAddressPrefix": "0.0.0.0/32", + "sourcePortRange": "456-456", + "protocol": "Tcp" + }, + { + "name": "securityRules/default-allow-rdp", + "access": "Allow", + "destinationAddressPrefix": "0.0.0.0/0", + "destinationPortRange": "3389-3389", + "direction": "Inbound", + "priority": 1000, + "sourceAddressPrefix": "1.1.1.1/32", + "sourcePortRange": "0-65535", + "protocol": "Tcp" + }, + { + "name": "defaultSecurityRules/AllowInternetOutBound", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "0-65535", + "direction": "Outbound", + "expandedDestinationAddressPrefix": [ + "32.0.0.0/3", + "4.0.0.0/6", + "2.0.0.0/7", + "1.0.0.0/8" + ], + "priority": 65001, + "sourceAddressPrefix": "0.0.0.0/0", + "sourcePortRange": "0-65535", + "protocol": "All" + } + ], + "networkSecurityGroup": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/test-nsg" + } + } + ] + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com//subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/test-nsg/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkInterfaces_ListEffectiveNetworkSecurityGroups", + "title": "List network interface effective network security groups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceEffectiveRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceEffectiveRouteTableList.json new file mode 100644 index 000000000000..3d93e12bd0cd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceEffectiveRouteTableList.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "nic1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "addressPrefix": [ + "172.20.2.0/24" + ], + "nextHopIpAddress": [], + "nextHopType": "VnetLocal", + "source": "Default", + "state": "Active" + }, + { + "addressPrefix": [ + "0.0.0.0/0" + ], + "nextHopIpAddress": [], + "nextHopType": "Internet", + "source": "Default", + "state": "Active" + }, + { + "addressPrefix": [ + "10.0.0.0/8" + ], + "nextHopIpAddress": [], + "nextHopType": "None", + "source": "Default", + "state": "Active" + }, + { + "addressPrefix": [ + "100.64.0.0/10" + ], + "nextHopIpAddress": [], + "nextHopType": "None", + "source": "Default", + "state": "Active" + }, + { + "addressPrefix": [ + "172.16.0.0/12" + ], + "nextHopIpAddress": [], + "nextHopType": "None", + "source": "Default", + "state": "Active" + }, + { + "addressPrefix": [ + "192.168.0.0/16" + ], + "nextHopIpAddress": [], + "nextHopType": "None", + "source": "Default", + "state": "Active" + } + ] + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkInterfaces_GetEffectiveRouteTable", + "title": "Show network interface effective route tables" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceGet.json new file mode 100644 index 000000000000..31a8ef5cc9bc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceGet.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "test-nic", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-nic", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "disableTcpStateTracking": true, + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "test.bx.internal.cloudapp.net" + }, + "dscpConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/dscpConfiguration/mydscpconfiguration" + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + }, + { + "name": "ipconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig2", + "properties": { + "primary": false, + "privateIPAddress": "172.20.2.16/28", + "privateIPAddressPrefixLength": 28, + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "macAddress": "00-0D-3A-1B-C7-21", + "networkSecurityGroup": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" + }, + "primary": true, + "provisioningState": "Succeeded", + "virtualMachine": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "vnetEncryptionSupported": false + } + } + } + }, + "operationId": "NetworkInterfaces_Get", + "title": "Get network interface" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceIPConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceIPConfigurationGet.json new file mode 100644 index 000000000000..5088a4d98b4a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceIPConfigurationGet.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipConfigurationName": "ipconfig1", + "networkInterfaceName": "mynic", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ipconfig1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet" + }, + "virtualNetworkTaps": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/vTAP1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/vTAP2" + } + ] + } + } + } + }, + "operationId": "NetworkInterfaceIPConfigurations_Get", + "title": "NetworkInterfaceIPConfigurationGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceIPConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceIPConfigurationList.json new file mode 100644 index 000000000000..5d3308cb0df0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceIPConfigurationList.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "nic1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ipconfig1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.0.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet12/subnets/subnet12" + } + } + } + ] + } + } + }, + "operationId": "NetworkInterfaceIPConfigurations_List", + "title": "NetworkInterfaceIPConfigurationList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceList.json new file mode 100644 index 000000000000..ffcc8a8b102e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceList.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-nic", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "disableTcpStateTracking": true, + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "test.bx.internal.cloudapp.net" + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "macAddress": "00-0D-3A-1B-C7-21", + "networkSecurityGroup": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" + }, + "primary": true, + "provisioningState": "Succeeded", + "virtualMachine": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "vnetEncryptionSupported": false + } + }, + { + "name": "test-nic2", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2", + "location": "eastus", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip2" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet2/subnets/default" + } + } + }, + { + "name": "ipconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig2", + "properties": { + "primary": false, + "privateIPAddress": "172.20.2.16/28", + "privateIPAddressPrefixLength": 28, + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "provisioningState": "Succeeded", + "vnetEncryptionSupported": false + } + } + ] + } + } + }, + "operationId": "NetworkInterfaces_List", + "title": "List network interfaces in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceListAll.json new file mode 100644 index 000000000000..3bcf680551b5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceListAll.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-nic", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "disableTcpStateTracking": true, + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "test.bx.internal.cloudapp.net" + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "macAddress": "00-0D-3A-1B-C7-21", + "networkSecurityGroup": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" + }, + "primary": true, + "provisioningState": "Succeeded", + "virtualMachine": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "vnetEncryptionSupported": false + } + }, + { + "name": "test-nic2", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2", + "location": "eastus", + "properties": { + "disableTcpStateTracking": true, + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnew/providers/Microsoft.Network/publicIPAddresses/test-ip2" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnew/providers/Microsoft.Network/virtualNetworks/rgnew-vnet2/subnets/default" + } + } + } + ], + "provisioningState": "Succeeded", + "vnetEncryptionSupported": false + } + } + ] + } + } + }, + "operationId": "NetworkInterfaces_ListAll", + "title": "List all network interfaces" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceLoadBalancerList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceLoadBalancerList.json new file mode 100644 index 000000000000..5a52b40304e8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceLoadBalancerList.json @@ -0,0 +1,142 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "nic1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "lbname1", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1", + "location": "westus", + "properties": { + "backendAddressPools": [ + { + "name": "bepool1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1", + "properties": { + "backendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "lbfrontend", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1" + } + ], + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/publicIPAddresses/myDynamicPublicIP" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "inbound1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1", + "properties": { + "backendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1" + }, + "backendPort": 3389, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rule1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1" + }, + "backendPort": 80, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + ] + } + } + }, + "operationId": "NetworkInterfaceLoadBalancers_List", + "title": "NetworkInterfaceLoadBalancerList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceTapConfigurationCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceTapConfigurationCreate.json new file mode 100644 index 000000000000..92d3eb854fc8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceTapConfigurationCreate.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "mynic", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tapConfigurationName": "tapconfiguration1", + "tapConfigurationParameters": { + "properties": { + "virtualNetworkTap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "tapConfiguration1", + "type": "Microsoft.Network/networkInterfaces/tapConfigurations", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", + "properties": { + "provisioningState": "Succeded", + "virtualNetworkTap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + } + } + } + }, + "201": { + "body": { + "name": "tapConfiguration1", + "type": "Microsoft.Network/networkInterfaces/tapConfigurations", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", + "properties": { + "provisioningState": "Succeded", + "virtualNetworkTap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + } + } + } + } + }, + "operationId": "NetworkInterfaceTapConfigurations_CreateOrUpdate", + "title": "Create Network Interface Tap Configurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceTapConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceTapConfigurationDelete.json new file mode 100644 index 000000000000..369e88fe5898 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceTapConfigurationDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "mynic", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tapConfigurationName": "tapconfiguration1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "NetworkInterfaceTapConfigurations_Delete", + "title": "Delete tap configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceTapConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceTapConfigurationGet.json new file mode 100644 index 000000000000..972d79b4c186 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceTapConfigurationGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "mynic", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tapConfigurationName": "tapconfiguration1" + }, + "responses": { + "200": { + "body": { + "name": "tapConfiguration1", + "type": "Microsoft.Network/networkInterfaces/tapConfigurations", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", + "properties": { + "provisioningState": "Succeded", + "virtualNetworkTap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + } + } + } + } + }, + "operationId": "NetworkInterfaceTapConfigurations_Get", + "title": "Get Network Interface Tap Configurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceTapConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceTapConfigurationList.json new file mode 100644 index 000000000000..608b9afee7cc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceTapConfigurationList.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "mynic", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "tapConfiguration1", + "type": "Microsoft.Network/networkInterfaces/tapConfigurations", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", + "properties": { + "provisioningState": "Succeded", + "virtualNetworkTap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + } + } + } + ] + } + } + }, + "operationId": "NetworkInterfaceTapConfigurations_List", + "title": "List virtual network tap configurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceUpdateTags.json new file mode 100644 index 000000000000..75950e13f117 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkInterfaceUpdateTags.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "test-nic", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-nic", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "disableTcpStateTracking": true, + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "provisioningState": "Succeeded", + "vnetEncryptionSupported": false + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "NetworkInterfaces_UpdateTags", + "title": "Update network interface tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerActiveConnectivityConfigurationsList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerActiveConnectivityConfigurationsList.json new file mode 100644 index 000000000000..995f2cc17b28 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerActiveConnectivityConfigurationsList.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "parameters": { + "regions": [ + "westus" + ], + "skipToken": "fakeSkipTokenCode" + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "List Active Connectivity Configurations", + "responses": { + "200": { + "body": { + "skipToken": "FakeSkipTokenCode", + "value": [ + { + "commitTime": "2020-07-10T18:03:22.2578238+05:30", + "configurationGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "description": "A group for all test Virtual Networks", + "provisioningState": "Succeeded" + } + } + ], + "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "properties": { + "description": "Sample Configuration", + "appliesToGroups": [ + { + "groupConnectivity": "None", + "isGlobal": "False", + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "useHubGateway": "True" + } + ], + "connectivityTopology": "HubAndSpoke", + "deleteExistingPeering": "True", + "hubs": [ + { + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "provisioningState": "Succeeded" + }, + "region": "westus" + } + ] + } + } + }, + "operationId": "ListActiveConnectivityConfigurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerActiveSecurityAdminRulesList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerActiveSecurityAdminRulesList.json new file mode 100644 index 000000000000..78797ff44c8f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerActiveSecurityAdminRulesList.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "parameters": { + "regions": [ + "westus" + ], + "skipToken": "fakeSkipTokenCode" + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "List Active Security Admin Rules", + "responses": { + "200": { + "body": { + "skipToken": "FakeSkipTokenCode", + "value": [ + { + "commitTime": "2020-07-10T18:03:22.2578238+05:30", + "configurationDescription": "SampleDescription", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "kind": "Default", + "properties": { + "description": "Sample Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "flag": "AllowVnetInbound", + "priority": 1, + "provisioningState": "Succeeded", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "region": "westus", + "ruleCollectionAppliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" + } + ], + "ruleCollectionDescription": "SampleRuleCollectionDescription", + "ruleGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "description": "A group for all test Virtual Networks", + "provisioningState": "Succeeded" + } + } + ] + } + ] + } + } + }, + "operationId": "ListActiveSecurityAdminRules" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleCollectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleCollectionDelete.json new file mode 100644 index 000000000000..33f9d1183da4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleCollectionDelete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/TestNM/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "AdminRuleCollections_Delete", + "title": "Deletes an admin rule collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleCollectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleCollectionGet.json new file mode 100644 index 000000000000..4ea965c37b5b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleCollectionGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample rule collection", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AdminRuleCollections_Get", + "title": "Gets security admin rule collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleCollectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleCollectionList.json new file mode 100644 index 000000000000..a3ddda883eed --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleCollectionList.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample rule collection", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "AdminRuleCollections_List", + "title": "List security admin rule collections" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleCollectionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleCollectionPut.json new file mode 100644 index 000000000000..9145a97b46bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleCollectionPut.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollection": { + "properties": { + "description": "A sample policy", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + }, + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample policy", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AdminRuleCollections_CreateOrUpdate", + "title": "Create or Update an admin rule collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleDelete.json new file mode 100644 index 000000000000..dc10923f047b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleDelete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleAdminRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "AdminRules_Delete", + "title": "Deletes an admin rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleGet.json new file mode 100644 index 000000000000..0d3aa3a99cd5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleGet.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleAdminRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "priority": 1, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AdminRules_Get", + "title": "Gets security admin rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleList.json new file mode 100644 index 000000000000..200bc1c67371 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRuleList.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkManagers/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkmanagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "priority": 1, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "AdminRules_List", + "title": "List security admin rules" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRulePut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRulePut.json new file mode 100644 index 000000000000..8ffdf33e3e46 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRulePut.json @@ -0,0 +1,129 @@ +{ + "parameters": { + "adminRule": { + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "priority": 1, + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "Internet", + "addressPrefixType": "ServiceTag" + } + ], + "protocol": "Tcp" + } + }, + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleAdminRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "priority": 1, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "Internet", + "addressPrefixType": "ServiceTag" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "priority": 1, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "Internet", + "addressPrefixType": "ServiceTag" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AdminRules_CreateOrUpdate", + "title": "Create an admin rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRulePut_NetworkGroupSource.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRulePut_NetworkGroupSource.json new file mode 100644 index 000000000000..92d510a9839f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerAdminRulePut_NetworkGroupSource.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "adminRule": { + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/ng1", + "addressPrefixType": "NetworkGroup" + } + ], + "direction": "Inbound", + "priority": 1, + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "Internet", + "addressPrefixType": "ServiceTag" + } + ], + "protocol": "Tcp" + } + }, + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleAdminRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule using a network group as a source and destination.", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "priority": 1, + "provisioningState": "Succeeded", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "Internet", + "addressPrefixType": "ServiceTag" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule using a network group as a source and destination.", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "priority": 1, + "provisioningState": "Succeeded", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "Internet", + "addressPrefixType": "ServiceTag" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AdminRules_CreateOrUpdate", + "title": "Create a admin rule with network group as source or destination" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerCommitDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerCommitDelete.json new file mode 100644 index 000000000000..711923fa3b6d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerCommitDelete.json @@ -0,0 +1,19 @@ +{ + "title": "Delete Network Manager Commit", + "operationId": "Commits_Delete", + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "commitName": "myTestCommit" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/commits/myTestCommit/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerCommitGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerCommitGet.json new file mode 100644 index 000000000000..fb5b33a4fb40 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerCommitGet.json @@ -0,0 +1,44 @@ +{ + "title": "Get Network Manager Commit", + "operationId": "Commits_Get", + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "commitName": "myTestCommit" + }, + "responses": { + "200": { + "body": { + "name": "myTestCommit", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/commits/myTestCommit", + "type": "Microsoft.Network/networkManagers/commits", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2025-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-01-11T18:52:27Z" + }, + "properties": { + "description": "Sample Commit", + "targetLocations": [ + "useast" + ], + "activeLocations": [ + "useast" + ], + "configurationIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "commitType": "SecurityAdmin", + "forceUpdateTag": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerCommitList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerCommitList.json new file mode 100644 index 000000000000..3e50a5126dfd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerCommitList.json @@ -0,0 +1,48 @@ +{ + "title": "List Network Manager Commit", + "operationId": "Commits_List", + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myTestCommit", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/commits/myTestCommit", + "type": "Microsoft.Network/networkManagers/commits", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2025-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-01-11T18:52:27Z" + }, + "properties": { + "description": "Sample Commit", + "targetLocations": [ + "useast" + ], + "activeLocations": [ + "useast" + ], + "configurationIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "commitType": "SecurityAdmin", + "forceUpdateTag": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/commits?api-version=2025-07-01&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerCommitPost.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerCommitPost.json new file mode 100644 index 000000000000..2a226593443d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerCommitPost.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "parameters": { + "commitType": "SecurityAdmin", + "configurationIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "targetLocations": [ + "useast" + ] + }, + "resourceGroupName": "resoureGroupSample", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkManageCommitPost", + "responses": { + "200": { + "body": { + "commitId": "testCommitId", + "commitType": "SecurityAdmin", + "configurationIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "targetLocations": [ + "useast" + ] + } + }, + "202": { + "body": { + "commitId": "testCommitId", + "commitType": "SecurityAdmin", + "configurationIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "targetLocations": [ + "useast" + ] + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/TestNM/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkManagerCommits_Post" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerCommitPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerCommitPut.json new file mode 100644 index 000000000000..92dc76edafd8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerCommitPut.json @@ -0,0 +1,88 @@ +{ + "title": "Create or Update Network Manager Commit", + "operationId": "Commits_CreateOrUpdate", + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "commitName": "myTestCommit", + "resource": { + "properties": { + "description": "Sample Commit", + "targetLocations": [ + "useast" + ], + "configurationIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "commitType": "SecurityAdmin", + "forceUpdateTag": "00000000-0000-0000-0000-000000000000" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myTestCommit", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/commits/myTestCommit", + "type": "Microsoft.Network/networkManagers/commits", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2025-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-01-11T18:52:27Z" + }, + "properties": { + "description": "Sample Commit", + "targetLocations": [ + "useast" + ], + "activeLocations": [ + "useast" + ], + "configurationIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "commitType": "SecurityAdmin", + "forceUpdateTag": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + }, + "201": { + "body": { + "name": "myTestCommit", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/commits/myTestCommit", + "type": "Microsoft.Network/networkManagers/commits", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2025-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-01-11T18:52:27Z" + }, + "properties": { + "description": "Sample Commit", + "targetLocations": [ + "useast" + ], + "activeLocations": [ + "useast" + ], + "configurationIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "commitType": "SecurityAdmin", + "forceUpdateTag": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionManagementGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionManagementGroupDelete.json new file mode 100644 index 000000000000..f52b4c6dbcbc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionManagementGroupDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "managementGroupId": "managementGroupA", + "networkManagerConnectionName": "TestNMConnection" + }, + "title": "Delete Management Group Network Manager Connection", + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ManagementGroupNetworkManagerConnections_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionManagementGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionManagementGroupGet.json new file mode 100644 index 000000000000..fb6e2b05d698 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionManagementGroupGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "managementGroupId": "managementGroupA", + "networkManagerConnectionName": "TestNMConnection" + }, + "title": "Get Management Group Network Manager Connection", + "responses": { + "200": { + "body": { + "name": "TestNMConnection", + "type": "Microsoft.Network/networkManagerConnections", + "id": "providers/Microsoft.Management/managementGroups/managementGroupA/providers/Microsoft.Network/networkManagerConnections/TestNMConnection", + "properties": { + "description": "This is a network manager connection to testNetworkManager.", + "connectionState": "Pending", + "networkManagerId": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "ManagementGroupNetworkManagerConnections_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionManagementGroupList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionManagementGroupList.json new file mode 100644 index 000000000000..826f082f7402 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionManagementGroupList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "managementGroupId": "managementGroupA" + }, + "title": "List Management Group Network Manager Connection", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/managementGroups/managementGroupA/providers/Microsoft.Network/networkManagerConnections?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "TestNMConnection", + "type": "Microsoft.Network/networkManagerConnections", + "id": "/providers/Microsoft.Management/managementGroups/managementGroupA/providers/Microsoft.Network/networkManagerConnections/TestNMConnection", + "properties": { + "description": "This is a network manager connection to testNetworkManager.", + "connectionState": "Pending", + "networkManagerId": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "ManagementGroupNetworkManagerConnections_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionManagementGroupPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionManagementGroupPut.json new file mode 100644 index 000000000000..3b44d68a0d98 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionManagementGroupPut.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "managementGroupId": "managementGroupA", + "networkManagerConnectionName": "TestNMConnection", + "parameters": { + "properties": { + "networkManagerId": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + } + } + }, + "title": "Create or Update Management Group Network Manager Connection", + "responses": { + "200": { + "body": { + "name": "TestNMConnection", + "type": "Microsoft.Network/networkManagerConnections", + "id": "/providers/Microsoft.Management/managementGroups/managementGroupA/providers/Microsoft.Network/networkManagerConnections/TestNMConnection", + "properties": { + "description": "This is a network manager connection to testNetworkManager.", + "connectionState": "Pending", + "networkManagerId": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + }, + "201": { + "body": { + "name": "TestMConnection", + "type": "Microsoft.Network/networkManagerConnections", + "id": "/managementGroups/managementGroupA/providers/Microsoft.Network/networkManagerConnections/TestNMConnection", + "properties": { + "description": "This is a network manager connection to testNetworkManager.", + "connectionState": "Pending", + "networkManagerId": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "ManagementGroupNetworkManagerConnections_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionSubscriptionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionSubscriptionDelete.json new file mode 100644 index 000000000000..f64d3211b337 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionSubscriptionDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerConnectionName": "TestNMConnection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Delete Subscription Network Manager Connection", + "responses": { + "200": {}, + "204": {} + }, + "operationId": "SubscriptionNetworkManagerConnections_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionSubscriptionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionSubscriptionGet.json new file mode 100644 index 000000000000..57f8837984af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionSubscriptionGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerConnectionName": "TestNMConnection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Get Subscription Network Manager Connection", + "responses": { + "200": { + "body": { + "name": "TestNMConnection", + "type": "Microsoft.Network/networkManagerConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkManagerConnections/TestNMConnection", + "properties": { + "description": "This is a network manager connection to testNetworkManager.", + "connectionState": "Pending", + "networkManagerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "SubscriptionNetworkManagerConnections_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionSubscriptionList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionSubscriptionList.json new file mode 100644 index 000000000000..8fe225afed01 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionSubscriptionList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "List Subscription Network Manager Connection", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkManagerConnections?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "TestNMConnection", + "type": "Microsoft.Network/networkManagerConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkManagerConnections/TestNMConnection", + "properties": { + "description": "This is a network manager connection to testNetworkManager.", + "connectionState": "Pending", + "networkManagerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "SubscriptionNetworkManagerConnections_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionSubscriptionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionSubscriptionPut.json new file mode 100644 index 000000000000..dfcda6ac347f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectionSubscriptionPut.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerConnectionName": "TestNMConnection", + "parameters": { + "properties": { + "networkManagerId": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Create or Update Subscription Network Manager Connection", + "responses": { + "200": { + "body": { + "name": "TestNMConnection", + "type": "Microsoft.Network/networkManagerConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkManagerConnections/TestNMConnection", + "properties": { + "description": "This is a network manager connection to testNetworkManager.", + "connectionState": "Pending", + "networkManagerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + }, + "201": { + "body": { + "name": "TestMConnection", + "type": "Microsoft.Network/networkManagerConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkManagerConnections/TestNMConnection", + "properties": { + "description": "This is a network manager connection to testNetworkManager.", + "connectionState": "Pending", + "networkManagerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "SubscriptionNetworkManagerConnections_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectivityConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectivityConfigurationDelete.json new file mode 100644 index 000000000000..9b5dbdc8cf81 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectivityConfigurationDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestConnectivityConfig", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "ConnectivityConfigurationsDelete", + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/TestNM/connectivityConfigurations/myTestConnectivityConfig/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ConnectivityConfigurations_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectivityConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectivityConfigurationGet.json new file mode 100644 index 000000000000..d4aac11f710d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectivityConfigurationGet.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestConnectivityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "ConnectivityConfigurationsGet", + "responses": { + "200": { + "body": { + "name": "myTestConnectivityConfig", + "type": "Microsoft.Network/networkManagers/connectivityConfigurations", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "properties": { + "description": "Sample Configuration", + "appliesToGroups": [ + { + "groupConnectivity": "None", + "isGlobal": "False", + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "useHubGateway": "True" + } + ], + "connectivityCapabilities": { + "connectedGroupAddressOverlap": "Allowed", + "connectedGroupPrivateEndpointsScale": "Standard", + "peeringEnforcement": "Unenforced" + }, + "connectivityTopology": "HubAndSpoke", + "deleteExistingPeering": "True", + "hubs": [ + { + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ConnectivityConfigurations_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectivityConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectivityConfigurationList.json new file mode 100644 index 000000000000..32a9870d2be4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectivityConfigurationList.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "ConnectivityConfigurationsList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/managedNetworks/testNetworkManager/connectivityConfigurations?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "myTestConnectivityConfig", + "type": "Microsoft.Network/networkManagers/connectivityConfigurations", + "id": "subscription/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "properties": { + "description": "Sample Configuration", + "appliesToGroups": [ + { + "groupConnectivity": "None", + "isGlobal": "False", + "networkGroupId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/netwrokGroups/group1", + "useHubGateway": "True" + } + ], + "connectivityCapabilities": { + "connectedGroupAddressOverlap": "Allowed", + "connectedGroupPrivateEndpointsScale": "Standard", + "peeringEnforcement": "Unenforced" + }, + "connectivityTopology": "HubAndSpoke", + "deleteExistingPeering": "True", + "hubs": [ + { + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ConnectivityConfigurations_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectivityConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectivityConfigurationPut.json new file mode 100644 index 000000000000..2931fb519daa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerConnectivityConfigurationPut.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestConnectivityConfig", + "connectivityConfiguration": { + "properties": { + "description": "Sample Configuration", + "appliesToGroups": [ + { + "groupConnectivity": "None", + "isGlobal": "False", + "networkGroupId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "useHubGateway": "True" + } + ], + "connectivityCapabilities": { + "connectedGroupAddressOverlap": "Allowed", + "connectedGroupPrivateEndpointsScale": "Standard", + "peeringEnforcement": "Unenforced" + }, + "connectivityTopology": "HubAndSpoke", + "deleteExistingPeering": "True", + "hubs": [ + { + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True" + } + }, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "ConnectivityConfigurationsPut", + "responses": { + "200": { + "body": { + "name": "myTestConnectivityConfig", + "type": "Microsoft.Network/networkManagers/connectivityConfigurations", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "properties": { + "description": "Sample Connectivity Configuration", + "appliesToGroups": [ + { + "groupConnectivity": "None", + "isGlobal": "False", + "networkGroupId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1", + "useHubGateway": "True" + } + ], + "connectivityCapabilities": { + "connectedGroupAddressOverlap": "Allowed", + "connectedGroupPrivateEndpointsScale": "Standard", + "peeringEnforcement": "Unenforced" + }, + "connectivityTopology": "HubAndSpoke", + "deleteExistingPeering": "True", + "hubs": [ + { + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "myTestConnectivityConfig", + "type": "Microsoft.Network/networkManagers/connectivityConfigurations", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "properties": { + "description": "Sample Configuration", + "appliesToGroups": [ + { + "groupConnectivity": "None", + "isGlobal": "False", + "networkGroupId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "useHubGateway": "True" + } + ], + "connectivityCapabilities": { + "connectedGroupAddressOverlap": "Allowed", + "connectedGroupPrivateEndpointsScale": "Standard", + "peeringEnforcement": "Unenforced" + }, + "connectivityTopology": "HubAndSpoke", + "deleteExistingPeering": "True", + "hubs": [ + { + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ConnectivityConfigurations_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerDefaultAdminRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerDefaultAdminRuleGet.json new file mode 100644 index 000000000000..ab901842a0f3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerDefaultAdminRuleGet.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleDefaultAdminRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleDefaultAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultAdminRule", + "kind": "Default", + "properties": { + "description": "This is Sample Default Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "flag": "AllowVnetInbound", + "priority": 1, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AdminRules_Get", + "title": "Gets security default admin rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerDelete.json new file mode 100644 index 000000000000..e01ddfe3b0a6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkManagersDelete", + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/TestNM/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "NetworkManagers_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerDeploymentStatusList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerDeploymentStatusList.json new file mode 100644 index 000000000000..31be8d5a3f56 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerDeploymentStatusList.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "parameters": { + "deploymentTypes": [ + "Connectivity", + "AdminPolicy" + ], + "regions": [ + "eastus", + "westus" + ], + "skipToken": "FakeSkipTokenCode" + }, + "resourceGroupName": "resoureGroupSample", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkManagerDeploymentStatusList", + "responses": { + "200": { + "body": { + "skipToken": "NextFakeSkipTokenCode", + "value": [ + { + "commitTime": "2021-01-26T06:58:50.883Z", + "configurationIds": [ + "SecConfig1", + "SecConfig2" + ], + "deploymentStatus": "Deploying", + "deploymentType": "AdminPolicy", + "errorMessage": "", + "region": "eastus" + }, + { + "commitTime": "2021-01-26T06:58:50.883Z", + "configurationIds": [ + "ConnConfig1", + "ConnConfig2" + ], + "deploymentStatus": "Deployed", + "deploymentType": "Connectivity", + "errorMessage": "", + "region": "eastus" + } + ] + } + } + }, + "operationId": "NetworkManagerDeploymentStatus_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerEffectiveConnectivityConfigurationsList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerEffectiveConnectivityConfigurationsList.json new file mode 100644 index 000000000000..67c5ac32f49d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerEffectiveConnectivityConfigurationsList.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "skipToken": "FakeSkipTokenCode" + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "testVirtualNetwork" + }, + "title": "List effective connectivity configuration", + "responses": { + "200": { + "body": { + "skipToken": "FakeSkipTokenCode", + "value": [ + { + "configurationGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "description": "A group for all test Virtual Networks", + "provisioningState": "Succeeded" + } + } + ], + "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "properties": { + "description": "Sample Configuration", + "appliesToGroups": [ + { + "groupConnectivity": "None", + "isGlobal": "False", + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1", + "useHubGateway": "True" + } + ], + "connectivityCapabilities": { + "connectedGroupAddressOverlap": "Allowed", + "connectedGroupPrivateEndpointsScale": "Standard", + "peeringEnforcement": "Unenforced" + }, + "connectivityTopology": "HubAndSpoke", + "deleteExistingPeering": "True", + "hubs": [ + { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ListNetworkManagerEffectiveConnectivityConfigurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerEffectiveSecurityAdminRulesList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerEffectiveSecurityAdminRulesList.json new file mode 100644 index 000000000000..7b83ce84a064 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerEffectiveSecurityAdminRulesList.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "skipToken": "FakeSkipTokenCode" + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "testVirtualNetwork" + }, + "title": "List effective security admin rules", + "responses": { + "200": { + "body": { + "skipToken": "FakeSkipTokenCode", + "value": [ + { + "configurationDescription": "SampleDescription", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "kind": "Default", + "properties": { + "description": "Sample Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "flag": "AllowVnetInbound", + "priority": 1, + "provisioningState": "Succeeded", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "ruleCollectionAppliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" + } + ], + "ruleCollectionDescription": "SampleRuleCollectionDescription", + "ruleGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "description": "A group for all test Virtual Networks", + "provisioningState": "Succeeded" + } + } + ] + } + ] + } + } + }, + "operationId": "ListNetworkManagerEffectiveSecurityAdminRules" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerGet.json new file mode 100644 index 000000000000..767ad2aaae7d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerGet.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkManagersGet", + "responses": { + "200": { + "body": { + "name": "testNetworkManager", + "type": "Microsoft.Network/networkManagers", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + "properties": { + "description": "My Test Network Manager", + "networkManagerScopeAccesses": [ + "SecurityUser" + ], + "networkManagerScopes": { + "managementGroups": [], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkManagers_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerGroupDelete.json new file mode 100644 index 000000000000..395aed8c56b3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerGroupDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "force": false, + "networkGroupName": "testNetworkGroup", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkGroupsDelete", + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/TestNM/networkGroups/testNetworkGroup/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "NetworkGroups_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerGroupGet.json new file mode 100644 index 000000000000..73867f2e6c0b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerGroupGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkGroupName": "testNetworkGroup", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkGroupsGet", + "responses": { + "200": { + "body": { + "name": "testNetworkGroup", + "type": "Microsoft.Network/networkManagers/networkGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup", + "properties": { + "description": "A sample group", + "memberType": "VirtualNetwork", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkGroups_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerGroupList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerGroupList.json new file mode 100644 index 000000000000..f385273b7d31 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerGroupList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkGroupsList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testNetworkGroup", + "type": "Microsoft.Network/networkManagers/networkGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup", + "properties": { + "description": "A sample group", + "memberType": "VirtualNetwork", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkGroups_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerGroupPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerGroupPut.json new file mode 100644 index 000000000000..ec221ad25e33 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerGroupPut.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkGroupName": "testNetworkGroup", + "networkManagerName": "testNetworkManager", + "parameters": { + "properties": { + "description": "A sample group", + "memberType": "VirtualNetwork" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkGroupsPut", + "responses": { + "200": { + "body": { + "name": "testNetworkGroup", + "type": "Microsoft.Network/networkManagers/networkGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup", + "properties": { + "description": "A sample group", + "memberType": "VirtualNetwork", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + }, + "201": { + "body": { + "name": "testNetworkGroup", + "type": "Microsoft.Network/networkManagers/networkGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup", + "properties": { + "description": "A sample group", + "memberType": "VirtualNetwork", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "NetworkGroups_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerList.json new file mode 100644 index 000000000000..e4c1bb410d31 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerList.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "List Network Manager", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testNetworkManager", + "type": "Microsoft.Network/networkManagers", + "etag": "sadf-asdf-asdf-asdf", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + "properties": { + "description": "My Test Network Manager", + "networkManagerScopeAccesses": [ + "Connectivity" + ], + "networkManagerScopes": { + "managementGroups": [], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkManagers_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerListAll.json new file mode 100644 index 000000000000..01ff19f08169 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerListAll.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkManagersList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkManagers?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testNetworkManager", + "type": "Microsoft.Network/networkManagers", + "etag": "sadf-asdf-asdf-asdf", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + "properties": { + "description": "My Test Network Manager", + "networkManagerScopeAccesses": [ + "SecurityUser" + ], + "networkManagerScopes": { + "managementGroups": [], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkManagers_ListBySubscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerPatch.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerPatch.json new file mode 100644 index 000000000000..08db1cfc6651 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerPatch.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkManagesPatch", + "responses": { + "200": { + "body": { + "name": "testNetworkManager", + "type": "Microsoft.Network/networkManager", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + "location": "westus", + "properties": { + "description": "My Test Network Manager", + "networkManagerScopeAccesses": [ + "Connectivity" + ], + "networkManagerScopes": { + "managementGroups": [], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000001" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "NetworkManagers_Patch" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerPut.json new file mode 100644 index 000000000000..71c5a811e3d6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerPut.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "parameters": { + "properties": { + "description": "My Test Network Manager", + "networkManagerScopeAccesses": [ + "Connectivity" + ], + "networkManagerScopes": { + "managementGroups": [ + "/Microsoft.Management/testmg" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Put Network Manager", + "responses": { + "200": { + "body": { + "name": "TestNetworkManager", + "type": "Microsoft.Network/networkManagers", + "etag": "sadf-asdf-asdf-asdf", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager", + "properties": { + "description": "My Test Network Manager", + "networkManagerScopeAccesses": [ + "Connectivity" + ], + "networkManagerScopes": { + "managementGroups": [ + "Microsoft.Management/managementGroups/testMg" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "TestNetworkManager", + "type": "Microsoft.Network/networkManagers", + "etag": "sadf-asdf-asdf-asdf", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager", + "properties": { + "description": "My Test Network Manager", + "networkManagerScopeAccesses": [ + "Connectivity" + ], + "networkManagerScopes": { + "managementGroups": [ + "Microsoft.Management/managementGroups/testMg" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkManagers_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingConfigurationDelete.json new file mode 100644 index 000000000000..71004bf5ab3b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingConfigurationDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "NetworkManagerRoutingConfigurations_Delete", + "title": "Delete network manager routing configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingConfigurationGet.json new file mode 100644 index 000000000000..30d23a6f80c5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingConfigurationGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestRoutingConfig", + "type": "Microsoft.Network/networkManagers/routingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig", + "properties": { + "description": "A sample policy", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routeTableUsageMode": "ManagedOnly" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkManagerRoutingConfigurations_Get", + "title": "Get routing configurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingConfigurationList.json new file mode 100644 index 000000000000..e6651a96cee5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingConfigurationList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "myTestRoutingConfig", + "type": "Microsoft.Network/networkManagers/routingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig", + "properties": { + "description": "A sample policy", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routeTableUsageMode": "ManagedOnly" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkManagerRoutingConfigurations_List", + "title": "List routing configurations in a network manager" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingConfigurationPut.json new file mode 100644 index 000000000000..41d3c9985538 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingConfigurationPut.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "routingConfiguration": { + "properties": { + "description": "A sample policy", + "routeTableUsageMode": "ManagedOnly" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestRoutingConfig", + "type": "Microsoft.Network/networkManagers/routingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/routingConfigurations/myTestRoutingConfig", + "properties": { + "description": "A sample policy", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routeTableUsageMode": "ManagedOnly" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "myTestRoutingConfig", + "type": "Microsoft.Network/networkManagers/routingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/routingConfigurations/myTestRoutingConfig", + "properties": { + "description": "A sample policy", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routeTableUsageMode": "ManagedOnly" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkManagerRoutingConfigurations_CreateOrUpdate", + "title": "Create network manager routing configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleCollectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleCollectionDelete.json new file mode 100644 index 000000000000..7c9a66aa29ab --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleCollectionDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/TestNM/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "RoutingRuleCollections_Delete", + "title": "Deletes an routing rule collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleCollectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleCollectionGet.json new file mode 100644 index 000000000000..2811b30775bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleCollectionGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample rule collection", + "appliesTo": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "disableBgpRoutePropagation": "False", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "RoutingRuleCollections_Get", + "title": "Gets routing rule collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleCollectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleCollectionList.json new file mode 100644 index 000000000000..bb5b20d9250c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleCollectionList.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections?api-version=2023-03-01-preview&$skipToken=10", + "value": [ + { + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample rule collection", + "appliesTo": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "disableBgpRoutePropagation": "False", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "RoutingRuleCollections_List", + "title": "List routing rule collections" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleCollectionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleCollectionPut.json new file mode 100644 index 000000000000..6870e9200f12 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleCollectionPut.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollection": { + "properties": { + "description": "A sample policy", + "appliesTo": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + }, + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestRoutingConfig", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample policy", + "appliesTo": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "disableBgpRoutePropagation": "False", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "myTestRoutingConfig", + "type": "Microsoft.Network/networkManagers/routingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/routingConfigurations/myTestRoutingConfig", + "properties": { + "description": "A sample policy", + "appliesTo": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "disableBgpRoutePropagation": "False", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "RoutingRuleCollections_CreateOrUpdate", + "title": "Create or Update a routing rule collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleDelete.json new file mode 100644 index 000000000000..d429013f1e5d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleDelete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "sampleRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection/rules/sampleRule/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "RoutingRules_Delete", + "title": "Deletes a routing rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleGet.json new file mode 100644 index 000000000000..2c540e065c0c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleGet.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleRoutingRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleRoutingRule", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleRoutingRule", + "properties": { + "description": "This is a routing rule", + "destination": { + "type": "AddressPrefix", + "destinationAddress": "10.0.0.0/16" + }, + "nextHop": { + "nextHopAddress": "", + "nextHopType": "VirtualNetworkGateway" + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "RoutingRules_Get", + "title": "Gets routing rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleList.json new file mode 100644 index 000000000000..b50ed8968cad --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRuleList.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkManagers/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection/rules?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "SampleRoutingRule", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkmanagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "properties": { + "description": "This is Sample Admin Rule", + "destination": { + "type": "AddressPrefix", + "destinationAddress": "10.0.0.0/16" + }, + "nextHop": { + "nextHopAddress": "", + "nextHopType": "VirtualNetworkGateway" + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "RoutingRules_List", + "title": "List routing rules" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRulePut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRulePut.json new file mode 100644 index 000000000000..8bf9000f64d1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRulePut.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "routingRule": { + "properties": { + "description": "This is Sample Routing Rule", + "destination": { + "type": "AddressPrefix", + "destinationAddress": "10.0.0.0/16" + }, + "nextHop": { + "nextHopType": "VirtualNetworkGateway" + } + } + }, + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleRoutingRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleRoutingRule", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection/rules/SampleRoutingRule", + "properties": { + "description": "This is Sample Routing Rule", + "destination": { + "type": "AddressPrefix", + "destinationAddress": "10.0.0.0/16" + }, + "nextHop": { + "nextHopAddress": "", + "nextHopType": "VirtualNetworkGateway" + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "SampleRoutingRule", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/RoutingAdminConfigurations/myTestRoutingConfig/ruleCollections/rules/SampleRoutingRule", + "properties": { + "description": "This is Sample Routing Rule", + "destination": { + "type": "AddressPrefix", + "destinationAddress": "0.0.0.0/0" + }, + "nextHop": { + "nextHopAddress": "", + "nextHopType": "VirtualNetworkGateway" + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "RoutingRules_CreateOrUpdate", + "title": "Create an routing rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRulePutEcmp.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRulePutEcmp.json new file mode 100644 index 000000000000..9384051bd345 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerRoutingRulePutEcmp.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "routingRule": { + "properties": { + "description": "This is a sample ECMP routing rule with multiple next hop IP addresses", + "destination": { + "type": "AddressPrefix", + "destinationAddress": "10.0.0.0/16" + }, + "nextHop": { + "nextHopType": "VirtualAppliance", + "nextHopAddress": "10.1.0.4,10.1.0.5,10.1.0.6" + } + } + }, + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleEcmpRoutingRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleEcmpRoutingRule", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection/rules/SampleEcmpRoutingRule", + "properties": { + "description": "This is a sample ECMP routing rule with multiple next hop IP addresses", + "destination": { + "type": "AddressPrefix", + "destinationAddress": "10.0.0.0/16" + }, + "nextHop": { + "nextHopType": "VirtualAppliance", + "nextHopAddress": "10.1.0.4,10.1.0.5,10.1.0.6" + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "SampleEcmpRoutingRule", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection/rules/SampleEcmpRoutingRule", + "properties": { + "description": "This is a sample ECMP routing rule with multiple next hop IP addresses", + "destination": { + "type": "AddressPrefix", + "destinationAddress": "10.0.0.0/16" + }, + "nextHop": { + "nextHopType": "VirtualAppliance", + "nextHopAddress": "10.1.0.4,10.1.0.5,10.1.0.6" + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "RoutingRules_CreateOrUpdate", + "title": "Create an ECMP routing rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerScopeConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerScopeConnectionDelete.json new file mode 100644 index 000000000000..a5f737b6c1d3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerScopeConnectionDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "scopeConnectionName": "TestScopeConnection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Delete Network Manager Scope Connection", + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ScopeConnections_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerScopeConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerScopeConnectionGet.json new file mode 100644 index 000000000000..841de719583c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerScopeConnectionGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "scopeConnectionName": "TestScopeConnection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Get Network Manager Scope Connection", + "responses": { + "200": { + "body": { + "name": "TestScopeConnection", + "type": "Microsoft.Network/networkManagers/scopeConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/scopeConnections/TestScopeConnection", + "properties": { + "description": "This is a scope connection to a cross tenant subscription.", + "connectionState": "Pending", + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "ScopeConnections_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerScopeConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerScopeConnectionList.json new file mode 100644 index 000000000000..0a22a7b5bb58 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerScopeConnectionList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "List Network Manager Scope Connection", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/scopeConnections?api-version=2021-02-01-preview&$skipToken=10", + "value": [ + { + "name": "TestScopeConnection", + "type": "Microsoft.Network/networkManagers/scopeConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/scopeConnections/TestScopeConnection", + "properties": { + "description": "This is a scope connection to a cross tenant subscription.", + "connectionState": "Pending", + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "ScopeConnections_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerScopeConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerScopeConnectionPut.json new file mode 100644 index 000000000000..8b235891ea53 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerScopeConnectionPut.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "parameters": { + "properties": { + "description": "This is a scope connection to a cross tenant subscription.", + "resourceId": "subscriptions/f0dc2b34-dfad-40e4-83e0-2309fed8d00b", + "tenantId": "6babcaad-604b-40ac-a9d7-9fd97c0b779f" + } + }, + "resourceGroupName": "rg1", + "scopeConnectionName": "TestScopeConnection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Create or Update Network Manager Scope Connection", + "responses": { + "200": { + "body": { + "name": "TestScopeConnection", + "type": "Microsoft.Network/networkManagers/scopeConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/scopeConnections/TestScopeConnection", + "properties": { + "description": "This is a scope connection to a cross tenant subscription.", + "connectionState": "Pending", + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + }, + "201": { + "body": { + "type": "Microsoft.Network/networkManagers/scopeConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/scopeConnections/TestScopeConnection", + "properties": { + "description": "This is a scope connection to a cross tenant subscription.", + "connectionState": "Pending", + "resourceId": "subscriptions/f0dc2b34-dfad-40e4-83e0-2309fed8d00b", + "tenantId": "6babcaad-604b-40ac-a9d7-9fd97c0b779f" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "ScopeConnections_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityAdminConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityAdminConfigurationDelete.json new file mode 100644 index 000000000000..a2876f6d2092 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityAdminConfigurationDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "SecurityAdminConfigurations_Delete", + "title": "Delete network manager security admin configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityAdminConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityAdminConfigurationGet.json new file mode 100644 index 000000000000..c47f95b78b5d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityAdminConfigurationGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "applyOnNetworkIntentPolicyBasedServices": [ + "None" + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityAdminConfigurations_Get", + "title": "Get security admin configurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityAdminConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityAdminConfigurationList.json new file mode 100644 index 000000000000..56b4d1cf28ae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityAdminConfigurationList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "applyOnNetworkIntentPolicyBasedServices": [ + "None" + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "SecurityAdminConfigurations_List", + "title": "List security admin configurations in a network manager" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityAdminConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityAdminConfigurationPut.json new file mode 100644 index 000000000000..8dc5051a817b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityAdminConfigurationPut.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "securityAdminConfiguration": { + "properties": { + "description": "A sample policy", + "applyOnNetworkIntentPolicyBasedServices": [ + "None" + ] + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "applyOnNetworkIntentPolicyBasedServices": [ + "None" + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "applyOnNetworkIntentPolicyBasedServices": [ + "None" + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityAdminConfigurations_CreateOrUpdate", + "title": "Create network manager security admin configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityAdminConfigurationPut_ManualAggregation.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityAdminConfigurationPut_ManualAggregation.json new file mode 100644 index 000000000000..b500c1781032 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityAdminConfigurationPut_ManualAggregation.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "securityAdminConfiguration": { + "properties": { + "description": "A configuration which will update any network groups ip addresses at commit times.", + "networkGroupAddressSpaceAggregationOption": "Manual" + } + }, + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "responses": { + "200": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "networkGroupAddressSpaceAggregationOption": "Manual", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "networkGroupAddressSpaceAggregationOption": "Manual", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityAdminConfigurations_CreateOrUpdate", + "title": "Create manual-mode security admin configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserConfigurationDelete.json new file mode 100644 index 000000000000..72f340440fc7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserConfigurationDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "SecurityUserConfigurations_Delete", + "title": "Delete network manager security user configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserConfigurationGet.json new file mode 100644 index 000000000000..0c02090eccaf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserConfigurationGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "provisioningState": "Succeeded", + "resourceGuid": "f506e3ca-4d68-41f1-9099-b50bc2c1b198" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityUserConfigurations_Get", + "title": "Get security user configurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserConfigurationList.json new file mode 100644 index 000000000000..e1464e0a17c7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserConfigurationList.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "provisioningState": "Succeeded", + "resourceGuid": "f506e3ca-4d68-41f1-9099-b50bc2c1b198" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "SecurityUserConfigurations_List", + "title": "List security user configurations in a network manager" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserConfigurationPut.json new file mode 100644 index 000000000000..28789c482b5c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserConfigurationPut.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "securityUserConfiguration": { + "properties": { + "description": "A sample policy" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "provisioningState": "Succeeded", + "resourceGuid": "e74045ed-c817-48df-adb2-a06753ad4fff" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "provisioningState": "Succeeded", + "resourceGuid": "e74045ed-c817-48df-adb2-a06753ad4fff" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityUserConfigurations_CreateOrUpdate", + "title": "Create network manager security user configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleCollectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleCollectionDelete.json new file mode 100644 index 000000000000..62a732790b59 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleCollectionDelete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "SecurityUserRuleCollections_Delete", + "title": "Deletes a Security User Rule collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleCollectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleCollectionGet.json new file mode 100644 index 000000000000..31314a1b33e1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleCollectionGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample rule collection", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "4224a5e7-d273-43d4-9bb0-b38e9b937ded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityUserRuleCollections_Get", + "title": "Gets security user rule collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleCollectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleCollectionList.json new file mode 100644 index 000000000000..7450685f36c3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleCollectionList.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample rule collection", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "4224a5e7-d273-43d4-9bb0-b38e9b937ded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "SecurityUserRuleCollections_List", + "title": "List rule collections in a security configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleCollectionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleCollectionPut.json new file mode 100644 index 000000000000..3bfe93d613f8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleCollectionPut.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "securityUserRuleCollection": { + "properties": { + "description": "A sample policy", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample policy", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "4224a5e7-d273-43d4-9bb0-b38e9b937ded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityUserRuleCollections_CreateOrUpdate", + "title": "Create or Update a Security User Rule Collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleDelete.json new file mode 100644 index 000000000000..ae392e9584a0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleDelete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleUserRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "SecurityUserRules_Delete", + "title": "Delete a security user rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleGet.json new file mode 100644 index 000000000000..86f7dfb206d9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleGet.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleUserRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleUserRule", + "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", + "properties": { + "description": "Sample User Rule", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "provisioningState": "Succeeded", + "resourceGuid": "f930553b-f78d-48c5-9445-6cf86b85e615", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityUserRules_Get", + "title": "Gets a security user rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleList.json new file mode 100644 index 000000000000..0ca381c14390 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRuleList.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "SampleUserRule", + "type": "Microsoft.Network/networkManagers/securityConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkmanagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", + "properties": { + "description": "Sample User Rule", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "provisioningState": "Succeeded", + "resourceGuid": "f930553b-f78d-48c5-9445-6cf86b85e615", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "SecurityUserRules_List", + "title": "List security user rules" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRulePut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRulePut.json new file mode 100644 index 000000000000..4f367543a155 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerSecurityUserRulePut.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleUserRule", + "securityUserRule": { + "properties": { + "description": "Sample User Rule", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleUserRule", + "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/Policy1/ruleCollections/testRuleCollection/rules/SampleUserRule", + "properties": { + "description": "Sample User Rule", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "provisioningState": "Succeeded", + "resourceGuid": "f930553b-f78d-48c5-9445-6cf86b85e615", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "SampleUserRule", + "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", + "properties": { + "description": "Sample User Rule", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "provisioningState": "Succeeded", + "resourceGuid": "f930553b-f78d-48c5-9445-6cf86b85e615", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityUserRules_CreateOrUpdate", + "title": "Create a security user rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerStaticMemberDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerStaticMemberDelete.json new file mode 100644 index 000000000000..fe9b322f83e3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerStaticMemberDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkGroupName": "testNetworkGroup", + "networkManagerName": "TestNM", + "resourceGroupName": "SampleRG", + "staticMemberName": "testStaticMember", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "StaticMembersDelete", + "responses": { + "200": {}, + "204": {} + }, + "operationId": "StaticMembers_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerStaticMemberGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerStaticMemberGet.json new file mode 100644 index 000000000000..b5fb4612db25 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerStaticMemberGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkGroupName": "testNetworkGroup", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "staticMemberName": "testStaticMember", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "StaticMembersGet", + "responses": { + "200": { + "body": { + "name": "testStaticMember", + "type": "Microsoft.Network/networkManagers/networkGroups/staticMembers", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup/staticMembers/testStaticMember", + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "StaticMembers_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerStaticMemberList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerStaticMemberList.json new file mode 100644 index 000000000000..e76961700b1c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerStaticMemberList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkGroupName": "testNetworkGroup", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "StaticMembersList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup/staticMembers?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testStaticMember", + "type": "Microsoft.Network/networkManagers/networkGroups/staticMembers", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup/staticMembers/testStaticMember", + "properties": { + "provisioningState": "Succeeded", + "region": "useast2", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "StaticMembers_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerStaticMemberPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerStaticMemberPut.json new file mode 100644 index 000000000000..7177d35ea57c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkManagerStaticMemberPut.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkGroupName": "testNetworkGroup", + "networkManagerName": "testNetworkManager", + "parameters": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + } + }, + "resourceGroupName": "rg1", + "staticMemberName": "testStaticMember", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "StaticMemberPut", + "responses": { + "200": { + "body": { + "name": "testStaticMember", + "type": "Microsoft.Network/networkManagers/networkGroups/staticMembers", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup/staticMembers/testStaticMember", + "properties": { + "provisioningState": "Succeeded", + "region": "useast2", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + }, + "201": { + "body": { + "name": "testStaticMember", + "type": "Microsoft.Network/networkManagers/networkGroups/staticMembers", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup/staticMembers/testStaticMember", + "properties": { + "provisioningState": "Succeeded", + "region": "useast2", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "StaticMembers_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileCreateConfigOnly.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileCreateConfigOnly.json new file mode 100644 index 000000000000..f34b55a5f962 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileCreateConfigOnly.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkProfileName": "networkProfile1", + "parameters": { + "location": "westus", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "networkProfile1", + "type": "Microsoft.Network/networkProfiles", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "location": "westus", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [], + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf" + } + } + }, + "201": { + "body": { + "name": "networkProfile1", + "type": "Microsoft.Network/networkProfiles", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "location": "westus", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [], + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf" + } + } + } + }, + "operationId": "NetworkProfiles_CreateOrUpdate", + "title": "Create network profile defaults" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileDelete.json new file mode 100644 index 000000000000..86b0194406ae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkProfileName": "networkProfile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "NetworkProfiles_Delete", + "title": "Delete network profile" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileGetConfigOnly.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileGetConfigOnly.json new file mode 100644 index 000000000000..0beac4e2c3b5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileGetConfigOnly.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkProfileName": "networkProfile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "networkProfile1", + "type": "Microsoft.Network/networkProfiles", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "location": "centraluseuap", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + }, + { + "name": "ipconfigprofile2", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + }, + { + "name": "eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [], + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf" + } + } + } + }, + "operationId": "NetworkProfiles_Get", + "title": "Get network profile" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileGetWithContainerNic.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileGetWithContainerNic.json new file mode 100644 index 000000000000..6a9ae4c59ca0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileGetWithContainerNic.json @@ -0,0 +1,205 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkProfileName": "networkProfile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "networkProfile1", + "type": "Microsoft.Network/networkProfiles", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "location": "centraluseuap", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "properties": { + "containerNetworkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0" + } + ], + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + }, + { + "name": "ipconfigprofile2", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + }, + { + "name": "eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "properties": { + "containerNetworkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1" + } + ], + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [ + { + "name": "containerGroup1_eth0", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0", + "properties": { + "container": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1" + }, + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0" + }, + "ipConfigurations": [], + "provisioningState": "Succeeded" + } + }, + { + "name": "containerGroup1_eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1", + "properties": { + "container": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1" + }, + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1" + }, + "ipConfigurations": [], + "provisioningState": "Succeeded" + } + }, + { + "name": "containerGroup2_eth0", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0", + "properties": { + "container": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2" + }, + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0" + }, + "ipConfigurations": [], + "provisioningState": "Succeeded" + } + }, + { + "name": "containerGroup2_eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1", + "properties": { + "container": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2" + }, + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1" + }, + "ipConfigurations": [], + "provisioningState": "Succeeded" + } + }, + { + "name": "containerGroup3_eth0", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0", + "properties": { + "container": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3" + }, + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0" + }, + "ipConfigurations": [], + "provisioningState": "Succeeded" + } + }, + { + "name": "containerGroup3_eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1", + "properties": { + "container": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3" + }, + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1" + }, + "ipConfigurations": [], + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf" + } + } + } + }, + "operationId": "NetworkProfiles_Get", + "title": "Get network profile with container network interfaces" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileList.json new file mode 100644 index 000000000000..d7c5224690dd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileList.json @@ -0,0 +1,99 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "networkProfile1", + "type": "Microsoft.Network/networkProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "location": "centraluseuap", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + }, + { + "name": "ipconfigprofile2", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [], + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf" + } + }, + { + "name": "networkProfile2", + "type": "Microsoft.Network/networkProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2", + "location": "centraluseuap", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [] + } + } + ] + } + } + }, + "operationId": "NetworkProfiles_List", + "title": "List resource group network profiles" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileListAll.json new file mode 100644 index 000000000000..4617325e3caf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileListAll.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "networkProfile1", + "type": "Microsoft.Network/networkProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "location": "centraluseuap", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [], + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf" + } + }, + { + "name": "networkProfile2", + "type": "Microsoft.Network/networkProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2", + "location": "centraluseuap", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [] + } + } + ] + } + } + }, + "operationId": "NetworkProfiles_ListAll", + "title": "List all network profiles" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileUpdateTags.json new file mode 100644 index 000000000000..a6a161b19ff8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkProfileUpdateTags.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkProfileName": "test-np", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-np", + "type": "Microsoft.Network/networkProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np", + "location": "centraluseuap", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [], + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "NetworkProfiles_UpdateTags", + "title": "Update network profile tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupCreate.json new file mode 100644 index 000000000000..7b6e662787d9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupCreate.json @@ -0,0 +1,237 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "parameters": { + "location": "eastus" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "location": "eastus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "flushConnection": false, + "provisioningState": "Succeeded", + "securityRules": [] + } + } + }, + "201": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "location": "eastus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "flushConnection": false, + "provisioningState": "Succeeded", + "securityRules": [] + } + } + } + }, + "operationId": "NetworkSecurityGroups_CreateOrUpdate", + "title": "Create network security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupCreateWithRule.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupCreateWithRule.json new file mode 100644 index 000000000000..a6ebafaddb6a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupCreateWithRule.json @@ -0,0 +1,284 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "parameters": { + "location": "eastus", + "properties": { + "securityRules": [ + { + "name": "rule1", + "properties": { + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "80", + "direction": "Inbound", + "priority": 130, + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "location": "eastus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "provisioningState": "Succeeded", + "securityRules": [ + { + "name": "rule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "80", + "direction": "Inbound", + "priority": 130, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "location": "eastus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "provisioningState": "Succeeded", + "securityRules": [ + { + "name": "rule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "80", + "direction": "Inbound", + "priority": 130, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ] + } + } + } + }, + "operationId": "NetworkSecurityGroups_CreateOrUpdate", + "title": "Create network security group with rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupDelete.json new file mode 100644 index 000000000000..309120dff461 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupDelete.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" + } + }, + "204": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" + } + } + }, + "operationId": "NetworkSecurityGroups_Delete", + "title": "Delete network security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupGet.json new file mode 100644 index 000000000000..1ce1779deb86 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupGet.json @@ -0,0 +1,138 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "location": "westus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "provisioningState": "Succeeded", + "securityRules": [ + { + "name": "rule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "80", + "direction": "Inbound", + "priority": 130, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ] + } + } + } + }, + "operationId": "NetworkSecurityGroups_Get", + "title": "Get network security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupList.json new file mode 100644 index 000000000000..6af5c4cd3ecd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupList.json @@ -0,0 +1,233 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nsg1", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "location": "westus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "provisioningState": "Succeeded", + "securityRules": [] + } + }, + { + "name": "nsg3", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3", + "location": "westus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "provisioningState": "Succeeded", + "securityRules": [] + } + } + ] + } + } + }, + "operationId": "NetworkSecurityGroups_List", + "title": "List network security groups in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupListAll.json new file mode 100644 index 000000000000..e5deff964042 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupListAll.json @@ -0,0 +1,232 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nsg1", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "location": "westus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "provisioningState": "Succeeded", + "securityRules": [] + } + }, + { + "name": "nsg3", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3", + "location": "westus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "provisioningState": "Succeeded", + "securityRules": [] + } + } + ] + } + } + }, + "operationId": "NetworkSecurityGroups_ListAll", + "title": "List all network security groups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupRuleCreate.json new file mode 100644 index 000000000000..ad2af2230942 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupRuleCreate.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "resourceGroupName": "rg1", + "securityRuleName": "rule1", + "securityRuleParameters": { + "properties": { + "access": "Deny", + "destinationAddressPrefix": "11.0.0.0/8", + "destinationPortRange": "8080", + "direction": "Outbound", + "priority": 100, + "sourceAddressPrefix": "10.0.0.0/8", + "sourcePortRange": "*", + "protocol": "*" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "rule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "access": "Deny", + "destinationAddressPrefix": "11.0.0.0/8", + "destinationPortRange": "8080", + "direction": "Outbound", + "priority": 100, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "10.0.0.0/8", + "sourcePortRange": "*", + "protocol": "*" + } + } + }, + "201": { + "body": { + "name": "rule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "access": "Deny", + "destinationAddressPrefix": "11.0.0.0/8", + "destinationPortRange": "8080", + "direction": "Outbound", + "priority": 100, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "10.0.0.0/8", + "sourcePortRange": "*", + "protocol": "*" + } + } + } + }, + "operationId": "SecurityRules_CreateOrUpdate", + "title": "Create security rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupRuleDelete.json new file mode 100644 index 000000000000..ead5a344d7d6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupRuleDelete.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "resourceGroupName": "rg1", + "securityRuleName": "rule1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" + } + }, + "204": {} + }, + "operationId": "SecurityRules_Delete", + "title": "Delete network security rule from network security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupRuleGet.json new file mode 100644 index 000000000000..15851ff32bdc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupRuleGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "resourceGroupName": "rg1", + "securityRuleName": "rule1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "rule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "80", + "direction": "Inbound", + "priority": 130, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + } + }, + "operationId": "SecurityRules_Get", + "title": "Get network security rule in network security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupRuleList.json new file mode 100644 index 000000000000..3204db704142 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupRuleList.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "rule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "80", + "direction": "Inbound", + "priority": 130, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ] + } + } + }, + "operationId": "SecurityRules_List", + "title": "List network security rules in network security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupUpdateTags.json new file mode 100644 index 000000000000..79f9b01715f0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityGroupUpdateTags.json @@ -0,0 +1,132 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "location": "westus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "provisioningState": "Succeeded", + "securityRules": [] + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "NetworkSecurityGroups_UpdateTags", + "title": "Update network security group tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterDelete.json new file mode 100644 index 000000000000..47402e326d66 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "testNSP1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkSecurityPerimeterDelete", + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/networkSecurityPerimeterOperationStatuses/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "NetworkSecurityPerimeters_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterGet.json new file mode 100644 index 000000000000..461e7d9456f5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkSecurityPerimeterGet", + "responses": { + "200": { + "body": { + "name": "nsp1", + "type": "Microsoft.Network/networkSecurityPerimeters", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "NetworkSecurityPerimeters_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterList.json new file mode 100644 index 000000000000..aefd5be05006 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "List Network Security Perimeter", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testNSP1", + "type": "Microsoft.Network/networkSecurityPerimeters", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP1", + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + }, + "tags": {} + }, + { + "name": "testNSP2", + "type": "Microsoft.Network/networkSecurityPerimeters", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP2", + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeters_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterListAll.json new file mode 100644 index 000000000000..165dd750670c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterListAll.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkSecurityPerimetersList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testNSP1", + "type": "Microsoft.Network/networkSecurityPerimeters", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP1", + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + }, + "tags": {} + }, + { + "name": "testNSP2", + "type": "Microsoft.Network/networkSecurityPerimeters", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP2", + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeters_ListBySubscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterPatch.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterPatch.json new file mode 100644 index 000000000000..2994646b937f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterPatch.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "tags": { + "description": "nsp1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Patch Network Security Perimeter", + "responses": { + "200": { + "body": { + "name": "TestNetworkSecurityPerimeter", + "type": "Microsoft.Network/networkSecurityPerimeters", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter", + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + }, + "tags": { + "description": "nsp1" + } + } + } + }, + "operationId": "NetworkSecurityPerimeters_Patch" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterPut.json new file mode 100644 index 000000000000..e3c84a62c7dc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkSecurityPerimeterPut.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "location": "location1", + "properties": {} + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Put Network Security Perimeter", + "responses": { + "200": { + "body": { + "name": "TestNetworkSecurityPerimeter", + "type": "Microsoft.Network/networkSecurityPerimeters", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter", + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "TestNetworkSecurityPerimeter", + "type": "Microsoft.Network/networkSecurityPerimeters", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter", + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "NetworkSecurityPerimeters_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceBootDiagnostics.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceBootDiagnostics.json new file mode 100644 index 000000000000..feaad7c4fdc7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceBootDiagnostics.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "consoleScreenshotStorageSasUrl": "https://blobcortextesturl.blob.core.windows.net/nvaBootDiagContainer/consoleScreenshot.png?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b", + "instanceId": 0, + "serialConsoleStorageSasUrl": "https://blobcortextesturl.blob.core.windows.net/nvaBootDiagContainer/serialLogs.txt?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b" + } + }, + "responses": { + "200": { + "body": { + "instanceId": 0 + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_GetBootDiagnosticLogs", + "title": "Retrieve Boot Diagnostic logs for a given NVA VMSS instance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceConnectionDelete.json new file mode 100644 index 000000000000..eb8f86c2110b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceConnectionDelete.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connection1", + "networkVirtualApplianceName": "nva1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "description": "Request successful. Resource with the specified name does not exist." + } + }, + "operationId": "NetworkVirtualApplianceConnections_Delete", + "title": "NetworkVirtualApplianceConnectionDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceConnectionGet.json new file mode 100644 index 000000000000..086968ea3e05 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceConnectionGet.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connection1", + "networkVirtualApplianceName": "nva1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "connection1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/NetworkVirtualAppliances/nva1/NetworkVirtualApplianceConnections/connection1", + "properties": { + "name": "connection1", + "asn": 64512, + "bgpPeerAddress": [ + "169.254.16.13", + "169.254.16.14" + ], + "provisioningState": "Succeeded", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + } + ], + "labels": [ + "label1" + ] + } + }, + "tunnelIdentifier": 0 + } + } + } + }, + "operationId": "NetworkVirtualApplianceConnections_Get", + "title": "NetworkVirtualApplianceConnectionGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceConnectionList.json new file mode 100644 index 000000000000..5c9c6174b4e2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceConnectionList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "connection1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/NetworkVirtualAppliances/nva1/NetworkVirtualApplianceConnections/connection1", + "properties": { + "name": "connection1", + "asn": 64512, + "bgpPeerAddress": [ + "169.254.16.13", + "169.254.16.14" + ], + "provisioningState": "Succeeded", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + } + ], + "labels": [ + "label1" + ] + } + }, + "tunnelIdentifier": 0 + } + } + ] + } + } + }, + "operationId": "NetworkVirtualApplianceConnections_List", + "title": "NetworkVirtualApplianceConnectionList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceConnectionPut.json new file mode 100644 index 000000000000..a717b00052ce --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceConnectionPut.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "NetworkVirtualApplianceConnectionParameters": { + "properties": { + "name": "connection1", + "asn": 64512, + "bgpPeerAddress": [ + "169.254.16.13", + "169.254.16.14" + ], + "enableInternetSecurity": false, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + } + ], + "labels": [ + "label1" + ] + } + }, + "tunnelIdentifier": 0 + } + }, + "api-version": "2025-07-01", + "connectionName": "connection1", + "networkVirtualApplianceName": "nva1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "connection1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva1/networkVirtualApplianceConnections/connection1", + "properties": { + "name": "connection1", + "asn": 64512, + "bgpPeerAddress": [ + "169.254.16.13", + "169.254.16.14" + ], + "provisioningState": "Updating", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + } + ], + "labels": [ + "label1" + ] + } + }, + "tunnelIdentifier": 0 + } + } + }, + "201": { + "body": { + "name": "connection1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva1/networkVirtualApplianceConnections/connection1", + "properties": { + "name": "connection1", + "asn": 64512, + "bgpPeerAddress": [ + "169.254.16.13", + "169.254.16.14" + ], + "provisioningState": "Updating", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + } + ], + "labels": [ + "label1" + ] + } + }, + "tunnelIdentifier": 0 + } + } + } + }, + "operationId": "NetworkVirtualApplianceConnections_CreateOrUpdate", + "title": "NetworkVirtualApplianceConnectionPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceDelete.json new file mode 100644 index 000000000000..fa32dd936d72 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceDelete.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "description": "Request successful. Resource with the specified name does not exist." + } + }, + "operationId": "NetworkVirtualAppliances_Delete", + "title": "Delete NetworkVirtualAppliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceEmptyRestart.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceEmptyRestart.json new file mode 100644 index 000000000000..86748f28c0c4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceEmptyRestart.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "instanceIds": [] + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_Restart", + "title": "Restart All NetworkVirtualAppliance VMs in VM Scale Set" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceGet.json new file mode 100644 index 000000000000..5321bd9ab00c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceGet.json @@ -0,0 +1,190 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "additionalNics": [ + { + "name": "exrsdwan", + "hasPublicIp": true + } + ], + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/{{subscriptionId}}/resourceGroups/{{rg}}/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "publicnicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "publicnicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "privatenicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "privatenicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "12.1", + "vendor": "Cisco SDWAN" + }, + "privateIpAddress": "192.168.12.11", + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/networkVirtualApplianceConnections/connection1" + } + ], + "virtualApplianceNics": [ + { + "name": "publicnicipconfig", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "publicnicipconfig-2", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "privatenicipconfig", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "privatenicipconfig-2", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + }, + { + "name": "exrsdwan", + "instanceName": "nva_0", + "nicType": "AdditionalNic", + "privateIpAddress": "192.168.12.5", + "publicIpAddress": "4.231.25.19" + }, + { + "name": "publicnicipconfig", + "instanceName": "nva_1", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.6", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "publicnicipconfig-2", + "instanceName": "nva_1", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.7", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "privatenicipconfig", + "instanceName": "nva_1", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.8", + "publicIpAddress": "" + }, + { + "name": "privatenicipconfig-2", + "instanceName": "nva_1", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.9", + "publicIpAddress": "" + }, + { + "name": "exrsdwan", + "instanceName": "nva_1", + "nicType": "AdditionalNic", + "privateIpAddress": "192.168.12.10", + "publicIpAddress": "4.231.25.19" + } + ], + "virtualApplianceSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networtkVirtualAppliances/nva/virtualApplianceSites/site1" + } + ], + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "NetworkVirtualAppliances_Get", + "title": "Get NetworkVirtualAppliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceListByResourceGroup.json new file mode 100644 index 000000000000..616839b094e5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceListByResourceGroup.json @@ -0,0 +1,152 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "additionalNics": [ + { + "name": "exrsdwan", + "hasPublicIp": true + } + ], + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/{{subscriptionId}}/resourceGroups/{{rg}}/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "publicnicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "publicnicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "privatenicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "privatenicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "12.1", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "publicnicipconfig", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "publicnicipconfig-2", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "privatenicipconfig", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "privatenicipconfig-2", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + }, + { + "name": "exrsdwan", + "instanceName": "nva_0", + "nicType": "AdditionalNic", + "privateIpAddress": "10.1.113.4", + "publicIpAddress": "4.231.25.19" + } + ], + "virtualApplianceSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networtkVirtualAppliances/nva/virtualApplianceSites/site1" + } + ], + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "NetworkVirtualAppliances_ListByResourceGroup", + "title": "List all Network Virtual Appliance for a given resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceListBySubscription.json new file mode 100644 index 000000000000..251586f2b184 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceListBySubscription.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "additionalNics": [ + { + "name": "exrsdwan", + "hasPublicIp": true + } + ], + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/{{subscriptionId}}/resourceGroups/{{rg}}/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "publicnicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "publicnicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "privatenicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "privatenicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "12.1", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "publicnicipconfig", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "publicnicipconfig-2", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "privatenicipconfig", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "privatenicipconfig-2", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + }, + { + "name": "exrsdwan", + "instanceName": "nva_0", + "nicType": "AdditionalNic", + "privateIpAddress": "10.1.113.4", + "publicIpAddress": "4.231.25.19" + } + ], + "virtualApplianceSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networtkVirtualAppliances/nva/virtualApplianceSites/site1" + } + ], + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "NetworkVirtualAppliances_List", + "title": "List all Network Virtual Appliances for a given subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualAppliancePut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualAppliancePut.json new file mode 100644 index 000000000000..be39cb6e5524 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualAppliancePut.json @@ -0,0 +1,334 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "additionalNics": [ + { + "name": "exrsdwan", + "hasPublicIp": true + } + ], + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/{{subscriptionId}}/resourceGroups/{{rg}}/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "publicnicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "publicnicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "privatenicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "privatenicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "12.1", + "vendor": "Cisco SDWAN" + }, + "virtualApplianceAsn": 10000, + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "additionalNics": [ + { + "name": "exrsdwan", + "hasPublicIp": true + } + ], + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/{{subscriptionId}}/resourceGroups/{{rg}}/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "publicnicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "publicnicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "privatenicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "privatenicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "12.1", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "publicnicipconfig", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "publicnicipconfig-2", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "privatenicipconfig", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "privatenicipconfig-2", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + }, + { + "name": "exrsdwan", + "instanceName": "nva_0", + "nicType": "AdditionalNic", + "privateIpAddress": "10.1.113.4", + "publicIpAddress": "4.231.25.19" + } + ], + "virtualApplianceSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networtkVirtualAppliances/nva/virtualApplianceSites/site1" + } + ], + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "additionalNics": [ + { + "name": "exrsdwan", + "hasPublicIp": true + } + ], + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/{{subscriptionId}}/resourceGroups/{{rg}}/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "publicnicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "publicnicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "privatenicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "privatenicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "12.1", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Updating", + "virtualApplianceAsn": 10000, + "virtualApplianceSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networtkVirtualAppliances/nva/virtualApplianceSites/site1" + } + ], + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_CreateOrUpdate", + "title": "Create NetworkVirtualAppliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSaaSPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSaaSPut.json new file mode 100644 index 000000000000..7dad997fa0b5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSaaSPut.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "location": "West US", + "properties": { + "delegation": { + "serviceName": "PaloAltoNetworks.Cloudngfw/firewalls" + }, + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "location": "West US", + "properties": { + "delegation": { + "provisioningState": "Succeeded", + "serviceName": "PaloAltoNetworks.Cloudngfw/firewalls" + }, + "deploymentType": "PartnerManaged", + "partnerManagedResource": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Lifter/firewalls/paloAltoFirewall", + "internalLoadBalancerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/trustILB", + "standardLoadBalancerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/trustSLB" + }, + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "delegation": { + "provisioningState": "Succeeded", + "serviceName": "PaloAltoNetworks.Cloudngfw/firewalls" + }, + "deploymentType": "PartnerManaged", + "partnerManagedResource": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Lifter/firewalls/paloAltoFirewall", + "internalLoadBalancerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/trustILB", + "standardLoadBalancerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/trustSLB" + }, + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "NetworkVirtualAppliances_CreateOrUpdate", + "title": "Create SaaS NetworkVirtualAppliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSiteDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSiteDelete.json new file mode 100644 index 000000000000..345ad2fd952b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSiteDelete.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "siteName": "site1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "description": "Request successful. Resource with the specified name does not exist." + } + }, + "operationId": "VirtualApplianceSites_Delete", + "title": "Delete Network Virtual Appliance Site" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSiteGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSiteGet.json new file mode 100644 index 000000000000..cde99f7c065c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSiteGet.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "siteName": "site1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "site1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/virtualApplianceSites/site1", + "properties": { + "addressPrefix": "192.168.1.0/24", + "o365Policy": { + "breakOutCategories": { + "default": true, + "allow": true, + "optimize": true + } + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "VirtualApplianceSites_Get", + "title": "GetNetwork Virtual Appliance Site" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSiteList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSiteList.json new file mode 100644 index 000000000000..4e657297f172 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSiteList.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "siteName": "site1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "site1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/virtualApplianceSites/site1", + "properties": { + "addressPrefix": "192.168.1.0/24", + "o365Policy": { + "breakOutCategories": { + "default": true, + "allow": true, + "optimize": true + } + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "VirtualApplianceSites_List", + "title": "List all Network Virtual Appliance sites for a given Network Virtual Appliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSitePut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSitePut.json new file mode 100644 index 000000000000..7d76c6e5a8c9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSitePut.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "properties": { + "addressPrefix": "192.168.1.0/24", + "o365Policy": { + "breakOutCategories": { + "default": true, + "allow": true, + "optimize": true + } + } + } + }, + "resourceGroupName": "rg1", + "siteName": "site1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "site1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/virtualApplianceSites/site1", + "properties": { + "addressPrefix": "192.168.1.0/24", + "o365Policy": { + "breakOutCategories": { + "default": true, + "allow": true, + "optimize": true + } + }, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "site1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/virtualApplianceSites/site1", + "properties": { + "addressPrefix": "192.168.1.0/24", + "o365Policy": { + "breakOutCategories": { + "default": true, + "allow": true, + "optimize": true + } + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "VirtualApplianceSites_CreateOrUpdate", + "title": "Create Network Virtual Appliance Site" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSkuGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSkuGet.json new file mode 100644 index 000000000000..28501b073825 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSkuGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "skuName": "ciscoSdwan", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ciscoSdwan", + "type": "Microsoft.Network/networkVirtualApplianceSkus", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualApplianceSkus/ciscoSdwan", + "properties": { + "availableScaleUnits": [ + { + "instanceCount": 2, + "scaleUnit": "1" + }, + { + "instanceCount": 2, + "scaleUnit": "2" + } + ], + "availableVersions": [ + "11.12" + ], + "vendor": "Cisco" + } + } + } + }, + "operationId": "VirtualApplianceSkus_Get", + "title": "NetworkVirtualApplianceSkuGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSkuList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSkuList.json new file mode 100644 index 000000000000..9df17bd6c852 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSkuList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ciscoSdwan", + "type": "Microsoft.Network/networkVirtualApplianceSkus", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualApplianceSkus/ciscoSdwan", + "properties": { + "availableScaleUnits": [ + { + "instanceCount": 2, + "scaleUnit": "1" + }, + { + "instanceCount": 2, + "scaleUnit": "2" + } + ], + "availableVersions": [ + "11.12" + ], + "vendor": "Cisco" + } + } + ] + } + } + }, + "operationId": "VirtualApplianceSkus_List", + "title": "NetworkVirtualApplianceSkuListResult" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSpecificReimage.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSpecificReimage.json new file mode 100644 index 000000000000..822fa4257f29 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSpecificReimage.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "instanceIds": [ + "0" + ], + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "instanceIds": [ + "0" + ] + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_Reimage", + "title": "Reimages Specific NetworkVirtualAppliance VMs in VM Scale Set" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSpecificRestart.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSpecificRestart.json new file mode 100644 index 000000000000..11617c6785cd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceSpecificRestart.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "instanceIds": [ + "0", + "1" + ], + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "instanceIds": [ + "0", + "1" + ] + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_Restart", + "title": "Restart Specific NetworkVirtualAppliance VMs in VM Scale Set" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceUpdateTags.json new file mode 100644 index 000000000000..f8b650ff5a4b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceUpdateTags.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "12.1", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "managementNic", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "privateNic-1", + "privateIpAddress": "192.168.12.2" + } + ], + "virtualApplianceSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networtkVirtualAppliances/nva/virtualApplianceSites/site1" + } + ], + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "NetworkVirtualAppliances_UpdateTags", + "title": "Update NetworkVirtualAppliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceVnetAdditionalPrivatePut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceVnetAdditionalPrivatePut.json new file mode 100644 index 000000000000..f5a0d4020210 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceVnetAdditionalPrivatePut.json @@ -0,0 +1,250 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + }, + { + "name": "myAdditionalInterface", + "type": [ + "AdditionalPrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet3" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + }, + { + "name": "myAdditionalInterface", + "type": [ + "AdditionalPrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet3" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "privateIpAddress": "192.168.12.7", + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "managementInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "managementInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "dataInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "dataInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + }, + { + "name": "myAdditionalInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.5", + "publicIpAddress": "" + }, + { + "name": "myAdditionalInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.6", + "publicIpAddress": "" + } + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + }, + { + "name": "myAdditionalInterface", + "type": [ + "AdditionalPrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet3" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Updating", + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_CreateOrUpdate", + "title": "Create NVA in VNet with PrivateNic, PublicNic & AdditionalPrivateNic" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceVnetAdditionalPublicPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceVnetAdditionalPublicPut.json new file mode 100644 index 000000000000..f5e87c141397 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceVnetAdditionalPublicPut.json @@ -0,0 +1,250 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + }, + { + "name": "myAdditionalPublicInterface", + "type": [ + "AdditionalPublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet3" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + }, + { + "name": "myAdditionalPublicInterface", + "type": [ + "AdditionalPublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet3" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "privateIpAddress": "192.168.12.7", + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "managementInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "managementInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "dataInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "dataInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + }, + { + "name": "myAdditionalPublicInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.5", + "publicIpAddress": "40.30.2.4" + }, + { + "name": "myAdditionalPublicInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.6", + "publicIpAddress": "40.30.2.5" + } + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + }, + { + "name": "myAdditionalPublicInterface", + "type": [ + "AdditionalPublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet3" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Updating", + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_CreateOrUpdate", + "title": "Create NVA in VNet with PrivateNic, PublicNic & AdditionalPublicNic" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceVnetBasicPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceVnetBasicPut.json new file mode 100644 index 000000000000..008c0371c222 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceVnetBasicPut.json @@ -0,0 +1,209 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "privateIpAddress": "192.168.12.5", + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "managementInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "managementInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "dataInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "dataInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + } + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Updating", + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_CreateOrUpdate", + "title": "Create NVA in VNet with PrivateNic & PublicNic" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceVnetIngressPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceVnetIngressPut.json new file mode 100644 index 000000000000..38c09f712a06 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceVnetIngressPut.json @@ -0,0 +1,224 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "privateIpAddress": "192.168.12.5", + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "managementInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "managementInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "dataInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "dataInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + } + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Updating", + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_CreateOrUpdate", + "title": "Create NVA in VNet with PrivateNic & PublicNic, including Internet-Ingress" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceVnetNetworkProfilePut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceVnetNetworkProfilePut.json new file mode 100644 index 000000000000..aa4e7f665216 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkVirtualApplianceVnetNetworkProfilePut.json @@ -0,0 +1,363 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "myPrimaryPublicIpConfig", + "properties": { + "primary": true + } + }, + { + "name": "myNonPrimaryPublicIpConfig", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "myPrimaryPrivateIpConfig", + "properties": { + "primary": true + } + }, + { + "name": "myNonPrimaryPrivateIpConfig", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "myPrimaryPublicIpConfig", + "properties": { + "primary": true + } + }, + { + "name": "myNonPrimaryPublicIpConfig", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "myPrimaryPrivateIpConfig", + "properties": { + "primary": true + } + }, + { + "name": "myNonPrimaryPrivateIpConfig", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "privateIpAddress": "192.168.12.9", + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "myPrimaryPublicIpConfig", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "myNonPrimaryPublicIpConfig", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "myPrimaryPrivateIpConfig", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "myNonPrimaryPrivateIpConfig", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + }, + { + "name": "myPrimaryPublicIpConfig", + "instanceName": "nva_1", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.5", + "publicIpAddress": "40.30.2.4" + }, + { + "name": "myNonPrimaryPublicIpConfig", + "instanceName": "nva_1", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.6", + "publicIpAddress": "40.30.2.5" + }, + { + "name": "myPrimaryPrivateIpConfig", + "instanceName": "nva_1", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.7", + "publicIpAddress": "" + }, + { + "name": "myNonPrimaryPrivateIpConfig", + "instanceName": "nva_1", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.8", + "publicIpAddress": "" + } + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "myPrimaryPublicIpConfig", + "properties": { + "primary": true + } + }, + { + "name": "myNonPrimaryPublicIpConfig", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "myPrimaryPrivateIpConfig", + "properties": { + "primary": true + } + }, + { + "name": "myNonPrimaryPrivateIpConfig", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Updating", + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_CreateOrUpdate", + "title": "Create NVA in VNet with PrivateNic & PublicNic, including NetworkProfile" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherAvailableProvidersListGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherAvailableProvidersListGet.json new file mode 100644 index 000000000000..a8208f3a7da7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherAvailableProvidersListGet.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "azureLocations": [ + "West US" + ], + "city": "seattle", + "country": "United States", + "state": "washington" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "countries": [ + { + "countryName": "United States", + "states": [ + { + "cities": [ + { + "cityName": "seattle", + "providers": [ + "Comcast Cable Communications, Inc. - ASN 7922", + "Comcast Cable Communications, LLC - ASN 7922", + "Level 3 Communications, Inc. (GBLX) - ASN 3549", + "Qwest Communications Company, LLC - ASN 209" + ] + } + ], + "stateName": "washington" + } + ] + } + ] + } + }, + "202": { + "body": { + "countries": [ + { + "countryName": "United States", + "states": [ + { + "cities": [ + { + "cityName": "seattle", + "providers": [ + "Comcast Cable Communications, Inc. - ASN 7922", + "Comcast Cable Communications, LLC - ASN 7922", + "Level 3 Communications, Inc. (GBLX) - ASN 3549", + "Qwest Communications Company, LLC - ASN 209" + ] + } + ], + "stateName": "washington" + } + ] + } + ] + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/availableProvidersList?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_ListAvailableProviders", + "title": "Get Available Providers List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherAzureReachabilityReportGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherAzureReachabilityReportGet.json new file mode 100644 index 000000000000..b64411c533cd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherAzureReachabilityReportGet.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "azureLocations": [ + "West US" + ], + "endTime": "2017-09-10T00:00:00Z", + "providerLocation": { + "country": "United States", + "state": "washington" + }, + "providers": [ + "Frontier Communications of America, Inc. - ASN 5650" + ], + "startTime": "2017-09-07T00:00:00Z" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "aggregationLevel": "State", + "providerLocation": { + "country": "United States", + "state": "washington" + }, + "reachabilityReport": [ + { + "azureLocation": "West US", + "latencies": [ + { + "score": 94, + "timeStamp": "2017-09-07T00:00:00Z" + }, + { + "score": 94, + "timeStamp": "2017-09-08T00:00:00Z" + }, + { + "score": 94, + "timeStamp": "2017-09-09T00:00:00Z" + } + ], + "provider": "Frontier Communications of America, Inc. - ASN 5650" + } + ] + } + }, + "202": { + "body": { + "aggregationLevel": "State", + "providerLocation": { + "country": "United States", + "state": "washington" + }, + "reachabilityReport": [ + { + "azureLocation": "West US", + "latencies": [ + { + "score": 94, + "timeStamp": "2017-09-07T00:00:00Z" + }, + { + "score": 94, + "timeStamp": "2017-09-08T00:00:00Z" + }, + { + "score": 94, + "timeStamp": "2017-09-09T00:00:00Z" + } + ], + "provider": "Frontier Communications of America, Inc. - ASN 5650" + } + ] + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/azureReachabilityReport?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_GetAzureReachabilityReport", + "title": "Get Azure Reachability Report" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorCreate.json new file mode 100644 index 000000000000..9e9e922e44b3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorCreate.json @@ -0,0 +1,144 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionMonitorName": "cm1", + "networkWatcherName": "nw1", + "parameters": { + "location": "eastus", + "properties": { + "endpoints": [ + { + "name": "source", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1" + }, + { + "name": "destination", + "address": "bing.com" + } + ], + "testConfigurations": [ + { + "name": "tcp", + "tcpConfiguration": { + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "tg", + "destinations": [ + "destination" + ], + "sources": [ + "source" + ], + "testConfigurations": [ + "tcp" + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "eastus", + "properties": { + "endpoints": [ + { + "name": "source", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1" + }, + { + "name": "destination", + "address": "bing.com" + } + ], + "provisioningState": "Updating", + "testConfigurations": [ + { + "name": "tcp", + "tcpConfiguration": { + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "tg", + "destinations": [ + "destination" + ], + "sources": [ + "source" + ], + "testConfigurations": [ + "tcp" + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "eastus", + "properties": { + "endpoints": [ + { + "name": "source", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1" + }, + { + "name": "destination", + "address": "bing.com" + } + ], + "provisioningState": "Succeeded", + "testConfigurations": [ + { + "name": "tcp", + "tcpConfiguration": { + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "tg", + "destinations": [ + "destination" + ], + "sources": [ + "source" + ], + "testConfigurations": [ + "tcp" + ] + } + ] + } + } + } + }, + "operationId": "ConnectionMonitors_CreateOrUpdate", + "title": "Create connection monitor V1" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorCreateWithArcNetwork.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorCreateWithArcNetwork.json new file mode 100644 index 000000000000..9474f1f5cb3b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorCreateWithArcNetwork.json @@ -0,0 +1,217 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionMonitorName": "cm1", + "location": "centraluseuap", + "networkWatcherName": "nw1", + "parameters": { + "properties": { + "endpoints": [ + { + "name": "vm1", + "type": "AzureVM", + "resourceId": "/subscriptions/9cece3e3-0f7d-47ca-af0e-9772773f90b7/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/TESTVM" + }, + { + "name": "bing", + "type": "ExternalAddress", + "address": "bing.com" + }, + { + "name": "google", + "type": "ExternalAddress", + "address": "google.com" + }, + { + "name": "ArcBasedNetwork", + "type": "AzureArcNetwork", + "locationDetails": { + "region": "eastus" + }, + "scope": { + "include": [ + { + "address": "172.21.128.0/20" + } + ] + }, + "subscriptionId": "9cece3e3-0f7d-47ca-af0e-9772773f90b7" + } + ], + "outputs": [], + "testConfigurations": [ + { + "name": "testConfig1", + "tcpConfiguration": { + "disableTraceRoute": false, + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "test1", + "destinations": [ + "bing", + "google" + ], + "disable": false, + "sources": [ + "vm1", + "ArcBasedNetwork" + ], + "testConfigurations": [ + "testConfig1" + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "centraluseuap", + "properties": { + "endpoints": [ + { + "name": "vm1", + "resourceId": "/subscriptions/9cece3e3-0f7d-47ca-af0e-9772773f90b7/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/TESTVM" + }, + { + "name": "ArcBasedNetwork", + "type": "AzureArcNetwork", + "locationDetails": { + "region": "eastus" + }, + "scope": { + "include": [ + { + "address": "172.21.128.0/20" + } + ] + }, + "subscriptionId": "9cece3e3-0f7d-47ca-af0e-9772773f90b7" + }, + { + "name": "bing", + "address": "bing.com" + }, + { + "name": "google", + "address": "google.com" + } + ], + "outputs": [], + "testConfigurations": [ + { + "name": "testConfig1", + "tcpConfiguration": { + "disableTraceRoute": false, + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "test1", + "destinations": [ + "bing", + "google" + ], + "disable": false, + "sources": [ + "vm1", + "ArcBasedNetwork" + ], + "testConfigurations": [ + "testConfig1" + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "centraluseuap", + "properties": { + "endpoints": [ + { + "name": "vm1", + "resourceId": "/subscriptions/9cece3e3-0f7d-47ca-af0e-9772773f90b7/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/TESTVM" + }, + { + "name": "ArcBasedNetwork", + "type": "AzureArcNetwork", + "locationDetails": { + "region": "eastus" + }, + "scope": { + "include": [ + { + "address": "172.21.128.0/20" + } + ] + }, + "subscriptionId": "9cece3e3-0f7d-47ca-af0e-9772773f90b7" + }, + { + "name": "bing", + "address": "bing.com" + }, + { + "name": "google", + "address": "google.com" + } + ], + "outputs": [], + "testConfigurations": [ + { + "name": "testConfig1", + "tcpConfiguration": { + "disableTraceRoute": false, + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "test1", + "destinations": [ + "bing", + "google" + ], + "disable": false, + "sources": [ + "vm1", + "ArcBasedNetwork" + ], + "testConfigurations": [ + "testConfig1" + ] + } + ] + } + } + } + }, + "operationId": "ConnectionMonitors_CreateOrUpdate", + "title": "Create connection monitor with Arc Network" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorDelete.json new file mode 100644 index 000000000000..b76b4fb843f1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionMonitorName": "cm1", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/operationresults/000000000000000000000==?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ConnectionMonitors_Delete", + "title": "Delete connection monitor" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorGet.json new file mode 100644 index 000000000000..431401e7d68a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorGet.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionMonitorName": "cm1", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "eastus", + "properties": { + "endpoints": [ + { + "name": "source", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1" + }, + { + "name": "destination", + "address": "bing.com" + } + ], + "provisioningState": "Succeeded", + "testConfigurations": [ + { + "name": "tcp", + "tcpConfiguration": { + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "tg", + "destinations": [ + "destination" + ], + "sources": [ + "source" + ], + "testConfigurations": [ + "tcp" + ] + } + ] + } + } + } + }, + "operationId": "ConnectionMonitors_Get", + "title": "Get connection monitor" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorList.json new file mode 100644 index 000000000000..9ebd0862ab24 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorList.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "eastus", + "properties": { + "endpoints": [ + { + "name": "source", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1" + }, + { + "name": "destination", + "address": "bing.com" + } + ], + "provisioningState": "Succeeded", + "testConfigurations": [ + { + "name": "tcp", + "tcpConfiguration": { + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "tg", + "destinations": [ + "destination" + ], + "sources": [ + "source" + ], + "testConfigurations": [ + "tcp" + ] + } + ] + } + }, + { + "name": "cm2", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2", + "location": "eastus", + "properties": { + "endpoints": [ + { + "name": "source", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct2" + }, + { + "name": "destination", + "address": "google.com" + } + ], + "provisioningState": "Succeeded", + "testConfigurations": [ + { + "name": "tcp", + "tcpConfiguration": { + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "tg", + "destinations": [ + "destination" + ], + "sources": [ + "source" + ], + "testConfigurations": [ + "tcp" + ] + } + ] + } + } + ] + } + } + }, + "operationId": "ConnectionMonitors_List", + "title": "List connection monitors" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorStop.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorStop.json new file mode 100644 index 000000000000..ad090e7c7d1d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorStop.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionMonitorName": "cm1", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/operationresults/000000000000000000000==?api-version=2025-07-01" + } + } + }, + "operationId": "ConnectionMonitors_Stop", + "title": "Stop connection monitor" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorUpdateTags.json new file mode 100644 index 000000000000..6b883acf6538 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorUpdateTags.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionMonitorName": "cm1", + "networkWatcherName": "nw1", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/`/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "westcentralus", + "properties": { + "autoStart": true, + "destination": { + "address": "bing.com", + "port": 80 + }, + "monitoringIntervalInSeconds": 60, + "monitoringStatus": "Running", + "provisioningState": "Succeeded", + "source": { + "port": 0, + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "startTime": "2019-09-04T02:48:10.6797393Z" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "ConnectionMonitors_UpdateTags", + "title": "Update connection monitor tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorV2Create.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorV2Create.json new file mode 100644 index 000000000000..904081d08cbb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectionMonitorV2Create.json @@ -0,0 +1,208 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionMonitorName": "cm1", + "location": "centraluseuap", + "networkWatcherName": "nw1", + "parameters": { + "properties": { + "endpoints": [ + { + "name": "vm1", + "resourceId": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1" + }, + { + "name": "CanaryWorkspaceVamshi", + "filter": { + "type": "Include", + "items": [ + { + "type": "AgentAddress", + "address": "npmuser" + } + ] + }, + "resourceId": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace" + }, + { + "name": "bing", + "address": "bing.com" + }, + { + "name": "google", + "address": "google.com" + } + ], + "outputs": [], + "testConfigurations": [ + { + "name": "testConfig1", + "tcpConfiguration": { + "disableTraceRoute": false, + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "test1", + "destinations": [ + "bing", + "google" + ], + "disable": false, + "sources": [ + "vm1", + "CanaryWorkspaceVamshi" + ], + "testConfigurations": [ + "testConfig1" + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "centraluseuap", + "properties": { + "endpoints": [ + { + "name": "vm1", + "resourceId": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1" + }, + { + "name": "CanaryWorkspaceVamshi", + "filter": { + "type": "Include", + "items": [ + { + "type": "AgentAddress", + "address": "npmuser" + } + ] + }, + "resourceId": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace" + }, + { + "name": "bing", + "address": "bing.com" + }, + { + "name": "google", + "address": "google.com" + } + ], + "outputs": [], + "testConfigurations": [ + { + "name": "testConfig1", + "tcpConfiguration": { + "disableTraceRoute": false, + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "test1", + "destinations": [ + "bing", + "google" + ], + "disable": false, + "sources": [ + "vm1", + "CanaryWorkspaceVamshi" + ], + "testConfigurations": [ + "testConfig1" + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "centraluseuap", + "properties": { + "endpoints": [ + { + "name": "vm1", + "resourceId": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1" + }, + { + "name": "CanaryWorkspaceVamshi", + "filter": { + "type": "Include", + "items": [ + { + "type": "AgentAddress", + "address": "npmuser" + } + ] + }, + "resourceId": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace" + }, + { + "name": "bing", + "address": "bing.com" + }, + { + "name": "google", + "address": "google.com" + } + ], + "outputs": [], + "testConfigurations": [ + { + "name": "testConfig1", + "tcpConfiguration": { + "disableTraceRoute": false, + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "test1", + "destinations": [ + "bing", + "google" + ], + "disable": false, + "sources": [ + "vm1", + "CanaryWorkspaceVamshi" + ], + "testConfigurations": [ + "testConfig1" + ] + } + ] + } + } + } + }, + "operationId": "ConnectionMonitors_CreateOrUpdate", + "title": "Create connection monitor V2" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectivityCheck.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectivityCheck.json new file mode 100644 index 000000000000..ba659307543d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherConnectivityCheck.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "destination": { + "address": "192.168.100.4", + "port": 3389 + }, + "preferredIPVersion": "IPv4", + "source": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "avgLatencyInMs": 1, + "connectionStatus": "Connected", + "hops": [ + { + "type": "Source", + "address": "10.1.1.4", + "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e", + "issues": [], + "nextHopIds": [ + "75c8d819-b208-4584-a311-1aa45ce753f9" + ], + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1" + }, + { + "type": "VirtualNetwork", + "address": "192.168.100.4", + "id": "75c8d819-b208-4584-a311-1aa45ce753f9", + "issues": [], + "nextHopIds": [], + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1" + } + ], + "maxLatencyInMs": 4, + "minLatencyInMs": 1, + "probesFailed": 0, + "probesSent": 100 + } + }, + "202": { + "body": { + "avgLatencyInMs": 1, + "connectionStatus": "Connected", + "hops": [ + { + "type": "Source", + "address": "10.1.1.4", + "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e", + "issues": [], + "nextHopIds": [ + "75c8d819-b208-4584-a311-1aa45ce753f9" + ], + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1" + }, + { + "type": "VirtualNetwork", + "address": "192.168.100.4", + "id": "75c8d819-b208-4584-a311-1aa45ce753f9", + "issues": [], + "nextHopIds": [], + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1" + } + ], + "maxLatencyInMs": 4, + "minLatencyInMs": 1, + "probesFailed": 0, + "probesSent": 100 + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectivityCheck?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_CheckConnectivity", + "title": "Check connectivity" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherCreate.json new file mode 100644 index 000000000000..b450a4e0f855 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherCreate.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "location": "eastus", + "properties": {} + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nw1", + "type": "Microsoft.Network/networkWatchers", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "nw1", + "type": "Microsoft.Network/networkWatchers", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": {} + } + } + }, + "operationId": "NetworkWatchers_CreateOrUpdate", + "title": "Create network watcher" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherDelete.json new file mode 100644 index 000000000000..bff3ee62d96f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherDelete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/operationresults/000000000000000000000==?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "NetworkWatchers_Delete", + "title": "Delete network watcher" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogConfigure.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogConfigure.json new file mode 100644 index 000000000000..1a470e34ba79 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogConfigure.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "enabled": true, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1" + }, + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "properties": { + "enabled": true, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1" + }, + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + } + }, + "202": { + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "properties": { + "enabled": true, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1" + }, + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/configureFlowLog?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_SetFlowLogConfiguration", + "title": "Configure flow log" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogCreate.json new file mode 100644 index 000000000000..5e10e9cc9397 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogCreate.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "flowLogName": "fl", + "networkWatcherName": "nw1", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "location": "centraluseuap", + "properties": { + "format": { + "type": "JSON", + "version": 1 + }, + "enabled": true, + "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "recordTypes": "B,E", + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "Microsoft.Networkdesmond-rgdesmondcentral-nsg", + "type": "Microsoft.Network/networkWatchers/FlowLogs", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw/FlowLogs/fl", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "location": "centraluseuap", + "properties": { + "format": { + "type": "JSON", + "version": 1 + }, + "enabled": true, + "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "flowAnalyticsConfiguration": {}, + "provisioningState": "Updating", + "recordTypes": "B,E", + "retentionPolicy": { + "days": 0, + "enabled": false + }, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe", + "targetResourceGuid": "00000000-0000-0000-0000-000000000000", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg" + } + } + }, + "201": { + "body": { + "name": "Microsoft.Networkdesmond-rgdesmondcentral-nsg", + "type": "Microsoft.Network/networkWatchers/FlowLogs", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw/FlowLogs/fl", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "location": "centraluseuap", + "properties": { + "format": { + "type": "JSON", + "version": 1 + }, + "enabled": true, + "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "flowAnalyticsConfiguration": {}, + "provisioningState": "Succeeded", + "recordTypes": "B,E", + "retentionPolicy": { + "days": 0, + "enabled": false + }, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe", + "targetResourceGuid": "00000000-0000-0000-0000-000000000000", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg" + } + } + } + }, + "operationId": "FlowLogs_CreateOrUpdate", + "title": "Create or update flow log" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogDelete.json new file mode 100644 index 000000000000..028db8edb539 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "flowLogName": "fl", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/operationresults/000000000000000000000==?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "FlowLogs_Delete", + "title": "Delete flow log" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogGet.json new file mode 100644 index 000000000000..c1c0a48df32a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogGet.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "flowLogName": "flowLog1", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "flowLog1", + "type": "Microsoft.Network/networkWatchers/FlowLogs", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/тц1/FlowLogs/flowLog1", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "location": "centraluseuap", + "properties": { + "format": { + "type": "JSON", + "version": 2 + }, + "enabled": true, + "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": false, + "trafficAnalyticsInterval": 60, + "workspaceId": "-", + "workspaceRegion": "-" + } + }, + "provisioningState": "Succeeded", + "recordTypes": "B,E", + "retentionPolicy": { + "days": 0, + "enabled": false + }, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/wzstorage002", + "targetResourceGuid": "00000000-0000-0000-0000-000000000000", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Network/networkSecurityGroups/vm5-nsg" + } + } + } + }, + "operationId": "FlowLogs_Get", + "title": "Get flow log" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogList.json new file mode 100644 index 000000000000..0eb094e9b99e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogList.json @@ -0,0 +1,93 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "flowLog1", + "type": "Microsoft.Network/networkWatchers/FlowLogs", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/тц1/FlowLogs/flowLog1", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "location": "centraluseuap", + "properties": { + "format": { + "type": "JSON", + "version": 2 + }, + "enabled": true, + "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": false, + "trafficAnalyticsInterval": 60, + "workspaceId": "-", + "workspaceRegion": "-" + } + }, + "provisioningState": "Succeeded", + "recordTypes": "B,E", + "retentionPolicy": { + "days": 0, + "enabled": false + }, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/wzstorage002", + "targetResourceGuid": "00000000-0000-0000-0000-000000000000", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Network/networkSecurityGroups/vm5-nsg" + } + }, + { + "name": "flowLog2", + "type": "Microsoft.Network/networkWatchers/FlowLogs", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centraluseuap/FlowLogs/flowLog2", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "location": "centraluseuap", + "properties": { + "format": { + "type": "JSON", + "version": 2 + }, + "enabled": true, + "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "flowAnalyticsConfiguration": {}, + "provisioningState": "Succeeded", + "recordTypes": "B,E", + "retentionPolicy": { + "days": 0, + "enabled": false + }, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/iraflowlogtest2diag", + "targetResourceGuid": "00000000-0000-0000-0000-000000000000", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Network/networkSecurityGroups/DSCP-test-vm1-nsg" + } + } + ] + } + } + }, + "operationId": "FlowLogs_List", + "title": "List connection monitors" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogStatusQuery.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogStatusQuery.json new file mode 100644 index 000000000000..ea7bfc3003c2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogStatusQuery.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "properties": { + "enabled": true, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1" + }, + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + } + }, + "202": { + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "properties": { + "enabled": true, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1" + }, + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/queryFlowLogStatus?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_GetFlowLogStatus", + "title": "Get flow log status" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogUpdateTags.json new file mode 100644 index 000000000000..5d481dcc5950 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherFlowLogUpdateTags.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "flowLogName": "fl", + "networkWatcherName": "nw", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "Microsoft.Networkdesmond-rgdesmondcentral-nsg", + "type": "Microsoft.Network/networkWatchers/FlowLogs", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw/FlowLogs/fl", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "location": "centralus", + "properties": { + "format": { + "type": "JSON", + "version": 1 + }, + "enabled": true, + "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "flowAnalyticsConfiguration": {}, + "provisioningState": "Succeeded", + "recordTypes": "B,E", + "retentionPolicy": { + "days": 0, + "enabled": false + }, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe", + "targetResourceGuid": "00000000-0000-0000-0000-000000000000", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "FlowLogs_UpdateTags", + "title": "Update flow log tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherGet.json new file mode 100644 index 000000000000..3922fb80eb90 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nw1", + "type": "Microsoft.Network/networkWatchers", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": {} + } + } + }, + "operationId": "NetworkWatchers_Get", + "title": "Get network watcher" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherIpFlowVerify.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherIpFlowVerify.json new file mode 100644 index 000000000000..201c80ab2c2e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherIpFlowVerify.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "direction": "Outbound", + "localIPAddress": "10.2.0.4", + "localPort": "80", + "remoteIPAddress": "121.10.1.1", + "remotePort": "80", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "protocol": "TCP" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "access": "Allow", + "ruleName": "Rule1" + } + }, + "202": { + "body": { + "access": "Allow", + "ruleName": "Rule1" + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/ipFlowVerify?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_VerifyIPFlow", + "title": "Ip flow verify" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherList.json new file mode 100644 index 000000000000..708a3fece4e1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherList.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nw1", + "type": "Microsoft.Network/networkWatchers", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": {} + }, + { + "name": "nw2", + "type": "Microsoft.Network/networkWatchers", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "NetworkWatchers_List", + "title": "List network watchers" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherListAll.json new file mode 100644 index 000000000000..b26425bf03a7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherListAll.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nw1", + "type": "Microsoft.Network/networkWatchers", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": {} + }, + { + "name": "nw2", + "type": "Microsoft.Network/networkWatchers", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2", + "location": "westus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "NetworkWatchers_ListAll", + "title": "List all network watchers" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherNetworkConfigurationDiagnostic.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherNetworkConfigurationDiagnostic.json new file mode 100644 index 000000000000..22ce0290b722 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherNetworkConfigurationDiagnostic.json @@ -0,0 +1,203 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "profiles": [ + { + "destination": "12.11.12.14", + "destinationPort": "12100", + "direction": "Inbound", + "source": "10.1.0.4", + "protocol": "TCP" + } + ], + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "results": [ + { + "networkSecurityGroupResult": { + "evaluatedNetworkSecurityGroups": [ + { + "appliedTo": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet", + "matchedRule": { + "action": "Allow", + "ruleName": "UserRule_fe_rule" + }, + "networkSecurityGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "rulesEvaluationResult": [ + { + "name": "UserRule_Cleanuptool-Allow-100", + "destinationMatched": true, + "destinationPortMatched": false, + "protocolMatched": true, + "sourceMatched": false, + "sourcePortMatched": true + }, + { + "name": "UserRule_Cleanuptool-Allow-101", + "destinationMatched": true, + "destinationPortMatched": false, + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true + }, + { + "name": "UserRule_Cleanuptool-Allow-102", + "destinationMatched": true, + "destinationPortMatched": false, + "protocolMatched": true, + "sourceMatched": false, + "sourcePortMatched": true + }, + { + "name": "UserRule_Cleanuptool-Deny-103", + "destinationMatched": true, + "destinationPortMatched": false, + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true + }, + { + "name": "UserRule_fe_rule", + "destinationMatched": true, + "destinationPortMatched": true, + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true + } + ] + }, + { + "appliedTo": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic", + "matchedRule": { + "action": "Allow", + "ruleName": "UserRule_fe_rule" + }, + "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG", + "rulesEvaluationResult": [ + { + "name": "UserRule_fe_rule", + "destinationMatched": true, + "destinationPortMatched": true, + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true + } + ] + } + ], + "securityRuleAccessResult": "Allow" + }, + "profile": { + "destination": "12.11.12.14", + "destinationPort": "12100", + "direction": "Inbound", + "source": "10.1.0.4", + "protocol": "TCP" + } + } + ] + } + }, + "202": { + "body": { + "results": [ + { + "networkSecurityGroupResult": { + "evaluatedNetworkSecurityGroups": [ + { + "appliedTo": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet", + "matchedRule": { + "action": "Allow", + "ruleName": "UserRule_fe_rule" + }, + "networkSecurityGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "rulesEvaluationResult": [ + { + "name": "UserRule_Cleanuptool-Allow-100", + "destinationMatched": true, + "destinationPortMatched": false, + "protocolMatched": true, + "sourceMatched": false, + "sourcePortMatched": true + }, + { + "name": "UserRule_Cleanuptool-Allow-101", + "destinationMatched": true, + "destinationPortMatched": false, + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true + }, + { + "name": "UserRule_Cleanuptool-Allow-102", + "destinationMatched": true, + "destinationPortMatched": false, + "protocolMatched": true, + "sourceMatched": false, + "sourcePortMatched": true + }, + { + "name": "UserRule_Cleanuptool-Deny-103", + "destinationMatched": true, + "destinationPortMatched": false, + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true + }, + { + "name": "UserRule_fe_rule", + "destinationMatched": true, + "destinationPortMatched": true, + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true + } + ] + }, + { + "appliedTo": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic", + "matchedRule": { + "action": "Allow", + "ruleName": "UserRule_fe_rule" + }, + "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG", + "rulesEvaluationResult": [ + { + "name": "UserRule_fe_rule", + "destinationMatched": true, + "destinationPortMatched": true, + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true + } + ] + } + ], + "securityRuleAccessResult": "Allow" + }, + "profile": { + "destination": "12.11.12.14", + "destinationPort": "12100", + "direction": "Inbound", + "source": "10.1.0.4", + "protocol": "TCP" + } + } + ] + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/networkConfigurationDiagnostic?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_GetNetworkConfigurationDiagnostic", + "title": "Network configuration diagnostic" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherNextHopGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherNextHopGet.json new file mode 100644 index 000000000000..10d9f84abe95 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherNextHopGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "destinationIPAddress": "10.0.0.10", + "sourceIPAddress": "10.0.0.5", + "targetNicResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextHopIpAddress": "10.0.0.1", + "nextHopType": "VnetLocal", + "routeTableId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1" + } + }, + "202": { + "body": { + "nextHopIpAddress": "10.0.0.1", + "nextHopType": "VnetLocal", + "routeTableId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1" + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/nextHop?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_GetNextHop", + "title": "Get next hop" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCaptureCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCaptureCreate.json new file mode 100644 index 000000000000..db539219b240 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCaptureCreate.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1", + "parameters": { + "properties": { + "bytesToCapturePerPacket": 10000, + "filters": [ + { + "localIPAddress": "10.0.0.4", + "localPort": "80", + "protocol": "TCP" + } + ], + "storageLocation": { + "filePath": "D:\\capture\\pc1.cap", + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap" + }, + "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "timeLimitInSeconds": 100, + "totalBytesPerSession": 100000 + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "201": { + "body": { + "name": "pc1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "properties": { + "bytesToCapturePerPacket": 10000, + "filters": [ + { + "localIPAddress": "10.0.0.4", + "localPort": "80", + "protocol": "TCP" + } + ], + "provisioningState": "Updating", + "storageLocation": { + "filePath": "D:\\capture\\pc1.cap", + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap" + }, + "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "timeLimitInSeconds": 100, + "totalBytesPerSession": 100000 + } + } + } + }, + "operationId": "PacketCaptures_Create", + "title": "Create packet capture" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCaptureDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCaptureDelete.json new file mode 100644 index 000000000000..a7a7b358aa2f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCaptureDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/operationresults/000000000000000000000==?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "PacketCaptures_Delete", + "title": "Delete packet capture" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCaptureGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCaptureGet.json new file mode 100644 index 000000000000..2f102fe2ecfe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCaptureGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "pc1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "properties": { + "bytesToCapturePerPacket": 10000, + "filters": [ + { + "localIPAddress": "10.0.0.4", + "localPort": "80", + "protocol": "TCP" + } + ], + "provisioningState": "Updating", + "storageLocation": { + "filePath": "D:\\capture\\pc1.cap", + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap" + }, + "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "timeLimitInSeconds": 100, + "totalBytesPerSession": 100000 + } + } + } + }, + "operationId": "PacketCaptures_Get", + "title": "Get packet capture" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCaptureQueryStatus.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCaptureQueryStatus.json new file mode 100644 index 000000000000..f1c4bd08cd52 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCaptureQueryStatus.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "pc1", + "captureStartTime": "2016-09-07T12:35:24Z", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "packetCaptureError": [], + "packetCaptureStatus": "Stopped", + "stopReason": "TimeExceeded" + } + }, + "202": { + "body": { + "name": "pc1", + "captureStartTime": "2016-09-07T12:35:24Z", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "packetCaptureError": [], + "packetCaptureStatus": "Stopped", + "stopReason": "TimeExceeded" + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/troubleshoot?api-version=2025-07-01" + } + } + }, + "operationId": "PacketCaptures_GetStatus", + "title": "Query packet capture status" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCaptureStop.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCaptureStop.json new file mode 100644 index 000000000000..be0081364c4f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCaptureStop.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/operationresults/000000000000000000000==?api-version=2025-07-01" + } + } + }, + "operationId": "PacketCaptures_Stop", + "title": "Stop packet capture" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCapturesList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCapturesList.json new file mode 100644 index 000000000000..f0644225c1b3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherPacketCapturesList.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "pc1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "properties": { + "bytesToCapturePerPacket": 10000, + "filters": [ + { + "localIPAddress": "10.0.0.4", + "localPort": "80", + "protocol": "TCP" + } + ], + "provisioningState": "Updating", + "storageLocation": { + "filePath": "D:\\capture\\pc1.cap", + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap" + }, + "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "timeLimitInSeconds": 100, + "totalBytesPerSession": 100000 + } + }, + { + "name": "pc2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2", + "properties": { + "bytesToCapturePerPacket": 10000, + "filters": [], + "provisioningState": "Succeeded", + "storageLocation": { + "filePath": "D:\\capture\\pc2.cap", + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc2.cap" + }, + "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "timeLimitInSeconds": 100, + "totalBytesPerSession": 100000 + } + } + ] + } + } + }, + "operationId": "PacketCaptures_List", + "title": "List packet captures" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherSecurityGroupViewGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherSecurityGroupViewGet.json new file mode 100644 index 000000000000..fa4241d56077 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherSecurityGroupViewGet.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1", + "securityRuleAssociations": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "effectiveSecurityRules": [ + { + "name": "DefaultOutboundDenyAll", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "0-65535", + "direction": "Outbound", + "priority": 65500, + "sourceAddressPrefix": "*", + "sourcePortRange": "0-65535", + "protocol": "All" + } + ], + "subnetAssociation": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "securityRules": [ + { + "name": "fe_rule", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule", + "properties": { + "description": "Allow Frontend", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 100, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "10.1.0.0/24", + "sourcePortRange": "*", + "protocol": "Tcp" + } + } + ] + } + } + } + ] + } + }, + "202": { + "body": { + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1", + "securityRuleAssociations": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "effectiveSecurityRules": [ + { + "name": "DefaultOutboundDenyAll", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "0-65535", + "direction": "Outbound", + "priority": 65500, + "sourceAddressPrefix": "*", + "sourcePortRange": "0-65535", + "protocol": "All" + } + ], + "subnetAssociation": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "securityRules": [ + { + "name": "fe_rule", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule", + "properties": { + "description": "Allow Frontend", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 100, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "10.1.0.0/24", + "sourcePortRange": "*", + "protocol": "Tcp" + } + } + ] + } + } + } + ] + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/queryStatus?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_GetVMSecurityRules", + "title": "Get security group view" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherTopologyGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherTopologyGet.json new file mode 100644 index 000000000000..4c5fa5522758 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherTopologyGet.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceGroupName": "rg2" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "createdDateTime": "2017-08-02T19:31:55.9461781Z", + "id": "ce592f46-8164-4bf2-ad36-b8e4acf6fb68", + "lastModified": "2017-05-27T00:00:13.2005337Z", + "resources": [ + { + "name": "MultiTierApp0", + "associations": [ + { + "name": "appNic0", + "associationType": "Contains", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0" + }, + { + "name": "appNic10", + "associationType": "Contains", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10" + } + ], + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0", + "location": "westus" + } + ] + } + } + }, + "operationId": "NetworkWatchers_GetTopology", + "title": "Get Topology" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherTroubleshootGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherTroubleshootGet.json new file mode 100644 index 000000000000..e0bdc2607d3e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherTroubleshootGet.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "properties": { + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "storagePath": "https://st1.blob.core.windows.net/cn1" + }, + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "code": "UnHealthy", + "endTime": "2017-01-12T00:20:09.914Z", + "results": [ + { + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "id": "000000", + "reasonType": "VipUnResponsive", + "recommendedActions": [ + { + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", + "actionUriText": "Verify" + }, + { + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "contact support" + } + ], + "summary": "We are sorry, your VPN gateway is unreachable from the Internet" + } + ], + "startTime": "2017-01-12T00:19:47.0442834Z" + } + }, + "202": { + "body": { + "code": "UnHealthy", + "endTime": "2017-01-12T00:20:09.914Z", + "results": [ + { + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "id": "000000", + "reasonType": "VipUnResponsive", + "recommendedActions": [ + { + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", + "actionUriText": "Verify" + }, + { + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "contact support" + } + ], + "summary": "We are sorry, your VPN gateway is unreachable from the Internet" + } + ], + "startTime": "2017-01-12T00:19:47.0442834Z" + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/troubleshoot?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_GetTroubleshooting", + "title": "Get troubleshooting" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherTroubleshootResultQuery.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherTroubleshootResultQuery.json new file mode 100644 index 000000000000..0e6a80f251e7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherTroubleshootResultQuery.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "code": "UnHealthy", + "endTime": "2017-01-12T00:20:09.914Z", + "results": [ + { + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "id": "000000", + "reasonType": "VipUnResponsive", + "recommendedActions": [ + { + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", + "actionUriText": "Verify" + }, + { + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "contact support" + } + ], + "summary": "We are sorry, your VPN gateway is unreachable from the Internet" + } + ], + "startTime": "2017-01-12T00:19:47.0442834Z" + } + }, + "202": { + "body": { + "code": "UnHealthy", + "endTime": "2017-01-12T00:20:09.914Z", + "results": [ + { + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "id": "000000", + "reasonType": "VipUnResponsive", + "recommendedActions": [ + { + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", + "actionUriText": "Verify" + }, + { + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "contact support" + } + ], + "summary": "We are sorry, your VPN gateway is unreachable from the Internet" + } + ], + "startTime": "2017-01-12T00:19:47.0442834Z" + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/queryTroubleshootResult?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_GetTroubleshootingResult", + "title": "Get troubleshoot result" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherUpdateTags.json new file mode 100644 index 000000000000..f6ea5d1322f2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NetworkWatcherUpdateTags.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nw1", + "type": "Microsoft.Network/networkWatchers", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "NetworkWatchers_UpdateTags", + "title": "Update network watcher tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAccessRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAccessRuleDelete.json new file mode 100644 index 000000000000..fb6531c502bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAccessRuleDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accessRuleName": "accessRule1", + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAccessRulesDelete", + "responses": { + "200": {}, + "204": {} + }, + "operationId": "NetworkSecurityPerimeterAccessRules_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAccessRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAccessRuleGet.json new file mode 100644 index 000000000000..c28d603566a2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAccessRuleGet.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "accessRuleName": "accessRule1", + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAccessRuleGet", + "responses": { + "200": { + "body": { + "name": "accessRule1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1", + "properties": { + "addressPrefixes": [], + "direction": "Outbound", + "emailAddresses": [], + "fullyQualifiedDomainNames": [ + "paasrp1.contoso.org", + "paasrp2.contoso.org" + ], + "networkSecurityPerimeters": [], + "phoneNumbers": [], + "provisioningState": "Succeeded", + "serviceTags": [], + "subscriptions": [] + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterAccessRules_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAccessRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAccessRuleList.json new file mode 100644 index 000000000000..9fcf05189234 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAccessRuleList.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAccessRulesList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "accessRule1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "id": "/subscriptions/rg1/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1", + "properties": { + "addressPrefixes": [ + "10.11.0.0/16", + "10.10.1.0/24" + ], + "direction": "Inbound", + "emailAddresses": [], + "fullyQualifiedDomainNames": [], + "networkSecurityPerimeters": [], + "phoneNumbers": [], + "provisioningState": "Succeeded", + "serviceTags": [], + "subscriptions": [] + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + }, + { + "name": "accessRule2", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule2", + "properties": { + "addressPrefixes": [], + "direction": "Outbound", + "emailAddresses": [], + "fullyQualifiedDomainNames": [ + "paasrp1.contoso.org", + "paasrp2.contoso.org" + ], + "networkSecurityPerimeters": [], + "phoneNumbers": [], + "provisioningState": "Succeeded", + "serviceTags": [], + "subscriptions": [] + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterAccessRules_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAccessRulePut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAccessRulePut.json new file mode 100644 index 000000000000..5c5bd3e4f9f4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAccessRulePut.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "accessRuleName": "accessRule1", + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "properties": { + "addressPrefixes": [ + "10.11.0.0/16", + "10.10.1.0/24" + ], + "direction": "Inbound" + } + }, + "profileName": "profile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAccessRulePut", + "responses": { + "200": { + "body": { + "name": "accessRule1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1", + "properties": { + "addressPrefixes": [ + "10.11.0.0/16", + "10.10.1.0/24" + ], + "direction": "Inbound", + "emailAddresses": [], + "fullyQualifiedDomainNames": [], + "networkSecurityPerimeters": [], + "phoneNumbers": [], + "provisioningState": "Succeeded", + "serviceTags": [], + "subscriptions": [] + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "accessRule1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1", + "properties": { + "addressPrefixes": [ + "10.11.0.0/16", + "10.10.1.0/24" + ], + "direction": "Inbound", + "emailAddresses": [], + "fullyQualifiedDomainNames": [], + "networkSecurityPerimeters": [], + "phoneNumbers": [], + "provisioningState": "Succeeded", + "serviceTags": [], + "subscriptions": [] + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterAccessRules_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAccessRuleReconcile.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAccessRuleReconcile.json new file mode 100644 index 000000000000..14550104dc9f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAccessRuleReconcile.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accessRuleName": "accessRuleName1", + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "properties": {} + }, + "profileName": "profile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAccessRuleReconcile", + "responses": { + "200": { + "body": {} + } + }, + "operationId": "NetworkSecurityPerimeterAccessRules_Reconcile" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAssociationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAssociationDelete.json new file mode 100644 index 000000000000..4b538ca6c5c6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAssociationDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "operationId": "operationId1", + "api-version": "2025-07-01", + "associationName": "association1", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAssociationDelete", + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/networkSecurityPerimeterOperationStatuses/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "NetworkSecurityPerimeterAssociations_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAssociationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAssociationGet.json new file mode 100644 index 000000000000..556e90ffc1aa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAssociationGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "associationName": "association1", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAssociationGet", + "responses": { + "200": { + "body": { + "name": "association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "properties": { + "accessMode": "Enforced", + "hasProvisioningIssues": "no", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterAssociations_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAssociationList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAssociationList.json new file mode 100644 index 000000000000..9b2e2b8eb727 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAssociationList.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAssociationList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "properties": { + "accessMode": "Enforced", + "hasProvisioningIssues": "no", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + }, + { + "name": "association2", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association2", + "properties": { + "accessMode": "Audit", + "hasProvisioningIssues": "no", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + }, + { + "name": "association3", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association3", + "properties": { + "accessMode": "Learning", + "hasProvisioningIssues": "yes", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "provisioningState": "Failed" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterAssociations_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAssociationPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAssociationPut.json new file mode 100644 index 000000000000..daf78eac7c96 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAssociationPut.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "associationName": "association1", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "properties": { + "accessMode": "Enforced", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAssociationPut", + "responses": { + "200": { + "body": { + "name": "association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "properties": { + "accessMode": "Enforced", + "hasProvisioningIssues": "no", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "properties": { + "accessMode": "Enforced", + "hasProvisioningIssues": "no", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + }, + "202": { + "body": { + "name": "association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "properties": { + "accessMode": "Learning", + "hasProvisioningIssues": "no", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "provisioningState": "Creating" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/networkSecurityPerimeterOperationStatuses/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "NetworkSecurityPerimeterAssociations_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAssociationReconcile.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAssociationReconcile.json new file mode 100644 index 000000000000..39d4b678f9c1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspAssociationReconcile.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "associationName": "association1", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "properties": {} + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAssociationReconcile", + "responses": { + "200": { + "body": {} + } + }, + "operationId": "NetworkSecurityPerimeterAssociations_Reconcile" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkDelete.json new file mode 100644 index 000000000000..35e846ef0ac1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "linkName": "link1", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLinkDelete", + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links/{linkName}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "NetworkSecurityPerimeterLinks_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkGet.json new file mode 100644 index 000000000000..f471ed1e0015 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkGet.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "linkName": "link1", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLinksGet", + "responses": { + "200": { + "body": { + "name": "link1", + "type": "Microsoft.Network/networkSecurityPerimeters/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links/link1", + "properties": { + "description": "Auto Approved", + "autoApprovedRemotePerimeterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "provisioningState": "Succeeded", + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "status": "Approved" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterLinks_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkList.json new file mode 100644 index 000000000000..bb72be478ace --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkList.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLinkList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "link1", + "type": "Microsoft.Network/networkSecurityPerimeters/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links/link1", + "properties": { + "description": "Auto Approved", + "autoApprovedRemotePerimeterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "provisioningState": "Succeeded", + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "status": "Approved" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterLinks_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkPut.json new file mode 100644 index 000000000000..c56b246921bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkPut.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "linkName": "link1", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "properties": { + "autoApprovedRemotePerimeterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "localInboundProfiles": [ + "*" + ], + "remoteInboundProfiles": [ + "*" + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLinksPut", + "responses": { + "200": { + "body": { + "name": "link1", + "type": "Microsoft.Network/networkSecurityPerimeters/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links/link1", + "properties": { + "description": "Auto Approved", + "autoApprovedRemotePerimeterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "provisioningState": "Succeeded", + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "status": "Approved" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "link1", + "type": "Microsoft.Network/networkSecurityPerimeters/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links/link1", + "properties": { + "description": "Auto Approved", + "autoApprovedRemotePerimeterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "provisioningState": "Succeeded", + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "status": "Approved" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterLinks_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkReferenceDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkReferenceDelete.json new file mode 100644 index 000000000000..76f07f24c3f3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkReferenceDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "linkReferenceName": "link1-guid", + "networkSecurityPerimeterName": "nsp2", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLinkReferenceDelete", + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/linkreferences/{linkReferenceName}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "NetworkSecurityPerimeterLinkReferences_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkReferenceGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkReferenceGet.json new file mode 100644 index 000000000000..28d19a1e72e5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkReferenceGet.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "linkReferenceName": "link1-guid", + "networkSecurityPerimeterName": "nsp2", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLinkReferencesGet", + "responses": { + "200": { + "body": { + "name": "link1-guid", + "type": "Microsoft.Network/networkSecurityPerimeters/linkreferences", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2/linkreferences/link1-guid", + "properties": { + "description": "Auto Approved", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "provisioningState": "Succeeded", + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "remotePerimeterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "status": "Approved" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterLinkReferences_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkReferenceList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkReferenceList.json new file mode 100644 index 000000000000..6edb39836812 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLinkReferenceList.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp2", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLinkReferenceList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2/linkreferences?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "link1-guid", + "type": "Microsoft.Network/networkSecurityPerimeters/linkreferences", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2/linkreferences/link1-guid", + "properties": { + "description": "Auto Approved", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "provisioningState": "Succeeded", + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "remotePerimeterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "status": "Approved" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterLinkReferences_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLoggingConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLoggingConfigurationDelete.json new file mode 100644 index 000000000000..a040cad142eb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLoggingConfigurationDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loggingConfigurationName": "instance", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLoggingConfigurationDelete", + "responses": { + "200": {}, + "204": {} + }, + "operationId": "NetworkSecurityPerimeterLoggingConfigurations_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLoggingConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLoggingConfigurationGet.json new file mode 100644 index 000000000000..0e47a184f33d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLoggingConfigurationGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loggingConfigurationName": "instance", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLoggingConfigurationGet", + "responses": { + "200": { + "body": { + "name": "instance", + "type": "Microsoft.Network/networkSecurityPerimeters/loggingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/loggingConfigurations/instance", + "properties": { + "enabledLogCategories": [ + "NspPublicInboundPerimeterRulesDenied", + "NspPublicOutboundPerimeterRulesDenied" + ], + "version": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterLoggingConfigurations_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLoggingConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLoggingConfigurationList.json new file mode 100644 index 000000000000..b66a9e180842 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLoggingConfigurationList.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLoggingConfigurationList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/loggingConfigurations?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "instance", + "type": "Microsoft.Network/networkSecurityPerimeters/loggingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/loggingConfigurations/instance", + "properties": { + "enabledLogCategories": [ + "NspPublicInboundPerimeterRulesDenied", + "NspPublicOutboundPerimeterRulesDenied" + ], + "version": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterLoggingConfigurations_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLoggingConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLoggingConfigurationPut.json new file mode 100644 index 000000000000..1e9cd8d90ba4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspLoggingConfigurationPut.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loggingConfigurationName": "instance", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "properties": { + "enabledLogCategories": [ + "NspPublicInboundPerimeterRulesDenied", + "NspPublicOutboundPerimeterRulesDenied" + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLoggingConfigurationPut", + "responses": { + "200": { + "body": { + "name": "instance", + "type": "Microsoft.Network/networkSecurityPerimeters/loggingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/loggingConfigurations/instance", + "properties": { + "enabledLogCategories": [ + "NspPublicInboundPerimeterRulesDenied", + "NspPublicOutboundPerimeterRulesDenied" + ], + "version": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "instance", + "type": "Microsoft.Network/networkSecurityPerimeters/loggingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/loggingConfigurations/instance", + "properties": { + "enabledLogCategories": [ + "NspPublicInboundPerimeterRulesDenied", + "NspPublicOutboundPerimeterRulesDenied" + ], + "version": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterLoggingConfigurations_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspOperationStatusGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspOperationStatusGet.json new file mode 100644 index 000000000000..6683f7d38232 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspOperationStatusGet.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "operationId": "operationId1", + "api-version": "2025-07-01", + "location": "location1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspOperationStatusGet", + "responses": { + "200": { + "body": { + "name": "operationId1", + "endTime": "2025-01-09T10:46:55.0948652Z", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/location1/networkSecurityPerimeterOperationStatuses/operationId1", + "startTime": "2025-01-09T10:46:51.0988675Z", + "status": "Succeeded" + } + } + }, + "operationId": "NetworkSecurityPerimeterOperationStatuses_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspProfileDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspProfileDelete.json new file mode 100644 index 000000000000..d2d2eb6d4bf0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspProfileDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspProfilesDelete", + "responses": { + "200": {}, + "204": {} + }, + "operationId": "NetworkSecurityPerimeterProfiles_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspProfileGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspProfileGet.json new file mode 100644 index 000000000000..f55facc4c5f1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspProfileGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspProfilesGet", + "responses": { + "200": { + "body": { + "name": "nsp1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterProfiles_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspProfileList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspProfileList.json new file mode 100644 index 000000000000..ac152fbebf57 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspProfileList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspProfilesList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "profile1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + }, + { + "name": "profile2", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile2", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterProfiles_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspProfilePut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspProfilePut.json new file mode 100644 index 000000000000..e514d50e9dc4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspProfilePut.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "properties": {} + }, + "profileName": "profile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspProfilesPut", + "responses": { + "200": { + "body": { + "name": "profile1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "profile1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterProfiles_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspServiceTagsList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspServiceTagsList.json new file mode 100644 index 000000000000..7436cf8ad6ae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/NspServiceTagsList.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NSPServiceTagsList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nspServiceTags?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "serviceTags": [ + "ActionGroup", + "AppConfigurationInternal", + "AzureCloud", + "PRIVATE", + "ApiManagement", + "MicrosoftPublicIPSpace", + "MicrosoftPrivateIPSpace" + ] + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterServiceTags_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/OperationList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/OperationList.json new file mode 100644 index 000000000000..476e2e04dff0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/OperationList.json @@ -0,0 +1,139 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Network/localnetworkgateways/read", + "display": { + "description": "Gets LocalNetworkGateway", + "operation": "Get LocalNetworkGateway", + "provider": "Microsoft Network", + "resource": "LocalNetworkGateway" + } + }, + { + "name": "Microsoft.Network/localnetworkgateways/write", + "display": { + "description": "Creates or updates an existing LocalNetworkGateway", + "operation": "Create or update LocalNetworkGateway", + "provider": "Microsoft Network", + "resource": "LocalNetworkGateway" + } + }, + { + "name": "Microsoft.Network/localnetworkgateways/delete", + "display": { + "description": "Deletes LocalNetworkGateway", + "operation": "Delete LocalNetworkGateway", + "provider": "Microsoft Network", + "resource": "LocalNetworkGateway" + } + }, + { + "name": "Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Gets available metrics for the Network Interface", + "operation": "Read Network Interface metric definitions", + "provider": "Microsoft Network", + "resource": "Network Interface metric definition" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "BytesSentRate", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "01:00:00", + "retention": "00:00:00", + "timeGrain": "00:01:00" + }, + { + "blobDuration": "1.00:00:00", + "retention": "00:00:00", + "timeGrain": "01:00:00" + } + ], + "dimensions": [], + "displayDescription": "Number of bytes the Network Interface sent", + "displayName": "Bytes Sent", + "enableRegionalMdmAccount": false, + "fillGapWithZero": false, + "isInternal": false, + "metricFilterPattern": "^__Ready__$", + "unit": "Count" + }, + { + "name": "BytesReceivedRate", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "01:00:00", + "retention": "00:00:00", + "timeGrain": "00:01:00" + }, + { + "blobDuration": "1.00:00:00", + "retention": "00:00:00", + "timeGrain": "01:00:00" + } + ], + "dimensions": [], + "displayDescription": "Number of bytes the Network Interface received", + "displayName": "Bytes Received", + "enableRegionalMdmAccount": false, + "fillGapWithZero": false, + "isInternal": false, + "metricFilterPattern": "^__Ready__$", + "unit": "Count" + } + ] + } + } + }, + { + "name": "Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "description": "Gets the events for network security group", + "operation": "Get Network Security Group Event Log Definitions", + "provider": "Microsoft Network", + "resource": "Network Security Groups Log Definitions" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "NetworkSecurityGroupEvent", + "blobDuration": "PT1H", + "displayName": "Network Security Group Event" + }, + { + "name": "NetworkSecurityGroupRuleCounter", + "blobDuration": "PT1H", + "displayName": "Network Security Group Rule Counter" + }, + { + "name": "NetworkSecurityGroupFlowEvent", + "blobDuration": "PT1H", + "displayName": "Network Security Group Rule Flow Event" + } + ] + } + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "Get a list of operations for a resource provider" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayDelete.json new file mode 100644 index 000000000000..3aa3cdbbdea1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "p2sVpnGateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "P2sVpnGateways_Delete", + "title": "P2SVpnGatewayDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayGenerateVpnProfile.json new file mode 100644 index 000000000000..55e8c6a8258e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayGenerateVpnProfile.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "p2sVpnGateway1", + "parameters": { + "authenticationMethod": "EAPTLS" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "profileUrl": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "P2sVpnGateways_GenerateVpnProfile", + "title": "GenerateP2SVpnGatewayVPNProfile" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayGet.json new file mode 100644 index 000000000000..0bfe379954ea --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayGet.json @@ -0,0 +1,108 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "p2sVpnGateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "p2sVpnGateway1", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "location": "West US", + "properties": { + "customDnsServers": [ + "3.3.3.3" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": false, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalEgressBytesTransferred": 3000, + "totalIngressBytesTransferred": 2000, + "vpnClientConnectionsCount": 2 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + } + } + }, + "operationId": "P2sVpnGateways_Get", + "title": "P2SVpnGatewayGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayGetConnectionHealth.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayGetConnectionHealth.json new file mode 100644 index 000000000000..62ee1083e0c3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayGetConnectionHealth.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "p2sVpnGateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "p2sVpnGateway1", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "location": "West US", + "properties": { + "customDnsServers": [ + "3.3.3.3" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": false, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalEgressBytesTransferred": 3000, + "totalIngressBytesTransferred": 2000, + "vpnClientConnectionsCount": 2 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "P2sVpnGateways_GetP2sVpnConnectionHealth", + "title": "P2SVpnGatewayGetConnectionHealth" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayGetConnectionHealthDetailed.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayGetConnectionHealthDetailed.json new file mode 100644 index 000000000000..fb333a28ebc4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayGetConnectionHealthDetailed.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "p2svpngateway", + "resourceGroupName": "p2s-vpn-gateway-test", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "outputBlobSasUrl": "https://blobcortextesturl.blob.core.windows.net/folderforconfig/p2sconnectionhealths?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b", + "vpnUserNamesFilter": [ + "vpnUser1", + "vpnUser2" + ] + } + }, + "responses": { + "200": { + "body": { + "sasUrl": "aaaaaaaaaaaaaaaaaa" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "P2sVpnGateways_GetP2sVpnConnectionHealthDetailed", + "title": "P2SVpnGatewayGetConnectionHealthDetailed" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayList.json new file mode 100644 index 000000000000..823e5d95737c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayList.json @@ -0,0 +1,205 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "p2sVpnGateway1", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "location": "West US", + "properties": { + "customDnsServers": [ + "3.3.3.3" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": true, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalEgressBytesTransferred": 3000, + "totalIngressBytesTransferred": 2000, + "vpnClientConnectionsCount": 2 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + }, + { + "name": "p2sVpnGateway2", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway2", + "location": "West US", + "properties": { + "customDnsServers": [ + "4.4.4.4" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": true, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.4.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalEgressBytesTransferred": 3000, + "totalIngressBytesTransferred": 2000, + "vpnClientConnectionsCount": 2 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + } + ] + } + } + }, + "operationId": "P2sVpnGateways_List", + "title": "P2SVpnGatewayListBySubscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayListByResourceGroup.json new file mode 100644 index 000000000000..cd162b1fcddc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayListByResourceGroup.json @@ -0,0 +1,201 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "p2sVpnGateway1", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "location": "West US", + "properties": { + "customDnsServers": [ + "3.3.3.3" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": false, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalEgressBytesTransferred": 3000, + "totalIngressBytesTransferred": 2000, + "vpnClientConnectionsCount": 2 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + }, + { + "name": "p2sVpnGateway2", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway2", + "location": "West US", + "properties": { + "customDnsServers": [ + "4.4.4.4" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": false, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalEgressBytesTransferred": 3000, + "totalIngressBytesTransferred": 2000, + "vpnClientConnectionsCount": 2 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + } + ] + } + } + }, + "operationId": "P2sVpnGateways_ListByResourceGroup", + "title": "P2SVpnGatewayListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayPut.json new file mode 100644 index 000000000000..c4412344a2db --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayPut.json @@ -0,0 +1,258 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "p2sVpnGateway1", + "p2SVpnGatewayParameters": { + "location": "West US", + "properties": { + "customDnsServers": [ + "1.1.1.1", + "2.2.2.2" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "p2sVpnGateway1", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "location": "West US", + "properties": { + "customDnsServers": [ + "1.1.1.1", + "2.2.2.2" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": false, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [], + "totalEgressBytesTransferred": 0, + "totalIngressBytesTransferred": 0, + "vpnClientConnectionsCount": 0 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + } + }, + "201": { + "body": { + "name": "p2sVpnGateway1", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "location": "West US", + "properties": { + "customDnsServers": [ + "1.1.1.1", + "2.2.2.2" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": false, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [], + "totalEgressBytesTransferred": 0, + "totalIngressBytesTransferred": 0, + "vpnClientConnectionsCount": 0 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + } + } + }, + "operationId": "P2sVpnGateways_CreateOrUpdate", + "title": "P2SVpnGatewayPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayReset.json new file mode 100644 index 000000000000..0a0d17769d34 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayReset.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "p2sVpnGateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "p2sVpnGateway1", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "location": "West US", + "properties": { + "customDnsServers": [ + "3.3.3.3" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": false, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalEgressBytesTransferred": 3000, + "totalIngressBytesTransferred": 2000, + "vpnClientConnectionsCount": 2 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "P2SVpnGateways_Reset", + "title": "ResetP2SVpnGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayUpdateTags.json new file mode 100644 index 000000000000..8e5fca349037 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2SVpnGatewayUpdateTags.json @@ -0,0 +1,121 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "p2sVpnGateway1", + "p2SVpnGatewayParameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "p2sVpnGateway1", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "location": "West US", + "properties": { + "customDnsServers": [ + "3.3.3.3" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": false, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalEgressBytesTransferred": 3000, + "totalIngressBytesTransferred": 2000, + "vpnClientConnectionsCount": 2 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "P2sVpnGateways_UpdateTags", + "title": "P2SVpnGatewayUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2sVpnGatewaysDisconnectP2sVpnConnections.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2sVpnGatewaysDisconnectP2sVpnConnections.json new file mode 100644 index 000000000000..730860245a16 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/P2sVpnGatewaysDisconnectP2sVpnConnections.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "p2sVpnGatewayName": "p2svpngateway", + "resourceGroupName": "p2s-vpn-gateway-test", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "vpnConnectionIds": [ + "vpnconnId1", + "vpnconnId2" + ] + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "P2sVpnGateways_DisconnectP2sVpnConnections", + "title": "Disconnect VpnConnections from P2sVpn Gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PeerExpressRouteCircuitConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PeerExpressRouteCircuitConnectionGet.json new file mode 100644 index 000000000000..6b4ca8904e57 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PeerExpressRouteCircuitConnectionGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "ExpressRouteARMCircuitA", + "connectionName": "60aee347-e889-4a42-8c1b-0aae8b1e4013", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "60aee347-e889-4a42-8c1b-0aae8b1e4013", + "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013", + "properties": { + "addressPrefix": "20.0.0.0/29", + "authResourceGuid": "", + "circuitConnectionStatus": "Connected", + "connectionName": "circuitConnectionWestusEastus", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "PeerExpressRouteCircuitConnections_Get", + "title": "PeerExpressRouteCircuitConnectionGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PeerExpressRouteCircuitConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PeerExpressRouteCircuitConnectionList.json new file mode 100644 index 000000000000..18811cc7942e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PeerExpressRouteCircuitConnectionList.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "ExpressRouteARMCircuitA", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "60aee347-e889-4a42-8c1b-0aae8b1e4013", + "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013", + "properties": { + "addressPrefix": "20.0.0.0/29", + "authResourceGuid": "", + "circuitConnectionStatus": "Connected", + "connectionName": "circuitConnectionWestusEastus", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering" + }, + "provisioningState": "Succeeded" + } + }, + { + "name": "c8b17193-8dd3-4f61-866d-8cdd2e2e268e", + "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/c8b17193-8dd3-4f61-866d-8cdd2e2e268e", + "properties": { + "addressPrefix": "30.0.0.0/29", + "authResourceGuid": "64283012-d377-421d-8398-f6aeb2ac7ea0", + "circuitConnectionStatus": "Connected", + "connectionName": "circuitConnectionCentralusEastus", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitC/peerings/AzurePrivatePeering" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "PeerExpressRouteCircuitConnections_List", + "title": "List Peer ExpressRouteCircuit Connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PerimeterAssociableResourcesList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PerimeterAssociableResourcesList.json new file mode 100644 index 000000000000..92ce5c0b018d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PerimeterAssociableResourcesList.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkSecurityPerimeterAssociableResourceTypes", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/perimeterAssociableResourceTypes?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "Microsoft.Sql.servers", + "type": "Microsoft.Network/PerimeterAssociableResourceTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/perimeterAssociableResourceTypes/Microsoft.Sql.servers", + "properties": { + "displayName": "Microsoft.Sql/servers", + "publicDnsZones": [ + "database.windows.net" + ], + "resourceType": "Microsoft.Sql/servers", + "serviceTags": [ + "Sql" + ], + "readinessState": "GA", + "outboundSupported": true, + "description": "" + } + }, + { + "name": "Microsoft.Storage.accounts", + "type": "Microsoft.Network/PerimeterAssociableResourceTypes", + "id": "/subscriptions/{subscriptionId}/providers/Microsoft.Network/perimeterAssociableResourceTypes/Microsoft.Storage.storageAccounts", + "properties": { + "displayName": "Microsoft.Storage/accounts", + "publicDnsZones": [ + "blob.core.windows.net", + "table.core.windows.net", + "queue.core.windows.net", + "file.core.windows.net" + ], + "resourceType": "Microsoft.Storage/accounts", + "serviceTags": [ + "Storage" + ], + "readinessState": "GA", + "outboundSupported": true, + "description": "" + } + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterAssociableResourceTypes_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointCreate.json new file mode 100644 index 000000000000..86f8cd45c27b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointCreate.json @@ -0,0 +1,170 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "extendedLocation": { + "name": "edgeZone0", + "type": "EdgeZone" + }, + "parameters": { + "location": "eastus2euap", + "properties": { + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.6" + } + } + ], + "ipVersionType": "IPv4", + "privateLinkServiceConnections": [ + { + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + }, + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus2euap", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.6" + } + } + ], + "manualPrivateLinkServiceConnections": [], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + }, + "201": { + "body": { + "name": "testPe", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus2euap", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.6" + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + } + }, + "operationId": "PrivateEndpoints_CreateOrUpdate", + "title": "Create private endpoint" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointCreateForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointCreateForManualApproval.json new file mode 100644 index 000000000000..bd56361bd29c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointCreateForManualApproval.json @@ -0,0 +1,165 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.5" + } + } + ], + "manualPrivateLinkServiceConnections": [ + { + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please manually approve my connection." + } + } + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + }, + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.5" + } + } + ], + "manualPrivateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/manualPrivateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Awaiting approval", + "actionsRequired": "None", + "status": "Pending" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please manually approve my connection." + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + }, + "201": { + "body": { + "name": "testPe", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.5" + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + } + }, + "operationId": "PrivateEndpoints_CreateOrUpdate", + "title": "Create private endpoint with manual approval connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointCreateWithASG.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointCreateWithASG.json new file mode 100644 index 000000000000..9eb2711b9720 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointCreateWithASG.json @@ -0,0 +1,149 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "extendedLocation": { + "name": "edgeZone0", + "type": "EdgeZone" + }, + "parameters": { + "location": "eastus2euap", + "properties": { + "applicationSecurityGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/applicationSecurityGroup/asg1" + } + ], + "privateLinkServiceConnections": [ + { + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + }, + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus2euap", + "properties": { + "applicationSecurityGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/applicationSecurityGroup/asg1" + } + ], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "manualPrivateLinkServiceConnections": [], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + }, + "201": { + "body": { + "name": "testPe", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus2euap", + "properties": { + "applicationSecurityGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/applicationSecurityGroup/asg1" + } + ], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + } + }, + "operationId": "PrivateEndpoints_CreateOrUpdate", + "title": "Create private endpoint with application security groups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointDelete.json new file mode 100644 index 000000000000..aad48472d392 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointDelete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus" + }, + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "PrivateEndpoints_Delete", + "title": "Delete private endpoint" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointDnsZoneGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointDnsZoneGroupCreate.json new file mode 100644 index 000000000000..07a1a3d13cdd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointDnsZoneGroupCreate.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "properties": { + "privateDnsZoneConfigs": [ + { + "properties": { + "privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone1.com" + } + } + ] + } + }, + "privateDnsZoneGroupName": "testPdnsgroup", + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPdnsgroup", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPe/privateDnsZoneGroups/testPdnsgroup", + "properties": { + "privateDnsZoneConfigs": [ + { + "properties": { + "privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone1.com", + "recordSets": [ + { + "fqdn": "abc.zone1.com", + "ipAddresses": [ + "10.0.0.4" + ], + "recordSetName": "abc", + "recordType": "A" + }, + { + "fqdn": "abc2.zone1.com", + "ipAddresses": [ + "10.0.0.5" + ], + "recordSetName": "abc2", + "recordType": "A" + } + ] + } + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "testPdnsgroup", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPe/privateDnsZoneGroups/testPdnsgroup", + "properties": { + "privateDnsZoneConfigs": [ + { + "properties": { + "privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone1.com", + "recordSets": [ + { + "fqdn": "abc.zone1.com", + "ipAddresses": [ + "10.0.0.4" + ], + "recordSetName": "abc", + "recordType": "A" + }, + { + "fqdn": "abc2.zone1.com", + "ipAddresses": [ + "10.0.0.5" + ], + "recordSetName": "abc2", + "recordType": "A" + } + ] + } + } + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "PrivateDnsZoneGroups_CreateOrUpdate", + "title": "Create private dns zone group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointDnsZoneGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointDnsZoneGroupDelete.json new file mode 100644 index 000000000000..ad05c4ef13e4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointDnsZoneGroupDelete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus" + }, + "privateDnsZoneGroupName": "testPdnsgroup", + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "PrivateDnsZoneGroups_Delete", + "title": "Delete private dns zone group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointDnsZoneGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointDnsZoneGroupGet.json new file mode 100644 index 000000000000..c3d0ff3fd07f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointDnsZoneGroupGet.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "privateDnsZoneGroupName": "testPdnsgroup", + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPdnsgroup", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPe/privateDnsZoneGroups/testPdnsgroup", + "properties": { + "privateDnsZoneConfigs": [ + { + "properties": { + "privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone1.com", + "recordSets": [ + { + "fqdn": "abc.zone1.com", + "ipAddresses": [ + "10.0.0.4" + ], + "recordSetName": "abc", + "recordType": "A" + }, + { + "fqdn": "abc2.zone1.com", + "ipAddresses": [ + "10.0.0.5" + ], + "recordSetName": "abc2", + "recordType": "A" + } + ] + } + }, + { + "properties": { + "privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone2.com", + "recordSets": [ + { + "fqdn": "abc.zone2.com", + "ipAddresses": [ + "10.0.0.6" + ], + "recordSetName": "abc", + "recordType": "A" + }, + { + "fqdn": "abc2.zone2.com", + "ipAddresses": [ + "10.0.0.7" + ], + "recordSetName": "abc2", + "recordType": "A" + } + ] + } + } + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "PrivateDnsZoneGroups_Get", + "title": "Get private dns zone group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointDnsZoneGroupList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointDnsZoneGroupList.json new file mode 100644 index 000000000000..89259c7c8b22 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointDnsZoneGroupList.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testPdnsgroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPe/privateDnsZoneGroups/testPdnsgroup1", + "properties": { + "privateDnsZoneConfigs": [ + { + "properties": { + "privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone1.com", + "recordSets": [ + { + "fqdn": "abc.zone1.com", + "ipAddresses": [ + "10.0.0.4" + ], + "recordSetName": "abc", + "recordType": "A" + }, + { + "fqdn": "abc2.zone1.com", + "ipAddresses": [ + "10.0.0.5" + ], + "recordSetName": "abc2", + "recordType": "A" + } + ] + } + } + ], + "provisioningState": "Succeeded" + } + }, + { + "name": "testPdnsgroup2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPe/privateDnsZoneGroups/testPdnsgroup2", + "properties": { + "privateDnsZoneConfigs": [ + { + "properties": { + "privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone2.com", + "recordSets": [ + { + "fqdn": "abc3.zone2.com", + "ipAddresses": [ + "10.0.0.6" + ], + "recordSetName": "abc3", + "recordType": "A" + }, + { + "fqdn": "abc4.zone2.com", + "ipAddresses": [ + "10.0.0.7" + ], + "recordSetName": "abc4", + "recordType": "A" + } + ] + } + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "PrivateDnsZoneGroups_List", + "title": "List private endpoints in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointGet.json new file mode 100644 index 000000000000..0957cc7a0283 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointGet.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "type": "Microsoft.Network/privateEndpoints", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.6" + } + }, + { + "name": "pestaticconfig2", + "properties": { + "groupId": "file", + "memberName": "file2", + "privateIPAddress": "192.168.0.7" + } + } + ], + "manualPrivateLinkServiceConnections": [], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + } + }, + "operationId": "PrivateEndpoints_Get", + "title": "Get private endpoint" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointGetForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointGetForManualApproval.json new file mode 100644 index 000000000000..b828904e54a3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointGetForManualApproval.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "type": "Microsoft.Network/privateEndpoints", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.5" + } + } + ], + "manualPrivateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/manualPrivateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Awaiting approval", + "actionsRequired": "None", + "status": "Pending" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please manually approve my connection." + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + } + }, + "operationId": "PrivateEndpoints_Get", + "title": "Get private endpoint with manual approval connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointGetWithASG.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointGetWithASG.json new file mode 100644 index 000000000000..0f466cf28d16 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointGetWithASG.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "type": "Microsoft.Network/privateEndpoints", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/applicationSecurityGroup/asg1" + } + ], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "manualPrivateLinkServiceConnections": [], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + } + }, + "operationId": "PrivateEndpoints_Get", + "title": "Get private endpoint with application security groups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointList.json new file mode 100644 index 000000000000..c520554669bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointList.json @@ -0,0 +1,155 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "pe1", + "type": "Microsoft.Network/privateEndpoints", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.10" + } + }, + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file2", + "privateIPAddress": "192.168.0.11" + } + } + ], + "manualPrivateLinkServiceConnections": [], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", + "requestMessage": "Please approve my connection for pe1." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + }, + { + "name": "pe2", + "type": "Microsoft.Network/privateEndpoints", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe2", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc3.cosmos1.com", + "ipAddresses": [ + "192.168.0.6" + ] + }, + { + "fqdn": "abc4.cosmos1.com", + "ipAddresses": [ + "192.168.0.7" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig3", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.8" + } + }, + { + "name": "pestaticconfig4", + "properties": { + "groupId": "file", + "memberName": "file2", + "privateIPAddress": "192.168.0.9" + } + } + ], + "manualPrivateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe2/privateLinkServiceConnections/plsconnection2", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Awaiting approval", + "actionsRequired": "None", + "status": "Pending" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2", + "requestMessage": "Please manually approve my connection for pe2." + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876" + } + ], + "privateLinkServiceConnections": [], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2" + } + } + } + ] + } + } + }, + "operationId": "PrivateEndpoints_List", + "title": "List private endpoints in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointListAll.json new file mode 100644 index 000000000000..a24039d7aae1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateEndpointListAll.json @@ -0,0 +1,221 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "pe1", + "type": "Microsoft.Network/privateEndpoints", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig1", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.9" + } + }, + { + "name": "pestaticconfig2", + "properties": { + "groupId": "file", + "memberName": "file2", + "privateIPAddress": "192.168.0.10" + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", + "requestMessage": "Please approve my connection for pe1." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + }, + { + "name": "pe2", + "type": "Microsoft.Network/privateEndpoints", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/pe2", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc3.cosmos1.com", + "ipAddresses": [ + "192.168.0.5" + ] + }, + { + "fqdn": "abc4.cosmos1.com", + "ipAddresses": [ + "192.168.0.6" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig3", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.11" + } + }, + { + "name": "pestaticconfig4", + "properties": { + "groupId": "file", + "memberName": "file2", + "privateIPAddress": "192.168.0.12" + } + } + ], + "manualPrivateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/pe2/privateLinkServiceConnections/plsconnection2", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Awaiting approval", + "actionsRequired": "None", + "status": "Pending" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/testPls2", + "requestMessage": "Please manually approve my connection for pe2." + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876" + } + ], + "privateLinkServiceConnections": [], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2" + } + } + }, + { + "name": "pe3", + "type": "Microsoft.Network/privateEndpoints", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/privateEndpoints/pe3", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc5.cosmos2.com", + "ipAddresses": [ + "192.168.0.7" + ] + }, + { + "fqdn": "abc6.cosmos2.com", + "ipAddresses": [ + "192.168.0.8" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig5", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.13" + } + }, + { + "name": "pestaticconfig6", + "properties": { + "groupId": "file", + "memberName": "file2", + "privateIPAddress": "192.168.0.14" + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/provders/Microsoft.Network/networkInterfaces/pe3.nic.efgh5463" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/privateEndpoints/testPe/privateLinkServiceConnections/plsconnection3", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/privateLinkServices/testPls3", + "requestMessage": "Please approve my connection for pe3." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet3" + } + } + } + ] + } + } + }, + "operationId": "PrivateEndpoints_ListBySubscription", + "title": "List all private endpoints" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceCreate.json new file mode 100644 index 000000000000..0374b0d36b44 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceCreate.json @@ -0,0 +1,163 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "extendedLocation": { + "name": "edgeZone0", + "type": "EdgeZone" + }, + "parameters": { + "location": "eastus", + "properties": { + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "ipConfigurations": [ + { + "name": "fe-lb", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + } + } + }, + "resourceGroupName": "rg1", + "serviceName": "testPls", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPls", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "location": "eastus", + "properties": { + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls/ipConfigurations/ipconfig1", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234" + } + ], + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + } + } + } + }, + "201": { + "body": { + "name": "testPls", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "location": "eastus", + "properties": { + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls/ipConfigurations/ipconfig1", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234" + } + ], + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + } + } + } + } + }, + "operationId": "PrivateLinkServices_CreateOrUpdate", + "title": "Create private link service" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceDelete.json new file mode 100644 index 000000000000..cab48d4fa492 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceDelete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus" + }, + "resourceGroupName": "rg1", + "serviceName": "testPls", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "PrivateLinkServices_Delete", + "title": "Delete private link service" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceDeletePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceDeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..6b36d14373a2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceDeletePrivateEndpointConnection.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "eastus", + "peConnectionName": "testPlePeConnection", + "resourceGroupName": "rg1", + "serviceName": "testPls", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "PrivateLinkServices_DeletePrivateEndpointConnection", + "title": "delete private end point connection for a private link service" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceGet.json new file mode 100644 index 000000000000..ba1b9574ca10 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceGet.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceName": "testPls", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPls", + "type": "Microsoft.Network/privateLinkServices", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "location": "eastus", + "properties": { + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls/ipConfigurations/ipconfig1", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234" + } + ], + "privateEndpointConnections": [ + { + "name": "privateEndpointConnection", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls/privateEndpointConnections/privateEndpointConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + } + ], + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + } + } + } + } + }, + "operationId": "PrivateLinkServices_Get", + "title": "Get private link service" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceGetPrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceGetPrivateEndpointConnection.json new file mode 100644 index 000000000000..138b3930cb04 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceGetPrivateEndpointConnection.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "peConnectionName": "testPlePeConnection", + "resourceGroupName": "rg1", + "serviceName": "testPls", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPlePeConnection", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls/privateEndpointConnections/testPlePeConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + } + } + }, + "operationId": "PrivateLinkServices_GetPrivateEndpointConnection", + "title": "Get private end point connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceList.json new file mode 100644 index 000000000000..59a66cae07bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceList.json @@ -0,0 +1,147 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testPls1", + "type": "Microsoft.Network/privateLinkServices", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", + "location": "eastus", + "properties": { + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "autoApproval": { + "subscriptions": [ + "subscription1" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2" + ], + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1/ipConfigurations/ipconfig1", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1" + } + } + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1" + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234" + } + ], + "privateEndpointConnections": [ + { + "name": "pec1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1/privateEndpointConnections/pec1", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + } + ], + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1" + ] + } + } + }, + { + "name": "testPls2", + "type": "Microsoft.Network/privateLinkServices", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2", + "location": "eastus", + "properties": { + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "ipConfigurations": [ + { + "name": "ipconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2/ipConfigurations/ipconfig2", + "properties": { + "privateIPAddress": "10.0.1.5", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2" + } + } + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2" + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678" + } + ], + "privateEndpointConnections": [ + { + "name": "pec2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2/privateEndpointConnections/pec2", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe2" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + } + ], + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + } + } + } + ] + } + } + }, + "operationId": "PrivateLinkServices_List", + "title": "List private link service in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceListAll.json new file mode 100644 index 000000000000..99ba64e4ceb6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceListAll.json @@ -0,0 +1,148 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testPls1", + "type": "Microsoft.Network/privateLinkServices", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", + "location": "eastus", + "properties": { + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1/ipConfigurations/ipconfig1", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1" + } + } + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1" + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234" + } + ], + "privateEndpointConnections": [ + { + "name": "pec1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1/privateEndpointConnections/pec1", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + } + ], + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + } + } + }, + { + "name": "testPls2", + "type": "Microsoft.Network/privateLinkServices", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/testPls2", + "location": "eastus", + "properties": { + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2" + ], + "ipConfigurations": [ + { + "name": "ipconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/testPls2/ipConfigurations/ipconfig2", + "properties": { + "privateIPAddress": "10.0.1.5", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2" + } + } + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2" + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678" + } + ], + "privateEndpointConnections": [ + { + "name": "pec2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/testPls2/privateEndpointConnections/pec2", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/testPe2" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + } + ], + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + } + } + } + ] + } + } + }, + "operationId": "PrivateLinkServices_ListBySubscription", + "title": "List all private list service" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceListPrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceListPrivateEndpointConnection.json new file mode 100644 index 000000000000..c61b2be50f27 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceListPrivateEndpointConnection.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceName": "testPls", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testPlePeConnection1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls/privateEndpointConnections/testPlePeConnection1", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + }, + { + "name": "testPlePeConnection2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls/privateEndpointConnections/testPlePeConnection2", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe2" + }, + "privateLinkServiceConnectionState": { + "description": "rejected by some reason.", + "status": "Rejected" + } + } + } + ] + } + } + }, + "operationId": "PrivateLinkServices_ListPrivateEndpointConnections", + "title": "List private link service in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceUpdatePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceUpdatePrivateEndpointConnection.json new file mode 100644 index 000000000000..1dfc6097203d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PrivateLinkServiceUpdatePrivateEndpointConnection.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "name": "testPlePeConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + }, + "peConnectionName": "testPlePeConnection", + "resourceGroupName": "rg1", + "serviceName": "testPls", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPlePeConnection", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls/privateEndpointConnections/testPlePeConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + } + } + }, + "operationId": "PrivateLinkServices_UpdatePrivateEndpointConnection", + "title": "approve or reject private end point connection for a private link service" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressCreateCustomizedValues.json new file mode 100644 index 000000000000..cde2b0f150ad --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressCreateCustomizedValues.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "idleTimeoutInMinutes": 10, + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static" + }, + "sku": { + "name": "Standard", + "tier": "Global" + } + }, + "publicIpAddressName": "test-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "idleTimeoutInMinutes": 10, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static" + }, + "sku": { + "name": "Standard", + "tier": "Global" + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "idleTimeoutInMinutes": 10, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static" + }, + "sku": { + "name": "Standard", + "tier": "Global" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "PublicIPAddresses_CreateOrUpdate", + "title": "Create public IP address allocation method" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressCreateDefaults.json new file mode 100644 index 000000000000..70a165c9d10a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressCreateDefaults.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus" + }, + "publicIpAddressName": "test-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "Basic" + } + } + }, + "201": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "Basic" + } + } + } + }, + "operationId": "PublicIPAddresses_CreateOrUpdate", + "title": "Create public IP address defaults" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressCreateDefaultsStandardV2Sku.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressCreateDefaultsStandardV2Sku.json new file mode 100644 index 000000000000..70434d113315 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressCreateDefaultsStandardV2Sku.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus" + }, + "publicIpAddressName": "test-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "StandardV2" + } + } + }, + "201": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "StandardV2" + } + } + } + }, + "operationId": "PublicIPAddresses_CreateOrUpdate", + "title": "Create public IP address defaults with StandardV2 Sku" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressCreateDns.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressCreateDns.json new file mode 100644 index 000000000000..9341e496bb2c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressCreateDns.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "dnsSettings": { + "domainNameLabel": "dnslbl" + } + } + }, + "publicIpAddressName": "test-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "dnsSettings": { + "domainNameLabel": "dnslbl", + "fqdn": "dnslbl.westus.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + }, + "201": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "dnsSettings": { + "domainNameLabel": "dnslbl", + "fqdn": "dnslbl.westus.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + } + }, + "operationId": "PublicIPAddresses_CreateOrUpdate", + "title": "Create public IP address DNS" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressCreateDnsWithDomainNameLabelScope.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressCreateDnsWithDomainNameLabelScope.json new file mode 100644 index 000000000000..b28d72cec30b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressCreateDnsWithDomainNameLabelScope.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "dnsSettings": { + "domainNameLabel": "dnslbl", + "domainNameLabelScope": "TenantReuse" + } + } + }, + "publicIpAddressName": "test-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "dnsSettings": { + "domainNameLabel": "dnslbl", + "domainNameLabelScope": "TenantReuse", + "fqdn": "dnslbl.hxdwgjcdfgbhgebs.eastus.sysgen.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + }, + "201": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "dnsSettings": { + "domainNameLabel": "dnslbl", + "domainNameLabelScope": "TenantReuse", + "fqdn": "dnslbl.hxdwgjcdfgbhgebs.eastus.sysgen.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + } + }, + "operationId": "PublicIPAddresses_CreateOrUpdate", + "title": "Create public IP address DNS with Domain Name Label Scope" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressDelete.json new file mode 100644 index 000000000000..ea68b00f018b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "publicIpAddressName": "test-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/locations/tempLocation/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "PublicIPAddresses_Delete", + "title": "Delete public IP address" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressDisassociateCloudServiceReservedPublicIp.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressDisassociateCloudServiceReservedPublicIp.json new file mode 100644 index 000000000000..5e9a3dd31dcf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressDisassociateCloudServiceReservedPublicIp.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "publicIpArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Network/publicIpAddresses/pip2" + }, + "publicIpAddressName": "pip1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "pip1", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip1", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static" + }, + "sku": { + "name": "Basic" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-01-01" + } + } + }, + "operationId": "PublicIPAddresses_DisassociateCloudServiceReservedPublicIp", + "title": "Disassociate public IP address " +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressGet.json new file mode 100644 index 000000000000..93bad025ce74 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressGet.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "publicIpAddressName": "testDNS-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", + "location": "westus", + "properties": { + "ddosSettings": { + "ddosProtectionPlan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan" + }, + "protectionMode": "Enabled" + }, + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + }, + { + "ipTagType": "FirstPartyUsage", + "tag": "Storage" + } + ], + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + } + }, + "operationId": "PublicIPAddresses_Get", + "title": "Get public IP address" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressGetDdosProtectionStatus.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressGetDdosProtectionStatus.json new file mode 100644 index 000000000000..45c60e502872 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressGetDdosProtectionStatus.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "publicIpAddressName": "test-pip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "ddosProtectionPlanId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan", + "isWorkloadProtected": "True", + "publicIpAddress": "10.0.1.5", + "publicIpAddressId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip" + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/locations/tempLocation/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "PublicIPAddresses_DdosProtectionStatus", + "title": "Get Ddos Protection Status of a Public IP Address" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressGetStandardV2Sku.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressGetStandardV2Sku.json new file mode 100644 index 000000000000..13e29c8132cb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressGetStandardV2Sku.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "publicIpAddressName": "testDNS-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", + "location": "westus", + "properties": { + "ddosSettings": { + "ddosProtectionPlan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan" + }, + "protectionMode": "Enabled" + }, + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + }, + { + "ipTagType": "FirstPartyUsage", + "tag": "Storage" + } + ], + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "StandardV2" + } + } + } + }, + "operationId": "PublicIPAddresses_Get", + "title": "Get public IP address with StandardV2 sku" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressList.json new file mode 100644 index 000000000000..452e27d031d6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressList.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", + "location": "westus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + }, + { + "ipTagType": "FirstPartyUsage", + "tag": "Storage" + } + ], + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + }, + { + "name": "ip03", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03", + "location": "westus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "dnsSettings": { + "domainNameLabel": "testlbl", + "fqdn": "testlbl.westus.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 4, + "ipAddress": "40.85.154.247", + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + }, + { + "name": "ip04", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip04", + "location": "westus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "dnsSettings": { + "domainNameLabel": "testlbl", + "domainNameLabelScope": "TenantReuse", + "fqdn": "testlbl.hxdwgjcdfgbhgebs.eastus.sysgen.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 4, + "ipAddress": "40.85.154.248", + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + ] + } + } + }, + "operationId": "PublicIPAddresses_List", + "title": "List resource group public IP addresses" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressListAll.json new file mode 100644 index 000000000000..c162b7521430 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressListAll.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", + "location": "westus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + }, + { + "name": "ip01", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01", + "location": "westus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "dnsSettings": { + "domainNameLabel": "testlbl", + "fqdn": "testlbl.westus.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 4, + "ipAddress": "40.85.154.247", + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + }, + { + "name": "ip02", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip02", + "location": "westus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "dnsSettings": { + "domainNameLabel": "testlbl", + "domainNameLabelScope": "TenantReuse", + "fqdn": "testlbl.hxdwgjcdfgbhgebs.eastus.sysgen.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 4, + "ipAddress": "40.85.154.248", + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + ] + } + } + }, + "operationId": "PublicIPAddresses_ListAll", + "title": "List all public IP addresses" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressReserve.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressReserve.json new file mode 100644 index 000000000000..694a9352bd23 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressReserve.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "isRollback": "false" + }, + "publicIpAddressName": "test-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static" + }, + "sku": { + "name": "Basic" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-01-01" + } + } + }, + "operationId": "PublicIPAddresses_ReserveCloudServicePublicIpAddress", + "title": "Reserve public IP address " +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressUpdateTags.json new file mode 100644 index 000000000000..659bdbffea59 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpAddressUpdateTags.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "publicIpAddressName": "test-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "westus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "idleTimeoutInMinutes": 10, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "PublicIPAddresses_UpdateTags", + "title": "Update public IP address tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixCreateCustomizedValues.json new file mode 100644 index 000000000000..5178dc412025 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixCreateCustomizedValues.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westus", + "properties": { + "prefixLength": 30, + "publicIPAddressVersion": "IPv4" + }, + "sku": { + "name": "Standard", + "tier": "Regional" + } + }, + "publicIpPrefixName": "test-ipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard", + "tier": "Regional" + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard", + "tier": "Regional" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "PublicIPPrefixes_CreateOrUpdate", + "title": "Create public IP prefix allocation method" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixCreateDefaults.json new file mode 100644 index 000000000000..d87224cd4e87 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixCreateDefaults.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westus", + "properties": { + "prefixLength": 30 + }, + "sku": { + "name": "Standard" + } + }, + "publicIpPrefixName": "test-ipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "PublicIPPrefixes_CreateOrUpdate", + "title": "Create public IP prefix defaults" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixCreateDefaultsStandardV2Sku.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixCreateDefaultsStandardV2Sku.json new file mode 100644 index 000000000000..b2bcbdb1757e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixCreateDefaultsStandardV2Sku.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westus", + "properties": { + "prefixLength": 30 + }, + "sku": { + "name": "StandardV2" + } + }, + "publicIpPrefixName": "test-ipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "StandardV2" + } + } + }, + "201": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "StandardV2" + } + } + } + }, + "operationId": "PublicIPPrefixes_CreateOrUpdate", + "title": "Create public IP prefix defaults with StandardV2 Sku" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixDelete.json new file mode 100644 index 000000000000..fb4049afc8d9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "publicIpPrefixName": "test-ipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "PublicIPPrefixes_Delete", + "title": "Delete public IP prefix" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixGet.json new file mode 100644 index 000000000000..dba44ce73d21 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "publicIpPrefixName": "test-ipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "PublicIPPrefixes_Get", + "title": "Get public IP prefix" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixGetStandardV2Sku.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixGetStandardV2Sku.json new file mode 100644 index 000000000000..3cc0d1bf0ea5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixGetStandardV2Sku.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "publicIpPrefixName": "test-ipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "StandardV2" + } + } + } + }, + "operationId": "PublicIPPrefixes_Get", + "title": "Get public IP prefix with StandardV2 sku" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixList.json new file mode 100644 index 000000000000..78eed9f387f9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixList.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "40.85.154.2/30", + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + } + ], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + }, + { + "name": "ipprefix03", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03", + "location": "westus", + "properties": { + "ipPrefix": "40.85.153.2/31", + "ipTags": [], + "prefixLength": 31, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + ] + } + } + }, + "operationId": "PublicIPPrefixes_List", + "title": "List resource group public IP prefixes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixListAll.json new file mode 100644 index 000000000000..0129d0fce1c1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixListAll.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "41.85.154.247/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + }, + { + "name": "ipprefix01", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01", + "location": "westus", + "properties": { + "ipPrefix": "40.85.154.247/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + }, + { + "name": "pfx", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/publicIPPrefixes/pfx", + "location": "westus", + "properties": { + "ipPrefix": "25.101.84.16/30", + "ipTags": [], + "loadBalancerFrontendIpConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/loadBalancers/lb-pfx/frontendIPConfigurations/ipconfig1" + }, + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + ] + } + } + }, + "operationId": "PublicIPPrefixes_ListAll", + "title": "List all public IP prefixes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixUpdateTags.json new file mode 100644 index 000000000000..b5a62d783652 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/PublicIpPrefixUpdateTags.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "publicIpPrefixName": "test-ipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "40.85.154.247/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "PublicIPPrefixes_UpdateTags", + "title": "Update public IP prefix tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/QueryInboundNatRulePortMapping.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/QueryInboundNatRulePortMapping.json new file mode 100644 index 000000000000..fdf8e520a7c9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/QueryInboundNatRulePortMapping.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "backendPoolName": "bp1", + "groupName": "rg1", + "loadBalancerName": "lb1", + "parameters": { + "ipAddress": "10.0.0.4" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "inboundNatRulePortMappings": [ + { + "backendPort": 3389, + "frontendPort": 3389, + "inboundNatRuleName": "natRule", + "protocol": "Tcp" + } + ] + } + }, + "202": { + "body": { + "inboundNatRulePortMappings": [ + { + "backendPort": 3389, + "frontendPort": 3389, + "inboundNatRuleName": "natRule", + "protocol": "Tcp" + } + ] + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bp1/queryInboundNatRulePortMapping?api-version=2025-07-01" + } + } + }, + "operationId": "LoadBalancers_ListInboundNatRulePortMappings", + "title": "Query inbound NAT rule port mapping" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisIntentDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisIntentDelete.json new file mode 100644 index 000000000000..fc765e90426f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisIntentDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "reachabilityAnalysisIntentName": "testAnalysisIntent", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testWorkspace" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ReachabilityAnalysisIntents_Delete", + "title": "ReachabilityAnalysisIntentDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisIntentGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisIntentGet.json new file mode 100644 index 000000000000..227ab68afc26 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisIntentGet.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "reachabilityAnalysisIntentName": "testAnalysisIntentName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testWorkspace" + }, + "responses": { + "200": { + "body": { + "name": "testAnalysisIntentName", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisIntents", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace/reachabilityAnalysisIntents/testAnalysisIntentName", + "properties": { + "description": "A sample reachability analysis intent", + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "provisioningState": "Succeeded", + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ReachabilityAnalysisIntents_Get", + "title": "ReachabilityAnalysisIntentGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisIntentList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisIntentList.json new file mode 100644 index 000000000000..e295f8f358e2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisIntentList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testVerifierWorkspace1" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testReachabilityAnalysisIntenant1", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisIntents", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents/testReachabilityAnalysisIntenant1", + "properties": { + "description": "A sample reachability analysis intent", + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "provisioningState": "Succeeded", + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ReachabilityAnalysisIntents_List", + "title": "ReachabilityAnalysisIntentList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisIntentPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisIntentPut.json new file mode 100644 index 000000000000..d570bc4e8df4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisIntentPut.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "body": { + "properties": { + "description": "A sample reachability analysis intent", + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + } + }, + "networkManagerName": "testNetworkManager", + "reachabilityAnalysisIntentName": "testAnalysisIntentName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testWorkspace" + }, + "responses": { + "200": { + "body": { + "name": "testAnalysisIntentName", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisIntents", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace/reachabilityAnalysisIntents/testAnalysisIntentName", + "properties": { + "description": "A sample reachability analysis intent", + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "provisioningState": "Succeeded", + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "testAnalysisIntentName", + "type": "Microsoft.Network/networkManagers/reachabilityAnalysisIntents", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace/reachabilityAnalysisIntents/testAnalysisIntentName", + "properties": { + "description": "A sample reachability analysis intent", + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "provisioningState": "Succeeded", + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ReachabilityAnalysisIntents_Create", + "title": "ReachabilityAnalysisIntentCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisRunDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisRunDelete.json new file mode 100644 index 000000000000..1a9adfef0361 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisRunDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "reachabilityAnalysisRunName": "testAnalysisRun", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testWorkspace" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/verifierWorkspaceOperationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ReachabilityAnalysisRuns_Delete", + "title": "ReachabilityAnalysisRunDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisRunGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisRunGet.json new file mode 100644 index 000000000000..362b20188cbc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisRunGet.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "reachabilityAnalysisRunName": "testAnalysisRunName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testWorkspace" + }, + "responses": { + "200": { + "body": { + "name": "testAnalysisRunName", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace/reachabilityAnalysisRuns/testAnalysisRunName", + "properties": { + "description": "A sample reachability analysis intent", + "analysisResult": "{\"resultOutcome\":\"NoPacketsReached\",\"unreachedTrace\":\"[{\\\"name\\\":\\\"testVmSrc\\\",\\\"resourceId\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc\\\",\\\"resourceType\\\":\\\"Microsoft.Compute/virtualMachines\\\",\\\"packet\\\":{\\\"destinationAddress\\\":\\\"10.1.0.4\\\",\\\"destinationPort\\\":\\\"0\\\",\\\"sourceAddress\\\":\\\"10.5.0.4\\\",\\\"sourcePort\\\":\\\"0\\\",\\\"protocol\\\":\\\"TCP\\\"},\\\"explanation\\\":{\\\"description\\\":\\\"Packet has source IP address matching one of the network interface IPs.\\\",\\\"explanationCode\\\":\\\"MATCHED_NETWORK_INTERFACE_IP_SOURCE\\\",\\\"matchedNetworkInterfaceAddress\\\":{\\\"networkInterface\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface\\\",\\\"ipAddress\\\":\\\"10.5.0.4\\\"}}},{\\\"name\\\":\\\"testNetworkInterface\\\",\\\"resourceId\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface\\\",\\\"resourceType\\\":\\\"Microsoft.Network/networkInterfaces\\\",\\\"packet\\\":{\\\"destinationAddress\\\":\\\"10.1.0.4\\\",\\\"destinationPort\\\":\\\"0\\\",\\\"sourceAddress\\\":\\\"10.5.0.4\\\",\\\"sourcePort\\\":\\\"0\\\",\\\"protocol\\\":\\\"TCP\\\"},\\\"explanation\\\":{\\\"description\\\":\\\"Packet has source IP address matching one of the network interface IPs.\\\",\\\"explanationCode\\\":\\\"MATCHED_NETWORK_INTERFACE_IP_SOURCE\\\",\\\"matchedNetworkInterfaceAddress\\\":{\\\"networkInterface\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface\\\",\\\"ipAddress\\\":\\\"10.5.0.4\\\"}}},{\\\"name\\\":\\\"testNetworkManager\\\",\\\"resourceId\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager\\\",\\\"resourceType\\\":\\\"Microsoft.Network/networkManagers\\\",\\\"packet\\\":{\\\"destinationAddress\\\":\\\"10.1.0.4\\\",\\\"destinationPort\\\":\\\"0\\\",\\\"sourceAddress\\\":\\\"10.5.0.4\\\",\\\"sourcePort\\\":\\\"0\\\",\\\"protocol\\\":\\\"TCP\\\"},\\\"explanation\\\":{\\\"description\\\":\\\"Packet matched an admin security rule.\\\",\\\"explanationCode\\\":\\\"MATCHED_ADMIN_SECURITY_RULE\\\",\\\"matchedSecurityRule\\\":{\\\"name\\\":\\\"AllowAllOutbound\\\",\\\"action\\\":\\\"Allow\\\",\\\"destinationAddress\\\":\\\"*\\\",\\\"sourceAddress\\\":\\\"*\\\",\\\"destinationPort\\\":\\\"1-65535\\\",\\\"sourcePort\\\":\\\"1-65535\\\",\\\"protocol\\\":\\\"Any\\\"}}},{\\\"name\\\":\\\"testnsg\\\",\\\"resourceId\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg-eus2\\\",\\\"resourceType\\\":\\\"Microsoft.Network/networkSecurityGroups\\\",\\\"packet\\\":{\\\"destinationAddress\\\":\\\"10.1.0.4\\\",\\\"destinationPort\\\":\\\"0\\\",\\\"sourceAddress\\\":\\\"10.5.0.4\\\",\\\"sourcePort\\\":\\\"0\\\",\\\"protocol\\\":\\\"TCP\\\"},\\\"explanation\\\":{\\\"description\\\":\\\"Packet matched a network security rule.\\\",\\\"explanationCode\\\":\\\"MATCHED_NETWORK_SECURITY_RULE\\\",\\\"matchedSecurityRule\\\":{\\\"name\\\":\\\"defaultSecurityRules/AllowVnetOutBound\\\",\\\"action\\\":\\\"allow\\\",\\\"destinationAddress\\\":\\\"VirtualNetwork\\\",\\\"sourceAddress\\\":\\\"VirtualNetwork\\\",\\\"destinationPort\\\":\\\"0-65535\\\",\\\"sourcePort\\\":\\\"0-65535\\\",\\\"protocol\\\":\\\"All\\\"}}},{\\\"name\\\":\\\"default\\\",\\\"resourceId\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default\\\",\\\"resourceType\\\":\\\"Microsoft.Network/virtualNetworks/subnets\\\",\\\"packet\\\":{\\\"destinationAddress\\\":\\\"10.1.0.4\\\",\\\"destinationPort\\\":\\\"0\\\",\\\"sourceAddress\\\":\\\"10.5.0.4\\\",\\\"sourcePort\\\":\\\"0\\\",\\\"protocol\\\":\\\"TCP\\\"},\\\"explanation\\\":{\\\"description\\\":\\\"Packet matched a system route.\\\",\\\"explanationCode\\\":\\\"MATCHED_SYSTEM_ROUTE\\\",\\\"matchedSubnetRoute\\\":{\\\"source\\\":\\\"Default\\\",\\\"addressPrefix\\\":\\\"10.1.0.0/16\\\",\\\"nextHopIpAddress\\\":[],\\\"nextHopType\\\":\\\"ConnectedGroup\\\"}}},{\\\"name\\\":\\\"testvnet1\\\",\\\"resourceId\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testvnet1\\\",\\\"resourceType\\\":\\\"Microsoft.Network/virtualNetworks\\\",\\\"packet\\\":{\\\"destinationAddress\\\":\\\"10.1.0.4\\\",\\\"destinationPort\\\":\\\"0\\\",\\\"sourceAddress\\\":\\\"10.5.0.4\\\",\\\"sourcePort\\\":\\\"0\\\",\\\"protocol\\\":\\\"TCP\\\"},\\\"explanation\\\":{\\\"description\\\":\\\"Packet destination IP is destined to subnet prefix.\\\",\\\"explanationCode\\\":\\\"MATCHED_SUBNET_PREFIX\\\",\\\"matchedSubnetPrefix\\\":{\\\"subnet\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testvnet-1/subnets/default\\\",\\\"subnetPrefix\\\":\\\"10.1.0.0/24\\\"}}},{\\\"name\\\":\\\"default\\\",\\\"resourceId\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testvnet1/subnets/default\\\",\\\"resourceType\\\":\\\"Microsoft.Network/virtualNetworks/subnets\\\",\\\"packet\\\":{\\\"destinationAddress\\\":\\\"10.1.0.4\\\",\\\"destinationPort\\\":\\\"443\\\",\\\"sourceAddress\\\":\\\"10.5.0.4\\\",\\\"sourcePort\\\":\\\"0\\\"\\\"protocol\\\":\\\"TCP\\\"},\\\"explanation\\\":{\\\"description\\\":\\\"Packet denied due to VM not currently running.\\\",\\\"explanationCode\\\":\\\"VM_TURNED_OFF\\\"}}]\"}", + "errorMessage": "", + "intentContent": { + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + }, + "intentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents/testReachabilityAnalysisIntenant1", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ReachabilityAnalysisRuns_Get", + "title": "ReachabilityAnalysisRunGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisRunList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisRunList.json new file mode 100644 index 000000000000..e9c39109cc59 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisRunList.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testVerifierWorkspace1" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisRuns?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testReachabilityAnalysisRun1", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisRuns/testReachabilityAnalysisRun1", + "properties": { + "description": "A sample reachability analysis intent", + "intentContent": { + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + }, + "intentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents/testReachabilityAnalysisIntenant1", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ReachabilityAnalysisRuns_List", + "title": "ReachabilityAnalysisRunList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisRunPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisRunPut.json new file mode 100644 index 000000000000..3bdf5f44e8b1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ReachabilityAnalysisRunPut.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "body": { + "properties": { + "description": "A sample reachability analysis run", + "intentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents/testReachabilityAnalysisIntenant1" + } + }, + "networkManagerName": "testNetworkManager", + "reachabilityAnalysisRunName": "testAnalysisRunName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testWorkspace" + }, + "responses": { + "200": { + "body": { + "name": "testAnalysisRunName", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace/reachabilityAnalysisRuns/testAnalysisRunName", + "properties": { + "description": "A sample reachability analysis intent", + "intentContent": { + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + }, + "intentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents/testReachabilityAnalysisIntenant1", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "testAnalysisRunName", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/verifierWorkspaces/testWorkspace/reachabilityAnalysisRuns/testAnalysisRunName", + "properties": { + "description": "A sample reachability analysis intent", + "intentContent": { + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + }, + "intentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents/testReachabilityAnalysisIntenant1", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ReachabilityAnalysisRuns_Create", + "title": "ReachabilityAnalysisRunCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterCreate.json new file mode 100644 index 000000000000..616e6bfb1022 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterCreate.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeFilterName": "filterName", + "routeFilterParameters": { + "location": "West US", + "properties": { + "rules": [ + { + "name": "ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "routeFilterRuleType": "Community" + } + } + ] + }, + "tags": { + "key1": "value1" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "filterName", + "type": "Microsoft.Network/routeFilters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", + "location": "West US", + "properties": { + "peerings": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "filterName", + "type": "Microsoft.Network/routeFilters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", + "location": "West US", + "properties": { + "peerings": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "RouteFilters_CreateOrUpdate", + "title": "RouteFilterCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterDelete.json new file mode 100644 index 000000000000..4e45da5cbefe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeFilterName": "filterName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "RouteFilters_Delete", + "title": "RouteFilterDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterGet.json new file mode 100644 index 000000000000..ae4365c234bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterGet.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeFilterName": "filterName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "filterName", + "type": "Microsoft.Network/routeFilters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", + "location": "West US", + "properties": { + "peerings": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "RouteFilters_Get", + "title": "RouteFilterGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterList.json new file mode 100644 index 000000000000..1a4131d6b5bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterList.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "filterName", + "type": "Microsoft.Network/routeFilters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", + "location": "West US", + "properties": { + "peerings": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "RouteFilters_List", + "title": "RouteFilterList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterListByResourceGroup.json new file mode 100644 index 000000000000..ef2a106ae639 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterListByResourceGroup.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "filterName", + "type": "Microsoft.Network/routeFilters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", + "location": "West US", + "properties": { + "peerings": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "RouteFilters_ListByResourceGroup", + "title": "RouteFilterListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterRuleCreate.json new file mode 100644 index 000000000000..4f9c9342b929 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterRuleCreate.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeFilterName": "filterName", + "routeFilterRuleParameters": { + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "routeFilterRuleType": "Community" + } + }, + "ruleName": "ruleName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + }, + "201": { + "body": { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + } + }, + "operationId": "RouteFilterRules_CreateOrUpdate", + "title": "RouteFilterRuleCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterRuleDelete.json new file mode 100644 index 000000000000..44e0b0c6974b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterRuleDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeFilterName": "filterName", + "ruleName": "ruleName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "RouteFilterRules_Delete", + "title": "RouteFilterRuleDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterRuleGet.json new file mode 100644 index 000000000000..41e3d1e9a363 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterRuleGet.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeFilterName": "filterName", + "ruleName": "filterName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + } + }, + "operationId": "RouteFilterRules_Get", + "title": "RouteFilterRuleGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterRuleListByRouteFilter.json new file mode 100644 index 000000000000..1e6a37cccc6f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterRuleListByRouteFilter.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeFilterName": "filterName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + ] + } + } + }, + "operationId": "RouteFilterRules_ListByRouteFilter", + "title": "RouteFilterRuleListByRouteFilter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterUpdateTags.json new file mode 100644 index 000000000000..8b5d933d29de --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteFilterUpdateTags.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "routeFilterName": "filterName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "filterName", + "type": "Microsoft.Network/routeFilters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", + "location": "West US", + "properties": { + "peerings": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "RouteFilters_UpdateTags", + "title": "Update route filter tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteMapDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteMapDelete.json new file mode 100644 index 000000000000..5cfc4bc4a05c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteMapDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeMapName": "routeMap1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "RouteMaps_Delete", + "title": "RouteMapDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteMapGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteMapGet.json new file mode 100644 index 000000000000..bd4c04513d46 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteMapGet.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeMapName": "routeMap1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "routeMap1", + "type": "Microsoft.Network/virtualHubs/routeMaps", + "etag": "W/\"e203e953-7ba7-4302-a246-aa2ec03f6edf\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1", + "properties": { + "associatedInboundConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1" + ], + "associatedOutboundConnections": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "rule1", + "actions": [ + { + "type": "Add", + "parameters": [ + { + "asPath": [ + "22334" + ], + "community": [], + "routePrefix": [] + } + ] + } + ], + "matchCriteria": [ + { + "asPath": [], + "community": [], + "matchCondition": "Contains", + "routePrefix": [ + "10.0.0.0/8" + ] + } + ], + "nextStepIfMatched": "Continue" + } + ] + } + } + } + }, + "operationId": "RouteMaps_Get", + "title": "RouteMapGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteMapList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteMapList.json new file mode 100644 index 000000000000..788666b1f8a6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteMapList.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "routeMap1", + "type": "Microsoft.Network/virtualHubs/routeMaps", + "etag": "W/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1", + "properties": { + "associatedInboundConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1" + ], + "associatedOutboundConnections": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "rule1", + "actions": [ + { + "type": "Add", + "parameters": [ + { + "asPath": [ + "22334" + ], + "community": [], + "routePrefix": [] + } + ] + } + ], + "matchCriteria": [ + { + "asPath": [], + "community": [], + "matchCondition": "Contains", + "routePrefix": [ + "10.0.0.0/8" + ] + } + ], + "nextStepIfMatched": "Continue" + } + ] + } + } + ] + } + } + }, + "operationId": "RouteMaps_List", + "title": "RouteMapList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteMapPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteMapPut.json new file mode 100644 index 000000000000..e1462bfeb53d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteMapPut.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeMapName": "routeMap1", + "routeMapParameters": { + "properties": { + "associatedInboundConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1" + ], + "associatedOutboundConnections": [], + "rules": [ + { + "name": "rule1", + "actions": [ + { + "type": "Add", + "parameters": [ + { + "asPath": [ + "22334" + ], + "community": [], + "routePrefix": [] + } + ] + } + ], + "matchCriteria": [ + { + "asPath": [], + "community": [], + "matchCondition": "Contains", + "routePrefix": [ + "10.0.0.0/8" + ] + } + ], + "nextStepIfMatched": "Continue" + } + ] + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "routeMap1", + "type": "Microsoft.Network/virtualHubs/routeMaps", + "etag": "W/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1", + "properties": { + "associatedInboundConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1" + ], + "associatedOutboundConnections": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "rule1", + "actions": [ + { + "type": "Add", + "parameters": [ + { + "asPath": [ + "22334" + ], + "community": [], + "routePrefix": [] + } + ] + } + ], + "matchCriteria": [ + { + "asPath": [], + "community": [], + "matchCondition": "Contains", + "routePrefix": [ + "10.0.0.0/8" + ] + } + ], + "nextStepIfMatched": "Continue" + } + ] + } + } + }, + "201": { + "body": { + "name": "routeMap1", + "type": "Microsoft.Network/virtualHubs/routeMaps", + "etag": "W/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1", + "properties": { + "associatedInboundConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1" + ], + "associatedOutboundConnections": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "rule1", + "actions": [ + { + "type": "Add", + "parameters": [ + { + "asPath": [ + "22334" + ], + "community": [], + "routePrefix": [] + } + ] + } + ], + "matchCriteria": [ + { + "asPath": [], + "community": [], + "matchCondition": "Contains", + "routePrefix": [ + "10.0.0.0/8" + ] + } + ], + "nextStepIfMatched": "Continue" + } + ] + } + } + } + }, + "operationId": "RouteMaps_CreateOrUpdate", + "title": "RouteMapPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableCreate.json new file mode 100644 index 000000000000..4e1e2c18b73c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableCreate.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westus" + }, + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testrt", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "location": "westus", + "properties": { + "disableBgpRoutePropagation": true, + "provisioningState": "Succeeded", + "routes": [] + } + } + }, + "201": { + "body": { + "name": "testrt", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "location": "westus", + "properties": { + "disableBgpRoutePropagation": true, + "provisioningState": "Succeeded", + "routes": [] + } + } + } + }, + "operationId": "RouteTables_CreateOrUpdate", + "title": "Create route table" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableCreateWithDisablePeeringRoute.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableCreateWithDisablePeeringRoute.json new file mode 100644 index 000000000000..c9246a170bdb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableCreateWithDisablePeeringRoute.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "parameters": { + "location": "westus", + "properties": { + "disableBgpRoutePropagation": true, + "disablePeeringRoute": "All" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testrt", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "type": "Microsoft.Network/routeTables", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "disableBgpRoutePropagation": true, + "disablePeeringRoute": "All", + "routes": [] + } + } + }, + "201": { + "body": { + "name": "testrt", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "type": "Microsoft.Network/routeTables", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "disableBgpRoutePropagation": true, + "disablePeeringRoute": "All", + "routes": [] + } + } + } + }, + "operationId": "RouteTables_CreateOrUpdate", + "title": "Create route table with disable peering route" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableCreateWithEcmpRoute.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableCreateWithEcmpRoute.json new file mode 100644 index 000000000000..5b63175084c2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableCreateWithEcmpRoute.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westus", + "properties": { + "disableBgpRoutePropagation": false, + "routes": [ + { + "name": "ecmp-route", + "properties": { + "addressPrefix": "10.1.0.0/16", + "nextHopType": "VirtualApplianceEcmp", + "nextHop": { + "nextHopIpAddresses": [ + "10.0.0.4", + "10.0.0.5", + "10.0.0.6" + ] + } + } + } + ] + } + }, + "resourceGroupName": "rg1", + "routeTableName": "testrt-ecmp", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testrt-ecmp", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt-ecmp", + "location": "westus", + "properties": { + "disableBgpRoutePropagation": false, + "provisioningState": "Succeeded", + "routes": [ + { + "name": "ecmp-route", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt-ecmp/routes/ecmp-route", + "properties": { + "addressPrefix": "10.1.0.0/16", + "nextHopType": "VirtualApplianceEcmp", + "nextHop": { + "nextHopIpAddresses": [ + "10.0.0.4", + "10.0.0.5", + "10.0.0.6" + ] + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "testrt-ecmp", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt-ecmp", + "location": "westus", + "properties": { + "disableBgpRoutePropagation": false, + "provisioningState": "Succeeded", + "routes": [ + { + "name": "ecmp-route", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt-ecmp/routes/ecmp-route", + "properties": { + "addressPrefix": "10.1.0.0/16", + "nextHopType": "VirtualApplianceEcmp", + "nextHop": { + "nextHopIpAddresses": [ + "10.0.0.4", + "10.0.0.5", + "10.0.0.6" + ] + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + } + }, + "operationId": "RouteTables_CreateOrUpdate", + "title": "Create route table with ECMP route" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableCreateWithRoute.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableCreateWithRoute.json new file mode 100644 index 000000000000..ab2ff4b29ad9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableCreateWithRoute.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westus", + "properties": { + "disableBgpRoutePropagation": true, + "routes": [ + { + "name": "route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway" + } + } + ] + } + }, + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testrt", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "location": "westus", + "properties": { + "disableBgpRoutePropagation": true, + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "testrt", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway", + "provisioningState": "Succeeded" + } + } + ] + } + } + } + }, + "operationId": "RouteTables_CreateOrUpdate", + "title": "Create route table with route" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableDelete.json new file mode 100644 index 000000000000..ab46c8a9186c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "RouteTables_Delete", + "title": "Delete route table" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableGet.json new file mode 100644 index 000000000000..18463f7544b0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testrt", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "location": "westus", + "properties": { + "disableBgpRoutePropagation": false, + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway", + "provisioningState": "Succeeded" + } + } + ] + } + } + } + }, + "operationId": "RouteTables_Get", + "title": "Get route table" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableList.json new file mode 100644 index 000000000000..ffc40ec588e5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableList.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testrt", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "location": "westus", + "properties": { + "disableBgpRoutePropagation": true, + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway", + "provisioningState": "Succeeded" + } + } + ] + } + }, + { + "name": "testrt2", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt2", + "location": "westus", + "properties": { + "disableBgpRoutePropagation": true, + "provisioningState": "Succeeded", + "routes": [] + } + } + ] + } + } + }, + "operationId": "RouteTables_List", + "title": "List route tables in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableListAll.json new file mode 100644 index 000000000000..f4d82fa26c9d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableListAll.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testrt", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway", + "provisioningState": "Succeeded" + } + } + ] + } + }, + { + "name": "testrt3", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/routeTables/testrt3", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "routes": [] + } + } + ] + } + } + }, + "operationId": "RouteTables_ListAll", + "title": "List all route tables" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableRouteCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableRouteCreate.json new file mode 100644 index 000000000000..700c6579b079 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableRouteCreate.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeName": "route1", + "routeParameters": { + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway" + } + }, + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "Routes_CreateOrUpdate", + "title": "Create route" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableRouteCreateEcmp.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableRouteCreateEcmp.json new file mode 100644 index 000000000000..249da7d81e64 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableRouteCreateEcmp.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeName": "ecmp-route", + "routeParameters": { + "properties": { + "addressPrefix": "10.1.0.0/16", + "nextHopType": "VirtualApplianceEcmp", + "nextHop": { + "nextHopIpAddresses": [ + "10.0.0.4", + "10.0.0.5", + "10.0.0.6" + ] + } + } + }, + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ecmp-route", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/ecmp-route", + "properties": { + "addressPrefix": "10.1.0.0/16", + "nextHopType": "VirtualApplianceEcmp", + "nextHop": { + "nextHopIpAddresses": [ + "10.0.0.4", + "10.0.0.5", + "10.0.0.6" + ] + }, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "ecmp-route", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/ecmp-route", + "properties": { + "addressPrefix": "10.1.0.0/16", + "nextHopType": "VirtualApplianceEcmp", + "nextHop": { + "nextHopIpAddresses": [ + "10.0.0.4", + "10.0.0.5", + "10.0.0.6" + ] + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "Routes_CreateOrUpdate", + "title": "Create ECMP route" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableRouteDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableRouteDelete.json new file mode 100644 index 000000000000..1e17273402af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableRouteDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeName": "route1", + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "Routes_Delete", + "title": "Delete route" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableRouteGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableRouteGet.json new file mode 100644 index 000000000000..eb997f6c4c3b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableRouteGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeName": "route1", + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "Internet", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "Routes_Get", + "title": "Get route" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableRouteList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableRouteList.json new file mode 100644 index 000000000000..3d6eeecf0bff --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableRouteList.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "Internet", + "provisioningState": "Succeeded" + } + }, + { + "name": "route2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route2", + "properties": { + "addressPrefix": "10.0.2.0/24", + "nextHopType": "VirtualNetworkGateway", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "Routes_List", + "title": "List routes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableUpdateTags.json new file mode 100644 index 000000000000..263884c15b11 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RouteTableUpdateTags.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testrt", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "routes": [] + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "RouteTables_UpdateTags", + "title": "Update route table tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RoutingIntentDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RoutingIntentDelete.json new file mode 100644 index 000000000000..4d2ccbc52152 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RoutingIntentDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routingIntentName": "Intent1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "RoutingIntent_Delete", + "title": "RouteTableDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RoutingIntentGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RoutingIntentGet.json new file mode 100644 index 000000000000..cf5a4970b839 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RoutingIntentGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routingIntentName": "Intent1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "Intent1", + "type": "Microsoft.Network/virtualHubs/routingIntent", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routingIntent/Intent1", + "properties": { + "provisioningState": "Succeeded", + "routingPolicies": [ + { + "name": "InternetTraffic", + "destinations": [ + "Internet" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + }, + { + "name": "PrivateTrafficPolicy", + "destinations": [ + "PrivateTraffic" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + } + ] + } + } + } + }, + "operationId": "RoutingIntent_Get", + "title": "RouteTableGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RoutingIntentList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RoutingIntentList.json new file mode 100644 index 000000000000..d8502afb7fb9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RoutingIntentList.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Intent1", + "type": "Microsoft.Network/virtualHubs/routingIntent", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routingIntent/Intent1", + "properties": { + "provisioningState": "Succeeded", + "routingPolicies": [ + { + "name": "InternetTraffic", + "destinations": [ + "Internet" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + }, + { + "name": "PrivateTrafficPolicy", + "destinations": [ + "PrivateTraffic" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + } + ] + } + } + ] + } + } + }, + "operationId": "RoutingIntent_List", + "title": "RoutingIntentList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RoutingIntentPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RoutingIntentPut.json new file mode 100644 index 000000000000..0d7c867c719e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/RoutingIntentPut.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routingIntentName": "Intent1", + "routingIntentParameters": { + "properties": { + "routingPolicies": [ + { + "name": "InternetTraffic", + "destinations": [ + "Internet" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + }, + { + "name": "PrivateTrafficPolicy", + "destinations": [ + "PrivateTraffic" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + } + ] + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "Intent1", + "type": "Microsoft.Network/virtualHubs/routingIntent", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routingIntent/Intent1", + "properties": { + "provisioningState": "Succeeded", + "routingPolicies": [ + { + "name": "InternetTraffic", + "destinations": [ + "Internet" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + }, + { + "name": "PrivateTrafficPolicy", + "destinations": [ + "PrivateTraffic" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + } + ] + } + } + }, + "201": { + "body": { + "name": "Intent1", + "type": "Microsoft.Network/virtualHubs/routingIntent", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routingIntent/Intent1", + "properties": { + "provisioningState": "Succeeded", + "routingPolicies": [ + { + "name": "InternetTraffic", + "destinations": [ + "Internet" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + }, + { + "name": "PrivateTrafficPolicy", + "destinations": [ + "PrivateTraffic" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + } + ] + } + } + } + }, + "operationId": "RoutingIntent_CreateOrUpdate", + "title": "RouteTablePut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderDelete.json new file mode 100644 index 000000000000..4f55c5532141 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "securityPartnerProviderName": "securityPartnerProvider", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "SecurityPartnerProviders_Delete", + "title": "Delete Security Partner Provider" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderGet.json new file mode 100644 index 000000000000..123460abc3c3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "securityPartnerProviderName": "securityPartnerProvider", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "securityPartnerProvider", + "type": "Microsoft.Network/securityPartnerProviders", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "location": "West US", + "properties": { + "connectionStatus": "Unknown", + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "SecurityPartnerProviders_Get", + "title": "Get Security Partner Provider" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderListByResourceGroup.json new file mode 100644 index 000000000000..c91faa24129e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderListByResourceGroup.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "securityPartnerProvider", + "type": "Microsoft.Network/securityPartnerProviders", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "location": "West US", + "properties": { + "connectionStatus": "Unknown", + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "SecurityPartnerProviders_ListByResourceGroup", + "title": "List all Security Partner Providers for a given resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderListBySubscription.json new file mode 100644 index 000000000000..82db9f828af1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderListBySubscription.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "securityPartnerProvider", + "type": "Microsoft.Network/securityPartnerProviders", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "location": "West US", + "properties": { + "connectionStatus": "Unknown", + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "SecurityPartnerProviders_List", + "title": "List all Security Partner Providers for a given subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderPut.json new file mode 100644 index 000000000000..7a4a9a6a46ca --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderPut.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "West US", + "properties": { + "securityProviderName": "ZScaler", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "securityPartnerProviderName": "securityPartnerProvider", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "securityPartnerProvider", + "type": "Microsoft.Network/securityPartnerProviders", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "location": "West US", + "properties": { + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "securityPartnerProvider", + "type": "Microsoft.Network/securityPartnerProviders", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "location": "West US", + "properties": { + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "SecurityPartnerProviders_CreateOrUpdate", + "title": "Create Security Partner Provider" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderUpdateTags.json new file mode 100644 index 000000000000..05fb8500773b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SecurityPartnerProviderUpdateTags.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "securityPartnerProviderName": "securityPartnerProvider", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "fw1", + "type": "Microsoft.Network/securityPartnerProviders", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azfwtest/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "location": "brazilsouth", + "properties": { + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "SecurityPartnerProviders_UpdateTags", + "title": "Update Security Partner Provider Tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceCommunityList.json new file mode 100644 index 000000000000..e9a54a5cf6aa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceCommunityList.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "skype", + "type": "Microsoft.Network/bgpServiceCommunities", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/bgpServiceCommunities/skype", + "properties": { + "bgpCommunities": [ + { + "communityName": "Skype For Business Online", + "communityPrefixes": [ + "13.67.56.225/32", + "13.67.186.105/32" + ], + "communityValue": "12076:5030", + "isAuthorizedToUse": true, + "serviceGroup": "O365", + "serviceSupportedRegion": "Global" + } + ], + "serviceName": "skype" + } + }, + { + "name": "exchange", + "type": "Microsoft.Network/bgpServiceCommunities", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/bgpServiceCommunities/exchange", + "properties": { + "bgpCommunities": [ + { + "communityName": "Exchange Online", + "communityPrefixes": [ + "13.67.56.225/32", + "13.67.186.105/32" + ], + "communityValue": "12076:5040", + "isAuthorizedToUse": true, + "serviceGroup": "O365", + "serviceSupportedRegion": "Global" + } + ], + "serviceName": "exchange" + } + } + ] + } + } + }, + "operationId": "BgpServiceCommunities_List", + "title": "ServiceCommunityList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyCreate.json new file mode 100644 index 000000000000..26b2c6128018 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyCreate.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westus" + }, + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/ServiceEndpointPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [], + "subnets": [] + } + } + }, + "201": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/ServiceEndpointPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testpolicy", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [], + "subnets": [] + } + } + } + }, + "operationId": "ServiceEndpointPolicies_CreateOrUpdate", + "title": "Create service endpoint policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyCreateWithDefinition.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyCreateWithDefinition.json new file mode 100644 index 000000000000..a155033943af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyCreateWithDefinition.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westus", + "properties": { + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ] + } + }, + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/ServiceEndpointPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy/serviceEndpointPolicyDefinitions/StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [] + } + } + }, + "201": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/ServiceEndpointPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy/serviceEndpointPolicyDefinitions/StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [] + } + } + } + }, + "operationId": "ServiceEndpointPolicies_CreateOrUpdate", + "title": "Create service endpoint policy with definition" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyDefinitionCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyDefinitionCreate.json new file mode 100644 index 000000000000..3c3b325842f1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyDefinitionCreate.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "ServiceEndpointPolicyDefinitions": { + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceEndpointPolicyDefinitionName": "testDefinition", + "serviceEndpointPolicyName": "testPolicy", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDefinition", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + }, + "201": { + "body": { + "name": "rule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + } + }, + "operationId": "ServiceEndpointPolicyDefinitions_CreateOrUpdate", + "title": "Create service endpoint policy definition" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyDefinitionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyDefinitionDelete.json new file mode 100644 index 000000000000..6b401d407857 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyDefinitionDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceEndpointPolicyDefinitionName": "testDefinition", + "serviceEndpointPolicyName": "testPolicy", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ServiceEndpointPolicyDefinitions_Delete", + "title": "Delete service endpoint policy definitions from service endpoint policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyDefinitionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyDefinitionGet.json new file mode 100644 index 000000000000..719aa2eaead7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyDefinitionGet.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceEndpointPolicyDefinitionName": "testDefinition", + "serviceEndpointPolicyName": "testPolicy", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDefinition", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + } + }, + "operationId": "ServiceEndpointPolicyDefinitions_Get", + "title": "Get service endpoint definition in service endpoint policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyDefinitionList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyDefinitionList.json new file mode 100644 index 000000000000..47b9f7e55701 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyDefinitionList.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testDef", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDef", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ] + } + } + }, + "operationId": "ServiceEndpointPolicyDefinitions_ListByResourceGroup", + "title": "List service endpoint definitions in service end point policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyDelete.json new file mode 100644 index 000000000000..5350691d0326 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "serviceEndpointPolicy1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ServiceEndpointPolicies_Delete", + "title": "Delete service endpoint policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyGet.json new file mode 100644 index 000000000000..1ba4ab9b9cbe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testServiceEndpointPolicy", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testServiceEndpointPolicy", + "type": "Microsoft.Network/serviceEndpointPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy/serviceEndpointPolicyDefinitions/StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [] + } + } + } + }, + "operationId": "ServiceEndpointPolicies_Get", + "title": "Get service endPoint Policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyList.json new file mode 100644 index 000000000000..d8f134b71451 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyList.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testServiceEndpointPolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy/serviceEndpointPolicyDefinitions/StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [] + } + }, + { + "name": "testServiceEndpointPolicy1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy1", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy1/serviceEndpointPolicyDefinitions/StorageServiceEndpointPolicyDefinition1", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [] + } + } + ] + } + } + }, + "operationId": "ServiceEndpointPolicies_ListByResourceGroup", + "title": "List resource group service endpoint policies" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyListAll.json new file mode 100644 index 000000000000..a38cd920c391 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyListAll.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testPolicy", + "type": "Microsoft.Network/serviceEndpointPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/StorageServiceEndpointPolicyDefinition1", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [] + } + }, + { + "name": "testPolicy1", + "type": "Microsoft.Network/serviceEndpointPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy2", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy1/serviceEndpointPolicyDefinitions/StorageServiceEndpointPolicyDefinition2", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [] + } + } + ] + } + } + }, + "operationId": "ServiceEndpointPolicies_List", + "title": "List all service endpoint policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyUpdateTags.json new file mode 100644 index 000000000000..fd8c63b0723b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceEndpointPolicyUpdateTags.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testServiceEndpointPolicy", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testServiceEndpointPolicy", + "type": "Microsoft.Network/serviceEndpointPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [] + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "ServiceEndpointPolicies_UpdateTags", + "title": "Update service endpoint policy tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayCreate.json new file mode 100644 index 000000000000..04a571486b02 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayCreate.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + } + }, + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sg", + "type": "Microsoft.Network/serviceGateways", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/sg", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + } + } + }, + "201": { + "body": { + "name": "sg", + "type": "Microsoft.Network/serviceGateways", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/sg", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + } + } + } + }, + "operationId": "ServiceGateways_CreateOrUpdate", + "title": "Create service gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayDelete.json new file mode 100644 index 000000000000..c9c0b116391d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayDelete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ServiceGateways_Delete", + "title": "Delete service gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayFullUpdateAddressLocationsRequest.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayFullUpdateAddressLocationsRequest.json new file mode 100644 index 000000000000..e9399b6f41d4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayFullUpdateAddressLocationsRequest.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "action": "FullUpdate", + "addressLocations": [ + { + "addressLocation": "192.0.0.1", + "addressUpdateAction": "FullUpdate", + "addresses": [ + { + "address": "10.0.0.4", + "services": [ + "Service1" + ] + } + ] + }, + { + "addressLocation": "192.0.0.2", + "addressUpdateAction": "PartialUpdate", + "addresses": [ + { + "address": "10.0.0.5", + "services": [ + "Service2" + ] + }, + { + "address": "10.0.0.6" + } + ] + } + ] + }, + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ServiceGateways_UpdateAddressLocations", + "title": "Full Update: Create, update, or delete address locations in the service gateway." +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayGet.json new file mode 100644 index 000000000000..f4fd604b8c80 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sg", + "type": "Microsoft.Network/serviceGateways", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/sg", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + } + } + } + }, + "operationId": "ServiceGateways_Get", + "title": "Get load balancer" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayGetAddressLocationsResponse.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayGetAddressLocationsResponse.json new file mode 100644 index 000000000000..18819759b0e1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayGetAddressLocationsResponse.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "addressLocation": "192.0.0.1", + "addresses": [ + { + "address": "10.0.0.4", + "services": [ + "Service1" + ] + } + ] + }, + { + "addressLocation": "192.0.0.2", + "addresses": [ + { + "address": "10.0.0.5", + "services": [ + "Service2" + ] + } + ] + } + ] + } + } + }, + "operationId": "ServiceGateways_GetAddressLocations", + "title": "Get address locations in service gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayGetServicesResponse.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayGetServicesResponse.json new file mode 100644 index 000000000000..a6c134c1a7f0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayGetServicesResponse.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Service1", + "properties": { + "isDefault": true, + "loadBalancerBackendPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/be1" + } + ], + "publicNatGatewayId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "serviceType": "Inbound" + } + }, + { + "name": "Service2", + "properties": { + "isDefault": false, + "loadBalancerBackendPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/be1" + } + ], + "publicNatGatewayId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "serviceType": "Outbound" + } + } + ] + } + } + }, + "operationId": "ServiceGateways_GetServices", + "title": "Get services in service gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayList.json new file mode 100644 index 000000000000..2c80884d0892 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayList.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sg", + "type": "Microsoft.Network/serviceGateways", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/sg", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + } + }, + { + "name": "sg2", + "type": "Microsoft.Network/serviceGateways", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/sg2", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + } + } + ] + } + } + }, + "operationId": "ServiceGateways_List", + "title": "List service gateway in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayListAll.json new file mode 100644 index 000000000000..88c49e244c4e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayListAll.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sg", + "type": "Microsoft.Network/serviceGateways", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/sg", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + } + }, + { + "name": "sg2", + "type": "Microsoft.Network/serviceGateways", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/sg2", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + } + } + ] + } + } + }, + "operationId": "ServiceGateways_ListAll", + "title": "List all load balancers" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayPartialUpdateAddressLocationsRequest.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayPartialUpdateAddressLocationsRequest.json new file mode 100644 index 000000000000..b9487c0a69bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayPartialUpdateAddressLocationsRequest.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "action": "PartialUpdate", + "addressLocations": [ + { + "addressLocation": "192.0.0.1", + "addressUpdateAction": "FullUpdate", + "addresses": [ + { + "address": "10.0.0.4", + "services": [ + "Service1" + ] + } + ] + }, + { + "addressLocation": "192.0.0.2", + "addressUpdateAction": "PartialUpdate", + "addresses": [ + { + "address": "10.0.0.5", + "services": [ + "Service2" + ] + }, + { + "address": "10.0.0.6" + } + ] + }, + { + "addressLocation": "192.0.0.3" + } + ] + }, + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ServiceGateways_UpdateAddressLocations", + "title": "Partial Update: Create, update, or delete address locations in the service gateway." +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayUpdateServicesRequest.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayUpdateServicesRequest.json new file mode 100644 index 000000000000..b98ba9321a9d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayUpdateServicesRequest.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "action": "FullUpdate", + "serviceRequests": [ + { + "service": { + "name": "Service1", + "properties": { + "isDefault": true, + "loadBalancerBackendPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/be1" + } + ], + "publicNatGatewayId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "serviceType": "Inbound" + } + } + }, + { + "isDelete": true, + "service": { + "name": "Service2", + "properties": { + "isDefault": false, + "serviceType": "Outbound" + } + } + } + ] + }, + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ServiceGateways_UpdateServices", + "title": "Create or full update services in service gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayUpdateTags.json new file mode 100644 index 000000000000..59acabada58d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceGatewayUpdateTags.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sg", + "type": "Microsoft.Network/serviceGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/sg", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "ServiceGateways_UpdateTags", + "title": "Update service gateway tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceTagInformationListResult.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceTagInformationListResult.json new file mode 100644 index 000000000000..d0e540bc8655 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceTagInformationListResult.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westeurope", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ApiManagement", + "id": "ApiManagement", + "properties": { + "addressPrefixes": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "changeNumber": "7", + "region": "", + "systemService": "AzureApiManagement" + } + }, + { + "name": "ApiManagement.AustraliaCentral", + "id": "ApiManagement.AustraliaCentral", + "properties": { + "addressPrefixes": [ + "20.36.106.68/31", + "20.36.107.176/28" + ], + "changeNumber": "2", + "region": "australiacentral", + "systemService": "AzureApiManagement" + } + } + ] + } + } + }, + "operationId": "ServiceTagInformation_List", + "title": "Get list of service tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceTagInformationListResultWithNoAddressPrefixes.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceTagInformationListResultWithNoAddressPrefixes.json new file mode 100644 index 000000000000..87dc9d50c8ba --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceTagInformationListResultWithNoAddressPrefixes.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westeurope", + "noAddressPrefixes": "true", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ApiManagement", + "id": "ApiManagement", + "properties": { + "addressPrefixes": [], + "changeNumber": "7", + "region": "", + "systemService": "AzureApiManagement" + } + }, + { + "name": "ApiManagement.AustraliaCentral", + "id": "ApiManagement.AustraliaCentral", + "properties": { + "addressPrefixes": [], + "changeNumber": "2", + "region": "australiacentral", + "systemService": "AzureApiManagement" + } + } + ] + } + } + }, + "operationId": "ServiceTagInformation_List", + "title": "Get list of service tags with no address prefixes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceTagInformationListResultWithTagname.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceTagInformationListResultWithTagname.json new file mode 100644 index 000000000000..5a906f051437 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceTagInformationListResultWithTagname.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westeurope", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tagName": "ApiManagement" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ApiManagement", + "id": "ApiManagement", + "properties": { + "addressPrefixes": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "changeNumber": "7", + "region": "", + "systemService": "AzureApiManagement" + } + } + ] + } + } + }, + "operationId": "ServiceTagInformation_List", + "title": "Get list of service tags with tag name." +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceTagsList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceTagsList.json new file mode 100644 index 000000000000..4f99df08148e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/ServiceTagsList.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westcentralus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "public", + "type": "Microsoft.Network/serviceTags", + "changeNumber": "63", + "cloud": "Public", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/serviceTags/public", + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/serviceTags?api-version=2020-06-01&changenumber=changenumber&$skipToken={skipToken}", + "values": [ + { + "name": "ApiManagement", + "id": "ApiManagement", + "properties": { + "addressPrefixes": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "changeNumber": "7", + "region": "", + "systemService": "AzureApiManagement" + } + }, + { + "name": "ApiManagement.AustraliaCentral", + "id": "ApiManagement.AustraliaCentral", + "properties": { + "addressPrefixes": [ + "20.36.106.68/31", + "20.36.107.176/28" + ], + "changeNumber": "2", + "region": "australiacentral", + "systemService": "AzureApiManagement" + } + }, + { + "name": "AppService", + "id": "AppService", + "properties": { + "addressPrefixes": [ + "13.64.73.110/32", + "191.235.208.12/32", + "191.235.215.184/32" + ], + "changeNumber": "13", + "region": "", + "systemService": "AzureAppService" + } + }, + { + "name": "ServiceBus", + "id": "ServiceBus", + "properties": { + "addressPrefixes": [ + "23.98.82.96/29", + "40.68.127.68/32", + "40.70.146.64/29" + ], + "changeNumber": "10", + "region": "", + "systemService": "AzureServiceBus" + } + }, + { + "name": "ServiceBus.EastUS2", + "id": "ServiceBus.EastUS2", + "properties": { + "addressPrefixes": [ + "13.68.110.36/32", + "40.70.146.64/29" + ], + "changeNumber": "1", + "region": "eastus2", + "systemService": "AzureServiceBus" + } + } + ] + } + } + }, + "operationId": "ServiceTags_List", + "title": "Get list of service tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/StaticCidrs_Create.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/StaticCidrs_Create.json new file mode 100644 index 000000000000..0819c3896ab8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/StaticCidrs_Create.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "parameters": { + "description": "test description", + "addressPrefixes": [ + "10.0.0.0/24" + ] + }, + "poolName": "TestPool", + "resourceGroupName": "rg1", + "staticCidrName": "TestStaticCidr", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "StaticCidrs_Create", + "responses": { + "200": { + "body": { + "name": "OnPremResources", + "type": "Microsoft.Network/networkManagers/ipamPools/TestStaticCidr", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool/staticCidrs/TestStaticCidr", + "properties": { + "description": "test description", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "numberOfIPAddressesToAllocate": "", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "OnPremResources", + "type": "Microsoft.Network/networkManagers/ipamPools/TestStaticCidr", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool/staticCidrs/TestStaticCidr", + "properties": { + "description": "test description", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "numberOfIPAddressesToAllocate": "", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "StaticCidrs_Create" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/StaticCidrs_Delete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/StaticCidrs_Delete.json new file mode 100644 index 000000000000..b85dd372313b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/StaticCidrs_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "poolName": "TestPool", + "resourceGroupName": "rg1", + "staticCidrName": "TestStaticCidr", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "StaticCidrs_Delete", + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/TestNM/ipamPools/TestPool/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "StaticCidrs_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/StaticCidrs_Get.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/StaticCidrs_Get.json new file mode 100644 index 000000000000..5c8233556bfc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/StaticCidrs_Get.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "poolName": "TestPool", + "resourceGroupName": "rg1", + "staticCidrName": "TestStaticCidr", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "StaticCidrs_Get", + "responses": { + "200": { + "body": { + "name": "TestStaticCidr", + "type": "Microsoft.Network/networkManagers/ipamPools/staticCidrs", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool/staticCidrs/TestStaticCidr", + "properties": { + "description": "test description", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "numberOfIPAddressesToAllocate": "", + "provisioningState": "Succeeded", + "totalNumberOfIPAddresses": "256" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "StaticCidrs_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/StaticCidrs_List.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/StaticCidrs_List.json new file mode 100644 index 000000000000..e7702d1c4f34 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/StaticCidrs_List.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "poolName": "TestPool", + "resourceGroupName": "rg1", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "StaticCidrs_List", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "TestStaticCidr", + "type": "Microsoft.Network/networkManagers/ipamPools/staticCidrs", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool/staticCidrs/TestStaticCidr", + "properties": { + "description": "test description", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "numberOfIPAddressesToAllocate": "", + "provisioningState": "Succeeded", + "totalNumberOfIPAddresses": "256" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "StaticCidrs_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreate.json new file mode 100644 index 000000000000..58b0e1cdb890 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subnetParameters": { + "properties": { + "addressPrefix": "10.0.0.0/16" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "Subnets_CreateOrUpdate", + "title": "Create subnet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreateServiceEndpoint.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreateServiceEndpoint.json new file mode 100644 index 000000000000..74f6e000a66e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreateServiceEndpoint.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subnetParameters": { + "properties": { + "addressPrefix": "10.0.0.0/16", + "serviceEndpoints": [ + { + "service": "Microsoft.Storage" + } + ] + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "serviceEndpoints": [ + { + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded", + "service": "Microsoft.Storage" + } + ] + } + } + }, + "201": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "serviceEndpoints": [ + { + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded", + "service": "Microsoft.Storage" + } + ] + } + } + } + }, + "operationId": "Subnets_CreateOrUpdate", + "title": "Create subnet with service endpoints" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreateServiceEndpointNetworkIdentifier.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreateServiceEndpointNetworkIdentifier.json new file mode 100644 index 000000000000..5d328cd66199 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreateServiceEndpointNetworkIdentifier.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subnetParameters": { + "properties": { + "addressPrefix": "10.0.0.0/16", + "serviceEndpoints": [ + { + "networkIdentifier": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "service": "Microsoft.Storage" + } + ] + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "serviceEndpoints": [ + { + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "networkIdentifier": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "provisioningState": "Succeeded", + "service": "Microsoft.Storage" + } + ] + } + } + }, + "201": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "serviceEndpoints": [ + { + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "networkIdentifier": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "provisioningState": "Succeeded", + "service": "Microsoft.Storage" + } + ] + } + } + } + }, + "operationId": "Subnets_CreateOrUpdate", + "title": "Create subnet with service endpoints with network identifier" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreateWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreateWithDelegation.json new file mode 100644 index 000000000000..e4d18ed5a7af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreateWithDelegation.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subnetParameters": { + "properties": { + "addressPrefix": "10.0.0.0/16" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1/delegations/myDelegation", + "properties": { + "actions": [], + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType" + } + } + ], + "provisioningState": "Succeeded", + "purpose": "" + } + } + }, + "201": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1/delegations/myDelegation", + "properties": { + "actions": [], + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType" + } + } + ], + "provisioningState": "Succeeded", + "purpose": "" + } + } + } + }, + "operationId": "Subnets_CreateOrUpdate", + "title": "Create subnet with a delegation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreateWithServiceGateway.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreateWithServiceGateway.json new file mode 100644 index 000000000000..7363fc1aaee2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreateWithServiceGateway.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subnetParameters": { + "properties": { + "addressPrefix": "10.0.0.0/16", + "serviceGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/SG1" + } + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "serviceGateway": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/SG1" + } + } + } + }, + "201": { + "body": { + "name": "subnet1", + "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "serviceGateway": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/SG1" + } + } + } + } + }, + "operationId": "Subnets_CreateOrUpdate", + "title": "Create Subnet with service gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreateWithSharingScope.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreateWithSharingScope.json new file mode 100644 index 000000000000..97cf55a48f98 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetCreateWithSharingScope.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subnetParameters": { + "properties": { + "addressPrefix": "10.0.0.0/16" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "defaultOutboundAccess": false, + "provisioningState": "Succeeded", + "sharingScope": "Tenant" + } + } + }, + "201": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "defaultOutboundAccess": false, + "provisioningState": "Succeeded", + "sharingScope": "Tenant" + } + } + } + }, + "operationId": "Subnets_CreateOrUpdate", + "title": "Create subnet with sharing scope" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetDelete.json new file mode 100644 index 000000000000..24053594ee83 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "Subnets_Delete", + "title": "Delete subnet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetGet.json new file mode 100644 index 000000000000..84a1060c5e97 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetGet.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "Subnets_Get", + "title": "Get subnet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetGetWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetGetWithDelegation.json new file mode 100644 index 000000000000..a1de847c77a6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetGetWithDelegation.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/myDelegation", + "properties": { + "actions": [], + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType" + } + } + ], + "provisioningState": "Succeeded", + "purpose": "" + } + } + } + }, + "operationId": "Subnets_Get", + "title": "Get subnet with a delegation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetGetWithSharingScope.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetGetWithSharingScope.json new file mode 100644 index 000000000000..344632c977fa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetGetWithSharingScope.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "defaultOutboundAccess": false, + "provisioningState": "Succeeded", + "sharingScope": "Tenant" + } + } + } + }, + "operationId": "Subnets_Get", + "title": "Get subnet with sharing scope" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetList.json new file mode 100644 index 000000000000..a1737fff4f78 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetList.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded" + } + }, + { + "name": "subnet2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet2", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "Subnets_List", + "title": "List subnets" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetPrepareNetworkPolicies.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetPrepareNetworkPolicies.json new file mode 100644 index 000000000000..47a592dec417 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetPrepareNetworkPolicies.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "prepareNetworkPoliciesRequestParameters": { + "serviceName": "Microsoft.Sql/managedInstances" + }, + "resourceGroupName": "rg1", + "subnetName": "subnet1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/PrepareNetworkPolicies?api-version=2025-07-01" + } + } + }, + "operationId": "Subnets_PrepareNetworkPolicies", + "title": "Prepare Network Policies" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetUnprepareNetworkPolicies.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetUnprepareNetworkPolicies.json new file mode 100644 index 000000000000..77b85b01d124 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/SubnetUnprepareNetworkPolicies.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subnetName": "subnet1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "unprepareNetworkPoliciesRequestParameters": { + "serviceName": "Microsoft.Sql/managedInstances" + }, + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/UnprepareNetworkPolicies?api-version=2025-07-01" + } + } + }, + "operationId": "Subnets_UnprepareNetworkPolicies", + "title": "Unprepare Network Policies" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/UsageList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/UsageList.json new file mode 100644 index 000000000000..a22b4cb69d75 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/UsageList.json @@ -0,0 +1,267 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Virtual Networks", + "value": "VirtualNetworks" + }, + "currentValue": 8, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/VirtualNetworks", + "limit": 50, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Static Public IP Addresses", + "value": "StaticPublicIPAddresses" + }, + "currentValue": 3, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/StaticPublicIPAddresses", + "limit": 20, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Network Security Groups", + "value": "NetworkSecurityGroups" + }, + "currentValue": 1, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/NetworkSecurityGroups", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Public IP Addresses", + "value": "PublicIPAddresses" + }, + "currentValue": 8, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/PublicIPAddresses", + "limit": 60, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Network Interfaces", + "value": "NetworkInterfaces" + }, + "currentValue": 2, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/NetworkInterfaces", + "limit": 350, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Load Balancers", + "value": "LoadBalancers" + }, + "currentValue": 2, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/LoadBalancers", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Application Gateways", + "value": "ApplicationGateways" + }, + "currentValue": 1, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/ApplicationGateways", + "limit": 50, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Route Tables", + "value": "RouteTables" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/RouteTables", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Route Filters", + "value": "RouteFilters" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/RouteFilters", + "limit": 1000, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Network Watchers", + "value": "NetworkWatchers" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/NetworkWatchers", + "limit": 1, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Packet Captures", + "value": "PacketCaptures" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/PacketCaptures", + "limit": 10, + "unit": "Count" + }, + { + "name": { + "localizedValue": "DNS servers per Virtual Network", + "value": "DnsServersPerVirtualNetwork" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/DnsServersPerVirtualNetwork", + "limit": 9, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Subnets per Virtual Network", + "value": "SubnetsPerVirtualNetwork" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/SubnetsPerVirtualNetwork", + "limit": 1000, + "unit": "Count" + }, + { + "name": { + "localizedValue": "IP Configurations per Virtual Network", + "value": "IPConfigurationsPerVirtualNetwork" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/IPConfigurationsPerVirtualNetwork", + "limit": 4096, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Peerings per Virtual Network", + "value": "PeeringsPerVirtualNetwork" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/PeeringsPerVirtualNetwork", + "limit": 10, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Security rules per Network Security Group", + "value": "SecurityRulesPerNetworkSecurityGroup" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/SecurityRulesPerNetworkSecurityGroup", + "limit": 200, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Security rules addresses or ports per Network Security Group", + "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/SecurityRuleAddressesOrPortsPerNetworkSecurityGroup", + "limit": 2000, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Inbound Rules per Load Balancer", + "value": "InboundRulesPerLoadBalancer" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/InboundRulesPerLoadBalancer", + "limit": 150, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Frontend IP Configurations per Load Balancer", + "value": "FrontendIPConfigurationPerLoadBalancer" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/FrontendIPConfigurationPerLoadBalancer", + "limit": 10, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Outbound Rules per Load Balancer", + "value": "outboundRulesPerLoadBalancer" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/outboundRulesPerLoadBalancer", + "limit": 5, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Routes per Route Table", + "value": "RoutesPerRouteTable" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/RoutesPerRouteTable", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Secondary IP Configurations per Network Interface", + "value": "SecondaryIPConfigurationsPerNetworkInterface" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/SecondaryIPConfigurationsPerNetworkInterface", + "limit": 256, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Inbound rules per Network Interface", + "value": "InboundRulesPerNetworkInterface" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/InboundRulesPerNetworkInterface", + "limit": 500, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Route filter rules per Route Filter", + "value": "RouteFilterRulesPerRouteFilter" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/RouteFilterRulesPerRouteFilter", + "limit": 1, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Route filters per Express route BGP Peering", + "value": "RouteFiltersPerExpressRouteBgpPeering" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/RouteFiltersPerExpressRouteBgpPeering", + "limit": 1, + "unit": "Count" + } + ] + } + } + }, + "operationId": "Usages_List", + "title": "List usages" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/UsageListSpacedLocation.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/UsageListSpacedLocation.json new file mode 100644 index 000000000000..05d628d8766a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/UsageListSpacedLocation.json @@ -0,0 +1,337 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "West US", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Virtual Networks", + "value": "VirtualNetworks" + }, + "currentValue": 12, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/VirtualNetworks", + "limit": 50, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Static Public IP Addresses", + "value": "StaticPublicIPAddresses" + }, + "currentValue": 1, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/StaticPublicIPAddresses", + "limit": 20, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Network Security Groups", + "value": "NetworkSecurityGroups" + }, + "currentValue": 3, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/NetworkSecurityGroups", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Public IP Addresses", + "value": "PublicIPAddresses" + }, + "currentValue": 12, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/PublicIPAddresses", + "limit": 60, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Public Ip Prefixes", + "value": "PublicIpPrefixes" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/PublicIpPrefixes", + "limit": 2147483647, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Network Interfaces", + "value": "NetworkInterfaces" + }, + "currentValue": 2, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/NetworkInterfaces", + "limit": 24000, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Load Balancers", + "value": "LoadBalancers" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/LoadBalancers", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Application Gateways", + "value": "ApplicationGateways" + }, + "currentValue": 3, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/ApplicationGateways", + "limit": 50, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Route Tables", + "value": "RouteTables" + }, + "currentValue": 5, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/RouteTables", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Route Filters", + "value": "RouteFilters" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/RouteFilters", + "limit": 1000, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Network Watchers", + "value": "NetworkWatchers" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/NetworkWatchers", + "limit": 1, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Packet Captures", + "value": "PacketCaptures" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/PacketCaptures", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Application Security Groups.", + "value": "ApplicationSecurityGroups" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/ApplicationSecurityGroups", + "limit": 500, + "unit": "Count" + }, + { + "name": { + "localizedValue": "DDoS Protection Plans.", + "value": "DdosProtectionPlans" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/DdosProtectionPlans", + "limit": 1, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Service Endpoint Policies", + "value": "ServiceEndpointPolicies" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/ServiceEndpointPolicies", + "limit": 200, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Network Intent Policies", + "value": "NetworkIntentPolicies" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/NetworkIntentPolicies", + "limit": 200, + "unit": "Count" + }, + { + "name": { + "localizedValue": "DNS servers per Virtual Network", + "value": "DnsServersPerVirtualNetwork" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/DnsServersPerVirtualNetwork", + "limit": 9, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Subnets per Virtual Network", + "value": "SubnetsPerVirtualNetwork" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/SubnetsPerVirtualNetwork", + "limit": 1000, + "unit": "Count" + }, + { + "name": { + "localizedValue": "IP Configurations per Virtual Network", + "value": "IPConfigurationsPerVirtualNetwork" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/IPConfigurationsPerVirtualNetwork", + "limit": 16384, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Peerings per Virtual Network", + "value": "PeeringsPerVirtualNetwork" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/PeeringsPerVirtualNetwork", + "limit": 50, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Security rules per Network Security Group", + "value": "SecurityRulesPerNetworkSecurityGroup" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/SecurityRulesPerNetworkSecurityGroup", + "limit": 1000, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Security rules per Network Intent Policy", + "value": "SecurityRulesPerNetworkIntentPolicy" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/SecurityRulesPerNetworkIntentPolicy", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Routes per Network Intent Policy", + "value": "RoutesPerNetworkIntentPolicy" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/RoutesPerNetworkIntentPolicy", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Security rules addresses or ports per Network Security Group", + "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/SecurityRuleAddressesOrPortsPerNetworkSecurityGroup", + "limit": 2000, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Inbound Rules per Load Balancer", + "value": "InboundRulesPerLoadBalancer" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/InboundRulesPerLoadBalancer", + "limit": 150, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Frontend IP Configurations per Load Balancer", + "value": "FrontendIPConfigurationPerLoadBalancer" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/FrontendIPConfigurationPerLoadBalancer", + "limit": 10, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Outbound Rules per Load Balancer", + "value": "OutboundRulesPerLoadBalancer" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/OutboundRulesPerLoadBalancer", + "limit": 5, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Routes per Route Table", + "value": "RoutesPerRouteTable" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/RoutesPerRouteTable", + "limit": 400, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Secondary IP Configurations per Network Interface", + "value": "SecondaryIPConfigurationsPerNetworkInterface" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/SecondaryIPConfigurationsPerNetworkInterface", + "limit": 256, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Inbound rules per Network Interface", + "value": "InboundRulesPerNetworkInterface" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/InboundRulesPerNetworkInterface", + "limit": 500, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Route filter rules per Route Filter", + "value": "RouteFilterRulesPerRouteFilter" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/RouteFilterRulesPerRouteFilter", + "limit": 1, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Route filters per Express route BGP Peering", + "value": "RouteFiltersPerExpressRouteBgpPeering" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/RouteFiltersPerExpressRouteBgpPeering", + "limit": 1, + "unit": "Count" + } + ] + } + } + }, + "operationId": "Usages_List", + "title": "List usages spaced location" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VerifierWorkspaceDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VerifierWorkspaceDelete.json new file mode 100644 index 000000000000..2bc3aeff7433 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VerifierWorkspaceDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testWorkspace" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/verifierWorkspaceOperationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VerifierWorkspaces_Delete", + "title": "VerifierWorkspaceDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VerifierWorkspaceGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VerifierWorkspaceGet.json new file mode 100644 index 000000000000..3a7769fa0215 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VerifierWorkspaceGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "verifierWorkspace": { + "properties": { + "description": "A sample workspace" + } + }, + "workspaceName": "testWorkspace" + }, + "responses": { + "200": { + "body": { + "name": "testWorkspace", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace", + "location": "eastus", + "properties": { + "description": "A sample workspace", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "VerifierWorkspaces_Get", + "title": "VerifierWorkspaceGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VerifierWorkspaceList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VerifierWorkspaceList.json new file mode 100644 index 000000000000..c33a3bec5b9e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VerifierWorkspaceList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces?api-version=2024-04-01-preview&$skipToken=10", + "value": [ + { + "name": "testVerifierWorkspace1", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1", + "location": "eastus", + "properties": { + "description": "A sample verfier workspace", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "VerifierWorkspaces_List", + "title": "VerifierWorkspaceList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VerifierWorkspacePatch.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VerifierWorkspacePatch.json new file mode 100644 index 000000000000..1bfbc045867d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VerifierWorkspacePatch.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "verifierWorkspace": { + "properties": { + "description": "A sample workspace" + }, + "tags": { + "color": "blue" + } + }, + "workspaceName": "testWorkspace" + }, + "responses": { + "200": { + "body": { + "name": "testWorkspace", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace", + "location": "eastus", + "properties": { + "description": "A sample workspace", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + }, + "tags": { + "color": "blue" + } + } + } + }, + "operationId": "VerifierWorkspaces_Update", + "title": "VerifierWorkspacePatch" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VerifierWorkspacePut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VerifierWorkspacePut.json new file mode 100644 index 000000000000..b098520d480c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VerifierWorkspacePut.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "body": { + "location": "eastus", + "properties": { + "description": "A sample workspace" + } + }, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testWorkspace" + }, + "responses": { + "200": { + "body": { + "name": "testWorkspace", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace", + "location": "eastus", + "properties": { + "description": "A sample workspace", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "testWorkspace", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace", + "location": "eastus", + "properties": { + "description": "A sample workspace", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace?api-version=2025-07-01" + } + } + }, + "operationId": "VerifierWorkspaces_Create", + "title": "VerifierWorkspaceCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubBgpConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubBgpConnectionDelete.json new file mode 100644 index 000000000000..9ae3849304e1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubBgpConnectionDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "conn1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "hub1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VirtualHubBgpConnection_Delete", + "title": "VirtualHubRouteTableV2Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubBgpConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubBgpConnectionGet.json new file mode 100644 index 000000000000..6f315ef0f854 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubBgpConnectionGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "conn1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "hub1" + }, + "responses": { + "200": { + "body": { + "name": "conn1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/bgpConnections/conn1", + "properties": { + "connectionState": "Connected", + "hubVirtualNetworkConnection": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubVirtualNetworkConnections/hubVnetConn1" + }, + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "provisioningState": "Succeeded", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap2" + } + } + } + } + } + }, + "operationId": "VirtualHubBgpConnection_Get", + "title": "VirtualHubVirtualHubRouteTableV2Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubBgpConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubBgpConnectionList.json new file mode 100644 index 000000000000..7ce173511d7b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubBgpConnectionList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "hub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "conn1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/bgpConnections/conn1", + "properties": { + "connectionState": "Connected", + "hubVirtualNetworkConnection": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubVirtualNetworkConnections/hubVnetConn1" + }, + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "provisioningState": "Succeeded", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap2" + } + } + } + } + ] + } + } + }, + "operationId": "VirtualHubBgpConnections_List", + "title": "VirtualHubRouteTableV2List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubBgpConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubBgpConnectionPut.json new file mode 100644 index 000000000000..dd7bfc798346 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubBgpConnectionPut.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "conn1", + "parameters": { + "properties": { + "hubVirtualNetworkConnection": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubVirtualNetworkConnections/hubVnetConn1" + }, + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap2" + } + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "hub1" + }, + "responses": { + "200": { + "body": { + "name": "conn1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/bgpConnections/conn1", + "properties": { + "connectionState": "Connected", + "hubVirtualNetworkConnection": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubVirtualNetworkConnections/hubVnetConn1" + }, + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "provisioningState": "Succeeded", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap2" + } + } + } + } + }, + "201": { + "body": { + "name": "conn1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/bgpConnections/conn1", + "properties": { + "connectionState": "Connected", + "hubVirtualNetworkConnection": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubVirtualNetworkConnections/hubVnetConn1" + }, + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "provisioningState": "Succeeded", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap2" + } + } + } + } + } + }, + "operationId": "VirtualHubBgpConnection_CreateOrUpdate", + "title": "VirtualHubRouteTableV2Put" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubDelete.json new file mode 100644 index 000000000000..dfc777400702 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VirtualHubs_Delete", + "title": "VirtualHubDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubGet.json new file mode 100644 index 000000000000..772953ee3196 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubGet.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "virtualHub1", + "type": "Microsoft.Network/virtualHubs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", + "location": "West US", + "properties": { + "addressPrefix": "10.10.1.0/24", + "allowBranchToBranchTraffic": false, + "hubRoutingPreference": "ExpressRoute", + "preferredRoutingGateway": "ExpressRoute", + "provisioningState": "Succeeded", + "routingState": "Provisioned", + "sku": "Basic", + "virtualHubRouteTableV2s": [], + "virtualRouterAsn": 65515, + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + }, + "virtualRouterIps": [ + "10.10.1.12", + "10.10.1.13" + ], + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + } + } + } + }, + "operationId": "VirtualHubs_Get", + "title": "VirtualHubGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubIpConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubIpConfigurationDelete.json new file mode 100644 index 000000000000..1d63a627353b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubIpConfigurationDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipConfigName": "ipconfig1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "hub1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VirtualHubIpConfiguration_Delete", + "title": "VirtualHubIpConfigurationDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubIpConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubIpConfigurationGet.json new file mode 100644 index 000000000000..fd13b25f2429 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubIpConfigurationGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipConfigName": "ipconfig1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "hub1" + }, + "responses": { + "200": { + "body": { + "name": "ipconfig1", + "type": "Microsoft.Network/virtualHubs/ipConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + } + } + }, + "operationId": "VirtualHubIpConfiguration_Get", + "title": "VirtualHubVirtualHubRouteTableV2Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubIpConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubIpConfigurationList.json new file mode 100644 index 000000000000..b5b49d19b49b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubIpConfigurationList.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "hub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ipconfig1", + "type": "Microsoft.Network/virtualHubs/ipConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + } + ] + } + } + }, + "operationId": "VirtualHubIpConfiguration_List", + "title": "VirtualHubRouteTableV2List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubIpConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubIpConfigurationPut.json new file mode 100644 index 000000000000..6088a9e587f1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubIpConfigurationPut.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipConfigName": "ipconfig1", + "parameters": { + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "hub1" + }, + "responses": { + "200": { + "body": { + "name": "ipconfig1", + "type": "Microsoft.Network/virtualHubs/ipConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + } + }, + "201": { + "body": { + "name": "ipconfig1", + "type": "Microsoft.Network/virtualHubs/ipConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + } + } + }, + "operationId": "VirtualHubIpConfiguration_CreateOrUpdate", + "title": "VirtualHubIpConfigurationPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubList.json new file mode 100644 index 000000000000..1b070bfe7aa1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubList.json @@ -0,0 +1,142 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "virtualHub1", + "type": "Microsoft.Network/virtualHubs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", + "location": "West US", + "properties": { + "addressPrefix": "10.10.1.0/24", + "allowBranchToBranchTraffic": false, + "hubRoutingPreference": "ExpressRoute", + "preferredRoutingGateway": "ExpressRoute", + "provisioningState": "Succeeded", + "routingState": "Provisioned", + "sku": "Basic", + "virtualHubRouteTableV2s": [ + { + "name": "rt2a", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1", + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + ], + "virtualRouterAsn": 65515, + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + }, + "virtualRouterIps": [ + "10.10.1.12", + "10.10.1.13" + ], + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + } + }, + { + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "location": "East US", + "properties": { + "addressPrefix": "210.10.1.0/24", + "allowBranchToBranchTraffic": false, + "hubRoutingPreference": "ExpressRoute", + "preferredRoutingGateway": "ExpressRoute", + "provisioningState": "Succeeded", + "routingState": "Provisioned", + "sku": "Basic", + "virtualHubRouteTableV2s": [ + { + "name": "rt2a", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/routeTables/virtualHubRouteTable2", + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + ], + "virtualRouterAsn": 65515, + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + }, + "virtualRouterIps": [ + "10.10.1.12", + "10.10.1.13" + ], + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + } + } + ] + } + } + }, + "operationId": "VirtualHubs_List", + "title": "VirtualHubList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubListByResourceGroup.json new file mode 100644 index 000000000000..914ed7aa3a85 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubListByResourceGroup.json @@ -0,0 +1,143 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "virtualHub1", + "type": "Microsoft.Network/virtualHubs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", + "location": "West US", + "properties": { + "addressPrefix": "10.10.1.0/24", + "allowBranchToBranchTraffic": false, + "hubRoutingPreference": "ExpressRoute", + "preferredRoutingGateway": "ExpressRoute", + "provisioningState": "Succeeded", + "routingState": "Provisioned", + "sku": "Basic", + "virtualHubRouteTableV2s": [ + { + "name": "rt2a", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/routeTables/virtualHubRouteTable2", + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + ], + "virtualRouterAsn": 65515, + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + }, + "virtualRouterIps": [ + "10.10.1.12", + "10.10.1.13" + ], + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + } + }, + { + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "location": "East US", + "properties": { + "addressPrefix": "210.10.1.0/24", + "allowBranchToBranchTraffic": false, + "hubRoutingPreference": "ExpressRoute", + "preferredRoutingGateway": "ExpressRoute", + "provisioningState": "Succeeded", + "routingState": "Provisioned", + "sku": "Basic", + "virtualHubRouteTableV2s": [ + { + "name": "rt2a", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/routeTables/virtualHubRouteTable2", + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + ], + "virtualRouterAsn": 65515, + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + }, + "virtualRouterIps": [ + "10.10.1.12", + "10.10.1.13" + ], + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + } + } + ] + } + } + }, + "operationId": "VirtualHubs_ListByResourceGroup", + "title": "VirtualHubListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubPut.json new file mode 100644 index 000000000000..70bf5a168c1f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubPut.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub2", + "virtualHubParameters": { + "location": "West US", + "properties": { + "addressPrefix": "10.168.0.0/24", + "sku": "Basic", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + }, + "tags": { + "key1": "value1" + } + } + }, + "responses": { + "200": { + "body": { + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "location": "West US", + "properties": { + "addressPrefix": "10.168.0.0/24", + "allowBranchToBranchTraffic": false, + "hubRoutingPreference": "ExpressRoute", + "preferredRoutingGateway": "ExpressRoute", + "provisioningState": "Succeeded", + "routingState": "Provisioned", + "sku": "Basic", + "virtualHubRouteTableV2s": [], + "virtualRouterAsn": 65515, + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + }, + "virtualRouterIps": [ + "10.10.1.12", + "10.10.1.13" + ], + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + } + } + }, + "201": { + "body": { + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "location": "West US", + "properties": { + "addressPrefix": "10.168.0.0/24", + "allowBranchToBranchTraffic": false, + "hubRoutingPreference": "ExpressRoute", + "preferredRoutingGateway": "ExpressRoute", + "provisioningState": "Succeeded", + "routingState": "Provisioned", + "sku": "Basic", + "virtualHubRouteTableV2s": [], + "virtualRouterAsn": 65515, + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + }, + "virtualRouterIps": [ + "10.10.1.12", + "10.10.1.13" + ], + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + } + } + } + }, + "operationId": "VirtualHubs_CreateOrUpdate", + "title": "VirtualHubPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubRouteTableV2Delete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubRouteTableV2Delete.json new file mode 100644 index 000000000000..0c8b28698ac7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubRouteTableV2Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "virtualHubRouteTable1a", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VirtualHubRouteTableV2s_Delete", + "title": "VirtualHubRouteTableV2Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubRouteTableV2Get.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubRouteTableV2Get.json new file mode 100644 index 000000000000..1759aed08c3f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubRouteTableV2Get.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "virtualHubRouteTable1a", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "virtualHubRouteTable1a", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1a", + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + } + }, + "operationId": "VirtualHubRouteTableV2s_Get", + "title": "VirtualHubVirtualHubRouteTableV2Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubRouteTableV2List.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubRouteTableV2List.json new file mode 100644 index 000000000000..cdc6df3ffa5f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubRouteTableV2List.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "virtualHubRouteTable1a", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1a", + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + }, + { + "name": "virtualHubRouteTable1b", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1b", + "properties": { + "attachedConnections": [ + "All_Branches" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.30.0.0/16", + "20.40.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + ] + } + } + }, + "operationId": "VirtualHubRouteTableV2s_List", + "title": "VirtualHubRouteTableV2List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubRouteTableV2Put.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubRouteTableV2Put.json new file mode 100644 index 000000000000..0a6919687b46 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubRouteTableV2Put.json @@ -0,0 +1,115 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "virtualHubRouteTable1a", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1", + "virtualHubRouteTableV2Parameters": { + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "virtualHubRouteTable1a", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1a", + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "virtualHubRouteTable1a", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1a", + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + } + }, + "operationId": "VirtualHubRouteTableV2s_CreateOrUpdate", + "title": "VirtualHubRouteTableV2Put" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubUpdateTags.json new file mode 100644 index 000000000000..d348a33e11a1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualHubUpdateTags.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub2", + "virtualHubParameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "location": "West US", + "properties": { + "addressPrefix": "10.168.0.0/24", + "allowBranchToBranchTraffic": false, + "hubRoutingPreference": "ExpressRoute", + "provisioningState": "Succeeded", + "sku": "Basic", + "virtualHubRouteTableV2s": [], + "virtualRouterAsn": 65515, + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + }, + "virtualRouterIps": [ + "10.10.1.12", + "10.10.1.13" + ], + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "VirtualHubs_UpdateTags", + "title": "VirtualHubUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_CreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_CreateOrUpdate.json new file mode 100644 index 000000000000..2ab5e0f617f3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_CreateOrUpdate.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "bandwidthInGbps": 100, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkApplianceName": "test-vna" + }, + "responses": { + "200": { + "body": { + "name": "test-vna", + "type": "Microsoft.Network/virtualNetworkAppliances", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna", + "location": "eastus", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c9b1f5f4-5d6e-4f0a-89c1-6b3d3e3c3e3c", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + }, + "201": { + "body": { + "name": "test-vna", + "type": "Microsoft.Network/virtualNetworkAppliances", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna", + "location": "eastus", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c9b1f5f4-5d6e-4f0a-89c1-6b3d3e3c3e3c", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + } + }, + "operationId": "VirtualNetworkAppliances_CreateOrUpdate", + "title": "Create virtual network appliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_Delete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_Delete.json new file mode 100644 index 000000000000..10dea18804a5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkApplianceName": "test-vna" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualNetworkAppliances_Delete", + "title": "Delete virtual network appliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_Get.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_Get.json new file mode 100644 index 000000000000..d4e5c5ac3529 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_Get.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkApplianceName": "test-vna" + }, + "responses": { + "200": { + "body": { + "name": "test-vna", + "type": "Microsoft.Network/virtualNetworkAppliances", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna", + "location": "eastus", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c9b1f5f4-5d6e-4f0a-89c1-6b3d3e3c3e3c", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + } + }, + "operationId": "VirtualNetworkAppliances_Get", + "title": "Get virtual network appliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_List.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_List.json new file mode 100644 index 000000000000..183125e439ac --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_List.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-vna", + "type": "Microsoft.Network/virtualNetworkAppliances", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna", + "location": "eastus", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c9b1f5f4-5d6e-4f0a-89c1-6b3d3e3c3e3c", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + }, + { + "name": "test-vna2", + "type": "Microsoft.Network/virtualNetworkAppliances", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna2", + "location": "eastus", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c9b1f5f4-5d6e-4f0a-89c1-6b3d3e3c3e3d", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ] + } + } + }, + "operationId": "VirtualNetworkAppliances_List", + "title": "List virtual network appliances in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_ListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_ListBySubscription.json new file mode 100644 index 000000000000..b0b948a5313b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_ListBySubscription.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-vna", + "type": "Microsoft.Network/virtualNetworkAppliances", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna", + "location": "eastus", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c9b1f5f4-5d6e-4f0a-89c1-6b3d3e3c3e3c", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + }, + { + "name": "test-vna2", + "type": "Microsoft.Network/virtualNetworkAppliances", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna2", + "location": "eastus", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c9b1f5f4-5d6e-4f0a-89c1-6b3d3e3c3e3d", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ] + } + } + }, + "operationId": "VirtualNetworkAppliances_ListAll", + "title": "List all virtual network appliances" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_UpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_UpdateTags.json new file mode 100644 index 000000000000..948cd2eb4b3c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkAppliances_UpdateTags.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkApplianceName": "test-vna" + }, + "responses": { + "200": { + "body": { + "name": "test-vna", + "type": "Microsoft.Network/virtualNetworkAppliances", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna", + "location": "eastus", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c9b1f5f4-5d6e-4f0a-89c1-6b3d3e3c3e3c", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "VirtualNetworkAppliances_UpdateTags", + "title": "Update virtual network appliance tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCheckIPAddressAvailability.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCheckIPAddressAvailability.json new file mode 100644 index 000000000000..bd0619d8d860 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCheckIPAddressAvailability.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipAddress": "10.0.1.4", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "available": false, + "availableIPAddresses": [ + "10.0.1.5", + "10.0.1.6", + "10.0.1.7", + "10.0.1.8", + "10.0.1.9" + ] + } + } + }, + "operationId": "VirtualNetworks_CheckIPAddressAvailability", + "title": "Check IP address availability" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreate.json new file mode 100644 index 000000000000..a0a56a1e4b2f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreate.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "flowTimeoutInMinutes": 10 + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "flowTimeoutInMinutes": 10, + "provisioningState": "Succeeded", + "subnets": [], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "flowTimeoutInMinutes": 10, + "provisioningState": "Succeeded", + "subnets": [], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateServiceEndpointPolicy.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateServiceEndpointPolicy.json new file mode 100644 index 000000000000..57499e44f880 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateServiceEndpointPolicy.json @@ -0,0 +1,128 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus2euap", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "serviceEndpointPolicies": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1" + } + ], + "serviceEndpoints": [ + { + "service": "Microsoft.Storage" + } + ] + } + } + ] + } + }, + "resourceGroupName": "vnetTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1" + }, + "responses": { + "200": { + "body": { + "name": "vnet1", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "location": "eastus2euap", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "ipConfigurations": [], + "provisioningState": "Succeeded", + "resourceNavigationLinks": [], + "serviceEndpointPolicies": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1" + } + ], + "serviceEndpoints": [ + { + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded", + "service": "Microsoft.Storage" + } + ] + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "vnet1", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "location": "eastus2euap", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "ipConfigurations": [], + "provisioningState": "Succeeded", + "resourceNavigationLinks": [], + "serviceEndpointPolicies": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1" + } + ], + "serviceEndpoints": [ + { + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded", + "service": "Microsoft.Storage" + } + ] + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network with service endpoints and service endpoint policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateServiceEndpoints.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateServiceEndpoints.json new file mode 100644 index 000000000000..c75daaad1cd3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateServiceEndpoints.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "serviceEndpoints": [ + { + "service": "Microsoft.Storage" + } + ] + } + } + ] + } + }, + "resourceGroupName": "vnetTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1" + }, + "responses": { + "200": { + "body": { + "name": "vnet1", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "ipConfigurations": [], + "provisioningState": "Succeeded", + "resourceNavigationLinks": [], + "serviceEndpoints": [ + { + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded", + "service": "Microsoft.Storage" + } + ] + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "vnet1", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "ipConfigurations": [], + "provisioningState": "Succeeded", + "resourceNavigationLinks": [], + "serviceEndpoints": [ + { + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded", + "service": "Microsoft.Storage" + } + ] + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network with service endpoints" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateSubnet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateSubnet.json new file mode 100644 index 000000000000..eb0b8520e90e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateSubnet.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24" + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network with subnet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateSubnetWithAddressPrefixes.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateSubnetWithAddressPrefixes.json new file mode 100644 index 000000000000..34a4e80cc680 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateSubnetWithAddressPrefixes.json @@ -0,0 +1,93 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-2", + "properties": { + "addressPrefixes": [ + "10.0.0.0/28", + "10.0.1.0/28" + ] + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-2", + "properties": { + "addressPrefixes": [ + "10.0.0.0/28", + "10.1.0.0/28" + ], + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-2", + "properties": { + "addressPrefixes": [ + "10.0.0.0/28", + "10.0.1.0/28" + ], + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network with subnet containing address prefixes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateSubnetWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateSubnetWithDelegation.json new file mode 100644 index 000000000000..d76456414655 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateSubnetWithDelegation.json @@ -0,0 +1,116 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westcentralus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "delegations": [ + { + "name": "myDelegation", + "properties": { + "serviceName": "Microsoft.Sql/managedInstances" + } + } + ] + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "westcentralus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1/delegations/myDelegation", + "properties": { + "actions": [], + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Sql/managedInstances" + } + } + ], + "provisioningState": "Succeeded", + "purpose": "" + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "westcentralus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1/delegations/myDelegation", + "properties": { + "actions": [], + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Sql/managedInstances" + } + } + ], + "provisioningState": "Succeeded", + "purpose": "" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network with delegated subnets" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateWithBgpCommunities.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateWithBgpCommunities.json new file mode 100644 index 000000000000..5e9ed0b4ba1f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateWithBgpCommunities.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpCommunities": { + "virtualNetworkCommunity": "12076:20000" + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24" + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20000" + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20000" + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network with Bgp Communities" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateWithEncryption.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateWithEncryption.json new file mode 100644 index 000000000000..7c5b26899e55 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateWithEncryption.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "encryption": { + "enabled": true, + "enforcement": "AllowUnencrypted" + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24" + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "encryption": { + "enabled": true, + "enforcement": "AllowUnencrypted" + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "encryption": { + "enabled": true, + "enforcement": "AllowUnencrypted" + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network with encryption" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateWithIpamPool.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateWithIpamPool.json new file mode 100644 index 000000000000..86bf1592b5cc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkCreateWithIpamPool.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "addressSpace": { + "ipamPoolPrefixAllocations": [ + { + "numberOfIpAddresses": "65536", + "pool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/nm1/ipamPools/testIpamPool" + } + } + ] + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "ipamPoolPrefixAllocations": [ + { + "numberOfIpAddresses": "80", + "pool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/nm1/ipamPools/testIpamPool" + } + } + ] + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus2euap", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/22" + ], + "ipamPoolPrefixAllocations": [ + { + "allocatedAddressPrefixes": [ + "10.0.0.0/22" + ], + "numberOfIpAddresses": "800", + "pool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/nm1/ipamPools/testIpamPool" + } + } + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "properties": { + "addressPrefixes": [ + "10.0.0.0/26", + "10.0.0.64/28" + ], + "ipamPoolPrefixAllocations": [ + { + "allocatedAddressPrefixes": [ + "10.0.0.0/26", + "10.0.0.64/28" + ], + "numberOfIpAddresses": "80", + "pool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/nm1/ipamPools/testIpamPool" + } + } + ], + "provisioningState": "Updating" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus2euap", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/22" + ], + "ipamPoolPrefixAllocations": [ + { + "allocatedAddressPrefixes": [ + "10.0.0.0/22" + ], + "numberOfIpAddresses": "800", + "pool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/nm1/ipamPools/testIpamPool" + } + } + ] + }, + "provisioningState": "Updating", + "subnets": [ + { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "properties": { + "addressPrefixes": [ + "10.0.0.0/26", + "10.0.0.64/28" + ], + "ipamPoolPrefixAllocations": [ + { + "allocatedAddressPrefixes": [ + "10.0.0.0/26", + "10.0.0.64/28" + ], + "numberOfIpAddresses": "80", + "pool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/nm1/ipamPools/testIpamPool" + } + } + ], + "provisioningState": "Updating" + } + } + ] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network with ipamPool" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkDelete.json new file mode 100644 index 000000000000..21289e04b25e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualNetworks_Delete", + "title": "Delete virtual network" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayAbortMigration.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayAbortMigration.json new file mode 100644 index 000000000000..ef6bd5bb6db7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayAbortMigration.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_InvokeAbortMigration", + "title": "VirtualNetworkGatewayAbortMigration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayCommitMigration.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayCommitMigration.json new file mode 100644 index 000000000000..582933ba786a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayCommitMigration.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_InvokeCommitMigration", + "title": "VirtualNetworkGatewayCommitMigration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionCreate.json new file mode 100644 index 000000000000..884c7a35c8f4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionCreate.json @@ -0,0 +1,270 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "centralus", + "properties": { + "authenticationType": "Certificate", + "certificateAuthentication": { + "inboundAuthCertificateChain": [ + "MIIC+TCCAeGgAwIBAgIQFOJUqDaxV5xJcKpTKO...", + "MIIC+TCCAeGgAwIBAgIQPJerInitNblK7yBgkqh..." + ], + "inboundAuthCertificateSubjectName": "CN=rootCert.com", + "outboundAuthCertificate": "https://customerKv.vault.azure.net/Certificates/outBoundcert/Version" + }, + "connectionMode": "Default", + "connectionProtocol": "IKEv2", + "connectionType": "IPsec", + "dpdTimeoutSeconds": 30, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2" + } + ], + "enableBgp": false, + "gatewayCustomBgpIpAddresses": [ + { + "customBgpIpAddress": "169.254.21.1", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default" + }, + { + "customBgpIpAddress": "169.254.21.3", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive" + } + ], + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1" + } + ], + "ipsecPolicies": [], + "localNetworkGateway2": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "location": "centralus", + "properties": { + "gatewayIpAddress": "x.x.x.x", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + } + }, + "tags": {} + }, + "routingWeight": 0, + "sharedKey": "Abc123", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + } + }, + "trafficSelectorPolicies": [], + "tunnelProperties": [ + { + "bgpPeeringAddress": "10.78.1.17", + "tunnelIpAddress": "10.78.1.5" + }, + { + "bgpPeeringAddress": "10.78.1.20", + "tunnelIpAddress": "10.78.1.7" + } + ], + "usePolicyBasedTrafficSelectors": false, + "virtualNetworkGateway1": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "location": "centralus", + "properties": { + "activeActive": false, + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "enableBgp": false, + "gatewayType": "Vpn", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1" + }, + "vpnType": "RouteBased" + }, + "tags": {} + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "connS2S" + }, + "responses": { + "200": { + "body": { + "name": "connS2S", + "type": "Microsoft.Network/connections", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", + "location": "centralus", + "properties": { + "authenticationType": "Certificate", + "certificateAuthentication": { + "inboundAuthCertificateChain": [ + "MIIC+TCCAeGgAwIBAgIQFOJUqDaxV5xJcKpTKO...", + "MIIC+TCCAeGgAwIBAgIQPJerInitNblK7yBgkqh..." + ], + "inboundAuthCertificateSubjectName": "CN=rootCert.com", + "outboundAuthCertificate": "https://customerKv.vault.azure.net/Certificates/outBoundcert/Version" + }, + "connectionMode": "Default", + "connectionProtocol": "IKEv2", + "connectionType": "IPsec", + "dpdTimeoutSeconds": 30, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2" + } + ], + "enableBgp": false, + "gatewayCustomBgpIpAddresses": [ + { + "customBgpIpAddress": "169.254.21.1", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default" + }, + { + "customBgpIpAddress": "169.254.21.3", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive" + } + ], + "ingressBytesTransferred": 0, + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1" + } + ], + "ipsecPolicies": [], + "localNetworkGateway2": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} + }, + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + } + }, + "routingWeight": 0, + "tunnelProperties": [ + { + "bgpPeeringAddress": "10.78.1.17", + "tunnelIpAddress": "10.78.1.5" + }, + { + "bgpPeeringAddress": "10.78.1.20", + "tunnelIpAddress": "10.78.1.7" + } + ], + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "virtualNetworkGateway1": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + } + } + } + }, + "201": { + "body": { + "name": "connS2S", + "type": "Microsoft.Network/connections", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", + "location": "centralus", + "properties": { + "authenticationType": "Certificate", + "certificateAuthentication": { + "inboundAuthCertificateChain": [ + "MIIC+TCCAeGgAwIBAgIQFOJUqDaxV5xJcKpTKO...", + "MIIC+TCCAeGgAwIBAgIQPJerInitNblK7yBgkqh..." + ], + "inboundAuthCertificateSubjectName": "CN=rootCert.com", + "outboundAuthCertificate": "https://customerKv.vault.azure.net/Certificates/outBoundcert/Version" + }, + "connectionMode": "Default", + "connectionProtocol": "IKEv2", + "connectionType": "IPsec", + "dpdTimeoutSeconds": 30, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2" + } + ], + "enableBgp": false, + "ingressBytesTransferred": 0, + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1" + } + ], + "ipsecPolicies": [], + "localNetworkGateway2": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} + }, + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + } + }, + "routingWeight": 0, + "tunnelProperties": [ + { + "bgpPeeringAddress": "10.78.1.17", + "tunnelIpAddress": "10.78.1.5" + }, + { + "bgpPeeringAddress": "10.78.1.20", + "tunnelIpAddress": "10.78.1.7" + } + ], + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "virtualNetworkGateway1": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + } + } + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_CreateOrUpdate", + "title": "CreateVirtualNetworkGatewayConnection_S2S" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionDelete.json new file mode 100644 index 000000000000..8ea0efeec7bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "conn1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualNetworkGatewayConnections_Delete", + "title": "DeleteVirtualNetworkGatewayConnection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionGet.json new file mode 100644 index 000000000000..f3c7fd91dab7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionGet.json @@ -0,0 +1,93 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "connS2S" + }, + "responses": { + "200": { + "body": { + "name": "connS2S", + "type": "Microsoft.Network/connections", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", + "location": "centralus", + "properties": { + "authenticationType": "Certificate", + "certificateAuthentication": { + "inboundAuthCertificateChain": [ + "MIIC+TCCAeGgAwIBAgIQFOJUqDaxV5xJcKpTKO...", + "MIIC+TCCAeGgAwIBAgIQPJerInitNblK7yBgkqh..." + ], + "inboundAuthCertificateSubjectName": "CN=rootCert.com", + "outboundAuthCertificate": "https://customerKv.vault.azure.net/Certificates/outBoundcert/Version" + }, + "connectionMode": "Default", + "connectionProtocol": "IKEv2", + "connectionStatus": "Connecting", + "connectionType": "IPsec", + "dpdTimeoutSeconds": 30, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2" + } + ], + "enableBgp": false, + "gatewayCustomBgpIpAddresses": [ + { + "customBgpIpAddress": "169.254.21.1", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default" + }, + { + "customBgpIpAddress": "169.254.21.3", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive" + } + ], + "ingressBytesTransferred": 0, + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1" + } + ], + "ipsecPolicies": [], + "localNetworkGateway2": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + } + }, + "routingWeight": 0, + "trafficSelectorPolicies": [], + "tunnelProperties": [ + { + "bgpPeeringAddress": "10.78.1.17", + "tunnelIpAddress": "10.78.1.5" + }, + { + "bgpPeeringAddress": "10.78.1.20", + "tunnelIpAddress": "10.78.1.7" + } + ], + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "virtualNetworkGateway1": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + } + } + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_Get", + "title": "GetVirtualNetworkGatewayConnection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionGetIkeSas.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionGetIkeSas.json new file mode 100644 index 000000000000..27591ff9b00e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionGetIkeSas.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "vpngwcn1" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/westus/operationResults/{operationId}?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_GetIkeSas", + "title": "GetVirtualNetworkGatewayConnectionIkeSa" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionGetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionGetSharedKey.json new file mode 100644 index 000000000000..5d2a739b4e79 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionGetSharedKey.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "connS2S" + }, + "responses": { + "200": { + "body": { + "id": "", + "value": "AzureAbc123" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_GetSharedKey", + "title": "GetVirtualNetworkGatewayConnectionSharedKey" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionReset.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionReset.json new file mode 100644 index 000000000000..567a29a66809 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionReset.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "conn1" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_ResetConnection", + "title": "ResetVirtualNetworkGatewayConnection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionResetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionResetSharedKey.json new file mode 100644 index 000000000000..9944c445dd9e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionResetSharedKey.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "keyLength": 128 + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "conn1" + }, + "responses": { + "200": { + "body": { + "keyLength": 128 + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_ResetSharedKey", + "title": "ResetVirtualNetworkGatewayConnectionSharedKey" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionSetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionSetSharedKey.json new file mode 100644 index 000000000000..74473a6f72bd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionSetSharedKey.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "value": "AzureAbc123" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "connS2S" + }, + "responses": { + "200": { + "body": { + "id": "", + "value": "AzureAbc123" + } + }, + "201": { + "body": { + "id": "", + "value": "AzureAbc123" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_SetSharedKey", + "title": "SetVirtualNetworkGatewayConnectionSharedKey" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionStartPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionStartPacketCapture.json new file mode 100644 index 000000000000..783953889ae4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionStartPacketCapture.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "vpngwcn1" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_StartPacketCapture", + "title": "Start packet capture on virtual network gateway connection without filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json new file mode 100644 index 000000000000..3eddf80d8ebc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "filterData": "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "vpngwcn1" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_StartPacketCapture", + "title": "Start packet capture on virtual network gateway connection with filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionStopPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionStopPacketCapture.json new file mode 100644 index 000000000000..9d5a32c7e7fa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionStopPacketCapture.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "sasUrl": "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "vpngwcn1" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_StopPacketCapture", + "title": "Stop packet capture on virtual network gateway connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionUpdateTags.json new file mode 100644 index 000000000000..17b43b82040d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionUpdateTags.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "test" + }, + "responses": { + "200": { + "body": { + "name": "test", + "type": "Microsoft.Network/connections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/connections/test", + "location": "westus", + "properties": { + "connectionStatus": "Unknown", + "connectionType": "IPsec", + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2" + } + ], + "enableBgp": false, + "gatewayCustomBgpIpAddresses": [ + { + "customBgpIpAddress": "169.254.21.1", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default" + }, + { + "customBgpIpAddress": "169.254.21.3", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive" + } + ], + "ingressBytesTransferred": 0, + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1" + } + ], + "ipsecPolicies": [], + "localNetworkGateway2": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw", + "properties": {} + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + } + }, + "routingWeight": 0, + "trafficSelectorPolicies": [], + "usePolicyBasedTrafficSelectors": false, + "virtualNetworkGateway1": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_UpdateTags", + "title": "UpdateVirtualNetworkGatewayConnectionTags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionsList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionsList.json new file mode 100644 index 000000000000..ddb3718c25f9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayConnectionsList.json @@ -0,0 +1,135 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "conn1", + "type": "Microsoft.Network/connections", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/connections/conn1", + "location": "centralus", + "properties": { + "connectionMode": "Default", + "connectionProtocol": "IKEv1", + "connectionType": "IPsec", + "dpdTimeoutSeconds": 30, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1/natRules/natRule2" + } + ], + "enableBgp": false, + "gatewayCustomBgpIpAddresses": [ + { + "customBgpIpAddress": "169.254.21.1", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default" + }, + { + "customBgpIpAddress": "169.254.21.3", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive" + } + ], + "ingressBytesTransferred": 0, + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1/natRules/natRule1" + } + ], + "ipsecPolicies": [], + "localNetworkGateway2": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1", + "properties": {} + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + } + }, + "routingWeight": 0, + "trafficSelectorPolicies": [], + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "virtualNetworkGateway1": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1", + "properties": {} + } + } + }, + { + "name": "conn2", + "type": "Microsoft.Network/connections", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/connections/conn2", + "location": "eastus", + "properties": { + "connectionMode": "Default", + "connectionProtocol": "IKEv2", + "connectionType": "IPsec", + "dpdTimeoutSeconds": 20, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/natRules/natRule2" + } + ], + "enableBgp": false, + "gatewayCustomBgpIpAddresses": [ + { + "customBgpIpAddress": "169.254.21.4", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/ipConfigurations/default" + }, + { + "customBgpIpAddress": "169.254.21.6", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/ipConfigurations/ActiveActive" + } + ], + "ingressBytesTransferred": 0, + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/natRules/natRule1" + } + ], + "ipsecPolicies": [], + "localNetworkGateway2": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2", + "properties": {} + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + } + }, + "routingWeight": 0, + "trafficSelectorPolicies": [], + "useLocalAzureIpAddress": true, + "usePolicyBasedTrafficSelectors": false, + "virtualNetworkGateway1": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2", + "properties": {} + } + } + } + ] + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_List", + "title": "ListVirtualNetworkGatewayConnectionsinResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayDelete.json new file mode 100644 index 000000000000..f1971a1d4e46 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualNetworkGateways_Delete", + "title": "DeleteVirtualNetworkGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayExecuteMigration.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayExecuteMigration.json new file mode 100644 index 000000000000..bb8ef5c8c431 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayExecuteMigration.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_InvokeExecuteMigration", + "title": "VirtualNetworkGatewayExecuteMigration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGenerateVpnClientPackage.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGenerateVpnClientPackage.json new file mode 100644 index 000000000000..742eca412819 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGenerateVpnClientPackage.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": {}, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_Generatevpnclientpackage", + "title": "GenerateVPNClientPackage" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGenerateVpnProfile.json new file mode 100644 index 000000000000..b8e04cc5b1dc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGenerateVpnProfile.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": {}, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GenerateVpnProfile", + "title": "GenerateVirtualNetworkGatewayVPNProfile" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGet.json new file mode 100644 index 000000000000..034a22e789f9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGet.json @@ -0,0 +1,148 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": { + "name": "vpngw", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "centralus", + "properties": { + "activeActive": false, + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.3.1.254" + ], + "ipconfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "tunnelIpAddresses": [ + "52.161.10.135" + ] + } + ], + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "enableHighBandwidthVpnGateway": false, + "enablePrivateIpAddress": false, + "gatewayType": "Vpn", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [ + { + "name": "natRule1", + "etag": "W/\"00ae2b69-88e7-4b3a-b66a-cfa2244e0801\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "50.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.10.0.0/24" + } + ], + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + }, + { + "name": "natRule2", + "etag": "W/\"00ae2b69-88e7-4b3a-b66a-cfa2244e0801\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "30.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "20.10.0.0/24" + } + ], + "mode": "IngressSnat", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "VpnGw1", + "capacity": 0, + "tier": "VpnGw1" + }, + "virtualNetworkGatewayMigrationStatus": { + "errorMessage": "", + "phase": "", + "state": "" + }, + "vpnClientConfiguration": { + "radiusServers": [ + { + "radiusServerAddress": "10.1.0.0", + "radiusServerScore": 20 + } + ], + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRevokedCertificates": [], + "vpnClientRootCertificates": [] + }, + "vpnGatewayGeneration": "None", + "vpnType": "RouteBased" + } + } + } + }, + "operationId": "VirtualNetworkGateways_Get", + "title": "GetVirtualNetworkGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetAdvertisedRoutes.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetAdvertisedRoutes.json new file mode 100644 index 000000000000..ebeea4b72d09 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetAdvertisedRoutes.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "peer": "test", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetAdvertisedRoutes", + "title": "GetVirtualNetworkGatewayAdvertisedRoutes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetBGPPeerStatus.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetBGPPeerStatus.json new file mode 100644 index 000000000000..6af98aa85b55 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetBGPPeerStatus.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetBgpPeerStatus", + "title": "GetVirtualNetworkGatewayBGPPeerStatus" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetFailoverAllTestsDetails.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetFailoverAllTestsDetails.json new file mode 100644 index 000000000000..8e19012481d2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetFailoverAllTestsDetails.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "type": "SingleSiteFailover", + "api-version": "2025-07-01", + "fetchLatest": "true", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "ergw" + }, + "responses": { + "200": { + "body": [] + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetFailoverAllTestDetails", + "title": "VirtualNetworkGatewayGetFailoverAllTestsDetails" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetFailoverSingleTestDetails.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetFailoverSingleTestDetails.json new file mode 100644 index 000000000000..e07e14988439 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetFailoverSingleTestDetails.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "failoverTestId": "fe458ae8-d2ae-4520-a104-44bc233bde7e", + "peeringLocation": "Vancouver", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "ergw" + }, + "responses": { + "200": { + "body": [] + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetFailoverSingleTestDetails", + "title": "VirtualNetworkGatewayGetFailoverSingleTestDetails" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetResiliencyInformation.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetResiliencyInformation.json new file mode 100644 index 000000000000..e7380ddd3c09 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetResiliencyInformation.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "attemptRefresh": true, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetResiliencyInformation", + "title": "GetVirtualNetworkGatewayResiliencyInformation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetRoutesInformation.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetRoutesInformation.json new file mode 100644 index 000000000000..322328cb9dc7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetRoutesInformation.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "attemptRefresh": false, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetRoutesInformation", + "title": "GetVirtualNetworkGatewayRoutesInformation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetVpnClientIpsecParameters.json new file mode 100644 index 000000000000..495c30ebaf0d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetVpnClientIpsecParameters.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": { + "dhGroup": "DHGroup2", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS2", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86473 + } + } + }, + "operationId": "VirtualNetworkGateways_GetVpnclientIpsecParameters", + "title": "Get VirtualNetworkGateway VpnClientIpsecParameters" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetVpnProfilePackageUrl.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetVpnProfilePackageUrl.json new file mode 100644 index 000000000000..f32171ede030 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetVpnProfilePackageUrl.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetVpnProfilePackageUrl", + "title": "GetVirtualNetworkGatewayVPNProfilePackageURL" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetVpnclientConnectionHealth.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetVpnclientConnectionHealth.json new file mode 100644 index 000000000000..b95faf6f6744 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayGetVpnclientConnectionHealth.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "p2s-vnet-test", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpnp2sgw" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "egressBytesTransferred": 33420, + "egressPacketsTransferred": 557, + "ingressBytesTransferred": 33420, + "ingressPacketsTransferred": 557, + "maxBandwidth": 240000000, + "maxPacketsPerSecond": 4, + "privateIpAddress": "192.168.210.2", + "publicIpAddress": "167.220.2.232:45522", + "vpnConnectionDuration": 900, + "vpnConnectionId": "IKEv2_1e1cfe59-5c7c-4315-a876-b11fbfdfeed4", + "vpnConnectionTime": "2019-05-02T22:26:22", + "vpnUserName": "gwp2schildcert" + }, + { + "egressBytesTransferred": 23420, + "egressPacketsTransferred": 357, + "ingressBytesTransferred": 23420, + "ingressPacketsTransferred": 357, + "maxBandwidth": 220000000, + "maxPacketsPerSecond": 4, + "privateIpAddress": "192.168.210.1", + "publicIpAddress": "167.220.2.232:45213", + "vpnConnectionDuration": 800, + "vpnConnectionId": "IKEv2_571cfe59-2c7d-1415-e813-c51fbfdfea16", + "vpnConnectionTime": "2019-05-01T21:06:12", + "vpnUserName": "gwp2schildcert" + } + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetVpnclientConnectionHealth", + "title": "GetVirtualNetworkGatewayVpnclientConnectionHealth" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayLearnedRoutes.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayLearnedRoutes.json new file mode 100644 index 000000000000..17496d9b03fc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayLearnedRoutes.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetLearnedRoutes", + "title": "GetVirtualNetworkGatewayLearnedRoutes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayList.json new file mode 100644 index 000000000000..bc7284e1b239 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayList.json @@ -0,0 +1,236 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpngw1", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1", + "location": "loc1", + "properties": { + "activeActive": false, + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.0.14", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "enablePrivateIpAddress": false, + "gatewayType": "Vpn", + "ipConfigurations": [ + { + "name": "default", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1/ipConfigurations/default", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw1-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [ + { + "name": "natRule1", + "etag": "W/\"00ae2b69-88e7-4b3a-b66a-cfa2244e0801\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "50.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.10.0.0/24" + } + ], + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + }, + { + "name": "natRule2", + "etag": "W/\"00ae2b69-88e7-4b3a-b66a-cfa2244e0801\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1/natRules/natRule2", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "30.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "20.10.0.0/24" + } + ], + "mode": "IngressSnat", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "VpnGw1", + "capacity": 2, + "tier": "VpnGw1" + }, + "virtualNetworkGatewayMigrationStatus": { + "errorMessage": "", + "phase": "", + "state": "" + }, + "vpnClientConfiguration": { + "vpnClientProtocols": [], + "vpnClientRevokedCertificates": [], + "vpnClientRootCertificates": [] + }, + "vpnGatewayGeneration": "None", + "vpnType": "RouteBased" + } + }, + { + "name": "vpngw2", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2", + "location": "loc2", + "properties": { + "activeActive": false, + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.1.0.46", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "enablePrivateIpAddress": true, + "gatewayType": "Vpn", + "ipConfigurations": [ + { + "name": "default", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/ipConfigurations/default", + "properties": { + "privateIPAddress": "10.1.0.7", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw2-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [ + { + "name": "natRule1", + "etag": "W/\"00ae2b69-88e7-4b3a-b66a-cfa2244e0801\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "50.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.10.0.0/24" + } + ], + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + }, + { + "name": "natRule2", + "etag": "W/\"00ae2b69-88e7-4b3a-b66a-cfa2244e0801\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/natRules/natRule2", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "30.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "20.10.0.0/24" + } + ], + "mode": "IngressSnat", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "VpnGw1", + "capacity": 2, + "tier": "VpnGw1" + }, + "virtualNetworkGatewayMigrationStatus": { + "errorMessage": "", + "phase": "", + "state": "" + }, + "vpnClientConfiguration": { + "radiusServers": [ + { + "radiusServerAddress": "10.2.0.0", + "radiusServerScore": 20 + } + ], + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRevokedCertificates": [], + "vpnClientRootCertificates": [] + }, + "vpnGatewayGeneration": "None", + "vpnType": "RouteBased" + } + } + ] + } + } + }, + "operationId": "VirtualNetworkGateways_List", + "title": "ListVirtualNetworkGatewaysinResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayNatRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayNatRuleDelete.json new file mode 100644 index 000000000000..0a509dc9d4ff --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayNatRuleDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natRuleName": "natRule1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "gateway1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualNetworkGatewayNatRules_Delete", + "title": "VirtualNetworkGatewayNatRuleDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayNatRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayNatRuleGet.json new file mode 100644 index 000000000000..b2b6cb3067f7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayNatRuleGet.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natRuleName": "natRule1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "gateway1" + }, + "responses": { + "200": { + "body": { + "name": "natRule1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "50.4.0.0/24", + "portRange": "200-200" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24", + "portRange": "100-100" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "VirtualNetworkGatewayNatRules_Get", + "title": "VirtualNetworkGatewayNatRuleGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayNatRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayNatRuleList.json new file mode 100644 index 000000000000..511a4cdcbc48 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayNatRuleList.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "gateway1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "natRule1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + }, + { + "name": "natRule2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/natRules/natRule2", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "VirtualNetworkGatewayNatRules_ListByVirtualNetworkGateway", + "title": "VirtualNetworkGatewayNatRuleList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayNatRulePut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayNatRulePut.json new file mode 100644 index 000000000000..2e233b019c36 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayNatRulePut.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "NatRuleParameters": { + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24", + "portRange": "300-400" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24", + "portRange": "200-300" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/ipConfigurations/default", + "mode": "EgressSnat" + } + }, + "api-version": "2025-07-01", + "natRuleName": "natRule1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "gateway1" + }, + "responses": { + "200": { + "body": { + "name": "natRule1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24", + "portRange": "300-400" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24", + "portRange": "200-300" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "natRule1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24", + "portRange": "300-400" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24", + "portRange": "200-300" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "VirtualNetworkGatewayNatRules_CreateOrUpdate", + "title": "VirtualNetworkGatewayNatRulePut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayPrepareMigration.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayPrepareMigration.json new file mode 100644 index 000000000000..6a207fe91e8a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayPrepareMigration.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "migrationParams": { + "migrationType": "UpgradeDeploymentToStandardIP", + "resourceUrl": "testUrl" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_InvokePrepareMigration", + "title": "VirtualNetworkGatewayPrepareMigration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayReset.json new file mode 100644 index 000000000000..61a597101b64 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayReset.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": { + "name": "vpngw", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "location": "centralus", + "properties": { + "activeActive": false, + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.3.1.254" + ], + "ipconfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "tunnelIpAddresses": [ + "52.161.10.135" + ] + } + ], + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "gatewayType": "Vpn", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "VpnGw1", + "capacity": 0, + "tier": "VpnGw1" + }, + "vpnType": "RouteBased" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_Reset", + "title": "ResetVirtualNetworkGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayResetVpnClientSharedKey.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayResetVpnClientSharedKey.json new file mode 100644 index 000000000000..ae2e60997963 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayResetVpnClientSharedKey.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_ResetVpnClientSharedKey", + "title": "ResetVpnClientSharedKey" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewaySetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewaySetVpnClientIpsecParameters.json new file mode 100644 index 000000000000..f3343313edb2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewaySetVpnClientIpsecParameters.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw", + "vpnclientIpsecParams": { + "dhGroup": "DHGroup2", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS2", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86473 + } + }, + "responses": { + "200": { + "body": { + "dhGroup": "DHGroup2", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS2", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86473 + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_SetVpnclientIpsecParameters", + "title": "Set VirtualNetworkGateway VpnClientIpsecParameters" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayStartPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayStartPacketCapture.json new file mode 100644 index 000000000000..92c2bd5e0b2a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayStartPacketCapture.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_StartPacketCapture", + "title": "Start packet capture on virtual network gateway without filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayStartPacketCaptureFilterData.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayStartPacketCaptureFilterData.json new file mode 100644 index 000000000000..c9d378c38afd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayStartPacketCaptureFilterData.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "filterData": "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_StartPacketCapture", + "title": "Start packet capture on virtual network gateway with filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayStartSiteFailoverSimulation.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayStartSiteFailoverSimulation.json new file mode 100644 index 000000000000..21cd415c68c5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayStartSiteFailoverSimulation.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "peeringLocation": "Vancouver", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "ergw" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_StartExpressRouteSiteFailoverSimulation", + "title": "VirtualNetworkGatewayStartSiteFailoverSimulation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayStopPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayStopPacketCapture.json new file mode 100644 index 000000000000..1bb9325f0165 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayStopPacketCapture.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "sasUrl": "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_StopPacketCapture", + "title": "Stop packet capture on virtual network gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayStopSiteFailoverSimulation.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayStopSiteFailoverSimulation.json new file mode 100644 index 000000000000..1eadb6ae604d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayStopSiteFailoverSimulation.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "stopParameters": { + "peeringLocation": "Vancouver", + "wasSimulationSuccessful": true, + "details": [ + { + "failoverConnectionName": "conn1", + "failoverLocation": "Denver", + "isVerified": false + }, + { + "failoverConnectionName": "conn2", + "failoverLocation": "Amsterdam", + "isVerified": true + } + ] + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "ergw" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_StopExpressRouteSiteFailoverSimulation", + "title": "VirtualNetworkGatewayStopSiteFailoverSimulation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewaySupportedVpnDevice.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewaySupportedVpnDevice.json new file mode 100644 index 000000000000..dcb7f1b17544 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewaySupportedVpnDevice.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": "" + } + }, + "operationId": "VirtualNetworkGateways_SupportedVpnDevices", + "title": "ListVirtualNetworkGatewaySupportedVPNDevices" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayUpdate.json new file mode 100644 index 000000000000..4a2ee5a9de83 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayUpdate.json @@ -0,0 +1,375 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "centralus", + "properties": { + "activeActive": false, + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "enableDnsForwarding": true, + "enableHighBandwidthVpnGateway": false, + "gatewayType": "Vpn", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [ + { + "name": "natRule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "50.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.10.0.0/24" + } + ], + "ipConfigurationId": "", + "mode": "EgressSnat" + } + }, + { + "name": "natRule2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "30.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "20.10.0.0/24" + } + ], + "ipConfigurationId": "", + "mode": "IngressSnat" + } + } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1" + }, + "vpnClientConfiguration": { + "radiusServers": [ + { + "radiusServerAddress": "10.2.0.0", + "radiusServerScore": 20, + "radiusServerSecret": "radiusServerSecret" + } + ], + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRevokedCertificates": [], + "vpnClientRootCertificates": [] + }, + "vpnType": "RouteBased" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": { + "name": "vpngw", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "centralus", + "properties": { + "activeActive": false, + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.3.1.254" + ], + "ipconfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "tunnelIpAddresses": [ + "52.161.10.135" + ] + } + ], + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "enableDnsForwarding": true, + "enableHighBandwidthVpnGateway": false, + "gatewayType": "Vpn", + "inboundDnsForwardingEndpoint": "10.0.1.14", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [ + { + "name": "natRule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "50.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.10.0.0/24" + } + ], + "ipConfigurationId": "", + "mode": "EgressSnat" + } + }, + { + "name": "natRule2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "30.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "20.10.0.0/24" + } + ], + "ipConfigurationId": "", + "mode": "IngressSnat" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "VpnGw1", + "capacity": 0, + "tier": "VpnGw1" + }, + "vpnClientConfiguration": { + "radiusServers": [ + { + "radiusServerAddress": "10.2.0.0", + "radiusServerScore": 20 + } + ], + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRevokedCertificates": [], + "vpnClientRootCertificates": [] + }, + "vpnGatewayGeneration": "None", + "vpnType": "RouteBased" + } + } + }, + "201": { + "body": { + "name": "vpngw", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "centralus", + "properties": { + "activeActive": false, + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.3.1.254" + ], + "ipconfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "tunnelIpAddresses": [ + "52.161.10.135" + ] + } + ], + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "enableDnsForwarding": true, + "enableHighBandwidthVpnGateway": false, + "enablePrivateIpAddress": false, + "gatewayType": "Vpn", + "inboundDnsForwardingEndpoint": "10.0.1.14", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [ + { + "name": "natRule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "50.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.10.0.0/24" + } + ], + "ipConfigurationId": "", + "mode": "EgressSnat" + } + }, + { + "name": "natRule2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "30.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "20.10.0.0/24" + } + ], + "ipConfigurationId": "", + "mode": "IngressSnat" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "VpnGw1", + "capacity": 0, + "tier": "VpnGw1" + }, + "vpnClientConfiguration": { + "radiusServers": [ + { + "radiusServerAddress": "10.2.0.0", + "radiusServerScore": 20 + } + ], + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRevokedCertificates": [], + "vpnClientRootCertificates": [] + }, + "vpnType": "RouteBased" + } + } + } + }, + "operationId": "VirtualNetworkGateways_CreateOrUpdate", + "title": "UpdateVirtualNetworkGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayUpdateTags.json new file mode 100644 index 000000000000..c7ef546b42a6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayUpdateTags.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": { + "name": "vpngw", + "type": "Microsoft.Network/virtualNetworkGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "westus", + "properties": { + "activeActive": false, + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.0.254", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.3.1.254" + ], + "ipconfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "tunnelIpAddresses": [ + "52.161.10.135" + ] + } + ], + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "gatewayType": "Vpn", + "ipConfigurations": [ + { + "name": "default", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testpub1" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "VpnGw1", + "capacity": 2, + "tier": "VpnGw1" + }, + "vpnGatewayGeneration": "None", + "vpnType": "RouteBased" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_UpdateTags", + "title": "UpdateVirtualNetworkGatewayTags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayVpnDeviceConfigurationScript.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayVpnDeviceConfigurationScript.json new file mode 100644 index 000000000000..f47caf95955b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewayVpnDeviceConfigurationScript.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "deviceFamily": "ISR", + "firmwareVersion": "IOS 15.1 (Preview)", + "vendor": "Cisco" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "vpngw" + }, + "responses": { + "200": { + "body": "! Microsoft Corporation\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Sample VPN tunnel configuration template for IOS-based devices\r\n!\r\n! This configuration template applies to Cisco VPN devices running IOS 15.1 or beyond (ISR or ASR)\r\n!\r\n\r\n\r\n\t\t\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! ACL rules\r\n!\r\n! Some VPN devices require explicit ACL rules to allow cross-premises traffic:\r\n!\r\n! 1. Allow traffic between on premises address ranges and VNet address ranges\r\n! 2. Allow IKE traffic (UDP:500) between on premises VPN devices and Azure VPN gateway\r\n! 3. Allow IPsec traffic (Proto:ESP) between on premises VPN devices and Azure VPN gateway\r\n!\r\n\t\t\r\naccess-list 101 permit ip 10.1.0.0 0.0.255.255 10.0.0.0 0.0.255.255\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Internet Key Exchange (IKE) configuration\r\n!\r\n! This section specifies the authentication, encryption, hashing, and Diffie-Hellman group parameters for IKE\r\n! main mode or phase 1\r\n!\r\n\r\ncrypto ikev2 proposal SwaggerS2S-proposal\r\n encryption DES3\r\n integrity SHA384\r\n group DHGroup24\r\n lifetime 3600\r\n exit\r\n\r\ncrypto ikev2 policy SwaggerS2S-policy\r\n proposal SwaggerS2S-proposal\r\n exit\r\n\r\ncrypto ikev2 keyring SwaggerBranch-keyring\r\n\t\t\r\n\t\tpeer 52.173.199.254\r\n\t\taddress 52.173.199.254\r\n\t\tpre-shared-key lALEHuppeopJmA94exRNiRr2QzuZ6lOsvzu5IlJUEA6LthbTc8g5MTT86MCsGNMzGkTAaLuLnEJoD1Cn4cIlr94qKZm9drsgllzWvsPNezS71stAkaW1Bb7h6GBnDlDP\r\n exit\r\n\r\ncrypto ikev2 profile SwaggerS2S-profile\r\n match address local 10.3.0.0\r\n\tmatch identity remote address 52.173.199.254 255.255.255.255\r\n\t\t\r\n authentication remote pre-share\r\n authentication local pre-share\r\n keyring SwaggerBranch-keyring\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! IPsec configuration\r\n!\r\n! This section specifies encryption, authentication, tunnel mode properties for the Phase 2 negotiation\r\n!\r\ncrypto ipsec transform-set SwaggerS2S-TransformSet DES3 DES3\r\n mode tunnel\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Crypto map configuration\r\n!\r\n! This section defines a crypto profile that binds the cross-premises network traffic to the IPsec and IKE\r\n! policy profiles for this connection. Then defines the VTI (virtual tunnel interface) with the crypto\r\n! profile. A random interface number (tunnel 1) was used with a random link local address (169.254.0.1/28)\r\n! for the tunnel interface. If either selection is already used in the VPN device, please select another\r\n! interface number or address. The only requirement is that they must not overlap with another interface\r\n! on the same VPN device.\r\n!\r\ncrypto ipsec profile SwaggerS2S-IPsecProfile\r\n set transform-set SwaggerS2S-TransformSet\r\n set ikev2-profile SwaggerS2S-profile\r\n set pfs None\r\n set security-association lifetime 3600\r\n exit\r\n\r\n\r\nint tunnel 52.173.199.254\r\n ip address 169.254.0.1 255.255.255.252\r\n ip tcp adjust-mss 1350\r\n tunnel source 10.3.0.0\r\n tunnel mode ipsec ipv4\r\n tunnel destination 52.173.199.254\r\n tunnel protection ipsec profile SwaggerS2S-IPsecProfile\r\n exit\r\n\r\n\tip route 10.0.0.0 255.255.0.0 tunnel 52.173.199.254 " + } + }, + "operationId": "VirtualNetworkGateways_VpnDeviceConfigurationScript", + "title": "GetVPNDeviceConfigurationScript" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewaysDisconnectP2sVpnConnections.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewaysDisconnectP2sVpnConnections.json new file mode 100644 index 000000000000..6d5fb9772656 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewaysDisconnectP2sVpnConnections.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "vpn-gateway-test", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngateway", + "request": { + "vpnConnectionIds": [ + "vpnconnId1", + "vpnconnId2" + ] + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_DisconnectVirtualNetworkGatewayVpnConnections", + "title": "Disconnect VpnConnections from Virtual Network Gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewaysListConnections.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewaysListConnections.json new file mode 100644 index 000000000000..d1e47a38f683 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGatewaysListConnections.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "test-vpn-gateway-1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-vpn-connection", + "type": "Microsoft.Network/connections", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/connections/test-vpn-connection", + "location": "eastus", + "properties": { + "connectionType": "Vnet2Vnet", + "egressBytesTransferred": 0, + "enableBgp": true, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routingWeight": 22, + "trafficSelectorPolicies": [], + "usePolicyBasedTrafficSelectors": false, + "virtualNetworkGateway1": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkGateways/test-vpn-gateway-1" + }, + "virtualNetworkGateway2": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg-2/providers/Microsoft.Network/virtualNetworkGateways/test-vpn-gateway-2" + } + } + } + ] + } + } + }, + "operationId": "VirtualNetworkGateways_ListConnections", + "title": "VirtualNetworkGatewaysListConnections" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGet.json new file mode 100644 index 000000000000..58b9cf4e61b5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGet.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "defaultPublicNatGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-ngw" + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.1.0/24", + "ipConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_Get", + "title": "Get virtual network" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGetDdosProtectionStatus.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGetDdosProtectionStatus.json new file mode 100644 index 000000000000..791176888550 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGetDdosProtectionStatus.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "top": 75, + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "ddosProtectionPlanId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan", + "isWorkloadProtected": "True", + "publicIpAddress": "10.0.1.5", + "publicIpAddressId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip" + }, + { + "isWorkloadProtected": "False", + "publicIpAddress": "10.0.1.6", + "publicIpAddressId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip2" + } + ] + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/ddosProtectionStatus?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworks_ListDdosProtectionStatus", + "title": "Get Ddos Protection Status of a Virtual Network" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGetResourceNavigationLinks.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGetResourceNavigationLinks.json new file mode 100644 index 000000000000..381a88bca52c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGetResourceNavigationLinks.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subnetName": "subnet", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "redisCache_redis-tester", + "type": "Microsoft.Network/virtualNetworks/subnets/resourceNavigationLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet/resourceNavigationLinks/redisCache_redis-tester", + "properties": { + "link": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/another-rg/providers/Microsoft.Cache/Redis/redis-tester", + "linkedResourceType": "Microsoft.Cache/redis", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ResourceNavigationLinks_List", + "title": "Get Resource Navigation Links" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGetServiceAssociationLinks.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGetServiceAssociationLinks.json new file mode 100644 index 000000000000..e3473b627422 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGetServiceAssociationLinks.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subnetName": "subnet", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "acisal", + "type": "Microsoft.Network/virtualNetworks/subnets/serviceAssociationLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet/serviceAssociationLinks/acisal", + "properties": { + "allowDelete": true, + "linkedResourceType": "Microsoft.ContainerInstance/containerGroups", + "locations": [ + "westus" + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ServiceAssociationLinks_List", + "title": "Get Service Association Links" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGetWithServiceAssociationLink.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGetWithServiceAssociationLink.json new file mode 100644 index 000000000000..658d8fd29d1a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGetWithServiceAssociationLink.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "subnet1", + "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.214.0/24", + "delegations": [ + { + "name": "aciDelegation", + "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/aciDelegation", + "properties": { + "actions": [ + "Microsoft.Network/virtualNetworks/subnets/action" + ], + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType" + } + } + ], + "ipConfigurationProfiles": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1" + } + ], + "provisioningState": "Succeeded", + "serviceAssociationLinks": [ + { + "name": "serviceAssociationLink1", + "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/serviceAssociationLinks/serviceAssociationLink1", + "properties": { + "linkedResourceType": "Microsoft.Provider/resourceType", + "provisioningState": "Succeeded" + } + } + ], + "serviceEndpoints": [] + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_Get", + "title": "Get virtual network with service association links" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGetWithSubnetDelegation.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGetWithSubnetDelegation.json new file mode 100644 index 000000000000..47a22ab8b3db --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkGetWithSubnetDelegation.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.1.0/24", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/myDelegation", + "properties": { + "actions": [], + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType" + } + } + ], + "ipConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe" + } + ], + "provisioningState": "Succeeded", + "purpose": "" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_Get", + "title": "Get virtual network with a delegated subnet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkList.json new file mode 100644 index 000000000000..c10ec84c772b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkList.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vnet1", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/8" + ] + }, + "defaultPublicNatGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-ngw" + }, + "dhcpOptions": { + "dnsServers": [] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + }, + { + "name": "vnet2", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "defaultPublicNatGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-ngw" + }, + "dhcpOptions": { + "dnsServers": [ + "8.8.8.8" + ] + }, + "provisioningState": "Succeeded", + "subnets": [], + "virtualNetworkPeerings": [] + } + } + ] + } + } + }, + "operationId": "VirtualNetworks_List", + "title": "List virtual networks in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkListAll.json new file mode 100644 index 000000000000..4bffb59a5597 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkListAll.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vnet1", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/8" + ] + }, + "defaultPublicNatGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-ngw" + }, + "dhcpOptions": { + "dnsServers": [] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + }, + { + "name": "vnet2", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet2", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "defaultPublicNatGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-ngw" + }, + "dhcpOptions": { + "dnsServers": [ + "8.8.8.8" + ] + }, + "provisioningState": "Succeeded", + "subnets": [], + "virtualNetworkPeerings": [] + } + } + ] + } + } + }, + "operationId": "VirtualNetworks_ListAll", + "title": "List all virtual networks" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkListUsage.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkListUsage.json new file mode 100644 index 000000000000..8da4aefe285e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkListUsage.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Subnet size and usage", + "value": "SubnetSpace" + }, + "currentValue": -1, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetName/subnets/GatewaySubnet", + "limit": -1, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Subnet size and usage", + "value": "SubnetSpace" + }, + "currentValue": 2, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetName/subnets/newSubnet", + "limit": 3, + "unit": "Count" + } + ] + } + } + }, + "operationId": "VirtualNetworks_ListUsage", + "title": "VnetGetUsage" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringCreate.json new file mode 100644 index 000000000000..9134342de31c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringCreate.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "VirtualNetworkPeeringParameters": { + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "useRemoteGateways": false + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "useRemoteGateways": false + } + } + }, + "201": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_CreateOrUpdate", + "title": "Create peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringCreateWithRemoteVirtualNetworkEncryption.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringCreateWithRemoteVirtualNetworkEncryption.json new file mode 100644 index 000000000000..22fc9193c8ab --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringCreateWithRemoteVirtualNetworkEncryption.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "VirtualNetworkPeeringParameters": { + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "useRemoteGateways": false + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkEncryption": { + "enabled": true, + "enforcement": "AllowUnencrypted" + }, + "useRemoteGateways": false + } + } + }, + "201": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkEncryption": { + "enabled": true, + "enforcement": "AllowUnencrypted" + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_CreateOrUpdate", + "title": "Create peering with remote virtual network encryption" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringDelete.json new file mode 100644 index 000000000000..114fe75f2569 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualNetworkPeerings_Delete", + "title": "Delete peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringGet.json new file mode 100644 index 000000000000..2e431b42f233 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringGet.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_Get", + "title": "Get peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json new file mode 100644 index 000000000000..b4a779ea819f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkEncryption": { + "enabled": true, + "enforcement": "AllowUnencrypted" + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_Get", + "title": "Get peering with remote virtual network encryption" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringList.json new file mode 100644 index 000000000000..e47f269eaa07 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringList.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "useRemoteGateways": false + } + }, + { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer2", + "properties": { + "allowForwardedTraffic": false, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "13.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20003" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet3" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "13.0.0.0/8" + ] + }, + "useRemoteGateways": false + } + } + ] + } + } + }, + "operationId": "VirtualNetworkPeerings_List", + "title": "List peerings" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringListWithRemoteVirtualNetworkEncryption.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringListWithRemoteVirtualNetworkEncryption.json new file mode 100644 index 000000000000..8a8caf986418 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringListWithRemoteVirtualNetworkEncryption.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkEncryption": { + "enabled": true, + "enforcement": "AllowUnencrypted" + }, + "useRemoteGateways": false + } + }, + { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer2", + "properties": { + "allowForwardedTraffic": false, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "13.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20003" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet3" + }, + "remoteVirtualNetworkEncryption": { + "enabled": true, + "enforcement": "AllowUnencrypted" + }, + "useRemoteGateways": false + } + } + ] + } + } + }, + "operationId": "VirtualNetworkPeerings_List", + "title": "List peerings with remote virtual network encryption" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringSync.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringSync.json new file mode 100644 index 000000000000..0424edaa5d0c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkPeeringSync.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "VirtualNetworkPeeringParameters": { + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "useRemoteGateways": false + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "syncRemoteAddressSpace": "true", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "useRemoteGateways": false + } + } + }, + "201": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_CreateOrUpdate", + "title": "Sync Peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkScalableGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkScalableGatewayGet.json new file mode 100644 index 000000000000..c48092a1d589 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkScalableGatewayGet.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "ergw" + }, + "responses": { + "200": { + "body": { + "name": "ergw", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw", + "location": "centralus", + "properties": { + "activeActive": false, + "adminState": "Enabled", + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "max": 3, + "min": 2 + } + }, + "bgpSettings": null, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "gatewayType": "ExpressRoute", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/ipConfigurations/default", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "ErGwScale", + "tier": "ErGwScale" + }, + "virtualNetworkGatewayPolicyGroups": [], + "vpnClientConfiguration": null, + "vpnType": "PolicyBased" + } + } + } + }, + "operationId": "VirtualNetworkGateways_Get", + "title": "GetVirtualNetworkScalableGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkScalableGatewayUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkScalableGatewayUpdate.json new file mode 100644 index 000000000000..e3eb78c1af94 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkScalableGatewayUpdate.json @@ -0,0 +1,160 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "centralus", + "properties": { + "activeActive": false, + "adminState": "Enabled", + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "max": 3, + "min": 2 + } + }, + "bgpSettings": null, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "gatewayType": "ExpressRoute", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [], + "sku": { + "name": "ErGwScale", + "tier": "ErGwScale" + }, + "virtualNetworkGatewayPolicyGroups": [], + "vpnClientConfiguration": null, + "vpnType": "PolicyBased" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "ergw" + }, + "responses": { + "200": { + "body": { + "name": "ergw", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw", + "location": "centralus", + "properties": { + "activeActive": false, + "adminState": "Enabled", + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "max": 3, + "min": 2 + } + }, + "bgpSettings": null, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "gatewayType": "ExpressRoute", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/ipConfigurations/default", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "ErGwScale", + "tier": "ErGwScale" + }, + "virtualNetworkGatewayPolicyGroups": [], + "vpnClientConfiguration": null, + "vpnType": "PolicyBased" + } + } + }, + "201": { + "body": { + "name": "ergw", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw", + "location": "centralus", + "properties": { + "activeActive": false, + "adminState": "Enabled", + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "max": 3, + "min": 2 + } + }, + "bgpSettings": null, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "gatewayType": "ExpressRoute", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/ipConfigurations/default", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "ErGwScale", + "tier": "ErGwScale" + }, + "virtualNetworkGatewayPolicyGroups": [], + "vpnClientConfiguration": null, + "vpnType": "PolicyBased" + } + } + } + }, + "operationId": "VirtualNetworkGateways_CreateOrUpdate", + "title": "UpdateVirtualNetworkScalableGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkSubnetPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkSubnetPeeringCreate.json new file mode 100644 index 000000000000..3a4039109387 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkSubnetPeeringCreate.json @@ -0,0 +1,147 @@ +{ + "parameters": { + "VirtualNetworkPeeringParameters": { + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": false, + "localSubnetNames": [ + "Subnet1", + "Subnet4" + ], + "peerCompleteVnets": false, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "useRemoteGateways": false + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": false, + "localAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "13.0.0.0/8", + "2002:2002::/64" + ] + }, + "localSubnetNames": [ + "Subnet1", + "Subnet4" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "13.0.0.0/8", + "2002:2002::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "useRemoteGateways": false + } + } + }, + "201": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": false, + "localAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "13.0.0.0/8", + "2002:2002::/64" + ] + }, + "localSubnetNames": [ + "Subnet1", + "Subnet4" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "13.0.0.0/8", + "2002:2002::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_CreateOrUpdate", + "title": "Create subnet peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkSubnetPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkSubnetPeeringGet.json new file mode 100644 index 000000000000..f6ad44f1747b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkSubnetPeeringGet.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": false, + "localAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "2002:2002::/64" + ] + }, + "localSubnetNames": [ + "Subnet1" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "2002:2002::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_Get", + "title": "Get subnet peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkSubnetPeeringSync.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkSubnetPeeringSync.json new file mode 100644 index 000000000000..caf86b4959c2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkSubnetPeeringSync.json @@ -0,0 +1,135 @@ +{ + "parameters": { + "VirtualNetworkPeeringParameters": { + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": false, + "peerCompleteVnets": false, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "useRemoteGateways": false + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "syncRemoteAddressSpace": "true", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": false, + "localAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "2002:2002::/64" + ] + }, + "localSubnetNames": [ + "Subnet1" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "2002:2002::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "useRemoteGateways": false + } + } + }, + "201": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": false, + "localAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "2002:2002::/64" + ] + }, + "localSubnetNames": [ + "Subnet1" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "2002:2002::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_CreateOrUpdate", + "title": "Sync subnet Peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapCreate.json new file mode 100644 index 000000000000..a5cb2f264881 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapCreate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/ipconfig1" + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tapName": "test-vtap" + }, + "responses": { + "200": { + "body": { + "name": "testvtap", + "type": "Microsoft.Network/virtualNetworkTaps", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ], + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + }, + "201": { + "body": { + "name": "testvtap", + "type": "Microsoft.Network/virtualNetworkTaps", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ], + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + } + }, + "operationId": "VirtualNetworkTaps_CreateOrUpdate", + "title": "Create Virtual Network Tap" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapDelete.json new file mode 100644 index 000000000000..65fd7c04adb1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tapName": "test-vtap" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualNetworkTaps_Delete", + "title": "Delete Virtual Network Tap resource" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapGet.json new file mode 100644 index 000000000000..bb86bd66e2a1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tapName": "testvtap" + }, + "responses": { + "200": { + "body": { + "name": "testvtap", + "type": "Microsoft.Network/virtualNetworkTaps", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ], + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + } + }, + "operationId": "VirtualNetworkTaps_Get", + "title": "Get Virtual Network Tap" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapList.json new file mode 100644 index 000000000000..4a1e5ab48746 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapList.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testvtap", + "type": "Microsoft.Network/virtualNetworkTaps", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ], + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + }, + { + "name": "testvtap2", + "type": "Microsoft.Network/virtualNetworkTaps", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap2", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration" + } + ], + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + ] + } + } + }, + "operationId": "VirtualNetworkTaps_ListByResourceGroup", + "title": "List virtual network taps in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapListAll.json new file mode 100644 index 000000000000..75f76ac34ee1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapListAll.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testvtap", + "type": "Microsoft.Network/virtualNetworkTaps", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ], + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + }, + { + "name": "testvtap2", + "type": "Microsoft.Network/virtualNetworkTaps", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap2", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration" + } + ], + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + ] + } + } + }, + "operationId": "VirtualNetworkTaps_ListAll", + "title": "List all virtual network taps" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapUpdateTags.json new file mode 100644 index 000000000000..0ae3c1578e54 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkTapUpdateTags.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tapName": "test-vtap", + "tapParameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-vtap", + "type": "Microsoft.Network/virtualNetworkTaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/test-vtap", + "location": "eastus", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ], + "provisioningState": "Succeded" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "VirtualNetworkTaps_UpdateTags", + "title": "Update virtual network tap tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkUpdateTags.json new file mode 100644 index 000000000000..e1d2055e41a3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkUpdateTags.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [], + "virtualNetworkPeerings": [] + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "VirtualNetworks_UpdateTags", + "title": "Update virtual network tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkV6SubnetPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkV6SubnetPeeringCreate.json new file mode 100644 index 000000000000..8e7a3a60409e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkV6SubnetPeeringCreate.json @@ -0,0 +1,139 @@ +{ + "parameters": { + "VirtualNetworkPeeringParameters": { + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": true, + "localSubnetNames": [ + "Subnet1", + "Subnet4" + ], + "peerCompleteVnets": false, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "useRemoteGateways": false + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": true, + "localAddressSpace": { + "addressPrefixes": [ + "2002::/64", + "2003::/64" + ] + }, + "localSubnetNames": [ + "Subnet1", + "Subnet4" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2002::/64", + "2003::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2001::/64" + ] + }, + "useRemoteGateways": false + } + } + }, + "201": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": true, + "localAddressSpace": { + "addressPrefixes": [ + "2002::/64", + "2003::/64" + ] + }, + "localSubnetNames": [ + "Subnet1", + "Subnet4" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2002::/64", + "2003::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2001::/64" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_CreateOrUpdate", + "title": "Create V6 Subnet peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkV6SubnetPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkV6SubnetPeeringGet.json new file mode 100644 index 000000000000..cfd656bbca9d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkV6SubnetPeeringGet.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": true, + "localAddressSpace": { + "addressPrefixes": [ + "2002:2002::/64" + ] + }, + "localSubnetNames": [ + "Subnet1" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2002:2002::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "2001:2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2001:2001::/64" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_Get", + "title": "Get V6 subnet peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkV6SubnetPeeringSync.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkV6SubnetPeeringSync.json new file mode 100644 index 000000000000..218dc94851bd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualNetworkV6SubnetPeeringSync.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "VirtualNetworkPeeringParameters": { + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": true, + "peerCompleteVnets": false, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "useRemoteGateways": false + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "syncRemoteAddressSpace": "true", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": true, + "localAddressSpace": { + "addressPrefixes": [ + "2002:2002::/64" + ] + }, + "localSubnetNames": [ + "Subnet1" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2002:2002::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "2001:2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2001:2001::/64" + ] + }, + "useRemoteGateways": false + } + } + }, + "201": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": true, + "localAddressSpace": { + "addressPrefixes": [ + "2002:2002::/64" + ] + }, + "localSubnetNames": [ + "Subnet1" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2002:2002::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "2001:2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2001:2001::/64" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_CreateOrUpdate", + "title": "Sync V6 Subnet Peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterDelete.json new file mode 100644 index 000000000000..b2bcde021f1f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualRouterName": "virtualRouter" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualRouters_Delete", + "title": "Delete VirtualRouter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterGet.json new file mode 100644 index 000000000000..27297eb9b7c9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualRouterName": "virtualRouter" + }, + "responses": { + "200": { + "body": { + "name": "virtualRouter", + "type": "Microsoft.Network/virtualRouters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter", + "location": "West US", + "properties": { + "hostedGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway" + }, + "peerings": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1" + } + ], + "provisioningState": "Succeeded", + "virtualRouterAsn": 10000, + "virtualRouterIps": [ + "192.168.1.1", + "192.168.1.2" + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "VirtualRouters_Get", + "title": "Get VirtualRouter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterListByResourceGroup.json new file mode 100644 index 000000000000..1e6cf872139c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "virtualRouter", + "type": "Microsoft.Network/virtualRouters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter", + "location": "West US", + "properties": { + "hostedGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway" + }, + "peerings": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1" + } + ], + "provisioningState": "Succeeded", + "virtualRouterAsn": 10000, + "virtualRouterIps": [ + "192.168.1.1", + "192.168.1.2" + ] + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "VirtualRouters_ListByResourceGroup", + "title": "List all Virtual Router for a given resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterListBySubscription.json new file mode 100644 index 000000000000..62d199b15c0c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterListBySubscription.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "virtualRouter", + "type": "Microsoft.Network/virtualRouters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter", + "location": "West US", + "properties": { + "hostedGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway" + }, + "peerings": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1" + } + ], + "provisioningState": "Succeeded", + "virtualRouterAsn": 10000, + "virtualRouterIps": [ + "192.168.1.1", + "192.168.1.2" + ] + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "VirtualRouters_List", + "title": "List all Virtual Routers for a given subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeerListAdvertisedRoute.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeerListAdvertisedRoute.json new file mode 100644 index 000000000000..226d2769dda0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeerListAdvertisedRoute.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "peer1", + "hubName": "virtualRouter1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "RouteServiceRole_IN_0": [ + { + "asPath": "65515", + "localAddress": "10.85.3.4", + "network": "10.45.0.0/16", + "nextHop": "10.85.3.4", + "origin": "Igp", + "sourcePeer": "10.85.3.4", + "weight": 0 + }, + { + "asPath": "65515", + "localAddress": "10.85.3.4", + "network": "10.85.0.0/16", + "nextHop": "10.85.3.4", + "origin": "Igp", + "sourcePeer": "10.85.3.4", + "weight": 0 + }, + { + "asPath": "65515", + "localAddress": "10.85.3.4", + "network": "10.100.0.0/16", + "nextHop": "10.85.3.4", + "origin": "Igp", + "sourcePeer": "10.85.3.4", + "weight": 0 + } + ], + "RouteServiceRole_IN_1": [ + { + "asPath": "65515", + "localAddress": "10.85.3.4", + "network": "10.45.0.0/16", + "nextHop": "10.85.3.4", + "origin": "Igp", + "sourcePeer": "10.85.3.4", + "weight": 0 + }, + { + "asPath": "65515", + "localAddress": "10.85.3.4", + "network": "10.85.0.0/16", + "nextHop": "10.85.3.4", + "origin": "Igp", + "sourcePeer": "10.85.3.4", + "weight": 0 + }, + { + "asPath": "65515", + "localAddress": "10.85.3.4", + "network": "10.100.0.0/16", + "nextHop": "10.85.3.4", + "origin": "Igp", + "sourcePeer": "10.85.3.4", + "weight": 0 + } + ] + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VirtualHubBgpConnections_ListAdvertisedRoutes", + "title": "VirtualRouterPeerListAdvertisedRoutes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeerListLearnedRoute.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeerListLearnedRoute.json new file mode 100644 index 000000000000..c91ece3673e2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeerListLearnedRoute.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "peer1", + "hubName": "virtualRouter1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "RouteServiceRole_IN_0": [ + { + "asPath": "65002-65001", + "localAddress": "10.85.3.4", + "network": "10.101.0.0/16", + "nextHop": "10.85.4.4", + "origin": "EBgp", + "sourcePeer": "10.85.4.4", + "weight": 32768 + }, + { + "asPath": "65002-65001", + "localAddress": "10.85.3.5", + "network": "10.101.0.0/16", + "nextHop": "10.85.4.4", + "origin": "EBgp", + "sourcePeer": "10.85.4.4", + "weight": 32768 + } + ], + "RouteServiceRole_IN_1": [ + { + "asPath": "65002-65001", + "localAddress": "10.85.3.4", + "network": "10.101.0.0/16", + "nextHop": "10.85.4.4", + "origin": "EBgp", + "sourcePeer": "10.85.4.4", + "weight": 32768 + }, + { + "asPath": "65002-65001", + "localAddress": "10.85.3.5", + "network": "10.101.0.0/16", + "nextHop": "10.85.4.4", + "origin": "EBgp", + "sourcePeer": "10.85.4.4", + "weight": 32768 + } + ] + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VirtualHubBgpConnections_ListLearnedRoutes", + "title": "VirtualRouterPeerListLearnedRoutes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeeringDelete.json new file mode 100644 index 000000000000..847b2d6e930e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeeringDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "peeringName": "peering1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualRouterName": "virtualRouter" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualRouterPeerings_Delete", + "title": "Delete VirtualRouterPeering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeeringGet.json new file mode 100644 index 000000000000..445878a5dd23 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeeringGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "peeringName": "peering1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualRouterName": "virtualRouter" + }, + "responses": { + "200": { + "body": { + "name": "peering1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1", + "properties": { + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "VirtualRouterPeerings_Get", + "title": "Get Virtual Router Peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeeringList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeeringList.json new file mode 100644 index 000000000000..7f4ae94848da --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeeringList.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualRouterName": "virtualRouter" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "peering1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1", + "properties": { + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "VirtualRouterPeerings_List", + "title": "List all Virtual Router Peerings for a given Virtual Router" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeeringPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeeringPut.json new file mode 100644 index 000000000000..b6bfce469720 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPeeringPut.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "properties": { + "peerAsn": 20000, + "peerIp": "192.168.1.5" + } + }, + "peeringName": "peering1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualRouterName": "virtualRouter" + }, + "responses": { + "200": { + "body": { + "name": "peering1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1", + "properties": { + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "peering1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1", + "properties": { + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "VirtualRouterPeerings_CreateOrUpdate", + "title": "Create Virtual Router Peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPut.json new file mode 100644 index 000000000000..665bed17ae08 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualRouterPut.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "West US", + "properties": { + "hostedGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway" + } + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualRouterName": "virtualRouter" + }, + "responses": { + "200": { + "body": { + "name": "virtualRouter", + "type": "Microsoft.Network/virtualRouters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter", + "location": "West US", + "properties": { + "hostedGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway" + }, + "peerings": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1" + } + ], + "provisioningState": "Succeeded", + "virtualRouterAsn": 10000, + "virtualRouterIps": [ + "192.168.1.1", + "192.168.1.2" + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "virtualRouter", + "type": "Microsoft.Network/virtualRouters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter", + "location": "West US", + "properties": { + "hostedGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway" + }, + "peerings": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1" + } + ], + "provisioningState": "Succeeded", + "virtualRouterAsn": 10000, + "virtualRouterIps": [ + "192.168.1.1", + "192.168.1.2" + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "VirtualRouters_CreateOrUpdate", + "title": "Create VirtualRouter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANDelete.json new file mode 100644 index 000000000000..28633c9944ac --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "VirtualWANName": "virtualWan1", + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWANs/{virtualWanName}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VirtualWans_Delete", + "title": "VirtualWANDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANGet.json new file mode 100644 index 000000000000..592eae378f84 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANGet.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "VirtualWANName": "wan1", + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "location": "West US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false, + "provisioningState": "Succeeded", + "virtualHubs": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + } + ], + "vpnSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + } + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "VirtualWans_Get", + "title": "VirtualWANGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANList.json new file mode 100644 index 000000000000..e518577d645a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANList.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "location": "West US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false, + "provisioningState": "Succeeded", + "virtualHubs": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + } + ], + "vpnSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + } + ] + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "wan2", + "type": "Microsoft.Network/virtualWANs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualWANs/wan2", + "location": "East US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false, + "provisioningState": "Succeeded", + "virtualHubs": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/hub1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/hub2" + } + ], + "vpnSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2" + } + ] + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "VirtualWans_List", + "title": "VirtualWANList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANListByResourceGroup.json new file mode 100644 index 000000000000..abffe2c54c06 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANListByResourceGroup.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "location": "West US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false, + "provisioningState": "Succeeded", + "virtualHubs": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + } + ], + "vpnSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + } + ] + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "wan2", + "type": "Microsoft.Network/virtualWANs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan2", + "location": "East US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false, + "provisioningState": "Succeeded", + "virtualHubs": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub3" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub4" + } + ], + "vpnSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite3" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite4" + } + ] + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "VirtualWans_ListByResourceGroup", + "title": "VirtualWANListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANPut.json new file mode 100644 index 000000000000..6a9a9e0391ce --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANPut.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "VirtualWANName": "wan1", + "WANParameters": { + "location": "West US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false + }, + "tags": { + "key1": "value1" + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "location": "West US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false, + "provisioningState": "Succeeded", + "virtualHubs": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + } + ], + "vpnSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + } + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "location": "West US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false, + "provisioningState": "Succeeded", + "virtualHubs": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + } + ], + "vpnSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + } + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "VirtualWans_CreateOrUpdate", + "title": "VirtualWANCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANUpdateTags.json new file mode 100644 index 000000000000..13ee571b150c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWANUpdateTags.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "VirtualWANName": "wan1", + "WANParameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "location": "West US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false, + "provisioningState": "Succeeded", + "virtualHubs": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + } + ], + "vpnSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + } + ] + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "VirtualWans_UpdateTags", + "title": "VirtualWANUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWanSupportedSecurityProviders.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWanSupportedSecurityProviders.json new file mode 100644 index 000000000000..f2e429fbf188 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VirtualWanSupportedSecurityProviders.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualWANName": "wan1" + }, + "responses": { + "200": { + "description": "Request successful.", + "body": { + "supportedProviders": [ + { + "name": "AzureFirewall", + "type": "Native", + "url": "" + } + ] + } + } + }, + "operationId": "SupportedSecurityProviders", + "title": "supportedSecurityProviders" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionDelete.json new file mode 100644 index 000000000000..72c6c54d9d23 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VpnConnections_Delete", + "title": "VpnConnectionDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionGet.json new file mode 100644 index 000000000000..b8dacf309a3f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionGet.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "trafficSelectorPolicies": [], + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnLinkConnectionMode": "ResponderOnly", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + }, + { + "name": "Connection-Link2", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnLinkConnectionMode": "InitiatorOnly", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2" + } + } + } + ] + } + } + } + }, + "operationId": "VpnConnections_Get", + "title": "VpnConnectionGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionList.json new file mode 100644 index 000000000000..b1cc8922ca57 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionList.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "trafficSelectorPolicies": [], + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnLinkConnectionMode": "Default", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + }, + { + "name": "Connection-Link2", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnLinkConnectionMode": "Default", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2" + } + } + } + ] + } + } + ] + } + } + }, + "operationId": "VpnConnections_ListByVpnGateway", + "title": "VpnConnectionList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionPut.json new file mode 100644 index 000000000000..3d352f996830 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionPut.json @@ -0,0 +1,203 @@ +{ + "parameters": { + "VpnConnectionParameters": { + "properties": { + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "trafficSelectorPolicies": [], + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "sharedKey": "key", + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnLinkConnectionMode": "Default", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + } + ] + } + }, + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "trafficSelectorPolicies": [], + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnLinkConnectionMode": "Default", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + } + ] + } + } + }, + "201": { + "body": { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "trafficSelectorPolicies": [], + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnLinkConnectionMode": "Default", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + } + ] + } + } + } + }, + "operationId": "VpnConnections_CreateOrUpdate", + "title": "VpnConnectionPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionStartPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionStartPacketCapture.json new file mode 100644 index 000000000000..643b9499f694 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionStartPacketCapture.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "parameters": { + "linkConnectionNames": [ + "siteLink1", + "siteLink2" + ] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnConnectionName": "vpnConnection1" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnConnections_StartPacketCapture", + "title": "Start packet capture on vpn connection without filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionStartPacketCaptureFilterData.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionStartPacketCaptureFilterData.json new file mode 100644 index 000000000000..62e75d2a5f0c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionStartPacketCaptureFilterData.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "parameters": { + "filterData": "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}", + "linkConnectionNames": [ + "siteLink1", + "siteLink2" + ] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnConnectionName": "vpnConnection1" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnConnections_StartPacketCapture", + "title": "Start packet capture on vpn connection with filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionStopPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionStopPacketCapture.json new file mode 100644 index 000000000000..30df680f0aa6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnConnectionStopPacketCapture.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "parameters": { + "linkConnectionNames": [ + "vpnSiteLink1", + "vpnSiteLink2" + ], + "sasUrl": "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnConnectionName": "vpnConnection1" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnConnections_StopPacketCapture", + "title": "Start packet capture on vpn connection without filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayDelete.json new file mode 100644 index 000000000000..6eff84b162a0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VpnGateways_Delete", + "title": "VpnGatewayDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayGet.json new file mode 100644 index 000000000000..5bc2d59ec1ea --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayGet.json @@ -0,0 +1,207 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "gateway1", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03" + } + ], + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + }, + { + "name": "Connection-Link2", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat04" + } + ], + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2" + } + } + } + ] + } + } + ], + "enableBgpRouteTranslationForNat": false, + "isRoutingPreferenceInternet": false, + "natRules": [ + { + "name": "nat03", + "type": "Microsoft.Network/vpnGateways/natRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03", + "properties": { + "type": "Dynamic", + "externalMappings": [ + { + "addressSpace": "192.168.0.0/26" + } + ], + "ingressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1" + } + ], + "internalMappings": [ + { + "addressSpace": "0.0.0.0/26" + } + ], + "mode": "IgressSnat" + } + }, + { + "name": "nat04", + "type": "Microsoft.Network/vpnGateways/natRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat04", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link2" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.0.0/26" + } + ], + "internalMappings": [ + { + "addressSpace": "0.0.0.0/26" + } + ], + "mode": "EgressSnat" + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + } + } + } + } + }, + "operationId": "VpnGateways_Get", + "title": "VpnGatewayGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayList.json new file mode 100644 index 000000000000..fabfbefaa6bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayList.json @@ -0,0 +1,303 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "gateway1", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03" + } + ], + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + }, + { + "name": "Connection-Link2", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat04" + } + ], + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2" + } + } + } + ] + } + } + ], + "enableBgpRouteTranslationForNat": false, + "isRoutingPreferenceInternet": false, + "natRules": [ + { + "name": "nat03", + "type": "Microsoft.Network/vpnGateways/natRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03", + "properties": { + "type": "Dynamic", + "externalMappings": [ + { + "addressSpace": "192.168.0.0/26" + } + ], + "ingressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1" + } + ], + "internalMappings": [ + { + "addressSpace": "0.0.0.0/26" + } + ], + "mode": "IgressSnat" + } + }, + { + "name": "nat04", + "type": "Microsoft.Network/vpnGateways/natRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat04", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link2" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.0.0/26" + } + ], + "internalMappings": [ + { + "addressSpace": "0.0.0.0/26" + } + ], + "mode": "EgressSnat" + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + } + } + }, + { + "name": "gateway2", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnGateways/gateway2", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnGateways/gateway2/vpnConnections/vpnConnection2", + "properties": { + "connectionBandwidth": 100, + "connectionStatus": "Connected", + "egressBytesTransferred": 0, + "enableBgp": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "routingWeight": 0, + "useLocalAzureIpAddress": false + } + } + ], + "enableBgpRouteTranslationForNat": false, + "isRoutingPreferenceInternet": false, + "natRules": [], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2" + } + } + } + ] + } + } + }, + "operationId": "VpnGateways_List", + "title": "VpnGatewayListBySubscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayListByResourceGroup.json new file mode 100644 index 000000000000..1d90e2329cf6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayListByResourceGroup.json @@ -0,0 +1,279 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "gateway1", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03" + } + ], + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + }, + { + "name": "Connection-Link2", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03" + } + ], + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2" + } + } + } + ] + } + } + ], + "enableBgpRouteTranslationForNat": false, + "isRoutingPreferenceInternet": false, + "natRules": [ + { + "name": "nat03", + "type": "Microsoft.Network/vpnGateways/natRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.0.0/26" + } + ], + "internalMappings": [ + { + "addressSpace": "0.0.0.0/26" + } + ], + "mode": "EgressSnat" + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + } + } + }, + { + "name": "gateway2", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnGateways/gateway2", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnGateways/gateway2/vpnConnections/vpnConnection2", + "properties": { + "connectionBandwidth": 100, + "connectionStatus": "Connected", + "egressBytesTransferred": 0, + "enableBgp": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "routingWeight": 0, + "useLocalAzureIpAddress": false + } + } + ], + "enableBgpRouteTranslationForNat": false, + "isRoutingPreferenceInternet": false, + "natRules": [], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2" + } + } + } + ] + } + } + }, + "operationId": "VpnGateways_ListByResourceGroup", + "title": "VpnGatewayListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayPut.json new file mode 100644 index 000000000000..f94880ace62f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayPut.json @@ -0,0 +1,377 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnGatewayParameters": { + "location": "westcentralus", + "properties": { + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "ipconfigurationId": "Instance0" + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "ipconfigurationId": "Instance1" + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "properties": { + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03" + } + ], + "sharedKey": "key", + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + } + ] + } + } + ], + "enableBgpRouteTranslationForNat": false, + "isRoutingPreferenceInternet": false, + "natRules": [ + { + "name": "nat03", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "192.168.0.0/26" + } + ], + "internalMappings": [ + { + "addressSpace": "0.0.0.0/26" + } + ], + "ipConfigurationId": "", + "mode": "EgressSnat" + } + } + ], + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + } + }, + "tags": { + "key1": "value1" + } + } + }, + "responses": { + "200": { + "body": { + "name": "gateway1", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03" + } + ], + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + } + ] + } + } + ], + "isRoutingPreferenceInternet": false, + "natRules": [ + { + "name": "nat03", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.0.0/26" + } + ], + "internalMappings": [ + { + "addressSpace": "0.0.0.0/26" + } + ], + "mode": "EgressSnat" + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + } + } + } + }, + "201": { + "body": { + "name": "gateway1", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03" + } + ], + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + } + ] + } + } + ], + "isRoutingPreferenceInternet": false, + "natRules": [ + { + "name": "nat03", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.0.0/26" + } + ], + "internalMappings": [ + { + "addressSpace": "0.0.0.0/26" + } + ], + "mode": "EgressSnat" + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + } + } + } + } + }, + "operationId": "VpnGateways_CreateOrUpdate", + "title": "VpnGatewayPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayReset.json new file mode 100644 index 000000000000..74b0abf1fe34 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayReset.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "vpngw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "vpngw", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw/vpnConnections/vpnConnection1", + "properties": { + "connectionBandwidth": 100, + "connectionStatus": "Connected", + "egressBytesTransferred": 0, + "enableBgp": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "routingWeight": 0, + "useLocalAzureIpAddress": false + } + } + ], + "enableBgpRouteTranslationForNat": false, + "isRoutingPreferenceInternet": false, + "natRules": [], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + } + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnGateways_Reset", + "title": "ResetVpnGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayStartPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayStartPacketCapture.json new file mode 100644 index 000000000000..f67818b4874e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayStartPacketCapture.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "vpngw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnGateways_StartPacketCapture", + "title": "Start packet capture on vpn gateway without filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayStartPacketCaptureFilterData.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayStartPacketCaptureFilterData.json new file mode 100644 index 000000000000..a8a1ea4206d2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayStartPacketCaptureFilterData.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "vpngw", + "parameters": { + "filterData": "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnGateways_StartPacketCapture", + "title": "Start packet capture on vpn gateway with filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayStopPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayStopPacketCapture.json new file mode 100644 index 000000000000..d1562fbc5b56 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayStopPacketCapture.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "vpngw", + "parameters": { + "sasUrl": "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnGateways_StopPacketCapture", + "title": "Stop packet capture on vpn gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayUpdateTags.json new file mode 100644 index 000000000000..436f018af3cf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnGatewayUpdateTags.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnGatewayParameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "gateway1", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "connectionStatus": "Connected", + "egressBytesTransferred": 0, + "enableBgp": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "routingWeight": 0 + } + } + ], + "enableBgpRouteTranslationForNat": false, + "isRoutingPreferenceInternet": false, + "natRules": [], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + } + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnGateways_UpdateTags", + "title": "VpnGatewayUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationDelete.json new file mode 100644 index 000000000000..f1a653f89d23 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnServerConfigurationName": "vpnServerConfiguration1" + }, + "responses": { + "200": {}, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VpnServerConfigurations_Delete", + "title": "VpnServerConfigurationDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationGet.json new file mode 100644 index 000000000000..53a1ceb902d2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationGet.json @@ -0,0 +1,116 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnServerConfigurationName": "vpnServerConfiguration1" + }, + "responses": { + "200": { + "body": { + "name": "vpnServerConfiguration1", + "type": "Microsoft.Network/vpnServerConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1", + "location": "West US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "radiusServers": [ + { + "radiusServerAddress": "10.0.0.0", + "radiusServerScore": 25 + } + ], + "vpnAuthenticationTypes": [ + "Certificate" + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "VpnServerConfigurations_Get", + "title": "VpnServerConfigurationGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationList.json new file mode 100644 index 000000000000..fb6ffafa2bec --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationList.json @@ -0,0 +1,215 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpnServerConfiguration1", + "type": "Microsoft.Network/vpnServerConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1", + "location": "West US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "vpnAuthenticationTypes": [ + "Certificate" + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "vpnServerConfiguration2", + "type": "Microsoft.Network/vpnServerConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration2", + "location": "East US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "radiusServers": [ + { + "radiusServerAddress": "10.0.0.0", + "radiusServerScore": 25 + } + ], + "vpnAuthenticationTypes": [ + "Certificate" + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "VpnServerConfigurations_List", + "title": "VpnServerConfigurationList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationListByResourceGroup.json new file mode 100644 index 000000000000..bf362ffc3520 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationListByResourceGroup.json @@ -0,0 +1,211 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpnServerConfiguration1", + "type": "Microsoft.Network/vpnServerConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1", + "location": "West US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "vpnAuthenticationTypes": [ + "Certificate" + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "vpnServerConfiguration2", + "type": "Microsoft.Network/vpnServerConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration2", + "location": "West US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "vpnAuthenticationTypes": [ + "Certificate" + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "VpnServerConfigurations_ListByResourceGroup", + "title": "VpnServerConfigurationListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationPut.json new file mode 100644 index 000000000000..fe4a69f862a4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationPut.json @@ -0,0 +1,306 @@ +{ + "parameters": { + "VpnServerConfigurationParameters": { + "location": "West US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0 + } + }, + { + "name": "policyGroup2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0 + } + } + ], + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "radiusServers": [ + { + "radiusServerAddress": "10.0.0.0", + "radiusServerScore": 25, + "radiusServerSecret": "radiusServerSecret" + } + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1" + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnServerConfigurationName": "vpnServerConfiguration1" + }, + "responses": { + "200": { + "body": { + "name": "vpnServerConfiguration1", + "type": "Microsoft.Network/vpnServerConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1", + "location": "West US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "radiusServers": [ + { + "radiusServerAddress": "10.0.0.0", + "radiusServerScore": 25 + } + ], + "vpnAuthenticationTypes": [ + "Certificate" + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "vpnServerConfiguration1", + "type": "Microsoft.Network/vpnServerConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1", + "location": "West US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "radiusServers": [ + { + "radiusServerAddress": "10.0.0.0", + "radiusServerScore": 25 + } + ], + "vpnAuthenticationTypes": [ + "Certificate" + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "VpnServerConfigurations_CreateOrUpdate", + "title": "VpnServerConfigurationCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationUpdateTags.json new file mode 100644 index 000000000000..a5b2b3a67b17 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnServerConfigurationUpdateTags.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "VpnServerConfigurationParameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnServerConfigurationName": "vpnServerConfiguration1" + }, + "responses": { + "200": { + "body": { + "name": "vpnServerConfiguration1", + "type": "Microsoft.Network/vpnServerConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1", + "location": "West US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0 + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0 + } + } + ], + "provisioningState": "Succeeded", + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "VpnServerConfigurations_UpdateTags", + "title": "VpnServerConfigurationUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteDelete.json new file mode 100644 index 000000000000..4c09416c9f7c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnSiteName": "vpnSite1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{siteName}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VpnSites_Delete", + "title": "VpnSiteDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteGet.json new file mode 100644 index 000000000000..459929f79980 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteGet.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnSiteName": "vpnSite1" + }, + "responses": { + "200": { + "body": { + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "location": "West US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "deviceProperties": { + "linkSpeedInMbps": 0 + }, + "isSecuritySite": false, + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkProviderName": "vendor1", + "linkSpeedInMbps": 0 + }, + "provisioningState": "Succeeded" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "VpnSites_Get", + "title": "VpnSiteGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionDefaultSharedKeyGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionDefaultSharedKeyGet.json new file mode 100644 index 000000000000..d58eb8d3b064 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionDefaultSharedKeyGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "linkConnectionName": "Connection-Link1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/vpnGateways/vpnConnections/vpnLinkConnections/sharedKeys", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1/sharedKeys/default", + "properties": { + "sharedKeyLength": 16 + } + } + } + }, + "operationId": "VpnLinkConnections_GetDefaultSharedKey", + "title": "VpnSiteLinkConnectionDefaultSharedKeyGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionDefaultSharedKeyList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionDefaultSharedKeyList.json new file mode 100644 index 000000000000..cd04dc6a2cde --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionDefaultSharedKeyList.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "linkConnectionName": "Connection-Link1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/vpnGateways/vpnConnections/vpnLinkConnections/sharedKeys", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1/sharedKeys/default", + "properties": { + "sharedKey": "AzureAbc1234", + "sharedKeyLength": 12 + } + } + } + }, + "operationId": "VpnLinkConnections_ListDefaultSharedKey", + "title": "VpnSiteLinkConnectionDefaultSharedKeyList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionDefaultSharedKeyPut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionDefaultSharedKeyPut.json new file mode 100644 index 000000000000..db007c6bc746 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionDefaultSharedKeyPut.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "ConnectionSharedKeyParameters": { + "properties": { + "sharedKey": "ABCDEF123456" + } + }, + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "linkConnectionName": "Connection-Link1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/vpnGateways/vpnConnections/vpnLinkConnections/sharedKeys", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1/sharedKeys/default", + "properties": { + "sharedKeyLength": 12 + } + } + }, + "201": { + "body": { + "name": "default", + "type": "Microsoft.Network/vpnGateways/vpnConnections/vpnLinkConnections/sharedKeys", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1/sharedKeys/default", + "properties": { + "sharedKeyLength": 12 + } + } + } + }, + "operationId": "VpnLinkConnections_SetOrInitDefaultSharedKey", + "title": "VpnSiteLinkConnectionDefaultSharedKeyPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionGet.json new file mode 100644 index 000000000000..29b3e79edcf7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionGet.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "linkConnectionName": "Connection-Link1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "dpdTimeoutSeconds": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnGatewayCustomBgpAddresses": [ + { + "customBgpIpAddress": "169.254.21.1", + "ipConfigurationId": "Instance0" + }, + { + "customBgpIpAddress": "169.254.21.3", + "ipConfigurationId": "Instance1" + } + ], + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + } + } + }, + "operationId": "VpnSiteLinkConnections_Get", + "title": "VpnSiteLinkConnectionGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionGetIkeSas.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionGetIkeSas.json new file mode 100644 index 000000000000..f67b1a55828f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionGetIkeSas.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "linkConnectionName": "Connection-Link1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/westus/operationResults/{operationId}?api-version=2025-07-01" + } + } + }, + "operationId": "VpnLinkConnections_GetIkeSas", + "title": "GetVpnLinkConnectionIkeSa" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionList.json new file mode 100644 index 000000000000..3016d74f7483 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionList.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "dpdTimeoutSeconds": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnGatewayCustomBgpAddresses": [ + { + "customBgpIpAddress": "169.254.21.1", + "ipConfigurationId": "Instance0" + }, + { + "customBgpIpAddress": "169.254.21.3", + "ipConfigurationId": "Instance1" + } + ], + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + } + ] + } + } + }, + "operationId": "VpnLinkConnections_ListByVpnConnection", + "title": "VpnSiteLinkConnectionList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionReset.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionReset.json new file mode 100644 index 000000000000..f24b3ce36e18 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionReset.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "linkConnectionName": "Connection-Link1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnLinkConnections_ResetConnection", + "title": "ResetVpnLinkConnection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionSharedKeysGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionSharedKeysGet.json new file mode 100644 index 000000000000..c9dd1741f0c8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkConnectionSharedKeysGet.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "linkConnectionName": "Connection-Link1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Network/vpnGateways/vpnConnections/vpnLinkConnections/sharedKeys", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1/sharedKeys/default", + "properties": { + "sharedKeyLength": 16 + } + } + ] + } + } + }, + "operationId": "VpnLinkConnections_GetAllSharedKeys", + "title": "VpnSiteLinkConnectionSharedKeysGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkGet.json new file mode 100644 index 000000000000..3261fdc84391 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnSiteLinkName": "vpnSiteLink1", + "vpnSiteName": "vpnSite1" + }, + "responses": { + "200": { + "body": { + "name": "vpnSiteLink1", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkSpeedInMbps": 0 + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "VpnSiteLinks_Get", + "title": "VpnSiteGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkListByVpnSite.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkListByVpnSite.json new file mode 100644 index 000000000000..a33ea2db71af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteLinkListByVpnSite.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnSiteName": "vpnSite1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpnSiteLink1", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkSpeedInMbps": 200 + }, + "provisioningState": "Succeeded" + } + }, + { + "name": "vpnSiteLink2", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink2", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.1" + }, + "ipAddress": "40.40.40.46", + "linkProperties": { + "linkSpeedInMbps": 200 + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "VpnSiteLinks_ListByVpnSite", + "title": "VpnSiteLinkListByVpnSite" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteList.json new file mode 100644 index 000000000000..8e4b61f141f6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteList.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "location": "West US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "deviceProperties": { + "linkSpeedInMbps": 0 + }, + "isSecuritySite": false, + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkSpeedInMbps": 0 + }, + "provisioningState": "Succeeded" + } + } + ] + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "vpnSite2", + "type": "Microsoft.Network/vpnSites", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2", + "location": "East US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "deviceProperties": { + "deviceModel": "model01", + "deviceVendor": "vendor1", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.1.0.0", + "isSecuritySite": false, + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualWANs/wan1" + } + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "VpnSites_List", + "title": "VpnSiteList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteListByResourceGroup.json new file mode 100644 index 000000000000..2c31b47d218d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteListByResourceGroup.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "location": "West US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "deviceProperties": { + "linkSpeedInMbps": 0 + }, + "isSecuritySite": false, + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkSpeedInMbps": 0 + }, + "provisioningState": "Succeeded" + } + } + ] + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "vpnSite2", + "type": "Microsoft.Network/vpnSites", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2", + "location": "West US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "deviceProperties": { + "deviceModel": "model01", + "deviceVendor": "vendor1", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.1.0.0", + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + } + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "VpnSites_ListByResourceGroup", + "title": "VpnSiteListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSitePut.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSitePut.json new file mode 100644 index 000000000000..1cc96d187a1c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSitePut.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "VpnSiteParameters": { + "location": "West US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "isSecuritySite": false, + "o365Policy": { + "breakOutCategories": { + "default": false, + "allow": true, + "optimize": true + } + }, + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "fqdn": "link1.vpnsite1.contoso.com", + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkProviderName": "vendor1", + "linkSpeedInMbps": 0 + } + } + } + ] + }, + "tags": { + "key1": "value1" + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnSiteName": "vpnSite1" + }, + "responses": { + "200": { + "body": { + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "location": "West US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "deviceProperties": { + "linkSpeedInMbps": 0 + }, + "isSecuritySite": false, + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkProviderName": "vendor1", + "linkSpeedInMbps": 0 + }, + "provisioningState": "Succeeded" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "location": "West US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "deviceProperties": { + "linkSpeedInMbps": 0 + }, + "isSecuritySite": false, + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkProviderName": "vendor1", + "linkSpeedInMbps": 0 + }, + "provisioningState": "Succeeded" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "VpnSites_CreateOrUpdate", + "title": "VpnSiteCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteUpdateTags.json new file mode 100644 index 000000000000..0dccfc735f88 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSiteUpdateTags.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "VpnSiteParameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnSiteName": "vpnSite1" + }, + "responses": { + "200": { + "body": { + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "location": "West US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "deviceProperties": { + "deviceModel": "model01", + "deviceVendor": "vendor1", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + } + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "VpnSites_UpdateTags", + "title": "VpnSiteUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSitesConfigurationDownload.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSitesConfigurationDownload.json new file mode 100644 index 000000000000..8dc021518523 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/VpnSitesConfigurationDownload.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualWANName": "wan1", + "request": { + "outputBlobSasUrl": "https://blobcortextesturl.blob.core.windows.net/folderforconfig/vpnFile?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b", + "vpnSites": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/abc" + ] + } + }, + "responses": { + "200": { + "description": "Request successful. Follow the location header for sas-url to output blob." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnSitesConfiguration_Download", + "title": "VpnSitesConfigurationDownload" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/WafListAllPolicies.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/WafListAllPolicies.json new file mode 100644 index 000000000000..8e2ab5d33e15 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/WafListAllPolicies.json @@ -0,0 +1,231 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Policy1", + "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1", + "location": "WestUs", + "properties": { + "customRules": [ + { + "name": "Rule1", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch", + "transforms": [] + } + ], + "priority": 1, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "Rule2", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch" + }, + { + "matchValues": [ + "Windows" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeader" + } + ], + "negationConditon": false, + "operator": "Contains" + } + ], + "priority": 2, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "RateLimitRule3", + "action": "Block", + "groupByUserSession": [ + { + "groupByVariables": [ + { + "variableName": "ClientAddr" + } + ] + } + ], + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": true, + "operator": "IPMatch" + } + ], + "priority": 3, + "rateLimitDuration": "OneMin", + "rateLimitThreshold": 10, + "ruleType": "RateLimitRule" + } + ], + "managedRules": { + "managedRuleSets": [ + { + "computedDisabledRules": [ + { + "ruleGroupName": "General", + "rules": [ + "200003" + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "exceptions": [ + { + "exceptionManagedRuleSets": [ + { + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestURI", + "valueMatchOperator": "Contains", + "values": [ + "health", + "account/images", + "default.aspx" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestHeader", + "selector": "User-Agent", + "selectorMatchOperator": "StartsWith", + "valueMatchOperator": "Contains", + "values": [ + "Mozilla/5.0", + "Chrome/122.0.0.0" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "BadBots", + "rules": [ + { + "ruleId": "100100" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + } + ], + "matchVariable": "RemoteAddr", + "valueMatchOperator": "IPMatch", + "values": [ + "1.2.3.4", + "10.0.0.1/6" + ] + } + ] + }, + "policySettings": { + "customBlockResponseBody": "SGVsbG8=", + "customBlockResponseStatusCode": 405, + "fileUploadEnforcement": true, + "fileUploadLimitInMb": 4000, + "logScrubbing": { + "scrubbingRules": [ + { + "matchVariable": "RequestArgNames", + "selector": "test", + "selectorMatchOperator": "Equals", + "state": "Enabled" + }, + { + "matchVariable": "RequestIPAddress", + "selector": "*", + "selectorMatchOperator": "EqualsAny", + "state": "Enabled" + } + ], + "state": "Enabled" + }, + "maxRequestBodySizeInKb": 2000, + "mode": "Prevention", + "requestBodyCheck": true, + "requestBodyEnforcement": true, + "requestBodyInspectLimitInKB": 2000, + "state": "Enabled" + }, + "provisioningState": "Succeeded", + "resourceState": "Enabled" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + ] + } + } + }, + "operationId": "WebApplicationFirewallPolicies_ListAll", + "title": "Lists all WAF policies in a subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/WafListPolicies.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/WafListPolicies.json new file mode 100644 index 000000000000..1698f3746159 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/WafListPolicies.json @@ -0,0 +1,231 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Policy1", + "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1", + "location": "WestUs", + "properties": { + "customRules": [ + { + "name": "Rule1", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch", + "transforms": [] + } + ], + "priority": 1, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "Rule2", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch" + }, + { + "matchValues": [ + "Windows" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeader" + } + ], + "negationConditon": false, + "operator": "Contains" + } + ], + "priority": 2, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "RateLimitRule3", + "action": "Block", + "groupByUserSession": [ + { + "groupByVariables": [ + { + "variableName": "ClientAddr" + } + ] + } + ], + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": true, + "operator": "IPMatch" + } + ], + "priority": 3, + "rateLimitDuration": "OneMin", + "rateLimitThreshold": 10, + "ruleType": "RateLimitRule" + } + ], + "managedRules": { + "managedRuleSets": [ + { + "computedDisabledRules": [ + { + "ruleGroupName": "General", + "rules": [ + "200003" + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "exceptions": [ + { + "exceptionManagedRuleSets": [ + { + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestURI", + "valueMatchOperator": "Contains", + "values": [ + "health", + "account/images", + "default.aspx" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestHeader", + "selector": "User-Agent", + "selectorMatchOperator": "StartsWith", + "valueMatchOperator": "Contains", + "values": [ + "Mozilla/5.0", + "Chrome/122.0.0.0" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "BadBots", + "rules": [ + { + "ruleId": "100100" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + } + ], + "matchVariable": "RemoteAddr", + "valueMatchOperator": "IPMatch", + "values": [ + "1.2.3.4", + "10.0.0.1/6" + ] + } + ] + }, + "policySettings": { + "customBlockResponseBody": "SGVsbG8=", + "customBlockResponseStatusCode": 405, + "fileUploadEnforcement": true, + "fileUploadLimitInMb": 4000, + "logScrubbing": { + "scrubbingRules": [ + { + "matchVariable": "RequestArgNames", + "selector": "test", + "selectorMatchOperator": "Equals", + "state": "Enabled" + }, + { + "matchVariable": "RequestIPAddress", + "selectorMatchOperator": "EqualsAny", + "state": "Enabled" + } + ], + "state": "Enabled" + }, + "maxRequestBodySizeInKb": 2000, + "mode": "Detection", + "requestBodyCheck": true, + "requestBodyEnforcement": true, + "requestBodyInspectLimitInKB": 2000, + "state": "Enabled" + }, + "provisioningState": "Succeeded", + "resourceState": "Enabled" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + ] + } + } + }, + "operationId": "WebApplicationFirewallPolicies_List", + "title": "Lists all WAF policies in a resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/WafPolicyCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/WafPolicyCreateOrUpdate.json new file mode 100644 index 000000000000..6e6c395b10e3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/WafPolicyCreateOrUpdate.json @@ -0,0 +1,992 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "WestUs", + "properties": { + "customRules": [ + { + "name": "Rule1", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "operator": "IPMatch" + } + ], + "priority": 1, + "ruleType": "MatchRule" + }, + { + "name": "Rule2", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "operator": "IPMatch" + }, + { + "matchValues": [ + "Windows" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeaders" + } + ], + "operator": "Contains" + } + ], + "priority": 2, + "ruleType": "MatchRule" + }, + { + "name": "RateLimitRule3", + "action": "Block", + "groupByUserSession": [ + { + "groupByVariables": [ + { + "variableName": "ClientAddr" + } + ] + } + ], + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": true, + "operator": "IPMatch" + } + ], + "priority": 3, + "rateLimitDuration": "OneMin", + "rateLimitThreshold": 10, + "ruleType": "RateLimitRule" + }, + { + "name": "Rule4", + "action": "JSChallenge", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "operator": "IPMatch" + }, + { + "matchValues": [ + "Bot" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeaders" + } + ], + "operator": "Contains" + } + ], + "priority": 4, + "ruleType": "MatchRule" + } + ], + "managedRules": { + "exclusions": [ + { + "exclusionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-930-APPLICATION-ATTACK-LFI", + "rules": [ + { + "ruleId": "930120" + } + ] + }, + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestArgNames", + "selector": "hello", + "selectorMatchOperator": "StartsWith" + }, + { + "exclusionManagedRuleSets": [ + { + "ruleGroups": [], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.1" + } + ], + "matchVariable": "RequestArgNames", + "selector": "hello", + "selectorMatchOperator": "EndsWith" + }, + { + "matchVariable": "RequestArgNames", + "selector": "test", + "selectorMatchOperator": "StartsWith" + }, + { + "matchVariable": "RequestArgValues", + "selector": "test", + "selectorMatchOperator": "StartsWith" + } + ], + "managedRuleSets": [ + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "REQUEST-931-APPLICATION-ATTACK-RFI", + "rules": [ + { + "action": "Log", + "ruleId": "931120", + "state": "Enabled" + }, + { + "action": "AnomalyScoring", + "ruleId": "931130", + "state": "Disabled" + } + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + }, + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "UnknownBots", + "rules": [ + { + "action": "JSChallenge", + "ruleId": "300700", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + }, + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "ExcessiveRequests", + "rules": [ + { + "action": "Block", + "ruleId": "500100", + "sensitivity": "High", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "Microsoft_HTTPDDoSRuleSet", + "ruleSetVersion": "1.0" + } + ], + "exceptions": [ + { + "exceptionManagedRuleSets": [ + { + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestURI", + "valueMatchOperator": "Contains", + "values": [ + "health", + "account/images", + "default.aspx" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestHeader", + "selector": "User-Agent", + "selectorMatchOperator": "StartsWith", + "valueMatchOperator": "Contains", + "values": [ + "Mozilla/5.0", + "Chrome/122.0.0.0" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "BadBots", + "rules": [ + { + "ruleId": "100100" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + } + ], + "matchVariable": "RemoteAddr", + "valueMatchOperator": "IPMatch", + "values": [ + "1.2.3.4", + "10.0.0.1/6" + ] + } + ] + }, + "policySettings": { + "jsChallengeCookieExpirationInMins": 100, + "logScrubbing": { + "scrubbingRules": [ + { + "matchVariable": "RequestArgNames", + "selector": "test", + "selectorMatchOperator": "Equals", + "state": "Enabled" + }, + { + "matchVariable": "RequestIPAddress", + "selectorMatchOperator": "EqualsAny", + "state": "Enabled" + } + ], + "state": "Enabled" + } + } + } + }, + "policyName": "Policy1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "Policy1", + "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1", + "location": "WestUs", + "properties": { + "customRules": [ + { + "name": "Rule1", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch", + "transforms": [] + } + ], + "priority": 1, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "Rule2", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch" + }, + { + "matchValues": [ + "Windows" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeader" + } + ], + "negationConditon": false, + "operator": "Contains" + } + ], + "priority": 2, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "RateLimitRule3", + "action": "Block", + "groupByUserSession": [ + { + "groupByVariables": [ + { + "variableName": "ClientAddr" + } + ] + } + ], + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": true, + "operator": "IPMatch" + } + ], + "priority": 3, + "rateLimitDuration": "OneMin", + "rateLimitThreshold": 10, + "ruleType": "RateLimitRule" + }, + { + "name": "Rule4", + "action": "JSChallenge", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch" + }, + { + "matchValues": [ + "Bot" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeaders" + } + ], + "negationConditon": false, + "operator": "Contains" + } + ], + "priority": 4, + "ruleType": "MatchRule", + "state": "Enabled" + } + ], + "managedRules": { + "exclusions": [ + { + "exclusionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-930-APPLICATION-ATTACK-LFI", + "rules": [ + { + "ruleId": "930120" + } + ] + }, + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestArgNames", + "selector": "hello", + "selectorMatchOperator": "StartsWith" + }, + { + "exclusionManagedRuleSets": [ + { + "ruleGroups": [], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.1" + } + ], + "matchVariable": "RequestArgNames", + "selector": "hello", + "selectorMatchOperator": "EndsWith" + }, + { + "matchVariable": "RequestArgNames", + "selector": "test", + "selectorMatchOperator": "StartsWith" + }, + { + "matchVariable": "RequestArgValues", + "selector": "test", + "selectorMatchOperator": "StartsWith" + } + ], + "managedRuleSets": [ + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "REQUEST-931-APPLICATION-ATTACK-RFI", + "rules": [ + { + "action": "Log", + "ruleId": "931120", + "state": "Enabled" + }, + { + "action": "AnomalyScoring", + "ruleId": "931130", + "state": "Disabled" + } + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + }, + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "UnknownBots", + "rules": [ + { + "action": "JSChallenge", + "ruleId": "300700", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + }, + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "ExcessiveRequests", + "rules": [ + { + "action": "Block", + "ruleId": "500100", + "sensitivity": "High", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "Microsoft_HTTPDDoSRuleSet", + "ruleSetVersion": "1.0" + } + ], + "exceptions": [ + { + "exceptionManagedRuleSets": [ + { + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestURI", + "valueMatchOperator": "Contains", + "values": [ + "health", + "account/images", + "default.aspx" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestHeader", + "selector": "User-Agent", + "selectorMatchOperator": "StartsWith", + "valueMatchOperator": "Contains", + "values": [ + "Mozilla/5.0", + "Chrome/122.0.0.0" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "BadBots", + "rules": [ + { + "ruleId": "100100" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + } + ], + "matchVariable": "RemoteAddr", + "valueMatchOperator": "IPMatch", + "values": [ + "1.2.3.4", + "10.0.0.1/6" + ] + } + ] + }, + "policySettings": { + "customBlockResponseBody": "SGVsbG8=", + "customBlockResponseStatusCode": 405, + "fileUploadEnforcement": true, + "fileUploadLimitInMb": 4000, + "jsChallengeCookieExpirationInMins": 100, + "logScrubbing": { + "scrubbingRules": [ + { + "matchVariable": "RequestArgNames", + "selector": "test", + "selectorMatchOperator": "Equals", + "state": "Enabled" + }, + { + "matchVariable": "RequestIPAddress", + "selectorMatchOperator": "EqualsAny", + "state": "Enabled" + } + ], + "state": "Enabled" + }, + "maxRequestBodySizeInKb": 2000, + "mode": "Detection", + "requestBodyCheck": true, + "requestBodyEnforcement": true, + "requestBodyInspectLimitInKB": 2000, + "state": "Enabled" + }, + "provisioningState": "Succeeded", + "resourceState": "Enabled" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "201": { + "body": { + "name": "Policy1", + "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1", + "location": "WestUs", + "properties": { + "customRules": [ + { + "name": "Rule1", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch", + "transforms": [] + } + ], + "priority": 1, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "Rule2", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch" + }, + { + "matchValues": [ + "Windows" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeader" + } + ], + "negationConditon": false, + "operator": "Contains" + } + ], + "priority": 2, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "RateLimitRule3", + "action": "Block", + "groupByUserSession": [ + { + "groupByVariables": [ + { + "variableName": "ClientAddr" + } + ] + } + ], + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": true, + "operator": "IPMatch" + } + ], + "priority": 3, + "rateLimitDuration": "OneMin", + "rateLimitThreshold": 10, + "ruleType": "RateLimitRule" + }, + { + "name": "Rule4", + "action": "JSChallenge", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch" + }, + { + "matchValues": [ + "Bot" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeaders" + } + ], + "negationConditon": false, + "operator": "Contains" + } + ], + "priority": 4, + "ruleType": "MatchRule", + "state": "Enabled" + } + ], + "managedRules": { + "exclusions": [ + { + "exclusionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-930-APPLICATION-ATTACK-LFI", + "rules": [ + { + "ruleId": "930120" + } + ] + }, + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestArgNames", + "selector": "hello", + "selectorMatchOperator": "StartsWith" + }, + { + "exclusionManagedRuleSets": [ + { + "ruleGroups": [], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.1" + } + ], + "matchVariable": "RequestArgNames", + "selector": "hello", + "selectorMatchOperator": "EndsWith" + }, + { + "matchVariable": "RequestArgNames", + "selector": "test", + "selectorMatchOperator": "StartsWith" + }, + { + "matchVariable": "RequestArgValues", + "selector": "test", + "selectorMatchOperator": "StartsWith" + } + ], + "managedRuleSets": [ + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "REQUEST-931-APPLICATION-ATTACK-RFI", + "rules": [ + { + "action": "Log", + "ruleId": "931120", + "state": "Enabled" + }, + { + "action": "AnomalyScoring", + "ruleId": "931130", + "state": "Disabled" + } + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + }, + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "UnknownBots", + "rules": [ + { + "action": "JSChallenge", + "ruleId": "300700", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + }, + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "ExcessiveRequests", + "rules": [ + { + "action": "Block", + "ruleId": "500100", + "sensitivity": "High", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "Microsoft_HTTPDDoSRuleSet", + "ruleSetVersion": "1.0" + } + ], + "exceptions": [ + { + "exceptionManagedRuleSets": [ + { + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestURI", + "valueMatchOperator": "Contains", + "values": [ + "health", + "account/images", + "default.aspx" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestHeader", + "selector": "User-Agent", + "selectorMatchOperator": "StartsWith", + "valueMatchOperator": "Contains", + "values": [ + "Mozilla/5.0", + "Chrome/122.0.0.0" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "BadBots", + "rules": [ + { + "ruleId": "100100" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + } + ], + "matchVariable": "RemoteAddr", + "valueMatchOperator": "IPMatch", + "values": [ + "1.2.3.4", + "10.0.0.1/6" + ] + } + ] + }, + "policySettings": { + "customBlockResponseBody": "SGVsbG8=", + "customBlockResponseStatusCode": 405, + "fileUploadEnforcement": true, + "fileUploadLimitInMb": 4000, + "jsChallengeCookieExpirationInMins": 100, + "maxRequestBodySizeInKb": 2000, + "mode": "Detection", + "requestBodyCheck": true, + "requestBodyEnforcement": true, + "requestBodyInspectLimitInKB": 2000, + "state": "Enabled" + }, + "provisioningState": "Succeeded", + "resourceState": "Enabled" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "WebApplicationFirewallPolicies_CreateOrUpdate", + "title": "Creates or updates a WAF policy within a resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/WafPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/WafPolicyDelete.json new file mode 100644 index 000000000000..f8d03843f929 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/WafPolicyDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "policyName": "Policy1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "WebApplicationFirewallPolicies_Delete", + "title": "Deletes a WAF policy within a resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/WafPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/WafPolicyGet.json new file mode 100644 index 000000000000..b14406faebe5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/WafPolicyGet.json @@ -0,0 +1,411 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "policyName": "Policy1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "Policy1", + "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1", + "location": "WestUs", + "properties": { + "applicationGatewayForContainers": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/agc1" + } + ], + "customRules": [ + { + "name": "Rule1", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch", + "transforms": [] + } + ], + "priority": 1, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "Rule2", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch" + }, + { + "matchValues": [ + "Windows" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeader" + } + ], + "negationConditon": false, + "operator": "Contains" + } + ], + "priority": 2, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "RateLimitRule3", + "action": "Block", + "groupByUserSession": [ + { + "groupByVariables": [ + { + "variableName": "ClientAddr" + } + ] + } + ], + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": true, + "operator": "IPMatch" + } + ], + "priority": 3, + "rateLimitDuration": "OneMin", + "rateLimitThreshold": 10, + "ruleType": "RateLimitRule" + }, + { + "name": "Rule4", + "action": "JSChallenge", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch" + }, + { + "matchValues": [ + "Bot" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeaders" + } + ], + "negationConditon": false, + "operator": "Contains" + } + ], + "priority": 4, + "ruleType": "MatchRule", + "state": "Enabled" + } + ], + "managedRules": { + "exclusions": [ + { + "matchVariable": "RequestHeaderNames", + "selector": "testHeader1", + "selectorMatchOperator": "Equals" + }, + { + "matchVariable": "RequestHeaderNames", + "selector": "testHeader2", + "selectorMatchOperator": "StartsWith" + }, + { + "matchVariable": "RequestArgValues", + "selector": "hello", + "selectorMatchOperator": "StartsWith" + }, + { + "exclusionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-930-APPLICATION-ATTACK-LFI", + "rules": [ + { + "ruleId": "930120" + } + ] + }, + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestArgNames", + "selector": "hello", + "selectorMatchOperator": "StartsWith" + }, + { + "exclusionManagedRuleSets": [ + { + "ruleGroups": [], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.1" + } + ], + "matchVariable": "RequestArgNames", + "selector": "hello", + "selectorMatchOperator": "EndsWith" + } + ], + "managedRuleSets": [ + { + "computedDisabledRules": [ + { + "ruleGroupName": "REQUEST-942-APPLICATION-ATTACK-SQLI", + "rules": [ + "942130", + "942110" + ] + }, + { + "ruleGroupName": "REQUEST-920-PROTOCOL-ENFORCEMENT", + "rules": [ + "920100", + "920120" + ] + }, + { + "ruleGroupName": "General", + "rules": [ + "200003" + ] + } + ], + "ruleGroupOverrides": [ + { + "ruleGroupName": "REQUEST-942-APPLICATION-ATTACK-SQLI", + "rules": [ + { + "action": "AnomalyScoring", + "ruleId": "942130", + "state": "Disabled" + }, + { + "action": "AnomalyScoring", + "ruleId": "942110", + "state": "Disabled" + }, + { + "action": "Log", + "ruleId": "942140", + "state": "Enabled" + } + ] + }, + { + "ruleGroupName": "REQUEST-920-PROTOCOL-ENFORCEMENT", + "rules": [ + { + "action": "AnomalyScoring", + "ruleId": "920100", + "state": "Disabled" + }, + { + "action": "AnomalyScoring", + "ruleId": "920120", + "state": "Disabled" + }, + { + "action": "Block", + "ruleId": "920130", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + }, + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "UnknownBots", + "rules": [ + { + "action": "JSChallenge", + "ruleId": "300700", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + }, + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "ExcessiveRequests", + "rules": [ + { + "action": "Block", + "ruleId": "500100", + "sensitivity": "High", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "Microsoft_HTTPDDoSRuleSet", + "ruleSetVersion": "1.0" + } + ], + "exceptions": [ + { + "exceptionManagedRuleSets": [ + { + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestURI", + "valueMatchOperator": "Contains", + "values": [ + "health", + "account/images", + "default.aspx" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestHeader", + "selector": "User-Agent", + "selectorMatchOperator": "StartsWith", + "valueMatchOperator": "Contains", + "values": [ + "Mozilla/5.0", + "Chrome/122.0.0.0" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "BadBots", + "rules": [ + { + "ruleId": "100100" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + } + ], + "matchVariable": "RemoteAddr", + "valueMatchOperator": "IPMatch", + "values": [ + "1.2.3.4", + "10.0.0.1/6" + ] + } + ] + }, + "policySettings": { + "customBlockResponseBody": "SGVsbG8=", + "customBlockResponseStatusCode": 405, + "fileUploadEnforcement": true, + "fileUploadLimitInMb": 4000, + "jsChallengeCookieExpirationInMins": 100, + "logScrubbing": { + "scrubbingRules": [ + { + "matchVariable": "RequestArgNames", + "selector": "test", + "selectorMatchOperator": "Equals", + "state": "Enabled" + }, + { + "matchVariable": "RequestIPAddress", + "selectorMatchOperator": "EqualsAny", + "state": "Enabled" + } + ], + "state": "Enabled" + }, + "maxRequestBodySizeInKb": 2000, + "mode": "Prevention", + "requestBodyCheck": true, + "requestBodyEnforcement": true, + "requestBodyInspectLimitInKB": 2000, + "state": "Enabled" + }, + "provisioningState": "Succeeded", + "resourceState": "Enabled" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "WebApplicationFirewallPolicies_Get", + "title": "Gets a WAF policy within a resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/expressRouteProviderPort.json new file mode 100644 index 000000000000..eb298594c4fe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/expressRouteProviderPort.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "locationName": "SiliconValley", + "providerport": "abc", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.Network/expressRouteProviderPort", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair1", + "location": "uswest", + "properties": { + "overprovisionFactor": 4, + "peeringLocation": "SiliconValley", + "portBandwidthInMbps": 4000, + "portPairDescriptor": "bvtazureixpportpair1", + "primaryAzurePort": "bvtazureixp01", + "remainingBandwidthInMbps": 1500, + "secondaryAzurePort": "bvtazureixp01", + "usedBandwidthInMbps": 2500 + } + } + } + }, + "operationId": "ExpressRouteProviderPort", + "title": "ExpressRouteProviderPort" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/expressRouteProviderPortList.json b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/expressRouteProviderPortList.json new file mode 100644 index 000000000000..c75734937897 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/examples/2025-07-01/expressRouteProviderPortList.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "type": "Microsoft.Network/expressRouteProviderPort", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair1", + "location": "uswest", + "properties": { + "overprovisionFactor": 4, + "peeringLocation": "SiliconValley", + "portBandwidthInMbps": 4000, + "portPairDescriptor": "bvtazureixpportpair1", + "primaryAzurePort": "bvtazureixp01", + "remainingBandwidthInMbps": 1500, + "secondaryAzurePort": "bvtazureixp01", + "usedBandwidthInMbps": 2500 + } + }, + { + "type": "Microsoft.Network/expressRouteProviderPort", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair2", + "location": "uswest", + "properties": { + "overprovisionFactor": 4, + "peeringLocation": "seattle", + "portBandwidthInMbps": 4000, + "portPairDescriptor": "bvtazureixpportpair2", + "primaryAzurePort": "bvtazureixp02", + "remainingBandwidthInMbps": 1800, + "secondaryAzurePort": "bvtazureixp02", + "usedBandwidthInMbps": 1200 + } + } + ] + } + } + }, + "operationId": "ExpressRouteProviderPortsLocation_List", + "title": "ExpressRouteProviderPortList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/main.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/main.tsp index 96ba56d85ace..207cf27ae6da 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/main.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/main.tsp @@ -66,6 +66,7 @@ import "./NetworkManagerRoutingConfiguration.tsp"; import "./RoutingRuleCollection.tsp"; import "./RoutingRule.tsp"; import "./ScopeConnection.tsp"; +import "./Commit.tsp"; import "./SecurityAdminConfiguration.tsp"; import "./AdminRuleCollection.tsp"; import "./BaseAdminRule.tsp"; @@ -129,6 +130,7 @@ import "./BgpConnection.tsp"; import "./HubIpConfiguration.tsp"; import "./HubRouteTable.tsp"; import "./RoutingIntent.tsp"; +import "./ConnectionPolicy.tsp"; import "./WebApplicationFirewallPolicy.tsp"; import "./routes.tsp"; import "./VirtualNetworkAppliance.tsp"; @@ -161,6 +163,12 @@ enum Versions { */ @useDependency(Common.Versions.v2025_05_01) v2025_05_01: "2025-05-01", + + /** + * The 2025-07-01 API version. + */ + @useDependency(Common.Versions.v2025_07_01) + v2025_07_01: "2025-07-01", } #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Network/models.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Network/models.tsp index 1cd0f0f50ba5..f663d1a99b42 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Network/models.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Network/models.tsp @@ -1,11 +1,13 @@ import "@typespec/rest"; import "@typespec/http"; +import "@typespec/versioning"; import "@azure-tools/typespec-azure-core"; import "@azure-tools/typespec-azure-resource-manager"; import "../Common/main.tsp"; using TypeSpec.Rest; using TypeSpec.Http; +using TypeSpec.Versioning; using Azure.ResourceManager; using Azure.Core; using Azure.ResourceManager.Foundations; @@ -2009,6 +2011,16 @@ union IpAllocationType { Hypernet: "Hypernet", } +/** + * Controls verbosity of the returned load balancer resource. + */ +union LoadBalancerDetailLevel { + string, + + /** When set to 'Reduced', read-only reference collections may be omitted. */ + Reduced: "Reduced", +} + /** * Who created the route. */ @@ -2666,6 +2678,34 @@ union NspLinkProvisioningState { WaitForRemoteCompletion: "WaitForRemoteCompletion", } +/** + * The readiness state of the resource type for NSP support. + */ +@added(Versions.v2025_07_01) +union NspReadinessState { + string, + + /** + * Resource Provider is actively being onboarded to NSP + */ + Onboarding: "Onboarding", + + /** + * Resource Provider supports NSP in Preview + */ + Preview: "Preview", + + /** + * Resource Provider is generally available for NSP Integration + */ + GA: "GA", + + /** + * NSP Onboarding is not started or not Supported + */ + NotReady: "NotReady", +} + /** * The NSP link state. */ @@ -2918,7 +2958,13 @@ union NextHopType { HyperNetGateway: "HyperNetGateway", /** - * None + * Routes traffic to virtual appliances using Equal-Cost Multi-Path (ECMP) routing with multiple next hop IP addresses. + */ + @added(Versions.v2025_07_01) + VirtualApplianceEcmp: "VirtualApplianceEcmp", + + /** + * No next hop type. */ None: "None", } @@ -4601,6 +4647,91 @@ union FailoverTestStatusForSingleTest { Expired: "Expired", } +/** + * The link on which the failover test is being performed. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@added(Versions.v2025_07_01) +union ExpressRouteFailoverLinkType { + string, + + /** + * Primary link. + */ + Primary: "Primary", + + /** + * Secondary link. + */ + Secondary: "Secondary", +} + +/** + * The type of maintenance that can occur during an ExpressRoute failover test. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@added(Versions.v2025_07_01) +union MaintenanceTestCategory { + string, + + /** + * BGP disconnect test category. + */ + BgpDisconnect: "BgpDisconnect", + + /** + * AS path prepend test category. + */ + ASPathPrepend: "ASPathPrepend", +} + +/** + * The address family type for BGP status. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@added(Versions.v2025_07_01) +union ExpressRouteFailoverBgpStatusAddressFamily { + string, + + /** + * IPv4 address family. + */ + IPv4: "IPv4", + + /** + * IPv6 address family. + */ + IPv6: "IPv6", +} + +/** + * The BGP status of an ExpressRoute link failover. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@added(Versions.v2025_07_01) +union ExpressRouteLinkFailoverBgpStatus { + string, + + /** + * Undefined status. + */ + Undefined: "Undefined", + + /** + * Connected status. + */ + Connected: "Connected", + + /** + * Disconnected status. + */ + Disconnected: "Disconnected", +} + /** * Gateway connection authentication type. */ @@ -6250,6 +6381,24 @@ model ApplicationGatewaySku { family?: ApplicationGatewaySkuFamily; } +/** + * Managed HSM properties of an application gateway. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "This model is part of the existing Application Gateway resource type and must use legacy patterns for backward compatibility" +@Azure.ResourceManager.Legacy.feature(Features.applicationGateway) +@added(Versions.v2025_07_01) +model ApplicationGatewayManagedHsm { + /** + * Key identifier of a key stored in Managed HSM. + */ + keyId?: url; + + /** + * Base-64 encoded value of a base-64 public certificate. + */ + publicCertData?: string; +} + /** * Application Gateway Ssl policy. */ @@ -6659,6 +6808,12 @@ model ApplicationGatewaySslCertificatePropertiesFormat { */ keyVaultSecretId?: string; + /** + * Managed HSM properties of the Application Gateway resource. + */ + @added(Versions.v2025_07_01) + hsm?: ApplicationGatewayManagedHsm; + /** * The provisioning state of the SSL certificate resource. */ @@ -9112,6 +9267,27 @@ model AzureFirewallPropertiesFormat { * Properties to provide a custom autoscale configuration to this azure firewall. */ autoscaleConfiguration?: AzureFirewallAutoscaleConfiguration; + + /** + * AFC configuration for the Azure Firewall. + */ + @added(Versions.v2025_07_01) + @visibility(Lifecycle.Read) + afcConfiguration?: AfcConfiguration; +} + +/** + * AFC configuration for the Azure Firewall. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "AfcConfiguration is a firewall-specific model and must be emitted to firewall.json" +@added(Versions.v2025_07_01) +@Azure.ResourceManager.Legacy.feature(Features.firewall) +model AfcConfiguration { + /** + * The endpoint URL of the AFC control plane associated with this Azure Firewall. + */ + @visibility(Lifecycle.Read) + serviceEndpoint?: string; } /** @@ -10339,7 +10515,16 @@ model DdosCustomPolicyPropertiesFormat { /** * The list of frontend IP configurations associated with the custom policy. */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" frontEndIpConfiguration?: SubResource[]; + + /** + * The list of public IP addresses associated with the custom policy. This list is read-only. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + @added(Versions.v2025_07_01) + @visibility(Lifecycle.Read) + publicIPAddresses?: SubResource[]; } /** @@ -15287,6 +15472,34 @@ model PerimeterAssociableResourceProperties { */ @visibility(Lifecycle.Read) publicDnsZones?: string[]; + + /** + * Service tags associated with the resource provider. + */ + @added(Versions.v2025_07_01) + @visibility(Lifecycle.Read) + serviceTags?: string[]; + + /** + * The readiness state of the resource type for NSP support. + */ + @added(Versions.v2025_07_01) + @visibility(Lifecycle.Read) + readinessState?: NspReadinessState; + + /** + * Indicates whether the resource type supports outbound scenario. + */ + @added(Versions.v2025_07_01) + @visibility(Lifecycle.Read) + outboundSupported?: boolean; + + /** + * Description of the PaaS resource type. + */ + @added(Versions.v2025_07_01) + @visibility(Lifecycle.Read) + description?: string; } /** @@ -20391,6 +20604,12 @@ model VirtualNetworkGatewayConnectionListEntityPropertiesFormat { * Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled. */ enablePrivateLinkFastPath?: boolean; + + /** + * The routing configuration indicating the associated and propagated route tables for this connection. + */ + @added(Versions.v2025_07_01) + routingConfiguration?: RoutingConfiguration; } /** @@ -21179,6 +21398,230 @@ model ExpressRouteFailoverStopApiParameters { details?: FailoverConnectionDetails[]; } +/** + * Represents a failover route for an ExpressRoute link. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@added(Versions.v2025_07_01) +model ExpressRouteLinkFailoverRoute { + /** + * The route. + */ + route?: string; + + /** + * The next hop. + */ + nextHop?: string; + + /** + * The AS path for primary link. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Property name must match C# model ExpressRouteLinkFailoverRoute.PrimaryASPath" + primaryASPath?: string; + + /** + * The AS path for secondary link. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Property name must match C# model ExpressRouteLinkFailoverRoute.SecondaryASPath" + secondaryASPath?: string; +} + +/** + * Represents a list of failover routes for an ExpressRoute link. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@added(Versions.v2025_07_01) +model ExpressRouteLinkFailoverRouteList { + /** + * The routes before the simulation. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + beforeSimulation?: ExpressRouteLinkFailoverRoute[]; + + /** + * The routes during the simulation. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + duringSimulation?: ExpressRouteLinkFailoverRoute[]; +} + +/** + * Represents the BGP status of an ExpressRoute link failover test. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@added(Versions.v2025_07_01) +model ExpressRouteLinkFailoverTestBgpStatus { + /** + * The address family type. + */ + type?: ExpressRouteFailoverBgpStatusAddressFamily; + + /** + * The link type. + */ + link?: ExpressRouteFailoverLinkType; + + /** + * The BGP status. + */ + status?: ExpressRouteLinkFailoverBgpStatus; + + /** + * The check time in UTC. + */ + checkTimeUtc?: string; +} + +/** + * ExpressRoute circuit link failover test details for all tests. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@added(Versions.v2025_07_01) +model ExpressRouteLinkFailoverAllTestsDetails { + /** + * The current status of the test. + */ + status?: FailoverTestStatus; + + /** + * Time when the test was started. + */ + startTime?: string; + + /** + * Time when the test was completed. + */ + endTime?: string; + + /** + * The unique GUID associated with the test. + */ + testGuid?: string; + + /** + * The type of failover test. + */ + testType?: FailoverTestType; + + /** + * A list of all issues with the test. + */ + issues?: string[]; + + /** + * Whether the failover simulation was successful or not. + */ + wasSimulationSuccessful?: boolean; + + /** + * The maintenance test category. + */ + circuitTestCategory?: MaintenanceTestCategory; + + /** + * The link type. + */ + linkType?: ExpressRouteFailoverLinkType; + + /** + * The BGP status details. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + bgpStatus?: ExpressRouteLinkFailoverTestBgpStatus[]; +} + +/** + * ExpressRoute circuit link failover single test details. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@added(Versions.v2025_07_01) +model ExpressRouteLinkFailoverSingleTestDetails { + /** + * Time when the test was started in UTC. + */ + startTimeUtc?: string; + + /** + * Time when the test was completed in UTC. + */ + endTimeUtc?: string; + + /** + * The current status of the test. + */ + status?: FailoverTestStatus; + + /** + * Whether the failover simulation was successful or not. + */ + wasSimulationSuccessful?: boolean; + + /** + * The link type. + */ + linkType?: ExpressRouteFailoverLinkType; + + /** + * The circuit test category. + */ + circuitTestCategory?: MaintenanceTestCategory; + + /** + * Whether the simulation was verified. + */ + isSimulationVerified?: boolean; + + /** + * The redundant routes for link failover tests. + */ + redundantRoutes?: ExpressRouteLinkFailoverRouteList; + + /** + * The non-redundant routes for link failover tests. + */ + nonRedundantRoutes?: ExpressRouteLinkFailoverRouteList; + + /** + * The BGP status details. + */ + #suppress "@azure-tools/typespec-azure-resource-manager/missing-x-ms-identifiers" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" + bgpStatus?: ExpressRouteLinkFailoverTestBgpStatus[]; +} + +/** + * Parameters for stopping an ExpressRoute circuit link failover test. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" +@Azure.ResourceManager.Legacy.feature(Features.expressRoute) +@added(Versions.v2025_07_01) +model ExpressRouteLinkFailoverStopApiParameters { + /** + * The category of the circuit test. + */ + circuitTestCategory?: string; + + /** + * The type of the link. + */ + linkType?: string; + + /** + * Whether the simulation was successful. + */ + wasSimulationSuccessful?: boolean; + + /** + * Whether the link is verified. + */ + isVerified?: boolean; +} + /** * VirtualNetworkGatewayConnection properties. */ @@ -21347,6 +21790,12 @@ model VirtualNetworkGatewayConnectionPropertiesFormat { * Certificate Authentication information for a certificate based authentication connection. */ certificateAuthentication?: CertificateAuthentication; + + /** + * The routing configuration indicating the associated and propagated route tables for this connection. + */ + @added(Versions.v2025_07_01) + routingConfiguration?: RoutingConfiguration; } /** @@ -22341,7 +22790,6 @@ model StaticRoutesConfig { /** * Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to. */ - @visibility(Lifecycle.Read) propagateStaticRoutes?: boolean; /** @@ -22902,6 +23350,12 @@ model HubVirtualNetworkConnectionProperties { */ allowRemoteVnetToUseHubVnetGateways?: boolean; + /** + * The resource id of the ConnectionPolicy associated with this HubVirtualNetworkConnection. + */ + @added(Versions.v2025_07_01) + connectionPolicy?: SubResource; + /** * Enable internet security. */ @@ -23807,6 +24261,12 @@ model BgpConnectionProperties { */ @visibility(Lifecycle.Read) connectionState?: HubBgpConnectionStatus; + + /** + * The routing configuration indicating the associated and propagated route tables for this connection. + */ + @added(Versions.v2025_07_01) + routingConfiguration?: RoutingConfiguration; } /** @@ -24169,6 +24629,44 @@ model RoutingPolicy { @Azure.ResourceManager.Legacy.feature(Features.virtualWAN) model ListRoutingIntentResult is Azure.Core.Page; +/** + * Properties of the ConnectionPolicy resource. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy feature decorator required for Network RP VirtualWAN feature gating, consistent with all other VirtualWAN model definitions" +@added(Versions.v2025_07_01) +@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +model ConnectionPolicyProperties { + /** + * Enable internet security. + */ + enableInternetSecurity?: boolean; + + /** + * The Routing Configuration indicating the associated and propagated route tables on this connection. + */ + routingConfiguration?: RoutingConfiguration; + + /** + * The provisioning state of the ConnectionPolicy resource. + */ + @visibility(Lifecycle.Read) + provisioningState?: ProvisioningState; + + /** + * List of connection names (e.g. VpnConnection, HubVirtualNetworkConnection) associated with this ConnectionPolicy. These are resource names, not Azure resource IDs, consistent with the established VirtualWAN pattern used by HubRouteTable.associatedConnections. + */ + @visibility(Lifecycle.Read) + associatedConnections?: string[]; +} + +/** + * List of ConnectionPolicies and a URL nextLink to get the next set of results. + */ +#suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "Legacy feature decorator required for Network RP VirtualWAN feature gating, consistent with all other VirtualWAN list result model definitions" +@added(Versions.v2025_07_01) +@Azure.ResourceManager.Legacy.feature(Features.virtualWAN) +model ListConnectionPoliciesResult is Azure.Core.Page; + /** * Defines web application firewall policy properties. */ @@ -24307,7 +24805,16 @@ model PolicySettings { */ @maxValue(1440) @minValue(5) + @removed(Versions.v2025_07_01) captchaCookieExpirationInMins?: int32; + + /** + * Web Application Firewall CAPTCHA Cookie Expiration time in minutes. + */ + @maxValue(1440) + @minValue(5) + @added(Versions.v2025_07_01) + captchaExpirationInMins?: int32; } /** @@ -25486,6 +25993,16 @@ alias ExpressRouteFailoverAllTestDetails = ExpressRouteFailoverTestDetails[]; */ alias ExpressRouteFailoverSingleTestDetailsObject = ExpressRouteFailoverSingleTestDetails[]; +/** + * Circuit Link Failover All Test Details + */ +alias ExpressRouteLinkFailoverAllTestsDetailsList = ExpressRouteLinkFailoverAllTestsDetails[]; + +/** + * Circuit Link Failover Single Test Details + */ +alias ExpressRouteLinkFailoverSingleTestDetailsList = ExpressRouteLinkFailoverSingleTestDetails[]; + #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @Azure.ResourceManager.Legacy.feature(Features.networkSecurityPerimeter) model PerimeterAssociableResourcesListResult @@ -25894,7 +26411,8 @@ model VirtualNetworkAppliancePropertiesFormat { /** * Bandwidth of the VirtualNetworkAppliance resource in Gbps. */ - bandwidthInGbps?: string; + @typeChangedFrom(Versions.v2025_07_01, string) + bandwidthInGbps?: float64; /** * A list of IPConfigurations of the virtual network appliance. @@ -25902,6 +26420,13 @@ model VirtualNetworkAppliancePropertiesFormat { @visibility(Lifecycle.Read) ipConfigurations?: VirtualNetworkApplianceIpConfiguration[]; + /** + * Whether the specific virtual network appliance is IPv4 or Dual Stack. Default is IPv4. + */ + #suppress "@azure-tools/typespec-azure-core/casing-style" "Consistent with existing Azure Network naming convention using 'IP' for IP-related properties" + @added(Versions.v2025_07_01) + privateIPAddressVersion?: VirtualNetworkApplianceIpVersionType; + /** * The provisioning state of the virtual network appliance resource. */ @@ -25920,6 +26445,20 @@ model VirtualNetworkAppliancePropertiesFormat { subnet?: Subnet; } +/** + * IP address version. + */ +@added(Versions.v2025_07_01) +union VirtualNetworkApplianceIpVersionType { + string, + + /** IPv4 version */ + IPv4: "IPv4", + + /** Dual Stack version */ + DualStack: "DualStack", +} + /** * The virtual network appliance ip configuration. */ @@ -25989,3 +26528,5 @@ model VirtualNetworkApplianceIpConfigurationProperties { #["addressLocation"] ); @@identifiers(GetServiceGatewayServicesResult.value, #["name"]); +@@added(DisablePeeringRoute, Versions.v2025_07_01); +@@added(RouteTablePropertiesFormat.disablePeeringRoute, Versions.v2025_07_01); diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Vmss/back-compatible.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Vmss/back-compatible.tsp index cdb1fb3ea724..a980f56225b6 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Vmss/back-compatible.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Vmss/back-compatible.tsp @@ -4,6 +4,7 @@ import "../Common/main.tsp"; using Azure.ClientGenerator.Core; using Microsoft.Compute; using Common; +using TypeSpec.Versioning; #suppress "@azure-tools/typespec-azure-core/no-legacy-usage" "FIXME: Update justification, follow aka.ms/tsp/conversion-fix for details" @@Legacy.flattenProperty(NetworkSecurityGroup.properties); diff --git a/specification/network/resource-manager/Microsoft.Network/Network/Vmss/main.tsp b/specification/network/resource-manager/Microsoft.Network/Network/Vmss/main.tsp index cfb4d916a261..9b09e02c27f2 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/Vmss/main.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/Vmss/main.tsp @@ -42,6 +42,6 @@ enum Versions { /** * The 2018-10-01 API version. */ - @useDependency(Common.Versions.v2018_10_01) + @useDependency(Common.Versions.v2025_07_01) v2018_10_01: "2018-10-01", } diff --git a/specification/network/resource-manager/Microsoft.Network/Network/client.tsp b/specification/network/resource-manager/Microsoft.Network/Network/client.tsp index 916c393c3f57..c32b93a82b52 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/client.tsp +++ b/specification/network/resource-manager/Microsoft.Network/Network/client.tsp @@ -65,7 +65,10 @@ namespace CombineClient; @@clientName(Microsoft.Network.QosIpRange.startIP, "startIp", "java"); @@clientName(Microsoft.Network.QosIpRange.endIP, "endIp", "java"); // Mitigate ProvisioningState split: create unified union with all values -@@clientName(Common.ProvisioningState, "CommonProvisioningState", "java"); +@@clientName(Common.ProvisioningState, + "CommonProvisioningState", + "java,javascript" +); // Fix definition error on required property. Only "matchVariable" property is required. @@alternateType(ApplicationGatewayFirewallExclusion, diff --git a/specification/network/resource-manager/Microsoft.Network/Network/readme.md b/specification/network/resource-manager/Microsoft.Network/Network/readme.md index 5632d3bd3100..0142b5a18239 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/readme.md +++ b/specification/network/resource-manager/Microsoft.Network/Network/readme.md @@ -28,7 +28,93 @@ These are the global settings for the Network API. title: NetworkManagementClient description: Network Client openapi-type: arm -tag: package-2025-05-01 +tag: package-2025-07-01 +``` + +### Tag: package-2025-07-01 + +These settings apply only when `--tag=package-2025-07-01` is specified on the command line. + +```yaml $(tag) == 'package-2025-07-01' +input-file: + - stable/2025-07-01/applicationGateway.json + - stable/2025-07-01/azureWebCategory.json + - stable/2025-07-01/common.json + - stable/2025-07-01/expressRoute.json + - stable/2025-07-01/firewall.json + - stable/2025-07-01/firewallPolicy.json + - stable/2025-07-01/loadBalancer.json + - stable/2025-07-01/networkGateway.json + - stable/2025-07-01/networkingOperations.json + - stable/2025-07-01/networkManager.json + - stable/2025-07-01/networkSecurityPerimeter.json + - stable/2025-07-01/networkWatcher.json + - stable/2025-07-01/serviceGateway.json + - stable/2025-07-01/virtualNetwork.json + - stable/2025-07-01/virtualNetworkAppliance.json + - stable/2025-07-01/virtualWan.json + - stable/2018-10-01/vmssNetwork.json +suppressions: + - code: ParametersInPointGet + from: loadBalancer.json + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}"].get.parameters + reason: '"detailLevel" query parameter approved for GET LoadBalancer to reduce response payload for large resources. Approved in ARM Office Hours by Gary Li on 2/13/2025.' + - code: ProvisioningStateMustBeReadOnly + from: networkManager.json + reason: provisioningState is correctly marked readOnly in CommitProperties definition. The linter does not follow $ref chains to verify readOnly in referenced schemas. + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commits/{commitName}"].get.responses["200"].schema + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commits/{commitName}"].put.responses["200"].schema + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commits/{commitName}"].put.responses["201"].schema + - code: PutResponseCodes + reason: Required for multiple response codes. Reviewed by ARM team. + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName}"].put + - code: DeleteResponseCodes + reason: Required for multiple response codes. Reviewed by ARM team. + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName}"].delete + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/linkReferences/{linkReferenceName}"].delete + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links/{linkName}"].delete + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}"].delete + - code: PatchIdentityProperty + reason: False alarm. + where: + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}"].patch.parameters[2] + - $.paths["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}"].patch.parameters[3] + - code: SystemDataDefinitionsCommonTypes + from: virtualNetwork.json + reason: False alarm for common type errors. + - code: SystemDataDefinitionsCommonTypes + from: common.json + reason: False alarm. + - code: PutRequestResponseSchemeArm + from: common.json + reason: API spec code issue in PutRequestResponseSchemeArm validation. + - code: RequiredPropertiesMissingInResourceModel + reason: Not a standard azure resource. + where: + - $.definitions.GetServiceGatewayAddressLocationsResult + - code: RequiredPropertiesMissingInResourceModel + reason: Not a standard azure resource. + where: + - $.definitions.GetServiceGatewayServicesResult +directive: + - from: specification/common-types/resource-management/v6/types.json + where: "$.definitions.ProxyResource" + transform: > + $["x-ms-client-name"] = "SecurityPerimeterProxyResource" + + - from: specification/common-types/resource-management/v6/types.json + where: "$.definitions.Resource" + transform: > + $["x-ms-client-name"] = "SecurityPerimeterResource" + + - from: specification/common-types/resource-management/v6/types.json + where: "$.definitions.systemData" + transform: > + $["x-ms-client-name"] = "SecurityPerimeterSystemData" ``` ### Tag: package-2025-05-01 @@ -4266,6 +4352,12 @@ input-file: ```yaml directive: + - suppress: ResourceNameRestriction + from: virtualWan.json + reason: virtualHubName is an existing parent resource path parameter established in prior API versions. Adding a pattern constraint would be a breaking change to 2025-05-01 and earlier versions. + - suppress: ProvisioningStateMustBeReadOnly + from: virtualWan.json + reason: The Common.ProvisioningState type is marked readOnly in TypeSpec via @visibility(Lifecycle.Read), but the autorest emitter places readOnly as a sibling of $ref rather than in the type definition itself. The linter does not follow $ref siblings per OpenAPI 2.0 spec. Known issue https://github.com/Azure/azure-openapi-validator/issues/637 - suppress: PutRequestResponseSchemeArm from: virtualNetworkAppliance.json reason: Known issue. Github link https://github.com/Azure/azure-openapi-validator/issues/752 @@ -4531,6 +4623,12 @@ directive: - suppress: ParametersInPost from: virtualNetworkGateway.json reason: There are existing APIs in the file using the same format. Suppress it to avoid breaking change because it is referenced by all Virtual Network Gateway APIs. + - suppress: ParametersInPost + from: expressRoute.json + reason: Backend APIs require these as query parameters for consistency with existing VirtualNetworkGateway failover APIs. + - suppress: ParametersInPost + from: virtualWan.json + reason: Backend APIs require these as query parameters for consistency with existing VirtualNetworkGateway failover and insights APIs. - suppress: AvoidAdditionalProperties from: virtualNetworkGateway.json reason: We are using Dictionaries in the NRP APIs which are already rolled out. Suppress it since this is used by the Gateway Resiliency APIs. @@ -4591,6 +4689,30 @@ directive: reason: name, id and type properties are inherited from the upper level suppressions: + - code: ResourceNameRestriction + from: expressRoute.json + reason: The resource name parameter 'circuitName' is not defined with a 'pattern' restriction. Suppress it for now to avoid breaking change because it is referenced by all ExpressRoute circuit link failover APIs. + where: + - $.paths.["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/getCircuitLinkFailoverAllTestsDetails"] + - $.paths.["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/getCircuitLinkFailoverSingleTestDetails"] + - $.paths.["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/startCircuitLinkFailoverTest"] + - $.paths.["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stopCircuitLinkFailoverTest"] + - code: ParametersInPost + from: expressRoute.json + reason: Backend APIs require these as query parameters for consistency with existing VirtualNetworkGateway failover APIs. + - code: ResourceNameRestriction + from: virtualWan.json + reason: The resource name parameter 'expressRouteGatewayName' is not defined with a 'pattern' restriction. Suppress it for now to avoid breaking change because it is referenced by all ExpressRoute gateway failover and insights APIs. + where: + - $.paths.["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/getFailoverAllTestsDetails"] + - $.paths.["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/getFailoverSingleTestDetails"] + - $.paths.["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/startSiteFailoverTest"] + - $.paths.["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/stopSiteFailoverTest"] + - $.paths.["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/getRoutesInformation"] + - $.paths.["/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/getResiliencyInformation"] + - code: ParametersInPost + from: virtualWan.json + reason: Backend APIs require these as query parameters for consistency with existing VirtualNetworkGateway failover and insights APIs. - code: ResourceNameRestriction from: bastionhost.json reason: The resource name parameter 'bastionHostName' is not defined with a 'pattern' restriction. Suppress it for now to avoid breaking change because it is referenced by all Bastion APIs. diff --git a/specification/network/resource-manager/Microsoft.Network/Network/sdk-suppressions.yaml b/specification/network/resource-manager/Microsoft.Network/Network/sdk-suppressions.yaml new file mode 100644 index 000000000000..cd45ce9739bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/sdk-suppressions.yaml @@ -0,0 +1,43 @@ +suppressions: + azure-sdk-for-go: + - package: sdk/resourcemanager/network/armnetwork + breaking-changes: + - Function `*IpamPoolsClient.Update` parameter(s) have been changed from `(ctx context.Context, resourceGroupName string, networkManagerName string, poolName string, options *IpamPoolsClientUpdateOptions)` to `(ctx context.Context, resourceGroupName string, networkManagerName string, poolName string, body IpamPoolUpdate, options *IpamPoolsClientUpdateOptions)` + - Function `*StaticCidrsClient.Create` parameter(s) have been changed from `(ctx context.Context, resourceGroupName string, networkManagerName string, poolName string, staticCidrName string, options *StaticCidrsClientCreateOptions)` to `(ctx context.Context, resourceGroupName string, networkManagerName string, poolName string, staticCidrName string, body StaticCidr, options *StaticCidrsClientCreateOptions)` + - Function `*VerifierWorkspacesClient.Update` parameter(s) have been changed from `(ctx context.Context, resourceGroupName string, networkManagerName string, workspaceName string, options *VerifierWorkspacesClientUpdateOptions)` to `(ctx context.Context, resourceGroupName string, networkManagerName string, workspaceName string, body VerifierWorkspaceUpdate, options *VerifierWorkspacesClientUpdateOptions)` + - Type of `EffectiveNetworkSecurityGroup.TagMap` has been changed from `*string` to `map[string][]*string` + - Type of `ManagedServiceIdentity.UserAssignedIdentities` has been changed from `map[string]*Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties` to `map[string]*ManagedServiceIdentityUserAssignedIdentities` + - Type of `OperationStatusResult.PercentComplete` has been changed from `*float32` to `*float64` + - Type of `VirtualNetworkAppliancePropertiesFormat.BandwidthInGbps` has been changed from `*string` to `*float64` + - Enum `ConnectionMonitorSourceStatus` has been removed + - Enum `ConnectionState` has been removed + - Enum `EvaluationState` has been removed + - Enum `HubVirtualNetworkConnectionStatus` has been removed + - Enum `NetworkOperationStatus` has been removed + - Enum `TunnelConnectionStatus` has been removed + - Struct `AzureAsyncOperationResult` has been removed + - Struct `ChildResource` has been removed + - Struct `CommonErrorAdditionalInfo` has been removed + - Struct `CommonErrorDetail` has been removed + - Struct `CommonErrorResponse` has been removed + - Struct `CommonProxyResource` has been removed + - Struct `CommonResource` has been removed + - Struct `CommonTrackedResource` has been removed + - Struct `Components1Jq1T4ISchemasManagedserviceidentityPropertiesUserassignedidentitiesAdditionalproperties` has been removed + - Struct `ConnectionMonitorQueryResult` has been removed + - Struct `ConnectionStateSnapshot` has been removed + - Struct `Error` has been removed + - Struct `ErrorDetails` has been removed + - Struct `ErrorResponse` has been removed + - Struct `PatchRouteFilter` has been removed + - Struct `PatchRouteFilterRule` has been removed + - Struct `ProxyResource` has been removed + - Struct `Resource` has been removed + - Struct `ResourceSet` has been removed + - Struct `SecurityPerimeterProxyResource` has been removed + - Struct `SecurityPerimeterResource` has been removed + - Struct `TrackedResource` has been removed + - Struct `VPNSiteID` has been removed + - Field `Body` of struct `IpamPoolsClientUpdateOptions` has been removed + - Field `Body` of struct `StaticCidrsClientCreateOptions` has been removed + - Field `Body` of struct `VerifierWorkspacesClientUpdateOptions` has been removed diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2018-10-01/vmssNetwork.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2018-10-01/vmssNetwork.json index b56f60d4b6da..6f8ce99e241a 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/stable/2018-10-01/vmssNetwork.json +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2018-10-01/vmssNetwork.json @@ -881,6 +881,16 @@ } } }, + "Common.DdosFrontendIpConfigurationSettings": { + "type": "object", + "description": "DDoS protection settings for a frontend IP configuration.", + "properties": { + "ddosCustomPolicy": { + "$ref": "#/definitions/Common.SubResource", + "description": "The reference to the DDoS Custom Policy resource." + } + } + }, "Common.DdosSettings": { "type": "object", "description": "Contains the DDoS protection settings of the public IP.", @@ -889,6 +899,10 @@ "$ref": "#/definitions/Common.DdosSettingsProtectionMode", "description": "The DDoS protection mode of the public IP" }, + "ddosCustomPolicy": { + "$ref": "#/definitions/Common.SubResource", + "description": "The DDoS custom policy associated with the public IP." + }, "ddosProtectionPlan": { "$ref": "#/definitions/Common.SubResource", "description": "The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled" @@ -991,6 +1005,30 @@ } } }, + "Common.DisablePeeringRoute": { + "type": "string", + "description": "Whether to disable the routes learned by peering on the route table.", + "enum": [ + "None", + "All" + ], + "x-ms-enum": { + "name": "DisablePeeringRoute", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "Peering routes are enabled." + }, + { + "name": "All", + "value": "All", + "description": "All peering routes are disabled." + } + ] + } + }, "Common.ExtendedLocation": { "type": "object", "description": "ExtendedLocation complex type.", @@ -1229,6 +1267,10 @@ "$ref": "#/definitions/Common.ProvisioningState", "description": "The provisioning state of the frontend IP configuration resource.", "readOnly": true + }, + "ddosSettings": { + "$ref": "#/definitions/Common.DdosFrontendIpConfigurationSettings", + "description": "The DDoS protection settings associated with the frontend IP configuration." } } }, @@ -2122,6 +2164,36 @@ } } }, + "Common.Nat64State": { + "type": "string", + "description": "Whether Nat64 is enabled for the NAT gateway resource.", + "enum": [ + "None", + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "Nat64State", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "Nat64 Property is not set." + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Nat64 is enabled." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Nat64 is disabled." + } + ] + } + }, "Common.NatGateway": { "type": "object", "description": "Nat Gateway resource.", @@ -2207,6 +2279,10 @@ "$ref": "#/definitions/Common.SubResource", "description": "Reference to an existing service gateway." }, + "nat64": { + "$ref": "#/definitions/Common.Nat64State", + "description": "Whether Nat64 is enabled for the NAT gateway resource." + }, "resourceGuid": { "type": "string", "description": "The resource GUID property of the NAT gateway resource.", @@ -4057,6 +4133,24 @@ } ] }, + "Common.RouteNextHopEcmp": { + "type": "object", + "description": "The next hop definition for ECMP routes containing multiple next hop IP addresses.", + "properties": { + "nextHopIpAddresses": { + "type": "array", + "description": "List of next hop IP addresses for ECMP routing. Must contain between 2 and 64 IP addresses.", + "minItems": 2, + "maxItems": 64, + "items": { + "type": "string" + } + } + }, + "required": [ + "nextHopIpAddresses" + ] + }, "Common.RouteNextHopType": { "type": "string", "description": "The type of Azure hop the packet should be sent to.", @@ -4065,6 +4159,7 @@ "VnetLocal", "Internet", "VirtualAppliance", + "VirtualApplianceEcmp", "None" ], "x-ms-enum": { @@ -4091,10 +4186,15 @@ "value": "VirtualAppliance", "description": "VirtualAppliance" }, + { + "name": "VirtualApplianceEcmp", + "value": "VirtualApplianceEcmp", + "description": "Routes traffic to virtual appliances using Equal-Cost Multi-Path (ECMP) routing with multiple next hop IP addresses." + }, { "name": "None", "value": "None", - "description": "None" + "description": "No next hop type." } ] } @@ -4115,6 +4215,10 @@ "type": "string", "description": "The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance." }, + "nextHop": { + "$ref": "#/definitions/Common.RouteNextHopEcmp", + "description": "The next hop definition containing ECMP next hop IP addresses. Only allowed when nextHopType is VirtualApplianceEcmp." + }, "provisioningState": { "$ref": "#/definitions/Common.ProvisioningState", "description": "The provisioning state of the route resource.", @@ -4174,6 +4278,10 @@ "type": "boolean", "description": "Whether to disable the routes learned by BGP on that route table. True means disable." }, + "disablePeeringRoute": { + "$ref": "#/definitions/Common.DisablePeeringRoute", + "description": "Whether to disable the routes learned by peering on the route table. 'None' means peering routes are enabled, 'All' means all peering routes are disabled." + }, "provisioningState": { "$ref": "#/definitions/Common.ProvisioningState", "description": "The provisioning state of the route table resource.", @@ -5338,6 +5446,10 @@ "$ref": "#/definitions/Common.SubResource", "description": "A reference to the default public nat gateway being used by this virtual network resource.", "readOnly": true + }, + "summarizedGatewayPrefixes": { + "$ref": "#/definitions/Common.AddressSpace", + "description": "A configurable list of summarized gateway prefixes advertised for the virtual network." } } }, diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-05-01/common.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-05-01/common.json index daef7aa9eb14..28d70c70ccc4 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-05-01/common.json +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-05-01/common.json @@ -2998,7 +2998,7 @@ { "name": "None", "value": "None", - "description": "None" + "description": "No next hop type." } ] } @@ -6150,7 +6150,7 @@ { "name": "None", "value": "None", - "description": "None" + "description": "No next hop type." } ] } diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-05-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-05-01/virtualWan.json index 84d052e918f8..a76c29f54bb3 100644 --- a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-05-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-05-01/virtualWan.json @@ -8798,8 +8798,7 @@ "properties": { "propagateStaticRoutes": { "type": "boolean", - "description": "Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to.", - "readOnly": true + "description": "Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to." }, "vnetLocalRouteOverrideCriteria": { "$ref": "./common.json#/definitions/VnetLocalRouteOverrideCriteria", diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/applicationGateway.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/applicationGateway.json new file mode 100644 index 000000000000..7ac4c7ae9a52 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/applicationGateway.json @@ -0,0 +1,5123 @@ +{ + "swagger": "2.0", + "info": { + "title": "WebApplicationFirewallManagement", + "version": "2025-07-01", + "description": "APIs to manage web application firewall rules.", + "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": "ApplicationGateways" + }, + { + "name": "ApplicationGatewayPrivateLinkResources" + }, + { + "name": "ApplicationGatewayPrivateEndpointConnections" + }, + { + "name": "WebApplicationFirewallPolicies" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies": { + "get": { + "operationId": "WebApplicationFirewallPolicies_ListAll", + "tags": [ + "WebApplicationFirewallPolicies" + ], + "description": "Gets all the WAF policies in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/WebApplicationFirewallPolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Lists all WAF policies in a subscription": { + "$ref": "./examples/WafListAllPolicies.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableRequestHeaders": { + "get": { + "operationId": "ApplicationGateways_ListAvailableRequestHeaders", + "tags": [ + "ApplicationGateways" + ], + "description": "Lists all available request headers.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Get Available Request Headers": { + "$ref": "./examples/ApplicationGatewayAvailableRequestHeadersGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableResponseHeaders": { + "get": { + "operationId": "ApplicationGateways_ListAvailableResponseHeaders", + "tags": [ + "ApplicationGateways" + ], + "description": "Lists all available response headers.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Get Available Response Headers": { + "$ref": "./examples/ApplicationGatewayAvailableResponseHeadersGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableServerVariables": { + "get": { + "operationId": "ApplicationGateways_ListAvailableServerVariables", + "tags": [ + "ApplicationGateways" + ], + "description": "Lists all available server variables.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "type": "string" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Get Available Server Variables": { + "$ref": "./examples/ApplicationGatewayAvailableServerVariablesGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default": { + "get": { + "operationId": "ApplicationGateways_ListAvailableSslOptions", + "tags": [ + "ApplicationGateways" + ], + "description": "Lists available Ssl options for configuring Ssl policy.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayAvailableSslOptions" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Available Ssl Options": { + "$ref": "./examples/ApplicationGatewayAvailableSslOptionsGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies": { + "get": { + "operationId": "ApplicationGateways_ListAvailableSslPredefinedPolicies", + "tags": [ + "ApplicationGateways" + ], + "description": "Lists all SSL predefined policies for configuring Ssl policy.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayAvailableSslPredefinedPolicies" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Available Ssl Predefined Policies": { + "$ref": "./examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/predefinedPolicies/{predefinedPolicyName}": { + "get": { + "operationId": "ApplicationGateways_GetSslPredefinedPolicy", + "tags": [ + "ApplicationGateways" + ], + "description": "Gets Ssl predefined policy with the specified policy name.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "predefinedPolicyName", + "in": "path", + "description": "The name of the ssl predefined policy.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationGatewaySslPredefinedPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Available Ssl Predefined Policy by name": { + "$ref": "./examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets": { + "get": { + "operationId": "ApplicationGateways_ListAvailableWafRuleSets", + "tags": [ + "ApplicationGateways" + ], + "description": "Lists all available web application firewall rule sets.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayAvailableWafRuleSetsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Available Waf Rule Sets": { + "$ref": "./examples/ApplicationGatewayAvailableWafRuleSetsGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationGateways": { + "get": { + "operationId": "ApplicationGateways_ListAll", + "tags": [ + "ApplicationGateways" + ], + "description": "Gets all the application gateways in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Lists all application gateways in a subscription": { + "$ref": "./examples/ApplicationGatewayListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/applicationGatewayWafDynamicManifests": { + "get": { + "operationId": "ApplicationGatewayWafDynamicManifests_Get", + "description": "Gets the regional application gateway waf manifest.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location for which the WAF dynamic manifest is requested.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayWafDynamicManifestResultList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Gets WAF manifests": { + "$ref": "./examples/GetApplicationGatewayWafDynamicManifests.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/applicationGatewayWafDynamicManifests/dafault": { + "get": { + "operationId": "ApplicationGatewayWafDynamicManifestsDefault_Get", + "description": "Gets the regional application gateway waf manifest.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "location", + "in": "path", + "description": "The location for which the WAF dynamic manifest is requested.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayWafDynamicManifestResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Gets WAF default manifest": { + "$ref": "./examples/GetApplicationGatewayWafDynamicManifestsDefault.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies": { + "get": { + "operationId": "WebApplicationFirewallPolicies_List", + "tags": [ + "WebApplicationFirewallPolicies" + ], + "description": "Lists all of the protection 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" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/WebApplicationFirewallPolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Lists all WAF policies in a resource group": { + "$ref": "./examples/WafListPolicies.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/{policyName}": { + "get": { + "operationId": "WebApplicationFirewallPolicies_Get", + "tags": [ + "WebApplicationFirewallPolicies" + ], + "description": "Retrieve protection policy with specified name 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": "policyName", + "in": "path", + "description": "The name of the policy.", + "required": true, + "type": "string", + "maxLength": 128 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/WebApplicationFirewallPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Gets a WAF policy within a resource group": { + "$ref": "./examples/WafPolicyGet.json" + } + } + }, + "put": { + "operationId": "WebApplicationFirewallPolicies_CreateOrUpdate", + "tags": [ + "WebApplicationFirewallPolicies" + ], + "description": "Creates or update policy with specified rule set name 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": "policyName", + "in": "path", + "description": "The name of the policy.", + "required": true, + "type": "string", + "maxLength": 128 + }, + { + "name": "parameters", + "in": "body", + "description": "Policy to be created.", + "required": true, + "schema": { + "$ref": "#/definitions/WebApplicationFirewallPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'WebApplicationFirewallPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/WebApplicationFirewallPolicy" + } + }, + "201": { + "description": "Resource 'WebApplicationFirewallPolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/WebApplicationFirewallPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Creates or updates a WAF policy within a resource group": { + "$ref": "./examples/WafPolicyCreateOrUpdate.json" + } + } + }, + "delete": { + "operationId": "WebApplicationFirewallPolicies_Delete", + "tags": [ + "WebApplicationFirewallPolicies" + ], + "description": "Deletes 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": "policyName", + "in": "path", + "description": "The name of the policy.", + "required": true, + "type": "string", + "maxLength": 128 + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Deletes a WAF policy within a resource group": { + "$ref": "./examples/WafPolicyDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways": { + "get": { + "operationId": "ApplicationGateways_List", + "tags": [ + "ApplicationGateways" + ], + "description": "Lists all application gateways in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Lists all application gateways in a resource group": { + "$ref": "./examples/ApplicationGatewayList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}": { + "get": { + "operationId": "ApplicationGateways_Get", + "tags": [ + "ApplicationGateways" + ], + "description": "Gets the specified application gateway.", + "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": "applicationGatewayName", + "in": "path", + "description": "The name of the application gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get ApplicationGateway": { + "$ref": "./examples/ApplicationGatewayGet.json" + } + } + }, + "put": { + "operationId": "ApplicationGateways_CreateOrUpdate", + "tags": [ + "ApplicationGateways" + ], + "description": "Creates or updates the specified application gateway.", + "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": "applicationGatewayName", + "in": "path", + "description": "The name of the application gateway.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update application gateway operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationGateway" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ApplicationGateway' update operation succeeded", + "schema": { + "$ref": "#/definitions/ApplicationGateway" + } + }, + "201": { + "description": "Resource 'ApplicationGateway' create operation succeeded", + "schema": { + "$ref": "#/definitions/ApplicationGateway" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create Application Gateway": { + "$ref": "./examples/ApplicationGatewayCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ApplicationGateway" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ApplicationGateways_UpdateTags", + "tags": [ + "ApplicationGateways" + ], + "description": "Updates the specified application gateway tags.", + "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": "applicationGatewayName", + "in": "path", + "description": "The name of the application gateway.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update application gateway tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update Application Gateway tags": { + "$ref": "./examples/ApplicationGatewayUpdateTags.json" + } + } + }, + "delete": { + "operationId": "ApplicationGateways_Delete", + "tags": [ + "ApplicationGateways" + ], + "description": "Deletes the specified application gateway.", + "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": "applicationGatewayName", + "in": "path", + "description": "The name of the application gateway.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete ApplicationGateway": { + "$ref": "./examples/ApplicationGatewayDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/backendhealth": { + "post": { + "operationId": "ApplicationGateways_BackendHealth", + "tags": [ + "ApplicationGateways" + ], + "description": "Gets the backend health of the specified application gateway in 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": "applicationGatewayName", + "in": "path", + "description": "The name of the application gateway.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands BackendAddressPool and BackendHttpSettings referenced in backend health.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayBackendHealth" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Backend Health": { + "$ref": "./examples/ApplicationGatewayBackendHealthGet.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ApplicationGatewayBackendHealth" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/getBackendHealthOnDemand": { + "post": { + "operationId": "ApplicationGateways_BackendHealthOnDemand", + "tags": [ + "ApplicationGateways" + ], + "description": "Gets the backend health for given combination of backend pool and http setting of the specified application gateway in 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": "applicationGatewayName", + "in": "path", + "description": "The name of the application gateway.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands BackendAddressPool and BackendHttpSettings referenced in backend health.", + "required": false, + "type": "string" + }, + { + "name": "probeRequest", + "in": "body", + "description": "Request body for on-demand test probe operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationGatewayOnDemandProbe" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayBackendHealthOnDemand" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Test Backend Health": { + "$ref": "./examples/ApplicationGatewayBackendHealthTest.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ApplicationGatewayBackendHealthOnDemand" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections": { + "get": { + "operationId": "ApplicationGatewayPrivateEndpointConnections_List", + "tags": [ + "ApplicationGatewayPrivateEndpointConnections" + ], + "description": "Lists all private endpoint connections on an application gateway.", + "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": "applicationGatewayName", + "in": "path", + "description": "The name of the application gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayPrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Lists all private endpoint connections on application gateway": { + "$ref": "./examples/ApplicationGatewayPrivateEndpointConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateEndpointConnections/{connectionName}": { + "get": { + "operationId": "ApplicationGatewayPrivateEndpointConnections_Get", + "tags": [ + "ApplicationGatewayPrivateEndpointConnections" + ], + "description": "Gets the specified private endpoint connection on application gateway.", + "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": "applicationGatewayName", + "in": "path", + "description": "The name of the application gateway.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "Name of the private endpoint connection on an application gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayPrivateEndpointConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Application Gateway Private Endpoint Connection": { + "$ref": "./examples/ApplicationGatewayPrivateEndpointConnectionGet.json" + } + } + }, + "put": { + "operationId": "ApplicationGatewayPrivateEndpointConnections_Update", + "tags": [ + "ApplicationGatewayPrivateEndpointConnections" + ], + "description": "Updates the specified private endpoint connection on application gateway.", + "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": "applicationGatewayName", + "in": "path", + "description": "The name of the application gateway.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "Name of the private endpoint connection on an application gateway.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update application gateway private endpoint connection operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ApplicationGatewayPrivateEndpointConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ApplicationGatewayPrivateEndpointConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/ApplicationGatewayPrivateEndpointConnection" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update Application Gateway Private Endpoint Connection": { + "$ref": "./examples/ApplicationGatewayPrivateEndpointConnectionUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ApplicationGatewayPrivateEndpointConnection" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ApplicationGatewayPrivateEndpointConnections_Delete", + "tags": [ + "ApplicationGatewayPrivateEndpointConnections" + ], + "description": "Deletes the specified private endpoint connection on application gateway.", + "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": "applicationGatewayName", + "in": "path", + "description": "The name of the application gateway.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "Name of the private endpoint connection on an application gateway.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete Application Gateway Private Endpoint Connection": { + "$ref": "./examples/ApplicationGatewayPrivateEndpointConnectionDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/privateLinkResources": { + "get": { + "operationId": "ApplicationGatewayPrivateLinkResources_List", + "tags": [ + "ApplicationGatewayPrivateLinkResources" + ], + "description": "Lists all private link resources on an application gateway.", + "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": "applicationGatewayName", + "in": "path", + "description": "The name of the application gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationGatewayPrivateLinkResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Lists all private link resources on application gateway": { + "$ref": "./examples/ApplicationGatewayPrivateLinkResourceList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/start": { + "post": { + "operationId": "ApplicationGateways_Start", + "tags": [ + "ApplicationGateways" + ], + "description": "Starts the specified application gateway.", + "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": "applicationGatewayName", + "in": "path", + "description": "The name of the application gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Start Application Gateway": { + "$ref": "./examples/ApplicationGatewayStart.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationGateways/{applicationGatewayName}/stop": { + "post": { + "operationId": "ApplicationGateways_Stop", + "tags": [ + "ApplicationGateways" + ], + "description": "Stops the specified application gateway in 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": "applicationGatewayName", + "in": "path", + "description": "The name of the application gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Stop Application Gateway": { + "$ref": "./examples/ApplicationGatewayStop.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "ApplicationGateway": { + "type": "object", + "description": "Application gateway resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayPropertiesFormat", + "description": "Properties of the application gateway.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "zones": { + "type": "array", + "description": "A list of availability zones denoting where the resource needs to come from.", + "items": { + "type": "string" + } + }, + "identity": { + "$ref": "./common.json#/definitions/Common.ManagedServiceIdentity", + "description": "The identity of the application gateway, if configured." + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "ApplicationGatewayAuthenticationCertificate": { + "type": "object", + "description": "Authentication certificates of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayAuthenticationCertificatePropertiesFormat", + "description": "Properties of the application gateway authentication certificate.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the authentication certificate that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayAuthenticationCertificatePropertiesFormat": { + "type": "object", + "description": "Authentication certificates properties of an application gateway.", + "properties": { + "data": { + "type": "string", + "description": "Certificate public data." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the authentication certificate resource.", + "readOnly": true + } + } + }, + "ApplicationGatewayAutoscaleConfiguration": { + "type": "object", + "description": "Application Gateway autoscale configuration.", + "properties": { + "minCapacity": { + "type": "integer", + "format": "int32", + "description": "Lower bound on number of Application Gateway capacity.", + "minimum": 0 + }, + "maxCapacity": { + "type": "integer", + "format": "int32", + "description": "Upper bound on number of Application Gateway capacity.", + "minimum": 2 + } + }, + "required": [ + "minCapacity" + ] + }, + "ApplicationGatewayAvailableSslOptions": { + "type": "object", + "description": "Response for ApplicationGatewayAvailableSslOptions API service call.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayAvailableSslOptionsPropertiesFormat", + "description": "Properties of the application gateway available SSL options.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "ApplicationGatewayAvailableSslOptionsPropertiesFormat": { + "type": "object", + "description": "Properties of ApplicationGatewayAvailableSslOptions.", + "properties": { + "predefinedPolicies": { + "type": "array", + "description": "List of available Ssl predefined policy.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "defaultPolicy": { + "$ref": "./common.json#/definitions/ApplicationGatewaySslPolicyName", + "description": "Name of the Ssl predefined policy applied by default to application gateway." + }, + "availableCipherSuites": { + "type": "array", + "description": "List of available Ssl cipher suites.", + "items": { + "$ref": "./common.json#/definitions/ApplicationGatewaySslCipherSuite" + } + }, + "availableProtocols": { + "type": "array", + "description": "List of available Ssl protocols.", + "items": { + "$ref": "./common.json#/definitions/ApplicationGatewaySslProtocol" + } + } + } + }, + "ApplicationGatewayAvailableSslPredefinedPolicies": { + "type": "object", + "description": "Response for ApplicationGatewayAvailableSslOptions API service call.", + "properties": { + "value": { + "type": "array", + "description": "The ApplicationGatewaySslPredefinedPolicy items on this page", + "items": { + "$ref": "#/definitions/ApplicationGatewaySslPredefinedPolicy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApplicationGatewayAvailableWafRuleSetsResult": { + "type": "object", + "description": "Response for ApplicationGatewayAvailableWafRuleSets API service call.", + "properties": { + "value": { + "type": "array", + "description": "The list of application gateway rule sets.", + "items": { + "$ref": "#/definitions/ApplicationGatewayFirewallRuleSet" + } + } + } + }, + "ApplicationGatewayBackendHealth": { + "type": "object", + "description": "Response for ApplicationGatewayBackendHealth API service call.", + "properties": { + "backendAddressPools": { + "type": "array", + "description": "A list of ApplicationGatewayBackendHealthPool resources.", + "items": { + "$ref": "#/definitions/ApplicationGatewayBackendHealthPool" + } + } + } + }, + "ApplicationGatewayBackendHealthHttpSettings": { + "type": "object", + "description": "Application gateway BackendHealthHttp settings.", + "properties": { + "backendHttpSettings": { + "$ref": "#/definitions/ApplicationGatewayBackendHttpSettings", + "description": "Reference to an ApplicationGatewayBackendHttpSettings resource." + }, + "servers": { + "type": "array", + "description": "List of ApplicationGatewayBackendHealthServer resources.", + "items": { + "$ref": "#/definitions/ApplicationGatewayBackendHealthServer" + } + } + } + }, + "ApplicationGatewayBackendHealthOnDemand": { + "type": "object", + "description": "Result of on demand test probe.", + "properties": { + "backendAddressPool": { + "$ref": "#/definitions/Common.ApplicationGatewayBackendAddressPool", + "description": "Reference to an ApplicationGatewayBackendAddressPool resource." + }, + "backendHealthHttpSettings": { + "$ref": "#/definitions/ApplicationGatewayBackendHealthHttpSettings", + "description": "Application gateway BackendHealthHttp settings." + } + } + }, + "ApplicationGatewayBackendHealthPool": { + "type": "object", + "description": "Application gateway BackendHealth pool.", + "properties": { + "backendAddressPool": { + "$ref": "#/definitions/Common.ApplicationGatewayBackendAddressPool", + "description": "Reference to an ApplicationGatewayBackendAddressPool resource." + }, + "backendHttpSettingsCollection": { + "type": "array", + "description": "List of ApplicationGatewayBackendHealthHttpSettings resources.", + "items": { + "$ref": "#/definitions/ApplicationGatewayBackendHealthHttpSettings" + } + } + } + }, + "ApplicationGatewayBackendHealthServer": { + "type": "object", + "description": "Application gateway backendhealth http settings.", + "properties": { + "address": { + "type": "string", + "description": "IP address or FQDN of backend server." + }, + "ipConfiguration": { + "$ref": "./virtualNetwork.json#/definitions/Common.NetworkInterfaceIPConfiguration", + "description": "Reference to IP configuration of backend server." + }, + "health": { + "$ref": "./common.json#/definitions/ApplicationGatewayBackendHealthServerHealth", + "description": "Health of backend server." + }, + "healthProbeLog": { + "type": "string", + "description": "Health Probe Log." + } + } + }, + "ApplicationGatewayBackendHttpSettings": { + "type": "object", + "description": "Backend address pool settings of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayBackendHttpSettingsPropertiesFormat", + "description": "Properties of the application gateway backend HTTP settings.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the backend http settings that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayBackendHttpSettingsPropertiesFormat": { + "type": "object", + "description": "Properties of Backend address pool settings of an application gateway.", + "properties": { + "port": { + "type": "integer", + "format": "int32", + "description": "The destination port on the backend." + }, + "protocol": { + "$ref": "./common.json#/definitions/ApplicationGatewayProtocol", + "description": "The protocol used to communicate with the backend." + }, + "cookieBasedAffinity": { + "$ref": "./common.json#/definitions/ApplicationGatewayCookieBasedAffinity", + "description": "Cookie based affinity." + }, + "requestTimeout": { + "type": "integer", + "format": "int32", + "description": "Request timeout in seconds. Application Gateway will fail the request if response is not received within RequestTimeout. Acceptable values are from 1 second to 86400 seconds." + }, + "probe": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Probe resource of an application gateway." + }, + "authenticationCertificates": { + "type": "array", + "description": "Array of references to application gateway authentication certificates.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "trustedRootCertificates": { + "type": "array", + "description": "Array of references to application gateway trusted root certificates.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "connectionDraining": { + "$ref": "#/definitions/ApplicationGatewayConnectionDraining", + "description": "Connection draining of the backend http settings resource." + }, + "hostName": { + "type": "string", + "description": "Host header to be sent to the backend servers." + }, + "pickHostNameFromBackendAddress": { + "type": "boolean", + "description": "Whether to pick host header should be picked from the host name of the backend server. Default value is false." + }, + "affinityCookieName": { + "type": "string", + "description": "Cookie name to use for the affinity cookie." + }, + "probeEnabled": { + "type": "boolean", + "description": "Whether the probe is enabled. Default value is false." + }, + "path": { + "type": "string", + "description": "Path which should be used as a prefix for all HTTP requests. Null means no path will be prefixed. Default value is null." + }, + "dedicatedBackendConnection": { + "type": "boolean", + "description": "Enable or disable dedicated connection per backend server. Default is set to false." + }, + "validateCertChainAndExpiry": { + "type": "boolean", + "description": "Verify or skip both chain and expiry validations of the certificate on the backend server. Default is set to true.", + "default": true + }, + "validateSNI": { + "type": "boolean", + "description": "When enabled, verifies if the Common Name of the certificate provided by the backend server matches the Server Name Indication (SNI) value. Default value is true.", + "default": true + }, + "sniName": { + "type": "string", + "description": "Specify an SNI value to match the common name of the certificate on the backend. By default, the application gateway uses the incoming request’s host header as the SNI. Default value is null." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the backend HTTP settings resource.", + "readOnly": true + } + } + }, + "ApplicationGatewayBackendSettings": { + "type": "object", + "description": "Backend address pool settings of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayBackendSettingsPropertiesFormat", + "description": "Properties of the application gateway backend settings.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the backend settings that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayBackendSettingsPropertiesFormat": { + "type": "object", + "description": "Properties of Backend address pool settings of an application gateway.", + "properties": { + "port": { + "type": "integer", + "format": "int32", + "description": "The destination port on the backend." + }, + "protocol": { + "$ref": "./common.json#/definitions/ApplicationGatewayProtocol", + "description": "The protocol used to communicate with the backend." + }, + "timeout": { + "type": "integer", + "format": "int32", + "description": "Connection timeout in seconds. Application Gateway will fail the request if response is not received within ConnectionTimeout. Acceptable values are from 1 second to 86400 seconds." + }, + "probe": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Probe resource of an application gateway." + }, + "trustedRootCertificates": { + "type": "array", + "description": "Array of references to application gateway trusted root certificates.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "hostName": { + "type": "string", + "description": "Server name indication to be sent to the backend servers for Tls protocol." + }, + "pickHostNameFromBackendAddress": { + "type": "boolean", + "description": "Whether to pick server name indication from the host name of the backend server for Tls protocol. Default value is false." + }, + "enableL4ClientIpPreservation": { + "type": "boolean", + "description": "Whether to send Proxy Protocol header to backend servers over TCP or TLS protocols. Default value is false." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the backend HTTP settings resource.", + "readOnly": true + } + } + }, + "ApplicationGatewayClientAuthConfiguration": { + "type": "object", + "description": "Application gateway client authentication configuration.", + "properties": { + "verifyClientCertIssuerDN": { + "type": "boolean", + "description": "Verify client certificate issuer name on the application gateway." + }, + "verifyClientRevocation": { + "$ref": "./common.json#/definitions/ApplicationGatewayClientRevocationOptions", + "description": "Verify client certificate revocation status." + }, + "verifyClientAuthMode": { + "$ref": "./common.json#/definitions/ApplicationGatewayClientAuthVerificationModes", + "description": "Verify client Authentication mode." + } + } + }, + "ApplicationGatewayConnectionDraining": { + "type": "object", + "description": "Connection draining allows open connections to a backend server to be active for a specified time after the backend server got removed from the configuration.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether connection draining is enabled or not." + }, + "drainTimeoutInSec": { + "type": "integer", + "format": "int32", + "description": "The number of seconds connection draining is active. Acceptable values are from 1 second to 3600 seconds.", + "minimum": 1, + "maximum": 3600 + } + }, + "required": [ + "enabled", + "drainTimeoutInSec" + ] + }, + "ApplicationGatewayCustomError": { + "type": "object", + "description": "Custom error of an application gateway.", + "properties": { + "statusCode": { + "$ref": "./common.json#/definitions/ApplicationGatewayCustomErrorStatusCode", + "description": "Status code of the application gateway custom error." + }, + "customErrorPageUrl": { + "type": "string", + "description": "Error page URL of the application gateway custom error." + } + } + }, + "ApplicationGatewayEntraJWTValidationConfig": { + "type": "object", + "description": "Entra JWT Validation Configuration of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayEntraJWTValidationConfigPropertiesFormat", + "description": "Properties of the application gateway entra jwt validation configuration.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the entra jwt validation configuration that is unique within an application gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayEntraJWTValidationConfigPropertiesFormat": { + "type": "object", + "description": "Properties of entra jwt validation configuration of the application gateway.", + "properties": { + "unAuthorizedRequestAction": { + "$ref": "./common.json#/definitions/ApplicationGatewayUnAuthorizedRequestAction", + "description": "Unauthorized request action." + }, + "tenantId": { + "type": "string", + "description": "The Tenant ID of the Microsoft Entra ID application." + }, + "clientId": { + "type": "string", + "description": "The Client ID of the Microsoft Entra ID application." + }, + "audiences": { + "type": "array", + "description": "List of acceptable audience claims that can be present in the token (aud claim). A maximum of 5 audiences are permitted.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the entra jwt validation configuration resource.", + "readOnly": true + } + } + }, + "ApplicationGatewayFirewallDisabledRuleGroup": { + "type": "object", + "description": "Allows to disable rules within a rule group or an entire rule group.", + "properties": { + "ruleGroupName": { + "type": "string", + "description": "The name of the rule group that will be disabled." + }, + "rules": { + "type": "array", + "description": "The list of rules that will be disabled. If null, all rules of the rule group will be disabled.", + "items": { + "type": "integer", + "format": "int32" + } + } + }, + "required": [ + "ruleGroupName" + ] + }, + "ApplicationGatewayFirewallExclusion": { + "type": "object", + "description": "Allow to exclude some variable satisfy the condition for the WAF check.", + "properties": { + "matchVariable": { + "type": "string", + "description": "The variable to be excluded." + }, + "selectorMatchOperator": { + "type": "string", + "description": "When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to." + }, + "selector": { + "type": "string", + "description": "When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to." + } + }, + "required": [ + "matchVariable", + "selectorMatchOperator", + "selector" + ] + }, + "ApplicationGatewayFirewallManifestRuleSet": { + "type": "object", + "description": "Properties of the web application firewall rule set.", + "properties": { + "ruleSetType": { + "type": "string", + "description": "The type of the web application firewall rule set." + }, + "ruleSetVersion": { + "type": "string", + "description": "The version of the web application firewall rule set type." + }, + "status": { + "$ref": "./common.json#/definitions/ApplicationGatewayRuleSetStatusOptions", + "description": "The rule set status" + }, + "tiers": { + "type": "array", + "description": "Tier of an application gateway that support the rule set.", + "items": { + "$ref": "./common.json#/definitions/ApplicationGatewayTierTypes" + } + }, + "ruleGroups": { + "type": "array", + "description": "The rule groups of the web application firewall rule set.", + "items": { + "$ref": "#/definitions/ApplicationGatewayFirewallRuleGroup" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "ruleSetType", + "ruleSetVersion", + "ruleGroups" + ] + }, + "ApplicationGatewayFirewallRule": { + "type": "object", + "description": "A web application firewall rule.", + "properties": { + "ruleId": { + "type": "integer", + "format": "int32", + "description": "The identifier of the web application firewall rule." + }, + "ruleIdString": { + "type": "string", + "description": "The string representation of the web application firewall rule identifier." + }, + "state": { + "$ref": "./common.json#/definitions/ApplicationGatewayWafRuleStateTypes", + "description": "The string representation of the web application firewall rule state." + }, + "action": { + "$ref": "./common.json#/definitions/ApplicationGatewayWafRuleActionTypes", + "description": "The string representation of the web application firewall rule action." + }, + "sensitivity": { + "$ref": "./common.json#/definitions/ApplicationGatewayWafRuleSensitivityTypes", + "description": "The string representation of the web application firewall rule sensitivity." + }, + "description": { + "type": "string", + "description": "The description of the web application firewall rule." + } + }, + "required": [ + "ruleId" + ] + }, + "ApplicationGatewayFirewallRuleGroup": { + "type": "object", + "description": "A web application firewall rule group.", + "properties": { + "ruleGroupName": { + "type": "string", + "description": "The name of the web application firewall rule group." + }, + "description": { + "type": "string", + "description": "The description of the web application firewall rule group." + }, + "rules": { + "type": "array", + "description": "The rules of the web application firewall rule group.", + "items": { + "$ref": "#/definitions/ApplicationGatewayFirewallRule" + } + } + }, + "required": [ + "ruleGroupName", + "rules" + ] + }, + "ApplicationGatewayFirewallRuleSet": { + "type": "object", + "description": "A web application firewall rule set.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayFirewallRuleSetPropertiesFormat", + "description": "Properties of the application gateway firewall rule set.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "ApplicationGatewayFirewallRuleSetPropertiesFormat": { + "type": "object", + "description": "Properties of the web application firewall rule set.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the web application firewall rule set.", + "readOnly": true + }, + "ruleSetType": { + "type": "string", + "description": "The type of the web application firewall rule set." + }, + "ruleSetVersion": { + "type": "string", + "description": "The version of the web application firewall rule set type." + }, + "ruleGroups": { + "type": "array", + "description": "The rule groups of the web application firewall rule set.", + "items": { + "$ref": "#/definitions/ApplicationGatewayFirewallRuleGroup" + } + }, + "tiers": { + "type": "array", + "description": "Tier of an application gateway that support the rule set.", + "items": { + "$ref": "./common.json#/definitions/ApplicationGatewayTierTypes" + } + } + }, + "required": [ + "ruleSetType", + "ruleSetVersion", + "ruleGroups" + ] + }, + "ApplicationGatewayForContainersReferenceDefinition": { + "type": "object", + "description": "Defines an application gateway for containers reference.", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "Resource Id of the application gateway for containers.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.ServiceNetworking/trafficControllers" + } + ] + } + } + }, + "required": [ + "id" + ] + }, + "ApplicationGatewayFrontendIPConfiguration": { + "type": "object", + "description": "Frontend IP configuration of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayFrontendIPConfigurationPropertiesFormat", + "description": "Properties of the application gateway frontend IP configuration.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the frontend IP configuration that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayFrontendIPConfigurationPropertiesFormat": { + "type": "object", + "description": "Properties of Frontend IP configuration of an application gateway.", + "properties": { + "privateIPAddress": { + "type": "string", + "description": "PrivateIPAddress of the network interface IP Configuration." + }, + "privateIPAllocationMethod": { + "$ref": "./common.json#/definitions/Common.IPAllocationMethod", + "description": "The private IP address allocation method." + }, + "subnet": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to the subnet resource." + }, + "publicIPAddress": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to the PublicIP resource." + }, + "privateLinkConfiguration": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to the application gateway private link configuration." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the frontend IP configuration resource.", + "readOnly": true + } + } + }, + "ApplicationGatewayFrontendPort": { + "type": "object", + "description": "Frontend port of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayFrontendPortPropertiesFormat", + "description": "Properties of the application gateway frontend port.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the frontend port that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayFrontendPortPropertiesFormat": { + "type": "object", + "description": "Properties of Frontend port of an application gateway.", + "properties": { + "port": { + "type": "integer", + "format": "int32", + "description": "Frontend port." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the frontend port resource.", + "readOnly": true + } + } + }, + "ApplicationGatewayGlobalConfiguration": { + "type": "object", + "description": "Application Gateway global configuration.", + "properties": { + "enableRequestBuffering": { + "type": "boolean", + "description": "Enable request buffering." + }, + "enableResponseBuffering": { + "type": "boolean", + "description": "Enable response buffering." + } + } + }, + "ApplicationGatewayHeaderConfiguration": { + "type": "object", + "description": "Header configuration of the Actions set in Application Gateway.", + "properties": { + "headerName": { + "type": "string", + "description": "Header name of the header configuration." + }, + "headerValueMatcher": { + "$ref": "#/definitions/HeaderValueMatcher", + "description": "An optional field under \"Rewrite Action\". It lets you capture and modify the value(s) of a specific header when multiple headers with the same name exist. Currently supported for Set-Cookie Response header only. For more details, visit https://aka.ms/appgwheadercrud" + }, + "headerValue": { + "type": "string", + "description": "Header value of the header configuration." + } + } + }, + "ApplicationGatewayHttpListener": { + "type": "object", + "description": "Http listener of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayHttpListenerPropertiesFormat", + "description": "Properties of the application gateway HTTP listener.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the HTTP listener that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayHttpListenerPropertiesFormat": { + "type": "object", + "description": "Properties of HTTP listener of an application gateway.", + "properties": { + "frontendIPConfiguration": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Frontend IP configuration resource of an application gateway." + }, + "frontendPort": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Frontend port resource of an application gateway." + }, + "protocol": { + "$ref": "./common.json#/definitions/ApplicationGatewayProtocol", + "description": "Protocol of the HTTP listener." + }, + "hostName": { + "type": "string", + "description": "Host name of HTTP listener." + }, + "sslCertificate": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "SSL certificate resource of an application gateway." + }, + "sslProfile": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "SSL profile resource of the application gateway." + }, + "requireServerNameIndication": { + "type": "boolean", + "description": "Applicable only if protocol is https. Enables SNI for multi-hosting." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the HTTP listener resource.", + "readOnly": true + }, + "customErrorConfigurations": { + "type": "array", + "description": "Custom error configurations of the HTTP listener.", + "items": { + "$ref": "#/definitions/ApplicationGatewayCustomError" + } + }, + "firewallPolicy": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to the FirewallPolicy resource." + }, + "hostNames": { + "type": "array", + "description": "List of Host names for HTTP Listener that allows special wildcard characters as well.", + "items": { + "type": "string" + } + } + } + }, + "ApplicationGatewayListResult": { + "type": "object", + "description": "The response of a ApplicationGateway list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ApplicationGateway items on this page", + "items": { + "$ref": "#/definitions/ApplicationGateway" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApplicationGatewayListener": { + "type": "object", + "description": "Listener of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayListenerPropertiesFormat", + "description": "Properties of the application gateway listener.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the listener that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayListenerPropertiesFormat": { + "type": "object", + "description": "Properties of listener of an application gateway.", + "properties": { + "frontendIPConfiguration": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Frontend IP configuration resource of an application gateway." + }, + "frontendPort": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Frontend port resource of an application gateway." + }, + "protocol": { + "$ref": "./common.json#/definitions/ApplicationGatewayProtocol", + "description": "Protocol of the listener." + }, + "sslCertificate": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "SSL certificate resource of an application gateway." + }, + "sslProfile": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "SSL profile resource of the application gateway." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the listener resource.", + "readOnly": true + }, + "hostNames": { + "type": "array", + "description": "List of Server Name Indications(SNI) for TLS Multi-site Listener that allows special wildcard characters as well.", + "items": { + "type": "string" + } + } + } + }, + "ApplicationGatewayLoadDistributionPolicy": { + "type": "object", + "description": "Load Distribution Policy of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayLoadDistributionPolicyPropertiesFormat", + "description": "Properties of the application gateway load distribution policy.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the load distribution policy that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayLoadDistributionPolicyPropertiesFormat": { + "type": "object", + "description": "Properties of Load Distribution Policy of an application gateway.", + "properties": { + "loadDistributionTargets": { + "type": "array", + "description": "Load Distribution Targets resource of an application gateway.", + "items": { + "$ref": "#/definitions/ApplicationGatewayLoadDistributionTarget" + } + }, + "loadDistributionAlgorithm": { + "$ref": "./common.json#/definitions/ApplicationGatewayLoadDistributionAlgorithm", + "description": "Load Distribution Targets resource of an application gateway." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the Load Distribution Policy resource.", + "readOnly": true + } + } + }, + "ApplicationGatewayLoadDistributionTarget": { + "type": "object", + "description": "Load Distribution Target of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayLoadDistributionTargetPropertiesFormat", + "description": "Properties of the application gateway load distribution target.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the load distribution policy that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayLoadDistributionTargetPropertiesFormat": { + "type": "object", + "properties": { + "weightPerServer": { + "type": "integer", + "format": "int32", + "description": "Weight per server. Range between 1 and 100.", + "minimum": 1, + "maximum": 100 + }, + "backendAddressPool": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Backend address pool resource of the application gateway." + } + } + }, + "ApplicationGatewayManagedHsm": { + "type": "object", + "description": "Managed HSM properties of an application gateway.", + "properties": { + "keyId": { + "type": "string", + "format": "uri", + "description": "Key identifier of a key stored in Managed HSM." + }, + "publicCertData": { + "type": "string", + "description": "Base-64 encoded value of a base-64 public certificate." + } + } + }, + "ApplicationGatewayOnDemandProbe": { + "type": "object", + "description": "Details of on demand test probe request.", + "properties": { + "protocol": { + "$ref": "./common.json#/definitions/ApplicationGatewayProtocol", + "description": "The protocol used for the probe." + }, + "host": { + "type": "string", + "description": "Host name to send the probe to." + }, + "path": { + "type": "string", + "description": "Relative path of probe. Valid path starts from '/'. Probe is sent to ://:." + }, + "timeout": { + "type": "integer", + "format": "int32", + "description": "The probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds." + }, + "pickHostNameFromBackendHttpSettings": { + "type": "boolean", + "description": "Whether the host header should be picked from the backend http settings. Default value is false." + }, + "enableProbeProxyProtocolHeader": { + "type": "boolean", + "description": "Whether to send Proxy Protocol header along with the Health Probe over TCP or TLS protocol. Default value is false." + }, + "match": { + "$ref": "#/definitions/ApplicationGatewayProbeHealthResponseMatch", + "description": "Criterion for classifying a healthy probe response." + }, + "backendAddressPool": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to backend pool of application gateway to which probe request will be sent." + }, + "backendHttpSettings": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to backend http setting of application gateway to be used for test probe." + } + } + }, + "ApplicationGatewayPathRule": { + "type": "object", + "description": "Path rule of URL path map of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayPathRulePropertiesFormat", + "description": "Properties of the application gateway path rule.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the path rule that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayPathRulePropertiesFormat": { + "type": "object", + "description": "Properties of path rule of an application gateway.", + "properties": { + "paths": { + "type": "array", + "description": "Path rules of URL path map.", + "items": { + "type": "string" + } + }, + "backendAddressPool": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Backend address pool resource of URL path map path rule." + }, + "backendHttpSettings": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Backend http settings resource of URL path map path rule." + }, + "redirectConfiguration": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Redirect configuration resource of URL path map path rule." + }, + "rewriteRuleSet": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Rewrite rule set resource of URL path map path rule." + }, + "loadDistributionPolicy": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Load Distribution Policy resource of URL path map path rule." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the path rule resource.", + "readOnly": true + }, + "firewallPolicy": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to the FirewallPolicy resource." + } + } + }, + "ApplicationGatewayPrivateEndpointConnection": { + "type": "object", + "description": "Private Endpoint connection on an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayPrivateEndpointConnectionProperties", + "description": "Properties of the application gateway private endpoint connection.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "ApplicationGatewayPrivateEndpointConnectionListResult": { + "type": "object", + "description": "The response of a ApplicationGatewayPrivateEndpointConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ApplicationGatewayPrivateEndpointConnection items on this page", + "items": { + "$ref": "#/definitions/ApplicationGatewayPrivateEndpointConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApplicationGatewayPrivateEndpointConnectionProperties": { + "type": "object", + "description": "Properties of Private Link Resource of an application gateway.", + "properties": { + "privateEndpoint": { + "$ref": "./virtualNetwork.json#/definitions/Common.PrivateEndpoint", + "description": "The resource of private end point.", + "readOnly": true + }, + "privateLinkServiceConnectionState": { + "$ref": "./virtualNetwork.json#/definitions/Common.PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the application gateway private endpoint connection resource.", + "readOnly": true + }, + "linkIdentifier": { + "type": "string", + "description": "The consumer link id.", + "readOnly": true + } + } + }, + "ApplicationGatewayPrivateLinkConfiguration": { + "type": "object", + "description": "Private Link Configuration on an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayPrivateLinkConfigurationProperties", + "description": "Properties of the application gateway private link configuration.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the private link configuration that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayPrivateLinkConfigurationProperties": { + "type": "object", + "description": "Properties of private link configuration on an application gateway.", + "properties": { + "ipConfigurations": { + "type": "array", + "description": "An array of application gateway private link ip configurations.", + "items": { + "$ref": "#/definitions/ApplicationGatewayPrivateLinkIpConfiguration" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the application gateway private link configuration.", + "readOnly": true + } + } + }, + "ApplicationGatewayPrivateLinkIpConfiguration": { + "type": "object", + "description": "The application gateway private link ip configuration.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayPrivateLinkIpConfigurationProperties", + "description": "Properties of an application gateway private link ip configuration.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of application gateway private link ip configuration." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The resource type.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayPrivateLinkIpConfigurationProperties": { + "type": "object", + "description": "Properties of an application gateway private link IP configuration.", + "properties": { + "privateIPAddress": { + "type": "string", + "description": "The private IP address of the IP configuration." + }, + "privateIPAllocationMethod": { + "$ref": "./common.json#/definitions/Common.IPAllocationMethod", + "description": "The private IP address allocation method." + }, + "subnet": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to the subnet resource." + }, + "primary": { + "type": "boolean", + "description": "Whether the ip configuration is primary or not." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the application gateway private link IP configuration.", + "readOnly": true + } + } + }, + "ApplicationGatewayPrivateLinkResource": { + "type": "object", + "description": "PrivateLink Resource of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayPrivateLinkResourceProperties", + "description": "Properties of the application gateway private link resource.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the private link resource that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayPrivateLinkResourceListResult": { + "type": "object", + "description": "The response of a ApplicationGatewayPrivateLinkResource list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ApplicationGatewayPrivateLinkResource items on this page", + "items": { + "$ref": "#/definitions/ApplicationGatewayPrivateLinkResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApplicationGatewayPrivateLinkResourceProperties": { + "type": "object", + "description": "Properties of a private link resource.", + "properties": { + "groupId": { + "type": "string", + "description": "Group identifier of private link resource.", + "readOnly": true + }, + "requiredMembers": { + "type": "array", + "description": "Required member names of private link resource.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "requiredZoneNames": { + "type": "array", + "description": "Required DNS zone names of the the private link resource.", + "items": { + "type": "string" + } + } + } + }, + "ApplicationGatewayProbe": { + "type": "object", + "description": "Probe of the application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayProbePropertiesFormat", + "description": "Properties of the application gateway probe.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the probe that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayProbeHealthResponseMatch": { + "type": "object", + "description": "Application gateway probe health response match.", + "properties": { + "body": { + "type": "string", + "description": "Body that must be contained in the health response. Default value is empty." + }, + "statusCodes": { + "type": "array", + "description": "Allowed ranges of healthy status codes. Default range of healthy status codes is 200-399.", + "items": { + "type": "string" + } + } + } + }, + "ApplicationGatewayProbePropertiesFormat": { + "type": "object", + "description": "Properties of probe of an application gateway.", + "properties": { + "protocol": { + "$ref": "./common.json#/definitions/ApplicationGatewayProtocol", + "description": "The protocol used for the probe." + }, + "host": { + "type": "string", + "description": "Host name to send the probe to." + }, + "path": { + "type": "string", + "description": "Relative path of probe. Valid path starts from '/'. Probe is sent to ://:." + }, + "interval": { + "type": "integer", + "format": "int32", + "description": "The probing interval in seconds. This is the time interval between two consecutive probes. Acceptable values are from 1 second to 86400 seconds." + }, + "timeout": { + "type": "integer", + "format": "int32", + "description": "The probe timeout in seconds. Probe marked as failed if valid response is not received with this timeout period. Acceptable values are from 1 second to 86400 seconds." + }, + "unhealthyThreshold": { + "type": "integer", + "format": "int32", + "description": "The probe retry count. Backend server is marked down after consecutive probe failure count reaches UnhealthyThreshold. Acceptable values are from 1 second to 20." + }, + "pickHostNameFromBackendHttpSettings": { + "type": "boolean", + "description": "Whether the host header should be picked from the backend http settings. Default value is false." + }, + "pickHostNameFromBackendSettings": { + "type": "boolean", + "description": "Whether the server name indication should be picked from the backend settings for Tls protocol. Default value is false." + }, + "minServers": { + "type": "integer", + "format": "int32", + "description": "Minimum number of servers that are always marked healthy. Default value is 0." + }, + "match": { + "$ref": "#/definitions/ApplicationGatewayProbeHealthResponseMatch", + "description": "Criterion for classifying a healthy probe response." + }, + "enableProbeProxyProtocolHeader": { + "type": "boolean", + "description": "Whether to send Proxy Protocol header along with the Health Probe over TCP or TLS protocol. Default value is false." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the probe resource.", + "readOnly": true + }, + "port": { + "type": "integer", + "format": "int32", + "description": "Custom port which will be used for probing the backend servers. The valid value ranges from 1 to 65535. In case not set, port from http settings will be used. This property is valid for Basic, Standard_v2 and WAF_v2 only.", + "minimum": 1, + "maximum": 65535 + } + } + }, + "ApplicationGatewayPropertiesFormat": { + "type": "object", + "description": "Properties of the application gateway.", + "properties": { + "sku": { + "$ref": "#/definitions/ApplicationGatewaySku", + "description": "SKU of the application gateway resource." + }, + "sslPolicy": { + "$ref": "#/definitions/ApplicationGatewaySslPolicy", + "description": "SSL policy of the application gateway resource." + }, + "operationalState": { + "$ref": "./common.json#/definitions/ApplicationGatewayOperationalState", + "description": "Operational state of the application gateway resource.", + "readOnly": true + }, + "gatewayIPConfigurations": { + "type": "array", + "description": "Subnets of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).", + "items": { + "$ref": "#/definitions/Common.ApplicationGatewayIPConfiguration" + } + }, + "authenticationCertificates": { + "type": "array", + "description": "Authentication certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).", + "items": { + "$ref": "#/definitions/ApplicationGatewayAuthenticationCertificate" + } + }, + "trustedRootCertificates": { + "type": "array", + "description": "Trusted Root certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).", + "items": { + "$ref": "#/definitions/ApplicationGatewayTrustedRootCertificate" + } + }, + "trustedClientCertificates": { + "type": "array", + "description": "Trusted client certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).", + "items": { + "$ref": "#/definitions/ApplicationGatewayTrustedClientCertificate" + } + }, + "sslCertificates": { + "type": "array", + "description": "SSL certificates of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).", + "items": { + "$ref": "#/definitions/ApplicationGatewaySslCertificate" + } + }, + "frontendIPConfigurations": { + "type": "array", + "description": "Frontend IP addresses of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).", + "items": { + "$ref": "#/definitions/ApplicationGatewayFrontendIPConfiguration" + } + }, + "frontendPorts": { + "type": "array", + "description": "Frontend ports of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).", + "items": { + "$ref": "#/definitions/ApplicationGatewayFrontendPort" + } + }, + "probes": { + "type": "array", + "description": "Probes of the application gateway resource.", + "items": { + "$ref": "#/definitions/ApplicationGatewayProbe" + } + }, + "backendAddressPools": { + "type": "array", + "description": "Backend address pool of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).", + "items": { + "$ref": "#/definitions/Common.ApplicationGatewayBackendAddressPool" + } + }, + "backendHttpSettingsCollection": { + "type": "array", + "description": "Backend http settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).", + "items": { + "$ref": "#/definitions/ApplicationGatewayBackendHttpSettings" + } + }, + "backendSettingsCollection": { + "type": "array", + "description": "Backend settings of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).", + "items": { + "$ref": "#/definitions/ApplicationGatewayBackendSettings" + } + }, + "httpListeners": { + "type": "array", + "description": "Http listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).", + "items": { + "$ref": "#/definitions/ApplicationGatewayHttpListener" + } + }, + "listeners": { + "type": "array", + "description": "Listeners of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).", + "items": { + "$ref": "#/definitions/ApplicationGatewayListener" + } + }, + "sslProfiles": { + "type": "array", + "description": "SSL profiles of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).", + "items": { + "$ref": "#/definitions/ApplicationGatewaySslProfile" + } + }, + "urlPathMaps": { + "type": "array", + "description": "URL path map of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).", + "items": { + "$ref": "#/definitions/ApplicationGatewayUrlPathMap" + } + }, + "requestRoutingRules": { + "type": "array", + "description": "Request routing rules of the application gateway resource.", + "items": { + "$ref": "#/definitions/ApplicationGatewayRequestRoutingRule" + } + }, + "routingRules": { + "type": "array", + "description": "Routing rules of the application gateway resource.", + "items": { + "$ref": "#/definitions/ApplicationGatewayRoutingRule" + } + }, + "rewriteRuleSets": { + "type": "array", + "description": "Rewrite rules for the application gateway resource.", + "items": { + "$ref": "#/definitions/ApplicationGatewayRewriteRuleSet" + } + }, + "redirectConfigurations": { + "type": "array", + "description": "Redirect configurations of the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).", + "items": { + "$ref": "#/definitions/ApplicationGatewayRedirectConfiguration" + } + }, + "webApplicationFirewallConfiguration": { + "$ref": "#/definitions/ApplicationGatewayWebApplicationFirewallConfiguration", + "description": "Web application firewall configuration." + }, + "firewallPolicy": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to the FirewallPolicy resource." + }, + "enableHttp2": { + "type": "boolean", + "description": "Whether HTTP2 is enabled on the application gateway resource." + }, + "enableFips": { + "type": "boolean", + "description": "Whether FIPS is enabled on the application gateway resource." + }, + "autoscaleConfiguration": { + "$ref": "#/definitions/ApplicationGatewayAutoscaleConfiguration", + "description": "Autoscale Configuration." + }, + "privateLinkConfigurations": { + "type": "array", + "description": "PrivateLink configurations on application gateway.", + "items": { + "$ref": "#/definitions/ApplicationGatewayPrivateLinkConfiguration" + } + }, + "privateEndpointConnections": { + "type": "array", + "description": "Private Endpoint connections on application gateway.", + "items": { + "$ref": "#/definitions/ApplicationGatewayPrivateEndpointConnection" + }, + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the application gateway resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the application gateway resource.", + "readOnly": true + }, + "customErrorConfigurations": { + "type": "array", + "description": "Custom error configurations of the application gateway resource.", + "items": { + "$ref": "#/definitions/ApplicationGatewayCustomError" + } + }, + "forceFirewallPolicyAssociation": { + "type": "boolean", + "description": "If true, associates a firewall policy with an application gateway regardless whether the policy differs from the WAF Config." + }, + "loadDistributionPolicies": { + "type": "array", + "description": "Load distribution policies of the application gateway resource.", + "items": { + "$ref": "#/definitions/ApplicationGatewayLoadDistributionPolicy" + } + }, + "entraJWTValidationConfigs": { + "type": "array", + "description": "Entra JWT validation configurations for the application gateway resource. For default limits, see [Application Gateway limits](https://docs.microsoft.com/azure/azure-subscription-service-limits#application-gateway-limits).", + "items": { + "$ref": "#/definitions/ApplicationGatewayEntraJWTValidationConfig" + } + }, + "globalConfiguration": { + "$ref": "#/definitions/ApplicationGatewayGlobalConfiguration", + "description": "Global Configuration." + }, + "defaultPredefinedSslPolicy": { + "$ref": "./common.json#/definitions/ApplicationGatewaySslPolicyName", + "description": "The default predefined SSL Policy applied on the application gateway resource.", + "readOnly": true + } + } + }, + "ApplicationGatewayRedirectConfiguration": { + "type": "object", + "description": "Redirect configuration of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayRedirectConfigurationPropertiesFormat", + "description": "Properties of the application gateway redirect configuration.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the redirect configuration that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayRedirectConfigurationPropertiesFormat": { + "type": "object", + "description": "Properties of redirect configuration of the application gateway.", + "properties": { + "redirectType": { + "$ref": "./common.json#/definitions/ApplicationGatewayRedirectType", + "description": "HTTP redirection type." + }, + "targetListener": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to a listener to redirect the request to." + }, + "targetUrl": { + "type": "string", + "description": "Url to redirect the request to." + }, + "includePath": { + "type": "boolean", + "description": "Include path in the redirected url." + }, + "includeQueryString": { + "type": "boolean", + "description": "Include query string in the redirected url." + }, + "requestRoutingRules": { + "type": "array", + "description": "Request routing specifying redirect configuration.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "urlPathMaps": { + "type": "array", + "description": "Url path maps specifying default redirect configuration.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "pathRules": { + "type": "array", + "description": "Path rules specifying redirect configuration.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + } + } + }, + "ApplicationGatewayRequestRoutingRule": { + "type": "object", + "description": "Request routing rule of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayRequestRoutingRulePropertiesFormat", + "description": "Properties of the application gateway request routing rule.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the request routing rule that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayRequestRoutingRulePropertiesFormat": { + "type": "object", + "description": "Properties of request routing rule of the application gateway.", + "properties": { + "ruleType": { + "$ref": "./common.json#/definitions/ApplicationGatewayRequestRoutingRuleType", + "description": "Rule type." + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "Priority of the request routing rule.", + "minimum": 1, + "maximum": 20000 + }, + "backendAddressPool": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Backend address pool resource of the application gateway." + }, + "backendHttpSettings": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Backend http settings resource of the application gateway." + }, + "httpListener": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Http listener resource of the application gateway." + }, + "urlPathMap": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "URL path map resource of the application gateway." + }, + "rewriteRuleSet": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Rewrite Rule Set resource in Basic rule of the application gateway." + }, + "redirectConfiguration": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Redirect configuration resource of the application gateway." + }, + "loadDistributionPolicy": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Load Distribution Policy resource of the application gateway." + }, + "entraJWTValidationConfig": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Entra JWT validation configuration resource of the application gateway." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the request routing rule resource.", + "readOnly": true + } + } + }, + "ApplicationGatewayRewriteRule": { + "type": "object", + "description": "Rewrite rule of an application gateway.", + "properties": { + "name": { + "type": "string", + "description": "Name of the rewrite rule that is unique within an Application Gateway." + }, + "ruleSequence": { + "type": "integer", + "format": "int32", + "description": "Rule Sequence of the rewrite rule that determines the order of execution of a particular rule in a RewriteRuleSet." + }, + "conditions": { + "type": "array", + "description": "Conditions based on which the action set execution will be evaluated.", + "items": { + "$ref": "#/definitions/ApplicationGatewayRewriteRuleCondition" + } + }, + "actionSet": { + "$ref": "#/definitions/ApplicationGatewayRewriteRuleActionSet", + "description": "Set of actions to be done as part of the rewrite Rule." + } + } + }, + "ApplicationGatewayRewriteRuleActionSet": { + "type": "object", + "description": "Set of actions in the Rewrite Rule in Application Gateway.", + "properties": { + "requestHeaderConfigurations": { + "type": "array", + "description": "Request Header Actions in the Action Set.", + "items": { + "$ref": "#/definitions/ApplicationGatewayHeaderConfiguration" + } + }, + "responseHeaderConfigurations": { + "type": "array", + "description": "Response Header Actions in the Action Set.", + "items": { + "$ref": "#/definitions/ApplicationGatewayHeaderConfiguration" + } + }, + "urlConfiguration": { + "$ref": "#/definitions/ApplicationGatewayUrlConfiguration", + "description": "Url Configuration Action in the Action Set." + } + } + }, + "ApplicationGatewayRewriteRuleCondition": { + "type": "object", + "description": "Set of conditions in the Rewrite Rule in Application Gateway.", + "properties": { + "variable": { + "type": "string", + "description": "The condition parameter of the RewriteRuleCondition." + }, + "pattern": { + "type": "string", + "description": "The pattern, either fixed string or regular expression, that evaluates the truthfulness of the condition." + }, + "ignoreCase": { + "type": "boolean", + "description": "Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison." + }, + "negate": { + "type": "boolean", + "description": "Setting this value as truth will force to check the negation of the condition given by the user." + } + } + }, + "ApplicationGatewayRewriteRuleSet": { + "type": "object", + "description": "Rewrite rule set of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayRewriteRuleSetPropertiesFormat", + "description": "Properties of the application gateway rewrite rule set.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the rewrite rule set that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayRewriteRuleSetPropertiesFormat": { + "type": "object", + "description": "Properties of rewrite rule set of the application gateway.", + "properties": { + "rewriteRules": { + "type": "array", + "description": "Rewrite rules in the rewrite rule set.", + "items": { + "$ref": "#/definitions/ApplicationGatewayRewriteRule" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the rewrite rule set resource.", + "readOnly": true + } + } + }, + "ApplicationGatewayRoutingRule": { + "type": "object", + "description": "Routing rule of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayRoutingRulePropertiesFormat", + "description": "Properties of the application gateway routing rule.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the routing rule that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayRoutingRulePropertiesFormat": { + "type": "object", + "description": "Properties of routing rule of the application gateway.", + "properties": { + "ruleType": { + "$ref": "./common.json#/definitions/ApplicationGatewayRequestRoutingRuleType", + "description": "Rule type." + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "Priority of the routing rule.", + "minimum": 1, + "maximum": 20000 + }, + "backendAddressPool": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Backend address pool resource of the application gateway." + }, + "backendSettings": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Backend settings resource of the application gateway." + }, + "listener": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Listener resource of the application gateway." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the request routing rule resource.", + "readOnly": true + } + }, + "required": [ + "priority" + ] + }, + "ApplicationGatewaySku": { + "type": "object", + "description": "SKU of an application gateway.", + "properties": { + "name": { + "$ref": "./common.json#/definitions/ApplicationGatewaySkuName", + "description": "Name of an application gateway SKU." + }, + "tier": { + "$ref": "./common.json#/definitions/ApplicationGatewayTier", + "description": "Tier of an application gateway." + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "Capacity (instance count) of an application gateway." + }, + "family": { + "$ref": "./common.json#/definitions/ApplicationGatewaySkuFamily", + "description": "Family of an application gateway SKU." + } + } + }, + "ApplicationGatewaySslCertificate": { + "type": "object", + "description": "SSL certificates of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewaySslCertificatePropertiesFormat", + "description": "Properties of the application gateway SSL certificate.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the SSL certificate that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewaySslCertificatePropertiesFormat": { + "type": "object", + "description": "Properties of SSL certificates of an application gateway.", + "properties": { + "data": { + "type": "string", + "description": "Base-64 encoded pfx certificate. Only applicable in PUT Request." + }, + "password": { + "type": "string", + "description": "Password for the pfx file specified in data. Only applicable in PUT request." + }, + "publicCertData": { + "type": "string", + "description": "Base-64 encoded Public cert data corresponding to pfx specified in data. Only applicable in GET request.", + "readOnly": true + }, + "keyVaultSecretId": { + "type": "string", + "description": "Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault." + }, + "hsm": { + "$ref": "#/definitions/ApplicationGatewayManagedHsm", + "description": "Managed HSM properties of the Application Gateway resource." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the SSL certificate resource.", + "readOnly": true + } + } + }, + "ApplicationGatewaySslPolicy": { + "type": "object", + "description": "Application Gateway Ssl policy.", + "properties": { + "disabledSslProtocols": { + "type": "array", + "description": "Ssl protocols to be disabled on application gateway.", + "items": { + "$ref": "./common.json#/definitions/ApplicationGatewaySslProtocol" + } + }, + "policyType": { + "$ref": "./common.json#/definitions/ApplicationGatewaySslPolicyType", + "description": "Type of Ssl Policy." + }, + "policyName": { + "$ref": "./common.json#/definitions/ApplicationGatewaySslPolicyName", + "description": "Name of Ssl predefined policy." + }, + "cipherSuites": { + "type": "array", + "description": "Ssl cipher suites to be enabled in the specified order to application gateway.", + "items": { + "$ref": "./common.json#/definitions/ApplicationGatewaySslCipherSuite" + } + }, + "minProtocolVersion": { + "$ref": "./common.json#/definitions/ApplicationGatewaySslProtocol", + "description": "Minimum version of Ssl protocol to be supported on application gateway." + } + } + }, + "ApplicationGatewaySslPredefinedPolicy": { + "type": "object", + "description": "An Ssl predefined policy.", + "properties": { + "name": { + "type": "string", + "description": "Name of the Ssl predefined policy." + }, + "properties": { + "$ref": "#/definitions/ApplicationGatewaySslPredefinedPolicyPropertiesFormat", + "description": "Properties of the application gateway SSL predefined policy.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewaySslPredefinedPolicyPropertiesFormat": { + "type": "object", + "description": "Properties of ApplicationGatewaySslPredefinedPolicy.", + "properties": { + "cipherSuites": { + "type": "array", + "description": "Ssl cipher suites to be enabled in the specified order for application gateway.", + "items": { + "$ref": "./common.json#/definitions/ApplicationGatewaySslCipherSuite" + } + }, + "minProtocolVersion": { + "$ref": "./common.json#/definitions/ApplicationGatewaySslProtocol", + "description": "Minimum version of Ssl protocol to be supported on application gateway." + } + } + }, + "ApplicationGatewaySslProfile": { + "type": "object", + "description": "SSL profile of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewaySslProfilePropertiesFormat", + "description": "Properties of the application gateway SSL profile.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the SSL profile that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewaySslProfilePropertiesFormat": { + "type": "object", + "description": "Properties of SSL profile of an application gateway.", + "properties": { + "trustedClientCertificates": { + "type": "array", + "description": "Array of references to application gateway trusted client certificates.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "sslPolicy": { + "$ref": "#/definitions/ApplicationGatewaySslPolicy", + "description": "SSL policy of the application gateway resource." + }, + "clientAuthConfiguration": { + "$ref": "#/definitions/ApplicationGatewayClientAuthConfiguration", + "description": "Client authentication configuration of the application gateway resource." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the HTTP listener resource.", + "readOnly": true + } + } + }, + "ApplicationGatewayTrustedClientCertificate": { + "type": "object", + "description": "Trusted client certificates of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayTrustedClientCertificatePropertiesFormat", + "description": "Properties of the application gateway trusted client certificate.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the trusted client certificate that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayTrustedClientCertificatePropertiesFormat": { + "type": "object", + "description": "Trusted client certificates properties of an application gateway.", + "properties": { + "data": { + "type": "string", + "description": "Certificate public data." + }, + "validatedCertData": { + "type": "string", + "description": "Validated certificate data.", + "readOnly": true + }, + "clientCertIssuerDN": { + "type": "string", + "description": "Distinguished name of client certificate issuer.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the trusted client certificate resource.", + "readOnly": true + } + } + }, + "ApplicationGatewayTrustedRootCertificate": { + "type": "object", + "description": "Trusted Root certificates of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayTrustedRootCertificatePropertiesFormat", + "description": "Properties of the application gateway trusted root certificate.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the trusted root certificate that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayTrustedRootCertificatePropertiesFormat": { + "type": "object", + "description": "Trusted Root certificates properties of an application gateway.", + "properties": { + "data": { + "type": "string", + "description": "Certificate public data." + }, + "keyVaultSecretId": { + "type": "string", + "description": "Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the trusted root certificate resource.", + "readOnly": true + } + } + }, + "ApplicationGatewayUrlConfiguration": { + "type": "object", + "description": "Url configuration of the Actions set in Application Gateway.", + "properties": { + "modifiedPath": { + "type": "string", + "description": "Url path which user has provided for url rewrite. Null means no path will be updated. Default value is null." + }, + "modifiedQueryString": { + "type": "string", + "description": "Query string which user has provided for url rewrite. Null means no query string will be updated. Default value is null." + }, + "reroute": { + "type": "boolean", + "description": "If set as true, it will re-evaluate the url path map provided in path based request routing rules using modified path. Default value is false." + } + } + }, + "ApplicationGatewayUrlPathMap": { + "type": "object", + "description": "UrlPathMaps give a url path to the backend mapping information for PathBasedRouting.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayUrlPathMapPropertiesFormat", + "description": "Properties of the application gateway URL path map.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the URL path map that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ApplicationGatewayUrlPathMapPropertiesFormat": { + "type": "object", + "description": "Properties of UrlPathMap of the application gateway.", + "properties": { + "defaultBackendAddressPool": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Default backend address pool resource of URL path map." + }, + "defaultBackendHttpSettings": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Default backend http settings resource of URL path map." + }, + "defaultRewriteRuleSet": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Default Rewrite rule set resource of URL path map." + }, + "defaultRedirectConfiguration": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Default redirect configuration resource of URL path map." + }, + "defaultLoadDistributionPolicy": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Default Load Distribution Policy resource of URL path map." + }, + "pathRules": { + "type": "array", + "description": "Path rule of URL path map resource.", + "items": { + "$ref": "#/definitions/ApplicationGatewayPathRule" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the URL path map resource.", + "readOnly": true + } + } + }, + "ApplicationGatewayWafDynamicManifestPropertiesResult": { + "type": "object", + "description": "Properties of ApplicationGatewayWafDynamicManifest.", + "properties": { + "defaultRuleSet": { + "$ref": "#/definitions/DefaultRuleSetPropertyFormat", + "description": "The default ruleset.", + "x-ms-client-flatten": true + }, + "availableRuleSets": { + "type": "array", + "description": "The available rulesets.", + "items": { + "$ref": "#/definitions/ApplicationGatewayFirewallManifestRuleSet" + }, + "x-ms-client-flatten": true, + "x-ms-identifiers": [] + } + } + }, + "ApplicationGatewayWafDynamicManifestResult": { + "type": "object", + "description": "Response for ApplicationGatewayWafDynamicManifest API service call.", + "properties": { + "properties": { + "$ref": "#/definitions/ApplicationGatewayWafDynamicManifestPropertiesResult", + "description": "Properties of the ApplicationGatewayWafDynamicManifest .", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ProxyResourceWithSettableId" + } + ] + }, + "ApplicationGatewayWafDynamicManifestResultList": { + "type": "object", + "description": "Response for ApplicationGatewayWafDynamicManifests API service call.", + "properties": { + "value": { + "type": "array", + "description": "The ApplicationGatewayWafDynamicManifestResult items on this page", + "items": { + "$ref": "#/definitions/ApplicationGatewayWafDynamicManifestResult" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ApplicationGatewayWebApplicationFirewallConfiguration": { + "type": "object", + "description": "Application gateway web application firewall configuration.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Whether the web application firewall is enabled or not." + }, + "firewallMode": { + "$ref": "./common.json#/definitions/ApplicationGatewayFirewallMode", + "description": "Web application firewall mode." + }, + "ruleSetType": { + "type": "string", + "description": "The type of the web application firewall rule set. Possible values are: 'OWASP'." + }, + "ruleSetVersion": { + "type": "string", + "description": "The version of the rule set type." + }, + "disabledRuleGroups": { + "type": "array", + "description": "The disabled rule groups.", + "items": { + "$ref": "#/definitions/ApplicationGatewayFirewallDisabledRuleGroup" + } + }, + "requestBodyCheck": { + "type": "boolean", + "description": "Whether allow WAF to check request Body." + }, + "maxRequestBodySize": { + "type": "integer", + "format": "int32", + "description": "Maximum request body size for WAF.", + "minimum": 8, + "maximum": 128 + }, + "maxRequestBodySizeInKb": { + "type": "integer", + "format": "int32", + "description": "Maximum request body size in Kb for WAF.", + "minimum": 8, + "maximum": 128 + }, + "fileUploadLimitInMb": { + "type": "integer", + "format": "int32", + "description": "Maximum file upload size in Mb for WAF.", + "minimum": 0 + }, + "exclusions": { + "type": "array", + "description": "The exclusion list.", + "items": { + "$ref": "#/definitions/ApplicationGatewayFirewallExclusion" + } + } + }, + "required": [ + "enabled", + "firewallMode", + "ruleSetType", + "ruleSetVersion" + ] + }, + "Common.ApplicationGatewayBackendAddress": { + "type": "object", + "description": "Backend address of an application gateway.", + "properties": { + "fqdn": { + "type": "string", + "description": "Fully qualified domain name (FQDN)." + }, + "ipAddress": { + "type": "string", + "description": "IP address." + } + } + }, + "Common.ApplicationGatewayBackendAddressPool": { + "type": "object", + "description": "Backend Address Pool of an application gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.ApplicationGatewayBackendAddressPoolPropertiesFormat", + "description": "Properties of the application gateway backend address pool.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the backend address pool that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "Common.ApplicationGatewayBackendAddressPoolPropertiesFormat": { + "type": "object", + "description": "Properties of Backend Address Pool of an application gateway.", + "properties": { + "backendIPConfigurations": { + "type": "array", + "description": "Collection of references to IPs defined in network interfaces.", + "items": { + "$ref": "./virtualNetwork.json#/definitions/Common.NetworkInterfaceIPConfiguration" + }, + "readOnly": true + }, + "backendAddresses": { + "type": "array", + "description": "Backend addresses.", + "items": { + "$ref": "#/definitions/Common.ApplicationGatewayBackendAddress" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the backend address pool resource.", + "readOnly": true + } + } + }, + "Common.ApplicationGatewayIPConfiguration": { + "type": "object", + "description": "IP configuration of an application gateway. Currently 1 public and 1 private IP configuration is allowed.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.ApplicationGatewayIPConfigurationPropertiesFormat", + "description": "Properties of the application gateway IP configuration.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the IP configuration that is unique within an Application Gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "Common.ApplicationGatewayIPConfigurationPropertiesFormat": { + "type": "object", + "description": "Properties of IP configuration of an application gateway.", + "properties": { + "subnet": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to the subnet resource. A subnet from where application gateway gets its private address." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the application gateway IP configuration resource.", + "readOnly": true + } + } + }, + "DefaultRuleSetPropertyFormat": { + "type": "object", + "description": "the default web application firewall rule set.", + "properties": { + "ruleSetType": { + "type": "string", + "description": "The type of the web application firewall rule set." + }, + "ruleSetVersion": { + "type": "string", + "description": "The version of the web application firewall rule set type." + } + } + }, + "ExceptionEntry": { + "type": "object", + "description": "Adds exception to allow a request when the condition is satisfied.", + "properties": { + "matchVariable": { + "$ref": "./common.json#/definitions/ExceptionEntryMatchVariable", + "description": "The variable on which we evaluate the exception condition" + }, + "values": { + "type": "array", + "description": "Allowed values for the matchVariable", + "items": { + "type": "string" + } + }, + "valueMatchOperator": { + "$ref": "./common.json#/definitions/ExceptionEntryValueMatchOperator", + "description": "Operates on the allowed values for the matchVariable" + }, + "selectorMatchOperator": { + "$ref": "./common.json#/definitions/ExceptionEntrySelectorMatchOperator", + "description": "When the matchVariable points to a key-value pair (e.g, RequestHeader), this operates on the selector" + }, + "selector": { + "type": "string", + "description": "When the matchVariable points to a key-value pair (e.g, RequestHeader), this identifies the key." + }, + "exceptionManagedRuleSets": { + "type": "array", + "description": "The managed rule sets that are associated with the exception.", + "items": { + "$ref": "#/definitions/ExclusionManagedRuleSet" + } + } + }, + "required": [ + "matchVariable", + "valueMatchOperator" + ] + }, + "ExclusionManagedRule": { + "type": "object", + "description": "Defines a managed rule to use for exclusion.", + "properties": { + "ruleId": { + "type": "string", + "description": "Identifier for the managed rule." + } + }, + "required": [ + "ruleId" + ] + }, + "ExclusionManagedRuleGroup": { + "type": "object", + "description": "Defines a managed rule group to use for exclusion.", + "properties": { + "ruleGroupName": { + "type": "string", + "description": "The managed rule group for exclusion." + }, + "rules": { + "type": "array", + "description": "List of rules that will be excluded. If none specified, all rules in the group will be excluded.", + "items": { + "$ref": "#/definitions/ExclusionManagedRule" + } + } + }, + "required": [ + "ruleGroupName" + ] + }, + "ExclusionManagedRuleSet": { + "type": "object", + "description": "Defines a managed rule set for Exclusions.", + "properties": { + "ruleSetType": { + "type": "string", + "description": "Defines the rule set type to use." + }, + "ruleSetVersion": { + "type": "string", + "description": "Defines the version of the rule set to use." + }, + "ruleGroups": { + "type": "array", + "description": "Defines the rule groups to apply to the rule set.", + "items": { + "$ref": "#/definitions/ExclusionManagedRuleGroup" + } + } + }, + "required": [ + "ruleSetType", + "ruleSetVersion" + ] + }, + "GroupByUserSession": { + "type": "object", + "description": "Define user session identifier group by clauses.", + "properties": { + "groupByVariables": { + "type": "array", + "description": "List of group by clause variables.", + "items": { + "$ref": "#/definitions/GroupByVariable" + }, + "x-ms-identifiers": [] + } + }, + "required": [ + "groupByVariables" + ] + }, + "GroupByVariable": { + "type": "object", + "description": "Define user session group by clause variables.", + "properties": { + "variableName": { + "$ref": "./common.json#/definitions/ApplicationGatewayFirewallUserSessionVariable", + "description": "User Session clause variable." + } + }, + "required": [ + "variableName" + ] + }, + "HeaderValueMatcher": { + "type": "object", + "description": "An optional field under \"Rewrite Action\". It lets you capture and modify the value(s) of a specific header when multiple headers with the same name exist. Currently supported for Set-Cookie Response header only. For more details, visit https://aka.ms/appgwheadercrud", + "properties": { + "pattern": { + "type": "string", + "description": "The pattern, either fixed string or regular expression, that evaluates if a header value should be selected for rewrite." + }, + "ignoreCase": { + "type": "boolean", + "description": "Setting this parameter to truth value with force the pattern to do a case in-sensitive comparison." + }, + "negate": { + "type": "boolean", + "description": "Setting this value as truth will force to check the negation of the condition given by the user in the pattern field." + } + } + }, + "ManagedRuleGroupOverride": { + "type": "object", + "description": "Defines a managed rule group override setting.", + "properties": { + "ruleGroupName": { + "type": "string", + "description": "The managed rule group to override." + }, + "rules": { + "type": "array", + "description": "List of rules that will be disabled. If none specified, all rules in the group will be disabled.", + "items": { + "$ref": "#/definitions/ManagedRuleOverride" + } + } + }, + "required": [ + "ruleGroupName" + ] + }, + "ManagedRuleOverride": { + "type": "object", + "description": "Defines a managed rule group override setting.", + "properties": { + "ruleId": { + "type": "string", + "description": "Identifier for the managed rule." + }, + "state": { + "$ref": "./common.json#/definitions/ManagedRuleEnabledState", + "description": "The state of the managed rule. Defaults to Disabled if not specified." + }, + "action": { + "$ref": "./common.json#/definitions/ActionType", + "description": "Describes the override action to be applied when rule matches." + }, + "sensitivity": { + "$ref": "./common.json#/definitions/SensitivityType", + "description": "Describes the override sensitivity to be applied when rule matches." + } + }, + "required": [ + "ruleId" + ] + }, + "ManagedRuleSet": { + "type": "object", + "description": "Defines a managed rule set.", + "properties": { + "ruleSetType": { + "type": "string", + "description": "Defines the rule set type to use." + }, + "ruleSetVersion": { + "type": "string", + "description": "Defines the version of the rule set to use." + }, + "ruleGroupOverrides": { + "type": "array", + "description": "Defines the rule group overrides to apply to the rule set.", + "items": { + "$ref": "#/definitions/ManagedRuleGroupOverride" + } + }, + "computedDisabledRules": { + "type": "array", + "description": "Stores the final list of disabled rule groups", + "items": { + "$ref": "#/definitions/ManagedRuleSetRuleGroup" + }, + "readOnly": true + } + }, + "required": [ + "ruleSetType", + "ruleSetVersion" + ] + }, + "ManagedRuleSetRuleGroup": { + "type": "object", + "description": "Defines a managed rule set rule group", + "properties": { + "ruleGroupName": { + "type": "string", + "description": "Name of the rule group" + }, + "rules": { + "type": "array", + "description": "List of rules within the rule group", + "items": { + "type": "string" + } + } + }, + "required": [ + "ruleGroupName" + ] + }, + "ManagedRulesDefinition": { + "type": "object", + "description": "Allow to exclude some variable satisfy the condition for the WAF check.", + "properties": { + "exceptions": { + "type": "array", + "description": "The exceptions that are applied on the policy.", + "items": { + "$ref": "#/definitions/ExceptionEntry" + } + }, + "exclusions": { + "type": "array", + "description": "The Exclusions that are applied on the policy.", + "items": { + "$ref": "#/definitions/OwaspCrsExclusionEntry" + } + }, + "managedRuleSets": { + "type": "array", + "description": "The managed rule sets that are associated with the policy.", + "items": { + "$ref": "#/definitions/ManagedRuleSet" + } + } + }, + "required": [ + "managedRuleSets" + ] + }, + "MatchCondition": { + "type": "object", + "description": "Define match conditions.", + "properties": { + "matchVariables": { + "type": "array", + "description": "List of match variables.", + "items": { + "$ref": "#/definitions/MatchVariable" + } + }, + "operator": { + "$ref": "./common.json#/definitions/WebApplicationFirewallOperator", + "description": "The operator to be matched." + }, + "negationConditon": { + "type": "boolean", + "description": "Whether this is negate condition or not." + }, + "matchValues": { + "type": "array", + "description": "Match value.", + "items": { + "type": "string" + } + }, + "transforms": { + "type": "array", + "description": "List of transforms.", + "items": { + "$ref": "./common.json#/definitions/WebApplicationFirewallTransform" + } + } + }, + "required": [ + "matchVariables", + "operator", + "matchValues" + ] + }, + "MatchVariable": { + "type": "object", + "description": "Define match variables.", + "properties": { + "variableName": { + "$ref": "./common.json#/definitions/WebApplicationFirewallMatchVariable", + "description": "Match Variable." + }, + "selector": { + "type": "string", + "description": "The selector of match variable." + } + }, + "required": [ + "variableName" + ] + }, + "OwaspCrsExclusionEntry": { + "type": "object", + "description": "Allow to exclude some variable satisfy the condition for the WAF check.", + "properties": { + "matchVariable": { + "$ref": "./common.json#/definitions/OwaspCrsExclusionEntryMatchVariable", + "description": "The variable to be excluded." + }, + "selectorMatchOperator": { + "$ref": "./common.json#/definitions/OwaspCrsExclusionEntrySelectorMatchOperator", + "description": "When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to." + }, + "selector": { + "type": "string", + "description": "When matchVariable is a collection, operator used to specify which elements in the collection this exclusion applies to." + }, + "exclusionManagedRuleSets": { + "type": "array", + "description": "The managed rule sets that are associated with the exclusion.", + "items": { + "$ref": "#/definitions/ExclusionManagedRuleSet" + } + } + }, + "required": [ + "matchVariable", + "selectorMatchOperator", + "selector" + ] + }, + "PolicySettings": { + "type": "object", + "description": "Defines contents of a web application firewall global configuration.", + "properties": { + "state": { + "$ref": "./common.json#/definitions/WebApplicationFirewallEnabledState", + "description": "The state of the policy." + }, + "mode": { + "$ref": "./common.json#/definitions/WebApplicationFirewallMode", + "description": "The mode of the policy." + }, + "requestBodyCheck": { + "type": "boolean", + "description": "Whether to allow WAF to check request Body." + }, + "requestBodyInspectLimitInKB": { + "type": "integer", + "format": "int32", + "description": "Max inspection limit in KB for request body inspection for WAF." + }, + "requestBodyEnforcement": { + "type": "boolean", + "description": "Whether allow WAF to enforce request body limits.", + "default": true + }, + "maxRequestBodySizeInKb": { + "type": "integer", + "format": "int32", + "description": "Maximum request body size in Kb for WAF.", + "minimum": 8 + }, + "fileUploadEnforcement": { + "type": "boolean", + "description": "Whether allow WAF to enforce file upload limits.", + "default": true + }, + "fileUploadLimitInMb": { + "type": "integer", + "format": "int32", + "description": "Maximum file upload size in Mb for WAF.", + "minimum": 0 + }, + "customBlockResponseStatusCode": { + "type": "integer", + "format": "int32", + "description": "If the action type is block, customer can override the response status code.", + "minimum": 0 + }, + "customBlockResponseBody": { + "type": "string", + "description": "If the action type is block, customer can override the response body. The body must be specified in base64 encoding.", + "maxLength": 32768, + "pattern": "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=|[A-Za-z0-9+/]{4})$" + }, + "logScrubbing": { + "$ref": "#/definitions/PolicySettingsLogScrubbing", + "description": "To scrub sensitive log fields" + }, + "jsChallengeCookieExpirationInMins": { + "type": "integer", + "format": "int32", + "description": "Web Application Firewall JavaScript Challenge Cookie Expiration time in minutes.", + "minimum": 5, + "maximum": 1440 + }, + "captchaExpirationInMins": { + "type": "integer", + "format": "int32", + "description": "Web Application Firewall CAPTCHA Cookie Expiration time in minutes.", + "minimum": 5, + "maximum": 1440 + } + } + }, + "PolicySettingsLogScrubbing": { + "type": "object", + "description": "To scrub sensitive log fields", + "properties": { + "state": { + "$ref": "./common.json#/definitions/WebApplicationFirewallScrubbingState", + "description": "State of the log scrubbing config. Default value is Enabled." + }, + "scrubbingRules": { + "type": "array", + "description": "The rules that are applied to the logs for scrubbing.", + "items": { + "$ref": "#/definitions/WebApplicationFirewallScrubbingRules" + }, + "x-ms-identifiers": [] + } + } + }, + "WebApplicationFirewallCustomRule": { + "type": "object", + "description": "Defines contents of a web application rule.", + "properties": { + "name": { + "type": "string", + "description": "The name of the resource that is unique within a policy. This name can be used to access the resource.", + "maxLength": 128 + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "Priority of the rule. Rules with a lower value will be evaluated before rules with a higher value." + }, + "state": { + "$ref": "./common.json#/definitions/WebApplicationFirewallState", + "description": "Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified." + }, + "rateLimitDuration": { + "$ref": "./common.json#/definitions/ApplicationGatewayFirewallRateLimitDuration", + "description": "Duration over which Rate Limit policy will be applied. Applies only when ruleType is RateLimitRule." + }, + "rateLimitThreshold": { + "type": "integer", + "format": "int32", + "description": "Rate Limit threshold to apply in case ruleType is RateLimitRule. Must be greater than or equal to 1" + }, + "ruleType": { + "$ref": "./common.json#/definitions/WebApplicationFirewallRuleType", + "description": "The rule type." + }, + "matchConditions": { + "type": "array", + "description": "List of match conditions.", + "items": { + "$ref": "#/definitions/MatchCondition" + } + }, + "groupByUserSession": { + "type": "array", + "description": "List of user session identifier group by clauses.", + "items": { + "$ref": "#/definitions/GroupByUserSession" + }, + "x-ms-identifiers": [] + }, + "action": { + "$ref": "./common.json#/definitions/WebApplicationFirewallAction", + "description": "Type of Actions." + } + }, + "required": [ + "priority", + "ruleType", + "matchConditions", + "action" + ] + }, + "WebApplicationFirewallPolicy": { + "type": "object", + "description": "Defines web application firewall policy.", + "properties": { + "properties": { + "$ref": "#/definitions/WebApplicationFirewallPolicyPropertiesFormat", + "description": "Properties of the web application firewall policy.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "WebApplicationFirewallPolicyListResult": { + "type": "object", + "description": "Paged collection of WebApplicationFirewallPolicy items", + "properties": { + "value": { + "type": "array", + "description": "The WebApplicationFirewallPolicy items on this page", + "items": { + "$ref": "#/definitions/WebApplicationFirewallPolicy" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "WebApplicationFirewallPolicyPropertiesFormat": { + "type": "object", + "description": "Defines web application firewall policy properties.", + "properties": { + "policySettings": { + "$ref": "#/definitions/PolicySettings", + "description": "The PolicySettings for policy." + }, + "customRules": { + "type": "array", + "description": "The custom rules inside the policy.", + "items": { + "$ref": "#/definitions/WebApplicationFirewallCustomRule" + } + }, + "applicationGateways": { + "type": "array", + "description": "A collection of references to application gateways.", + "items": { + "$ref": "#/definitions/ApplicationGateway" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the web application firewall policy resource.", + "readOnly": true + }, + "resourceState": { + "$ref": "./common.json#/definitions/WebApplicationFirewallPolicyResourceState", + "title": "Resource status of the policy.", + "description": "Resource status of the policy.", + "readOnly": true + }, + "managedRules": { + "$ref": "#/definitions/ManagedRulesDefinition", + "description": "Describes the managedRules structure." + }, + "httpListeners": { + "type": "array", + "description": "A collection of references to application gateway http listeners.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "pathBasedRules": { + "type": "array", + "description": "A collection of references to application gateway path rules.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "applicationGatewayForContainers": { + "type": "array", + "description": "A collection of references to application gateway for containers.", + "items": { + "$ref": "#/definitions/ApplicationGatewayForContainersReferenceDefinition" + }, + "readOnly": true + } + }, + "required": [ + "managedRules" + ] + }, + "WebApplicationFirewallScrubbingRules": { + "type": "object", + "description": "Allow certain variables to be scrubbed on WAF logs", + "properties": { + "matchVariable": { + "$ref": "./common.json#/definitions/ScrubbingRuleEntryMatchVariable", + "description": "The variable to be scrubbed from the logs." + }, + "selectorMatchOperator": { + "$ref": "./common.json#/definitions/scrubbingRuleEntryMatchOperator", + "description": "When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to." + }, + "selector": { + "type": "string", + "description": "When matchVariable is a collection, operator used to specify which elements in the collection this rule applies to." + }, + "state": { + "$ref": "./common.json#/definitions/scrubbingRuleEntryState", + "description": "Defines the state of log scrubbing rule. Default value is Enabled." + } + }, + "required": [ + "matchVariable", + "selectorMatchOperator" + ] + } + }, + "parameters": {} +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/azureWebCategory.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/azureWebCategory.json new file mode 100644 index 000000000000..43eac1adc75e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/azureWebCategory.json @@ -0,0 +1,188 @@ +{ + "swagger": "2.0", + "info": { + "title": "WebApplicationFirewallManagement", + "version": "2025-07-01", + "description": "APIs to manage web application firewall rules.", + "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": "WebCategories" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories": { + "get": { + "operationId": "WebCategories_ListBySubscription", + "tags": [ + "WebCategories" + ], + "description": "Gets all the Azure Web Categories in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AzureWebCategoryListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all Azure Web Categories for a given subscription": { + "$ref": "./examples/AzureWebCategoriesListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureWebCategories/{name}": { + "get": { + "operationId": "WebCategories_Get", + "tags": [ + "WebCategories" + ], + "description": "Gets the specified Azure Web Category.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "name", + "in": "path", + "description": "The name of the azureWebCategory.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands resourceIds back referenced by the azureWebCategory resource.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureWebCategory" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Azure Web Category by name": { + "$ref": "./examples/AzureWebCategoryGet.json" + } + } + } + } + }, + "definitions": { + "AzureWebCategory": { + "type": "object", + "description": "Azure Web Category Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/AzureWebCategoryPropertiesFormat", + "description": "Properties of the Azure Web Category.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ProxyResource" + } + ] + }, + "AzureWebCategoryListResult": { + "type": "object", + "description": "List of Azure Web Categories for a given Subscription.", + "properties": { + "value": { + "type": "array", + "description": "The AzureWebCategory items on this page", + "items": { + "$ref": "#/definitions/AzureWebCategory" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AzureWebCategoryPropertiesFormat": { + "type": "object", + "description": "Azure Web Category Properties.", + "properties": { + "group": { + "type": "string", + "description": "The name of the group that the category belongs to.", + "readOnly": true + } + } + } + }, + "parameters": {} +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/common.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/common.json new file mode 100644 index 000000000000..2c448cf604c2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/common.json @@ -0,0 +1,9706 @@ +{ + "swagger": "2.0", + "info": { + "title": "WebApplicationFirewallManagement", + "version": "2025-07-01", + "description": "APIs to manage web application firewall rules.", + "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": [], + "paths": {}, + "definitions": { + "Access": { + "type": "string", + "description": "Access to be allowed or denied.", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "Access", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow", + "description": "Allow" + }, + { + "name": "Deny", + "value": "Deny", + "description": "Deny" + } + ] + } + }, + "AccessRuleDirection": { + "type": "string", + "description": "Direction that specifies whether the access rules is inbound/outbound.", + "enum": [ + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "AccessRuleDirection", + "modelAsString": true, + "values": [ + { + "name": "Inbound", + "value": "Inbound", + "description": "Inbound" + }, + { + "name": "Outbound", + "value": "Outbound", + "description": "Outbound" + } + ] + } + }, + "ActionType": { + "type": "string", + "description": "Defines the action to take on rule match.", + "enum": [ + "AnomalyScoring", + "Allow", + "Block", + "Log", + "JSChallenge", + "CAPTCHA" + ], + "x-ms-enum": { + "name": "ActionType", + "modelAsString": true, + "values": [ + { + "name": "AnomalyScoring", + "value": "AnomalyScoring", + "description": "AnomalyScoring" + }, + { + "name": "Allow", + "value": "Allow", + "description": "Allow" + }, + { + "name": "Block", + "value": "Block", + "description": "Block" + }, + { + "name": "Log", + "value": "Log", + "description": "Log" + }, + { + "name": "JSChallenge", + "value": "JSChallenge", + "description": "JSChallenge" + }, + { + "name": "CAPTCHA", + "value": "CAPTCHA", + "description": "CAPTCHA" + } + ] + } + }, + "AddressPrefixType": { + "type": "string", + "description": "Address prefix type.", + "enum": [ + "IPPrefix", + "ServiceTag", + "NetworkGroup" + ], + "x-ms-enum": { + "name": "AddressPrefixType", + "modelAsString": true, + "values": [ + { + "name": "IPPrefix", + "value": "IPPrefix", + "description": "IPPrefix" + }, + { + "name": "ServiceTag", + "value": "ServiceTag", + "description": "ServiceTag" + }, + { + "name": "NetworkGroup", + "value": "NetworkGroup", + "description": "NetworkGroup" + } + ] + } + }, + "AddressSpaceAggregationOption": { + "type": "string", + "description": "Option indicating the update behavior of a resource's address prefixes referenced within a network manager configuration.", + "enum": [ + "None", + "Manual" + ], + "x-ms-enum": { + "name": "AddressSpaceAggregationOption", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "Manual", + "value": "Manual", + "description": "Manual" + } + ] + } + }, + "AddressUpdateAction": { + "type": "string", + "description": "Specifies the type of update operation to perform on addresses within the address location of service gateway.\n\n- FullUpdate: Replaces all existing address data with the new list provided in the request. Any previously defined addresses not included will be removed.\n- PartialUpdate: Updates only the specified addresses.", + "enum": [ + "FullUpdate", + "PartialUpdate" + ], + "x-ms-enum": { + "name": "AddressUpdateAction", + "modelAsString": true, + "values": [ + { + "name": "FullUpdate", + "value": "FullUpdate", + "description": "FullUpdate" + }, + { + "name": "PartialUpdate", + "value": "PartialUpdate", + "description": "PartialUpdate" + } + ] + } + }, + "AdminRuleKind": { + "type": "string", + "description": "Whether the rule is custom or default.", + "enum": [ + "Custom", + "Default" + ], + "x-ms-enum": { + "name": "AdminRuleKind", + "modelAsString": true, + "values": [ + { + "name": "Custom", + "value": "Custom", + "description": "Custom" + }, + { + "name": "Default", + "value": "Default", + "description": "Default" + } + ] + } + }, + "AdminState": { + "type": "string", + "description": "Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AdminState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + } + ] + } + }, + "AdvertisedPublicPrefixPropertiesValidationState": { + "type": "string", + "description": "Advertised Public Prefix State that denotes if the prefix is validated or not.", + "enum": [ + "NotConfigured", + "Configuring", + "Configured", + "ValidationNeeded", + "ValidationFailed", + "ManualValidationNeeded", + "AsnValidationFailed", + "CertificateMissingInRoutingRegistry", + "InvalidSignatureEncoding", + "SignatureVerificationFailed" + ], + "x-ms-enum": { + "name": "AdvertisedPublicPrefixPropertiesValidationState", + "modelAsString": true, + "values": [ + { + "name": "NotConfigured", + "value": "NotConfigured", + "description": "NotConfigured" + }, + { + "name": "Configuring", + "value": "Configuring", + "description": "Configuring" + }, + { + "name": "Configured", + "value": "Configured", + "description": "Configured" + }, + { + "name": "ValidationNeeded", + "value": "ValidationNeeded", + "description": "ValidationNeeded" + }, + { + "name": "ValidationFailed", + "value": "ValidationFailed", + "description": "ValidationFailed" + }, + { + "name": "ManualValidationNeeded", + "value": "ManualValidationNeeded", + "description": "ManualValidationNeeded" + }, + { + "name": "AsnValidationFailed", + "value": "AsnValidationFailed", + "description": "AsnValidationFailed" + }, + { + "name": "CertificateMissingInRoutingRegistry", + "value": "CertificateMissingInRoutingRegistry", + "description": "CertificateMissingInRoutingRegistry" + }, + { + "name": "InvalidSignatureEncoding", + "value": "InvalidSignatureEncoding", + "description": "InvalidSignatureEncoding" + }, + { + "name": "SignatureVerificationFailed", + "value": "SignatureVerificationFailed", + "description": "SignatureVerificationFailed" + } + ] + } + }, + "ApplicationGatewayBackendHealthServerHealth": { + "type": "string", + "description": "Health of backend server.", + "enum": [ + "Unknown", + "Up", + "Down", + "Partial", + "Draining" + ], + "x-ms-enum": { + "name": "ApplicationGatewayBackendHealthServerHealth", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown" + }, + { + "name": "Up", + "value": "Up", + "description": "Up" + }, + { + "name": "Down", + "value": "Down", + "description": "Down" + }, + { + "name": "Partial", + "value": "Partial", + "description": "Partial" + }, + { + "name": "Draining", + "value": "Draining", + "description": "Draining" + } + ] + } + }, + "ApplicationGatewayClientAuthVerificationModes": { + "type": "string", + "description": "Verify client Authentication mode.", + "enum": [ + "Strict", + "Passthrough" + ], + "x-ms-enum": { + "name": "ApplicationGatewayClientAuthVerificationModes", + "modelAsString": true, + "values": [ + { + "name": "Strict", + "value": "Strict", + "description": "Strict" + }, + { + "name": "Passthrough", + "value": "Passthrough", + "description": "Passthrough" + } + ] + } + }, + "ApplicationGatewayClientRevocationOptions": { + "type": "string", + "description": "Verify client certificate revocation status.", + "enum": [ + "None", + "OCSP" + ], + "x-ms-enum": { + "name": "ApplicationGatewayClientRevocationOptions", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "OCSP", + "value": "OCSP", + "description": "OCSP" + } + ] + } + }, + "ApplicationGatewayCookieBasedAffinity": { + "type": "string", + "description": "Cookie based affinity.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ApplicationGatewayCookieBasedAffinity", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + } + ] + } + }, + "ApplicationGatewayCustomErrorStatusCode": { + "type": "string", + "description": "Status code of the application gateway custom error.", + "enum": [ + "HttpStatus400", + "HttpStatus403", + "HttpStatus404", + "HttpStatus405", + "HttpStatus408", + "HttpStatus500", + "HttpStatus502", + "HttpStatus503", + "HttpStatus504" + ], + "x-ms-enum": { + "name": "ApplicationGatewayCustomErrorStatusCode", + "modelAsString": true, + "values": [ + { + "name": "HttpStatus400", + "value": "HttpStatus400", + "description": "HttpStatus400" + }, + { + "name": "HttpStatus403", + "value": "HttpStatus403", + "description": "HttpStatus403" + }, + { + "name": "HttpStatus404", + "value": "HttpStatus404", + "description": "HttpStatus404" + }, + { + "name": "HttpStatus405", + "value": "HttpStatus405", + "description": "HttpStatus405" + }, + { + "name": "HttpStatus408", + "value": "HttpStatus408", + "description": "HttpStatus408" + }, + { + "name": "HttpStatus500", + "value": "HttpStatus500", + "description": "HttpStatus500" + }, + { + "name": "HttpStatus502", + "value": "HttpStatus502", + "description": "HttpStatus502" + }, + { + "name": "HttpStatus503", + "value": "HttpStatus503", + "description": "HttpStatus503" + }, + { + "name": "HttpStatus504", + "value": "HttpStatus504", + "description": "HttpStatus504" + } + ] + } + }, + "ApplicationGatewayFirewallMode": { + "type": "string", + "description": "Web application firewall mode.", + "enum": [ + "Detection", + "Prevention" + ], + "x-ms-enum": { + "name": "ApplicationGatewayFirewallMode", + "modelAsString": true, + "values": [ + { + "name": "Detection", + "value": "Detection", + "description": "Detection" + }, + { + "name": "Prevention", + "value": "Prevention", + "description": "Prevention" + } + ] + } + }, + "ApplicationGatewayFirewallRateLimitDuration": { + "type": "string", + "description": "Duration over which Rate Limit policy will be applied. Applies only when ruleType is RateLimitRule.", + "enum": [ + "OneMin", + "FiveMins" + ], + "x-ms-enum": { + "name": "ApplicationGatewayFirewallRateLimitDuration", + "modelAsString": true, + "values": [ + { + "name": "OneMin", + "value": "OneMin", + "description": "OneMin" + }, + { + "name": "FiveMins", + "value": "FiveMins", + "description": "FiveMins" + } + ] + } + }, + "ApplicationGatewayFirewallUserSessionVariable": { + "type": "string", + "description": "User Session clause variable.", + "enum": [ + "ClientAddr", + "GeoLocation", + "None", + "ClientAddrXFFHeader", + "GeoLocationXFFHeader" + ], + "x-ms-enum": { + "name": "ApplicationGatewayFirewallUserSessionVariable", + "modelAsString": true, + "values": [ + { + "name": "ClientAddr", + "value": "ClientAddr", + "description": "ClientAddr" + }, + { + "name": "GeoLocation", + "value": "GeoLocation", + "description": "GeoLocation" + }, + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "ClientAddrXFFHeader", + "value": "ClientAddrXFFHeader", + "description": "ClientAddrXFFHeader" + }, + { + "name": "GeoLocationXFFHeader", + "value": "GeoLocationXFFHeader", + "description": "GeoLocationXFFHeader" + } + ] + } + }, + "ApplicationGatewayLoadDistributionAlgorithm": { + "type": "string", + "description": "Load Distribution Algorithm enums.", + "enum": [ + "RoundRobin", + "LeastConnections", + "IpHash" + ], + "x-ms-enum": { + "name": "ApplicationGatewayLoadDistributionAlgorithm", + "modelAsString": true, + "values": [ + { + "name": "RoundRobin", + "value": "RoundRobin", + "description": "RoundRobin" + }, + { + "name": "LeastConnections", + "value": "LeastConnections", + "description": "LeastConnections" + }, + { + "name": "IpHash", + "value": "IpHash", + "description": "IpHash" + } + ] + } + }, + "ApplicationGatewayOperationalState": { + "type": "string", + "description": "Operational state of the application gateway resource.", + "enum": [ + "Stopped", + "Starting", + "Running", + "Stopping" + ], + "x-ms-enum": { + "name": "ApplicationGatewayOperationalState", + "modelAsString": true, + "values": [ + { + "name": "Stopped", + "value": "Stopped", + "description": "Stopped" + }, + { + "name": "Starting", + "value": "Starting", + "description": "Starting" + }, + { + "name": "Running", + "value": "Running", + "description": "Running" + }, + { + "name": "Stopping", + "value": "Stopping", + "description": "Stopping" + } + ] + } + }, + "ApplicationGatewayProtocol": { + "type": "string", + "description": "Application Gateway protocol.", + "enum": [ + "Http", + "Https", + "Tcp", + "Tls" + ], + "x-ms-enum": { + "name": "ApplicationGatewayProtocol", + "modelAsString": true, + "values": [ + { + "name": "Http", + "value": "Http", + "description": "Supported for httpListeners and backendHttpSettingsCollection properties." + }, + { + "name": "Https", + "value": "Https", + "description": "Supported for httpListeners and backendHttpSettingsCollection properties." + }, + { + "name": "Tcp", + "value": "Tcp", + "description": "Supported for listeners and backendSettingsCollection properties." + }, + { + "name": "Tls", + "value": "Tls", + "description": "Supported for listeners and backendSettingsCollection properties." + } + ] + } + }, + "ApplicationGatewayRedirectType": { + "type": "string", + "description": "Redirect type enum.", + "enum": [ + "Permanent", + "Found", + "SeeOther", + "Temporary" + ], + "x-ms-enum": { + "name": "ApplicationGatewayRedirectType", + "modelAsString": true, + "values": [ + { + "name": "Permanent", + "value": "Permanent", + "description": "Permanent" + }, + { + "name": "Found", + "value": "Found", + "description": "Found" + }, + { + "name": "SeeOther", + "value": "SeeOther", + "description": "SeeOther" + }, + { + "name": "Temporary", + "value": "Temporary", + "description": "Temporary" + } + ] + } + }, + "ApplicationGatewayRequestRoutingRuleType": { + "type": "string", + "description": "Rule type.", + "enum": [ + "Basic", + "PathBasedRouting" + ], + "x-ms-enum": { + "name": "ApplicationGatewayRequestRoutingRuleType", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "Basic" + }, + { + "name": "PathBasedRouting", + "value": "PathBasedRouting", + "description": "PathBasedRouting" + } + ] + } + }, + "ApplicationGatewayRuleSetStatusOptions": { + "type": "string", + "description": "The rule set status", + "enum": [ + "Preview", + "GA", + "Supported", + "Deprecated" + ], + "x-ms-enum": { + "name": "ApplicationGatewayRuleSetStatusOptions", + "modelAsString": true, + "values": [ + { + "name": "Preview", + "value": "Preview", + "description": "Preview" + }, + { + "name": "GA", + "value": "GA", + "description": "GA" + }, + { + "name": "Supported", + "value": "Supported", + "description": "Supported" + }, + { + "name": "Deprecated", + "value": "Deprecated", + "description": "Deprecated" + } + ] + } + }, + "ApplicationGatewaySkuFamily": { + "type": "string", + "description": "Family of an application gateway SKU.", + "enum": [ + "Generation_1", + "Generation_2" + ], + "x-ms-enum": { + "name": "ApplicationGatewaySkuFamily", + "modelAsString": true, + "values": [ + { + "name": "Generation_1", + "value": "Generation_1", + "description": "Generation_1" + }, + { + "name": "Generation_2", + "value": "Generation_2", + "description": "Generation_2" + } + ] + } + }, + "ApplicationGatewaySkuName": { + "type": "string", + "description": "Name of an application gateway SKU.", + "enum": [ + "Standard_Small", + "Standard_Medium", + "Standard_Large", + "WAF_Medium", + "WAF_Large", + "Standard_v2", + "WAF_v2", + "Basic" + ], + "x-ms-enum": { + "name": "ApplicationGatewaySkuName", + "modelAsString": true, + "values": [ + { + "name": "Standard_Small", + "value": "Standard_Small", + "description": "Standard_Small" + }, + { + "name": "Standard_Medium", + "value": "Standard_Medium", + "description": "Standard_Medium" + }, + { + "name": "Standard_Large", + "value": "Standard_Large", + "description": "Standard_Large" + }, + { + "name": "WAF_Medium", + "value": "WAF_Medium", + "description": "WAF_Medium" + }, + { + "name": "WAF_Large", + "value": "WAF_Large", + "description": "WAF_Large" + }, + { + "name": "Standard_v2", + "value": "Standard_v2", + "description": "Standard_v2" + }, + { + "name": "WAF_v2", + "value": "WAF_v2", + "description": "WAF_v2" + }, + { + "name": "Basic", + "value": "Basic", + "description": "Basic" + } + ] + } + }, + "ApplicationGatewaySslCipherSuite": { + "type": "string", + "description": "Ssl cipher suites enums.", + "enum": [ + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" + ], + "x-ms-enum": { + "name": "ApplicationGatewaySslCipherSuite", + "modelAsString": true, + "values": [ + { + "name": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "value": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "description": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384" + }, + { + "name": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "value": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "description": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + }, + { + "name": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "value": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "description": "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA" + }, + { + "name": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "value": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "description": "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA" + }, + { + "name": "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "value": "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "description": "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384" + }, + { + "name": "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "value": "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "description": "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256" + }, + { + "name": "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "value": "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "description": "TLS_DHE_RSA_WITH_AES_256_CBC_SHA" + }, + { + "name": "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "value": "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "description": "TLS_DHE_RSA_WITH_AES_128_CBC_SHA" + }, + { + "name": "TLS_RSA_WITH_AES_256_GCM_SHA384", + "value": "TLS_RSA_WITH_AES_256_GCM_SHA384", + "description": "TLS_RSA_WITH_AES_256_GCM_SHA384" + }, + { + "name": "TLS_RSA_WITH_AES_128_GCM_SHA256", + "value": "TLS_RSA_WITH_AES_128_GCM_SHA256", + "description": "TLS_RSA_WITH_AES_128_GCM_SHA256" + }, + { + "name": "TLS_RSA_WITH_AES_256_CBC_SHA256", + "value": "TLS_RSA_WITH_AES_256_CBC_SHA256", + "description": "TLS_RSA_WITH_AES_256_CBC_SHA256" + }, + { + "name": "TLS_RSA_WITH_AES_128_CBC_SHA256", + "value": "TLS_RSA_WITH_AES_128_CBC_SHA256", + "description": "TLS_RSA_WITH_AES_128_CBC_SHA256" + }, + { + "name": "TLS_RSA_WITH_AES_256_CBC_SHA", + "value": "TLS_RSA_WITH_AES_256_CBC_SHA", + "description": "TLS_RSA_WITH_AES_256_CBC_SHA" + }, + { + "name": "TLS_RSA_WITH_AES_128_CBC_SHA", + "value": "TLS_RSA_WITH_AES_128_CBC_SHA", + "description": "TLS_RSA_WITH_AES_128_CBC_SHA" + }, + { + "name": "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "value": "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "description": "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384" + }, + { + "name": "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "value": "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "description": "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256" + }, + { + "name": "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "value": "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "description": "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384" + }, + { + "name": "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "value": "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "description": "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256" + }, + { + "name": "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "value": "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "description": "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA" + }, + { + "name": "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "value": "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "description": "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA" + }, + { + "name": "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "value": "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "description": "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256" + }, + { + "name": "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "value": "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "description": "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256" + }, + { + "name": "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "value": "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "description": "TLS_DHE_DSS_WITH_AES_256_CBC_SHA" + }, + { + "name": "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "value": "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "description": "TLS_DHE_DSS_WITH_AES_128_CBC_SHA" + }, + { + "name": "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "value": "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "description": "TLS_RSA_WITH_3DES_EDE_CBC_SHA" + }, + { + "name": "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "value": "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA", + "description": "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + }, + { + "name": "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "value": "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "description": "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256" + }, + { + "name": "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "value": "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "description": "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384" + } + ] + } + }, + "ApplicationGatewaySslPolicyName": { + "type": "string", + "description": "Ssl predefined policy name enums.", + "enum": [ + "AppGwSslPolicy20150501", + "AppGwSslPolicy20170401", + "AppGwSslPolicy20170401S", + "AppGwSslPolicy20220101", + "AppGwSslPolicy20220101S" + ], + "x-ms-enum": { + "name": "ApplicationGatewaySslPolicyName", + "modelAsString": true, + "values": [ + { + "name": "AppGwSslPolicy20150501", + "value": "AppGwSslPolicy20150501", + "description": "AppGwSslPolicy20150501" + }, + { + "name": "AppGwSslPolicy20170401", + "value": "AppGwSslPolicy20170401", + "description": "AppGwSslPolicy20170401" + }, + { + "name": "AppGwSslPolicy20170401S", + "value": "AppGwSslPolicy20170401S", + "description": "AppGwSslPolicy20170401S" + }, + { + "name": "AppGwSslPolicy20220101", + "value": "AppGwSslPolicy20220101", + "description": "AppGwSslPolicy20220101" + }, + { + "name": "AppGwSslPolicy20220101S", + "value": "AppGwSslPolicy20220101S", + "description": "AppGwSslPolicy20220101S" + } + ] + } + }, + "ApplicationGatewaySslPolicyType": { + "type": "string", + "description": "Type of Ssl Policy.", + "enum": [ + "Predefined", + "Custom", + "CustomV2" + ], + "x-ms-enum": { + "name": "ApplicationGatewaySslPolicyType", + "modelAsString": true, + "values": [ + { + "name": "Predefined", + "value": "Predefined", + "description": "Predefined" + }, + { + "name": "Custom", + "value": "Custom", + "description": "Custom" + }, + { + "name": "CustomV2", + "value": "CustomV2", + "description": "CustomV2" + } + ] + } + }, + "ApplicationGatewaySslProtocol": { + "type": "string", + "description": "Ssl protocol enums.", + "enum": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2", + "TLSv1_3" + ], + "x-ms-enum": { + "name": "ApplicationGatewaySslProtocol", + "modelAsString": true, + "values": [ + { + "name": "TLSv1_0", + "value": "TLSv1_0", + "description": "TLSv1_0" + }, + { + "name": "TLSv1_1", + "value": "TLSv1_1", + "description": "TLSv1_1" + }, + { + "name": "TLSv1_2", + "value": "TLSv1_2", + "description": "TLSv1_2" + }, + { + "name": "TLSv1_3", + "value": "TLSv1_3", + "description": "TLSv1_3" + } + ] + } + }, + "ApplicationGatewayTier": { + "type": "string", + "description": "Tier of an application gateway.", + "enum": [ + "Standard", + "WAF", + "Standard_v2", + "WAF_v2", + "Basic" + ], + "x-ms-enum": { + "name": "ApplicationGatewayTier", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "Standard" + }, + { + "name": "WAF", + "value": "WAF", + "description": "WAF" + }, + { + "name": "Standard_v2", + "value": "Standard_v2", + "description": "Standard_v2" + }, + { + "name": "WAF_v2", + "value": "WAF_v2", + "description": "WAF_v2" + }, + { + "name": "Basic", + "value": "Basic", + "description": "Basic" + } + ] + } + }, + "ApplicationGatewayTierTypes": { + "type": "string", + "enum": [ + "Standard", + "WAF", + "Standard_v2", + "WAF_v2" + ], + "x-ms-enum": { + "name": "ApplicationGatewayTierTypes", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "Standard" + }, + { + "name": "WAF", + "value": "WAF", + "description": "WAF" + }, + { + "name": "Standard_v2", + "value": "Standard_v2", + "description": "Standard_v2" + }, + { + "name": "WAF_v2", + "value": "WAF_v2", + "description": "WAF_v2" + } + ] + } + }, + "ApplicationGatewayUnAuthorizedRequestAction": { + "type": "string", + "description": "Unauthorized request action.", + "enum": [ + "Deny", + "Allow" + ], + "x-ms-enum": { + "name": "ApplicationGatewayUnAuthorizedRequestAction", + "modelAsString": true, + "values": [ + { + "name": "Deny", + "value": "Deny", + "description": "Deny" + }, + { + "name": "Allow", + "value": "Allow", + "description": "Allow" + } + ] + } + }, + "ApplicationGatewayWafRuleActionTypes": { + "type": "string", + "description": "The string representation of the web application firewall rule action.", + "enum": [ + "None", + "AnomalyScoring", + "Allow", + "Block", + "Log" + ], + "x-ms-enum": { + "name": "ApplicationGatewayWafRuleActionTypes", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "AnomalyScoring", + "value": "AnomalyScoring", + "description": "AnomalyScoring" + }, + { + "name": "Allow", + "value": "Allow", + "description": "Allow" + }, + { + "name": "Block", + "value": "Block", + "description": "Block" + }, + { + "name": "Log", + "value": "Log", + "description": "Log" + } + ] + } + }, + "ApplicationGatewayWafRuleSensitivityTypes": { + "type": "string", + "description": "The string representation of the web application firewall rule sensitivity.", + "enum": [ + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "ApplicationGatewayWafRuleSensitivityTypes", + "modelAsString": true, + "values": [ + { + "name": "Low", + "value": "Low", + "description": "Low" + }, + { + "name": "Medium", + "value": "Medium", + "description": "Medium" + }, + { + "name": "High", + "value": "High", + "description": "High" + } + ] + } + }, + "ApplicationGatewayWafRuleStateTypes": { + "type": "string", + "description": "The string representation of the web application firewall rule state.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ApplicationGatewayWafRuleStateTypes", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + } + ] + } + }, + "AssociationAccessMode": { + "type": "string", + "description": "Access mode on the association.", + "enum": [ + "Learning", + "Enforced", + "Audit" + ], + "x-ms-enum": { + "name": "AssociationAccessMode", + "modelAsString": true, + "values": [ + { + "name": "Learning", + "value": "Learning", + "description": "Learning" + }, + { + "name": "Enforced", + "value": "Enforced", + "description": "Enforced" + }, + { + "name": "Audit", + "value": "Audit", + "description": "Audit" + } + ] + } + }, + "AssociationType": { + "type": "string", + "description": "The association type of the child resource to the parent resource.", + "enum": [ + "Associated", + "Contains" + ], + "x-ms-enum": { + "name": "AssociationType", + "modelAsString": true, + "values": [ + { + "name": "Associated", + "value": "Associated", + "description": "Associated" + }, + { + "name": "Contains", + "value": "Contains", + "description": "Contains" + } + ] + } + }, + "AuthenticationMethod": { + "type": "string", + "description": "VPN client authentication method.", + "enum": [ + "EAPTLS", + "EAPMSCHAPv2" + ], + "x-ms-enum": { + "name": "AuthenticationMethod", + "modelAsString": true, + "values": [ + { + "name": "EAPTLS", + "value": "EAPTLS", + "description": "EAPTLS" + }, + { + "name": "EAPMSCHAPv2", + "value": "EAPMSCHAPv2", + "description": "EAPMSCHAPv2" + } + ] + } + }, + "AuthorizationUseStatus": { + "type": "string", + "description": "The authorization use status.", + "enum": [ + "Available", + "InUse" + ], + "x-ms-enum": { + "name": "AuthorizationUseStatus", + "modelAsString": true, + "values": [ + { + "name": "Available", + "value": "Available", + "description": "Available" + }, + { + "name": "InUse", + "value": "InUse", + "description": "InUse" + } + ] + } + }, + "AutoLearnPrivateRangesMode": { + "type": "string", + "description": "The operation mode for automatically learning private ranges to not be SNAT", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "AutoLearnPrivateRangesMode", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + } + ] + } + }, + "AzureFirewallApplicationRuleProtocolType": { + "type": "string", + "description": "The protocol type of a Application Rule resource.", + "enum": [ + "Http", + "Https", + "Mssql" + ], + "x-ms-enum": { + "name": "AzureFirewallApplicationRuleProtocolType", + "modelAsString": true, + "values": [ + { + "name": "Http", + "value": "Http", + "description": "Http" + }, + { + "name": "Https", + "value": "Https", + "description": "Https" + }, + { + "name": "Mssql", + "value": "Mssql", + "description": "Mssql" + } + ] + } + }, + "AzureFirewallNatRCActionType": { + "type": "string", + "description": "The action type of a NAT rule collection.", + "enum": [ + "Snat", + "Dnat" + ], + "x-ms-enum": { + "name": "AzureFirewallNatRCActionType", + "modelAsString": true, + "values": [ + { + "name": "Snat", + "value": "Snat", + "description": "Snat" + }, + { + "name": "Dnat", + "value": "Dnat", + "description": "Dnat" + } + ] + } + }, + "AzureFirewallNetworkRuleProtocol": { + "type": "string", + "description": "The protocol of a Network Rule resource.", + "enum": [ + "TCP", + "UDP", + "Any", + "ICMP" + ], + "x-ms-enum": { + "name": "AzureFirewallNetworkRuleProtocol", + "modelAsString": true, + "values": [ + { + "name": "TCP", + "value": "TCP", + "description": "TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "UDP" + }, + { + "name": "Any", + "value": "Any", + "description": "Any" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "ICMP" + } + ] + } + }, + "AzureFirewallPacketCaptureFlagsType": { + "type": "string", + "description": "The flags type to be captured.", + "enum": [ + "fin", + "syn", + "rst", + "push", + "ack", + "urg" + ], + "x-ms-enum": { + "name": "AzureFirewallPacketCaptureFlagsType", + "modelAsString": true, + "values": [ + { + "name": "fin", + "value": "fin", + "description": "fin" + }, + { + "name": "syn", + "value": "syn", + "description": "syn" + }, + { + "name": "rst", + "value": "rst", + "description": "rst" + }, + { + "name": "push", + "value": "push", + "description": "push" + }, + { + "name": "ack", + "value": "ack", + "description": "ack" + }, + { + "name": "urg", + "value": "urg", + "description": "urg" + } + ] + } + }, + "AzureFirewallPacketCaptureResponseCode": { + "type": "string", + "description": "The packet capture operation response codes.", + "enum": [ + "NotImplemented", + "AzureFirewallPacketCaptureStartSucceeded", + "AzureFirewallPacketCaptureStartFailed", + "AzureFirewallPacketCaptureStartFailedToUpload", + "AzureFirewallPacketCaptureStartFailure", + "AzureFirewallPacketCaptureInProgress", + "AzureFirewallPacketCaptureNotInProgress", + "AzureFirewallPacketCaptureStopSucceeded", + "AzureFirewallPacketCaptureFailed", + "AzureFirewallPacketCaptureCompleted" + ], + "x-ms-enum": { + "name": "AzureFirewallPacketCaptureResponseCode", + "modelAsString": true, + "values": [ + { + "name": "NotImplemented", + "value": "NotImplemented", + "description": "NotImplemented" + }, + { + "name": "AzureFirewallPacketCaptureStartSucceeded", + "value": "AzureFirewallPacketCaptureStartSucceeded", + "description": "AzureFirewallPacketCaptureStartSucceeded" + }, + { + "name": "AzureFirewallPacketCaptureStartFailed", + "value": "AzureFirewallPacketCaptureStartFailed", + "description": "AzureFirewallPacketCaptureStartFailed" + }, + { + "name": "AzureFirewallPacketCaptureStartFailedToUpload", + "value": "AzureFirewallPacketCaptureStartFailedToUpload", + "description": "AzureFirewallPacketCaptureStartFailedToUpload" + }, + { + "name": "AzureFirewallPacketCaptureStartFailure", + "value": "AzureFirewallPacketCaptureStartFailure", + "description": "AzureFirewallPacketCaptureStartFailure" + }, + { + "name": "AzureFirewallPacketCaptureInProgress", + "value": "AzureFirewallPacketCaptureInProgress", + "description": "AzureFirewallPacketCaptureInProgress" + }, + { + "name": "AzureFirewallPacketCaptureNotInProgress", + "value": "AzureFirewallPacketCaptureNotInProgress", + "description": "AzureFirewallPacketCaptureNotInProgress" + }, + { + "name": "AzureFirewallPacketCaptureStopSucceeded", + "value": "AzureFirewallPacketCaptureStopSucceeded", + "description": "AzureFirewallPacketCaptureStopSucceeded" + }, + { + "name": "AzureFirewallPacketCaptureFailed", + "value": "AzureFirewallPacketCaptureFailed", + "description": "AzureFirewallPacketCaptureFailed" + }, + { + "name": "AzureFirewallPacketCaptureCompleted", + "value": "AzureFirewallPacketCaptureCompleted", + "description": "AzureFirewallPacketCaptureCompleted" + } + ] + } + }, + "AzureFirewallRCActionType": { + "type": "string", + "description": "The action type of a rule collection.", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "AzureFirewallRCActionType", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow", + "description": "Allow" + }, + { + "name": "Deny", + "value": "Deny", + "description": "Deny" + } + ] + } + }, + "AzureFirewallSkuName": { + "type": "string", + "description": "Name of an Azure Firewall SKU.", + "enum": [ + "AZFW_VNet", + "AZFW_Hub" + ], + "x-ms-enum": { + "name": "AzureFirewallSkuName", + "modelAsString": true, + "values": [ + { + "name": "AZFW_VNet", + "value": "AZFW_VNet", + "description": "AZFW_VNet" + }, + { + "name": "AZFW_Hub", + "value": "AZFW_Hub", + "description": "AZFW_Hub" + } + ] + } + }, + "AzureFirewallSkuTier": { + "type": "string", + "description": "Tier of an Azure Firewall.", + "enum": [ + "Standard", + "Premium", + "Basic" + ], + "x-ms-enum": { + "name": "AzureFirewallSkuTier", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "Standard" + }, + { + "name": "Premium", + "value": "Premium", + "description": "Premium" + }, + { + "name": "Basic", + "value": "Basic", + "description": "Basic" + } + ] + } + }, + "AzureFirewallThreatIntelMode": { + "type": "string", + "description": "The operation mode for Threat Intel.", + "enum": [ + "Alert", + "Deny", + "Off" + ], + "x-ms-enum": { + "name": "AzureFirewallThreatIntelMode", + "modelAsString": true, + "values": [ + { + "name": "Alert", + "value": "Alert", + "description": "Alert" + }, + { + "name": "Deny", + "value": "Deny", + "description": "Deny" + }, + { + "name": "Off", + "value": "Off", + "description": "Off" + } + ] + } + }, + "BastionConnectProtocol": { + "type": "string", + "description": "The protocol used to connect to the target.", + "enum": [ + "SSH", + "RDP" + ], + "x-ms-enum": { + "name": "BastionConnectProtocol", + "modelAsString": true, + "values": [ + { + "name": "SSH", + "value": "SSH", + "description": "SSH" + }, + { + "name": "RDP", + "value": "RDP", + "description": "RDP" + } + ] + } + }, + "BgpPeerState": { + "type": "string", + "description": "The BGP peer state.", + "enum": [ + "Unknown", + "Stopped", + "Idle", + "Connecting", + "Connected" + ], + "x-ms-enum": { + "name": "BgpPeerState", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown" + }, + { + "name": "Stopped", + "value": "Stopped", + "description": "Stopped" + }, + { + "name": "Idle", + "value": "Idle", + "description": "Idle" + }, + { + "name": "Connecting", + "value": "Connecting", + "description": "Connecting" + }, + { + "name": "Connected", + "value": "Connected", + "description": "Connected" + } + ] + } + }, + "ChildResource": { + "type": "object", + "description": "Proxy resource representation.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type.", + "readOnly": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "CircuitConnectionStatus": { + "type": "string", + "description": "Express Route Circuit connection state.", + "enum": [ + "Connected", + "Connecting", + "Disconnected" + ], + "x-ms-enum": { + "name": "CircuitConnectionStatus", + "modelAsString": true, + "values": [ + { + "name": "Connected", + "value": "Connected", + "description": "Connected" + }, + { + "name": "Connecting", + "value": "Connecting", + "description": "Connecting" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "Disconnected" + } + ] + } + }, + "CommissionedState": { + "type": "string", + "description": "The commissioned state of the Custom IP Prefix.", + "enum": [ + "Provisioning", + "Provisioned", + "Commissioning", + "CommissionedNoInternetAdvertise", + "Commissioned", + "Decommissioning", + "Deprovisioning", + "Deprovisioned" + ], + "x-ms-enum": { + "name": "CommissionedState", + "modelAsString": true, + "values": [ + { + "name": "Provisioning", + "value": "Provisioning", + "description": "Provisioning" + }, + { + "name": "Provisioned", + "value": "Provisioned", + "description": "Provisioned" + }, + { + "name": "Commissioning", + "value": "Commissioning", + "description": "Commissioning" + }, + { + "name": "CommissionedNoInternetAdvertise", + "value": "CommissionedNoInternetAdvertise", + "description": "CommissionedNoInternetAdvertise" + }, + { + "name": "Commissioned", + "value": "Commissioned", + "description": "Commissioned" + }, + { + "name": "Decommissioning", + "value": "Decommissioning", + "description": "Decommissioning" + }, + { + "name": "Deprovisioning", + "value": "Deprovisioning", + "description": "Deprovisioning" + }, + { + "name": "Deprovisioned", + "value": "Deprovisioned", + "description": "Deprovisioned" + } + ] + } + }, + "Common.AccessMode": { + "type": "string", + "description": "The access mode of the private link service.", + "enum": [ + "Default", + "Restricted" + ], + "x-ms-enum": { + "name": "AccessMode", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default", + "description": "Allows unrestricted access to the private link service." + }, + { + "name": "Restricted", + "value": "Restricted", + "description": "Limits access to subscriptions which are inside visibility list only." + } + ] + } + }, + "Common.CloudError": { + "type": "object", + "description": "An error response from the service.", + "properties": { + "error": { + "$ref": "#/definitions/Common.CloudErrorBody", + "description": "Cloud error body." + } + }, + "x-ms-external": true + }, + "Common.CloudErrorBody": { + "type": "object", + "description": "An error response from the service.", + "properties": { + "code": { + "type": "string", + "description": "An identifier for the error. Codes are invariant and are intended to be consumed programmatically." + }, + "message": { + "type": "string", + "description": "A message describing the error, intended to be suitable for display in a user interface." + }, + "target": { + "type": "string", + "description": "The target of the particular error. For example, the name of the property in error." + }, + "details": { + "type": "array", + "description": "A list of additional details about the error.", + "items": { + "$ref": "#/definitions/Common.CloudErrorBody" + } + } + }, + "x-ms-external": true + }, + "Common.DdosFrontendIpConfigurationSettings": { + "type": "object", + "description": "DDoS protection settings for a frontend IP configuration.", + "properties": { + "ddosCustomPolicy": { + "$ref": "#/definitions/Common.SubResource", + "description": "The reference to the DDoS Custom Policy resource." + } + } + }, + "Common.DdosSettingsProtectionMode": { + "type": "string", + "description": "The DDoS protection mode of the public IP", + "enum": [ + "VirtualNetworkInherited", + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "DdosSettingsProtectionMode", + "modelAsString": true, + "values": [ + { + "name": "VirtualNetworkInherited", + "value": "VirtualNetworkInherited", + "description": "VirtualNetworkInherited" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + } + ] + } + }, + "Common.DeleteOptions": { + "type": "string", + "description": "Specify what happens to the public IP address when the VM using it is deleted", + "enum": [ + "Delete", + "Detach" + ], + "x-ms-enum": { + "name": "DeleteOptions", + "modelAsString": true, + "values": [ + { + "name": "Delete", + "value": "Delete", + "description": "Delete" + }, + { + "name": "Detach", + "value": "Detach", + "description": "Detach" + } + ] + } + }, + "Common.DisablePeeringRoute": { + "type": "string", + "description": "Whether to disable the routes learned by peering on the route table.", + "enum": [ + "None", + "All" + ], + "x-ms-enum": { + "name": "DisablePeeringRoute", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "Peering routes are enabled." + }, + { + "name": "All", + "value": "All", + "description": "All peering routes are disabled." + } + ] + } + }, + "Common.ExtendedLocation": { + "type": "object", + "description": "ExtendedLocation complex type.", + "properties": { + "name": { + "type": "string", + "description": "The name of the extended location." + }, + "type": { + "$ref": "#/definitions/Common.ExtendedLocationTypes", + "description": "The type of the extended location." + } + } + }, + "Common.ExtendedLocationTypes": { + "type": "string", + "description": "The supported ExtendedLocation types. Currently only EdgeZone is supported in Microsoft.Network resources.", + "enum": [ + "EdgeZone" + ], + "x-ms-enum": { + "name": "ExtendedLocationTypes", + "modelAsString": true, + "values": [ + { + "name": "EdgeZone", + "value": "EdgeZone", + "description": "EdgeZone" + } + ] + } + }, + "Common.FlowLogFormatType": { + "type": "string", + "description": "The file type of flow log.", + "enum": [ + "JSON" + ], + "x-ms-enum": { + "name": "FlowLogFormatType", + "modelAsString": true, + "values": [ + { + "name": "JSON", + "value": "JSON", + "description": "JSON" + } + ] + } + }, + "Common.GatewayLoadBalancerTunnelInterfaceType": { + "type": "string", + "description": "Traffic type of gateway load balancer tunnel interface.", + "enum": [ + "None", + "Internal", + "External" + ], + "x-ms-enum": { + "name": "GatewayLoadBalancerTunnelInterfaceType", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "Internal", + "value": "Internal", + "description": "Internal" + }, + { + "name": "External", + "value": "External", + "description": "External" + } + ] + } + }, + "Common.GatewayLoadBalancerTunnelProtocol": { + "type": "string", + "description": "Protocol of gateway load balancer tunnel interface.", + "enum": [ + "None", + "Native", + "VXLAN" + ], + "x-ms-enum": { + "name": "GatewayLoadBalancerTunnelProtocol", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "Native", + "value": "Native", + "description": "Native" + }, + { + "name": "VXLAN", + "value": "VXLAN", + "description": "VXLAN" + } + ] + } + }, + "Common.IPAllocationMethod": { + "type": "string", + "description": "IP address allocation method.", + "enum": [ + "Static", + "Dynamic" + ], + "x-ms-enum": { + "name": "IPAllocationMethod", + "modelAsString": true, + "values": [ + { + "name": "Static", + "value": "Static", + "description": "Static" + }, + { + "name": "Dynamic", + "value": "Dynamic", + "description": "Dynamic" + } + ] + } + }, + "Common.IPVersion": { + "type": "string", + "description": "IP address version.", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "IPVersion", + "modelAsString": true, + "values": [ + { + "name": "IPv4", + "value": "IPv4", + "description": "IPv4" + }, + { + "name": "IPv6", + "value": "IPv6", + "description": "IPv6" + } + ] + } + }, + "Common.LoadBalancerBackendAddressAdminState": { + "type": "string", + "description": "A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections.", + "enum": [ + "None", + "Up", + "Down" + ], + "x-ms-enum": { + "name": "LoadBalancerBackendAddressAdminState", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "Up", + "value": "Up", + "description": "Up" + }, + { + "name": "Down", + "value": "Down", + "description": "Down" + } + ] + } + }, + "Common.LoadBalancerOutboundRuleProtocol": { + "type": "string", + "description": "The protocol for the outbound rule in load balancer.", + "enum": [ + "Tcp", + "Udp", + "All" + ], + "x-ms-enum": { + "name": "LoadBalancerOutboundRuleProtocol", + "modelAsString": true, + "values": [ + { + "name": "Tcp", + "value": "Tcp", + "description": "Tcp" + }, + { + "name": "Udp", + "value": "Udp", + "description": "Udp" + }, + { + "name": "All", + "value": "All", + "description": "All" + } + ] + } + }, + "Common.LoadBalancerScope": { + "type": "string", + "description": "Indicates the scope of the load balancer: external (Public) or internal (Private).", + "enum": [ + "Public", + "Private" + ], + "x-ms-enum": { + "name": "LoadBalancerScope", + "modelAsString": true, + "values": [ + { + "name": "Public", + "value": "Public", + "description": "Public" + }, + { + "name": "Private", + "value": "Private", + "description": "Private" + } + ] + } + }, + "Common.LoadBalancerSkuName": { + "type": "string", + "description": "Name of a load balancer SKU.", + "enum": [ + "Basic", + "Standard", + "Gateway" + ], + "x-ms-enum": { + "name": "LoadBalancerSkuName", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "Basic" + }, + { + "name": "Standard", + "value": "Standard", + "description": "Standard" + }, + { + "name": "Gateway", + "value": "Gateway", + "description": "Gateway" + } + ] + } + }, + "Common.LoadBalancerSkuTier": { + "type": "string", + "description": "Tier of a load balancer SKU.", + "enum": [ + "Regional", + "Global" + ], + "x-ms-enum": { + "name": "LoadBalancerSkuTier", + "modelAsString": true, + "values": [ + { + "name": "Regional", + "value": "Regional", + "description": "Regional" + }, + { + "name": "Global", + "value": "Global", + "description": "Global" + } + ] + } + }, + "Common.LoadDistribution": { + "type": "string", + "description": "The load distribution policy for this rule.", + "enum": [ + "Default", + "SourceIP", + "SourceIPProtocol" + ], + "x-ms-enum": { + "name": "LoadDistribution", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default", + "description": "Default" + }, + { + "name": "SourceIP", + "value": "SourceIP", + "description": "SourceIP" + }, + { + "name": "SourceIPProtocol", + "value": "SourceIPProtocol", + "description": "SourceIPProtocol" + } + ] + } + }, + "Common.ManagedServiceIdentity": { + "type": "object", + "description": "Identity for the resource.", + "properties": { + "principalId": { + "type": "string", + "description": "The principal id of the system assigned identity. This property will only be provided for a system assigned identity.", + "readOnly": true + }, + "tenantId": { + "type": "string", + "description": "The tenant id of the system assigned identity. This property will only be provided for a system assigned identity.", + "readOnly": true + }, + "type": { + "$ref": "#/definitions/Common.ResourceIdentityType", + "description": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine." + }, + "userAssignedIdentities": { + "type": "object", + "description": "The list of user identities associated with resource. The user identity dictionary key references will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.", + "additionalProperties": { + "$ref": "#/definitions/ManagedServiceIdentityUserAssignedIdentities" + } + } + } + }, + "Common.Nat64State": { + "type": "string", + "description": "Whether Nat64 is enabled for the NAT gateway resource.", + "enum": [ + "None", + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "Nat64State", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "Nat64 Property is not set." + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Nat64 is enabled." + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Nat64 is disabled." + } + ] + } + }, + "Common.NatGatewaySkuName": { + "type": "string", + "description": "Name of Nat Gateway SKU.", + "enum": [ + "Standard", + "StandardV2" + ], + "x-ms-enum": { + "name": "NatGatewaySkuName", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "Standard" + }, + { + "name": "StandardV2", + "value": "StandardV2", + "description": "StandardV2" + } + ] + } + }, + "Common.NetworkInterfaceAuxiliaryMode": { + "type": "string", + "description": "Auxiliary mode of Network Interface resource.", + "enum": [ + "None", + "MaxConnections", + "Floating", + "AcceleratedConnections" + ], + "x-ms-enum": { + "name": "NetworkInterfaceAuxiliaryMode", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "MaxConnections", + "value": "MaxConnections", + "description": "MaxConnections" + }, + { + "name": "Floating", + "value": "Floating", + "description": "Floating" + }, + { + "name": "AcceleratedConnections", + "value": "AcceleratedConnections", + "description": "AcceleratedConnections" + } + ] + } + }, + "Common.NetworkInterfaceAuxiliarySku": { + "type": "string", + "description": "Auxiliary sku of Network Interface resource.", + "enum": [ + "None", + "A1", + "A2", + "A4", + "A8" + ], + "x-ms-enum": { + "name": "NetworkInterfaceAuxiliarySku", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "A1", + "value": "A1", + "description": "A1" + }, + { + "name": "A2", + "value": "A2", + "description": "A2" + }, + { + "name": "A4", + "value": "A4", + "description": "A4" + }, + { + "name": "A8", + "value": "A8", + "description": "A8" + } + ] + } + }, + "Common.NetworkInterfaceMigrationPhase": { + "type": "string", + "description": "Migration phase of Network Interface resource.", + "enum": [ + "None", + "Prepare", + "Commit", + "Abort", + "Committed" + ], + "x-ms-enum": { + "name": "NetworkInterfaceMigrationPhase", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "Prepare", + "value": "Prepare", + "description": "Prepare" + }, + { + "name": "Commit", + "value": "Commit", + "description": "Commit" + }, + { + "name": "Abort", + "value": "Abort", + "description": "Abort" + }, + { + "name": "Committed", + "value": "Committed", + "description": "Committed" + } + ] + } + }, + "Common.NetworkInterfaceNicType": { + "type": "string", + "description": "Type of Network Interface resource.", + "enum": [ + "Standard", + "Elastic" + ], + "x-ms-enum": { + "name": "NetworkInterfaceNicType", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "Standard" + }, + { + "name": "Elastic", + "value": "Elastic", + "description": "Elastic" + } + ] + } + }, + "Common.PrivateEndpointVNetPolicies": { + "type": "string", + "description": "Private Endpoint VNet Policies.", + "enum": [ + "Disabled", + "Basic" + ], + "x-ms-enum": { + "name": "PrivateEndpointVNetPolicies", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + }, + { + "name": "Basic", + "value": "Basic", + "description": "Basic" + } + ] + } + }, + "Common.ProbeNoHealthyBackendsBehavior": { + "type": "string", + "description": "Determines how new connections are handled by the load balancer when all backend instances are probed down.", + "enum": [ + "AllProbedDown", + "AllProbedUp" + ], + "x-ms-enum": { + "name": "ProbeNoHealthyBackendsBehavior", + "modelAsString": true, + "values": [ + { + "name": "AllProbedDown", + "value": "AllProbedDown", + "description": "No new flows will be sent to the backend pool." + }, + { + "name": "AllProbedUp", + "value": "AllProbedUp", + "description": "When all backend instances are probed down, incoming packets will be sent to all instances." + } + ] + } + }, + "Common.ProbeProtocol": { + "type": "string", + "description": "The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful.", + "enum": [ + "Http", + "Tcp", + "Https" + ], + "x-ms-enum": { + "name": "ProbeProtocol", + "modelAsString": true, + "values": [ + { + "name": "Http", + "value": "Http", + "description": "Http" + }, + { + "name": "Tcp", + "value": "Tcp", + "description": "Tcp" + }, + { + "name": "Https", + "value": "Https", + "description": "Https" + } + ] + } + }, + "Common.ProvisioningState": { + "type": "string", + "description": "Provisioning states of a resource.", + "enum": [ + "Failed", + "Succeeded", + "Canceled", + "Creating", + "Updating", + "Deleting" + ], + "x-ms-enum": { + "name": "ProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded" + }, + { + "name": "Canceled", + "value": "Canceled", + "description": "Canceled" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Creating" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Updating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deleting" + } + ] + } + }, + "Common.PublicIPAddressMigrationPhase": { + "type": "string", + "description": "Migration phase of Public IP Address.", + "enum": [ + "None", + "Prepare", + "Commit", + "Abort", + "Committed" + ], + "x-ms-enum": { + "name": "PublicIPAddressMigrationPhase", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "Prepare", + "value": "Prepare", + "description": "Prepare" + }, + { + "name": "Commit", + "value": "Commit", + "description": "Commit" + }, + { + "name": "Abort", + "value": "Abort", + "description": "Abort" + }, + { + "name": "Committed", + "value": "Committed", + "description": "Committed" + } + ] + } + }, + "Common.PublicIPAddressSkuName": { + "type": "string", + "description": "Name of a public IP address SKU.", + "enum": [ + "Basic", + "Standard", + "StandardV2" + ], + "x-ms-enum": { + "name": "PublicIPAddressSkuName", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "Basic" + }, + { + "name": "Standard", + "value": "Standard", + "description": "Standard" + }, + { + "name": "StandardV2", + "value": "StandardV2", + "description": "StandardV2" + } + ] + } + }, + "Common.PublicIPAddressSkuTier": { + "type": "string", + "description": "Tier of a public IP address SKU.", + "enum": [ + "Regional", + "Global" + ], + "x-ms-enum": { + "name": "PublicIPAddressSkuTier", + "modelAsString": true, + "values": [ + { + "name": "Regional", + "value": "Regional", + "description": "Regional" + }, + { + "name": "Global", + "value": "Global", + "description": "Global" + } + ] + } + }, + "Common.PublicIpAddressDnsSettingsDomainNameLabelScope": { + "type": "string", + "description": "The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN.", + "enum": [ + "TenantReuse", + "SubscriptionReuse", + "ResourceGroupReuse", + "NoReuse" + ], + "x-ms-enum": { + "name": "PublicIpAddressDnsSettingsDomainNameLabelScope", + "modelAsString": false, + "values": [ + { + "name": "TenantReuse", + "value": "TenantReuse", + "description": "TenantReuse" + }, + { + "name": "SubscriptionReuse", + "value": "SubscriptionReuse", + "description": "SubscriptionReuse" + }, + { + "name": "ResourceGroupReuse", + "value": "ResourceGroupReuse", + "description": "ResourceGroupReuse" + }, + { + "name": "NoReuse", + "value": "NoReuse", + "description": "NoReuse" + } + ] + } + }, + "Common.Resource": { + "type": "object", + "description": "Common resource representation.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "name": { + "type": "string", + "description": "Resource name.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type.", + "readOnly": true + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "Common.ResourceIdentityType": { + "type": "string", + "description": "The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove any identities from the virtual machine.", + "enum": [ + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned", + "None" + ], + "x-ms-enum": { + "name": "ResourceIdentityType", + "modelAsString": false, + "values": [ + { + "name": "SystemAssigned", + "value": "SystemAssigned", + "description": "SystemAssigned" + }, + { + "name": "UserAssigned", + "value": "UserAssigned", + "description": "UserAssigned" + }, + { + "name": "SystemAssigned, UserAssigned", + "value": "SystemAssigned, UserAssigned", + "description": "SystemAssigned, UserAssigned" + }, + { + "name": "None", + "value": "None", + "description": "None" + } + ] + } + }, + "Common.RouteNextHopType": { + "type": "string", + "description": "The type of Azure hop the packet should be sent to.", + "enum": [ + "VirtualNetworkGateway", + "VnetLocal", + "Internet", + "VirtualAppliance", + "VirtualApplianceEcmp", + "None" + ], + "x-ms-enum": { + "name": "RouteNextHopType", + "modelAsString": true, + "values": [ + { + "name": "VirtualNetworkGateway", + "value": "VirtualNetworkGateway", + "description": "VirtualNetworkGateway" + }, + { + "name": "VnetLocal", + "value": "VnetLocal", + "description": "VnetLocal" + }, + { + "name": "Internet", + "value": "Internet", + "description": "Internet" + }, + { + "name": "VirtualAppliance", + "value": "VirtualAppliance", + "description": "VirtualAppliance" + }, + { + "name": "VirtualApplianceEcmp", + "value": "VirtualApplianceEcmp", + "description": "Routes traffic to virtual appliances using Equal-Cost Multi-Path (ECMP) routing with multiple next hop IP addresses." + }, + { + "name": "None", + "value": "None", + "description": "No next hop type." + } + ] + } + }, + "Common.SecurityRuleAccess": { + "type": "string", + "description": "Whether network traffic is allowed or denied.", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "SecurityRuleAccess", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow", + "description": "Allow" + }, + { + "name": "Deny", + "value": "Deny", + "description": "Deny" + } + ] + } + }, + "Common.SecurityRuleDirection": { + "type": "string", + "description": "The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.", + "enum": [ + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "SecurityRuleDirection", + "modelAsString": true, + "values": [ + { + "name": "Inbound", + "value": "Inbound", + "description": "Inbound" + }, + { + "name": "Outbound", + "value": "Outbound", + "description": "Outbound" + } + ] + } + }, + "Common.SecurityRuleProtocol": { + "type": "string", + "description": "Network protocol this rule applies to.", + "enum": [ + "Tcp", + "Udp", + "Icmp", + "Esp", + "*", + "Ah" + ], + "x-ms-enum": { + "name": "SecurityRuleProtocol", + "modelAsString": true, + "values": [ + { + "name": "Tcp", + "value": "Tcp", + "description": "Tcp" + }, + { + "name": "Udp", + "value": "Udp", + "description": "Udp" + }, + { + "name": "Icmp", + "value": "Icmp", + "description": "Icmp" + }, + { + "name": "Esp", + "value": "Esp", + "description": "Esp" + }, + { + "name": "Asterisk", + "value": "*", + "description": "*" + }, + { + "name": "Ah", + "value": "Ah", + "description": "Ah" + } + ] + } + }, + "Common.SharingScope": { + "type": "string", + "description": "Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty.", + "enum": [ + "Tenant", + "DelegatedServices" + ], + "x-ms-enum": { + "name": "SharingScope", + "modelAsString": true, + "values": [ + { + "name": "Tenant", + "value": "Tenant", + "description": "Tenant" + }, + { + "name": "DelegatedServices", + "value": "DelegatedServices", + "description": "DelegatedServices" + } + ] + } + }, + "Common.SubResource": { + "type": "object", + "description": "Reference to another subresource.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + } + } + }, + "Common.SubResourceModel": { + "type": "object", + "description": "Reference to another subresource.", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource." + }, + "type": { + "type": "string", + "description": "Resource type.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/Common.SubResource" + } + ], + "x-ms-azure-resource": true + }, + "Common.SyncMode": { + "type": "string", + "description": "Backend address synchronous mode for the backend pool", + "enum": [ + "Automatic", + "Manual" + ], + "x-ms-enum": { + "name": "SyncMode", + "modelAsString": true, + "values": [ + { + "name": "Automatic", + "value": "Automatic", + "description": "Automatic" + }, + { + "name": "Manual", + "value": "Manual", + "description": "Manual" + } + ] + } + }, + "Common.TransportProtocol": { + "type": "string", + "description": "The transport protocol for the endpoint.", + "enum": [ + "Udp", + "Tcp", + "All", + "Quic" + ], + "x-ms-enum": { + "name": "TransportProtocol", + "modelAsString": true, + "values": [ + { + "name": "Udp", + "value": "Udp", + "description": "Udp" + }, + { + "name": "Tcp", + "value": "Tcp", + "description": "Tcp" + }, + { + "name": "All", + "value": "All", + "description": "All" + }, + { + "name": "Quic", + "value": "Quic", + "description": "Quic" + } + ] + } + }, + "Common.VirtualNetworkEncryptionEnforcement": { + "type": "string", + "description": "If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability.", + "enum": [ + "DropUnencrypted", + "AllowUnencrypted" + ], + "x-ms-enum": { + "name": "VirtualNetworkEncryptionEnforcement", + "modelAsString": true, + "values": [ + { + "name": "DropUnencrypted", + "value": "DropUnencrypted", + "description": "DropUnencrypted" + }, + { + "name": "AllowUnencrypted", + "value": "AllowUnencrypted", + "description": "AllowUnencrypted" + } + ] + } + }, + "Common.VirtualNetworkPeeringLevel": { + "type": "string", + "description": "The peering sync status of the virtual network peering.", + "enum": [ + "FullyInSync", + "RemoteNotInSync", + "LocalNotInSync", + "LocalAndRemoteNotInSync" + ], + "x-ms-enum": { + "name": "VirtualNetworkPeeringLevel", + "modelAsString": true, + "values": [ + { + "name": "FullyInSync", + "value": "FullyInSync", + "description": "FullyInSync" + }, + { + "name": "RemoteNotInSync", + "value": "RemoteNotInSync", + "description": "RemoteNotInSync" + }, + { + "name": "LocalNotInSync", + "value": "LocalNotInSync", + "description": "LocalNotInSync" + }, + { + "name": "LocalAndRemoteNotInSync", + "value": "LocalAndRemoteNotInSync", + "description": "LocalAndRemoteNotInSync" + } + ] + } + }, + "Common.VirtualNetworkPeeringState": { + "type": "string", + "description": "The status of the virtual network peering.", + "enum": [ + "Initiated", + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "name": "VirtualNetworkPeeringState", + "modelAsString": true, + "values": [ + { + "name": "Initiated", + "value": "Initiated", + "description": "Initiated" + }, + { + "name": "Connected", + "value": "Connected", + "description": "Connected" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "Disconnected" + } + ] + } + }, + "CommonErrorAdditionalInfo": { + "type": "object", + "description": "The resource management error additional info.", + "properties": { + "type": { + "type": "string", + "description": "The additional info type.", + "readOnly": true + }, + "info": { + "description": "The additional info.", + "readOnly": true + } + } + }, + "CommonErrorDetail": { + "type": "object", + "description": "The error detail.", + "properties": { + "code": { + "type": "string", + "description": "The error code.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "The error message.", + "readOnly": true + }, + "target": { + "type": "string", + "description": "The error target.", + "readOnly": true + }, + "details": { + "type": "array", + "description": "The error details.", + "items": { + "$ref": "#/definitions/CommonErrorDetail" + }, + "readOnly": true, + "x-ms-identifiers": [ + "message", + "target" + ] + }, + "additionalInfo": { + "type": "array", + "description": "The error additional info.", + "items": { + "$ref": "#/definitions/CommonErrorAdditionalInfo" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "CommonErrorResponse": { + "type": "object", + "title": "Error response", + "description": "Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).", + "properties": { + "error": { + "$ref": "#/definitions/CommonErrorDetail", + "description": "The error object." + } + } + }, + "CommonProxyResource": { + "type": "object", + "title": "Proxy Resource", + "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location", + "allOf": [ + { + "$ref": "#/definitions/CommonResource" + } + ], + "x-ms-azure-resource": true + }, + "CommonResource": { + "type": "object", + "title": "Resource", + "description": "Common fields that are returned in the response for all Azure Resource Manager resources", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The name of the resource", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", + "readOnly": true + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "readOnly": true + } + } + }, + "CommonTrackedResource": { + "type": "object", + "title": "Tracked Resource", + "description": "The resource model definition for an Azure Resource Manager tracked top level resource which has 'tags' and a 'location'", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "location" + ], + "allOf": [ + { + "$ref": "#/definitions/CommonResource" + } + ], + "x-ms-azure-resource": true + }, + "ConfigurationType": { + "type": "string", + "description": "Configuration Deployment Type.", + "enum": [ + "SecurityAdmin", + "Connectivity", + "SecurityUser", + "Routing" + ], + "x-ms-enum": { + "name": "ConfigurationType", + "modelAsString": true, + "values": [ + { + "name": "SecurityAdmin", + "value": "SecurityAdmin", + "description": "SecurityAdmin" + }, + { + "name": "Connectivity", + "value": "Connectivity", + "description": "Connectivity" + }, + { + "name": "SecurityUser", + "value": "SecurityUser", + "description": "SecurityUser" + }, + { + "name": "Routing", + "value": "Routing", + "description": "Routing" + } + ] + } + }, + "ConnectionAuthenticationType": { + "type": "string", + "description": "Gateway connection authentication type.", + "enum": [ + "PSK", + "Certificate" + ], + "x-ms-enum": { + "name": "ConnectionAuthenticationType", + "modelAsString": true, + "values": [ + { + "name": "PSK", + "value": "PSK", + "description": "Pre-shared key authentication method for VPN gateway connections." + }, + { + "name": "Certificate", + "value": "Certificate", + "description": "Certificate-based authentication method for VPN gateway connections." + } + ] + } + }, + "ConnectionMonitorEndpointFilterItemType": { + "type": "string", + "description": "The type of item included in the filter. Currently only 'AgentAddress' is supported.", + "enum": [ + "AgentAddress" + ], + "x-ms-enum": { + "name": "ConnectionMonitorEndpointFilterItemType", + "modelAsString": true, + "values": [ + { + "name": "AgentAddress", + "value": "AgentAddress", + "description": "AgentAddress" + } + ] + } + }, + "ConnectionMonitorEndpointFilterType": { + "type": "string", + "description": "The behavior of the endpoint filter. Currently only 'Include' is supported.", + "enum": [ + "Include" + ], + "x-ms-enum": { + "name": "ConnectionMonitorEndpointFilterType", + "modelAsString": true, + "values": [ + { + "name": "Include", + "value": "Include", + "description": "Include" + } + ] + } + }, + "ConnectionMonitorTestConfigurationProtocol": { + "type": "string", + "description": "The protocol to use in test evaluation.", + "enum": [ + "Tcp", + "Http", + "Icmp" + ], + "x-ms-enum": { + "name": "ConnectionMonitorTestConfigurationProtocol", + "modelAsString": true, + "values": [ + { + "name": "Tcp", + "value": "Tcp", + "description": "Tcp" + }, + { + "name": "Http", + "value": "Http", + "description": "Http" + }, + { + "name": "Icmp", + "value": "Icmp", + "description": "Icmp" + } + ] + } + }, + "ConnectionMonitorType": { + "type": "string", + "description": "Type of connection monitor.", + "enum": [ + "MultiEndpoint", + "SingleSourceDestination" + ], + "x-ms-enum": { + "name": "ConnectionMonitorType", + "modelAsString": true, + "values": [ + { + "name": "MultiEndpoint", + "value": "MultiEndpoint", + "description": "MultiEndpoint" + }, + { + "name": "SingleSourceDestination", + "value": "SingleSourceDestination", + "description": "SingleSourceDestination" + } + ] + } + }, + "ConnectionStatus": { + "type": "string", + "description": "The connection status.", + "enum": [ + "Unknown", + "Connected", + "Disconnected", + "Degraded" + ], + "x-ms-enum": { + "name": "ConnectionStatus", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown" + }, + { + "name": "Connected", + "value": "Connected", + "description": "Connected" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "Disconnected" + }, + { + "name": "Degraded", + "value": "Degraded", + "description": "Degraded" + } + ] + } + }, + "ConnectivityTopology": { + "type": "string", + "description": "Connectivity topology type.", + "enum": [ + "HubAndSpoke", + "Mesh" + ], + "x-ms-enum": { + "name": "ConnectivityTopology", + "modelAsString": true, + "values": [ + { + "name": "HubAndSpoke", + "value": "HubAndSpoke", + "description": "HubAndSpoke" + }, + { + "name": "Mesh", + "value": "Mesh", + "description": "Mesh" + } + ] + } + }, + "CoverageLevel": { + "type": "string", + "description": "Test coverage for the endpoint.", + "enum": [ + "Default", + "Low", + "BelowAverage", + "Average", + "AboveAverage", + "Full" + ], + "x-ms-enum": { + "name": "CoverageLevel", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default", + "description": "Default" + }, + { + "name": "Low", + "value": "Low", + "description": "Low" + }, + { + "name": "BelowAverage", + "value": "BelowAverage", + "description": "BelowAverage" + }, + { + "name": "Average", + "value": "Average", + "description": "Average" + }, + { + "name": "AboveAverage", + "value": "AboveAverage", + "description": "AboveAverage" + }, + { + "name": "Full", + "value": "Full", + "description": "Full" + } + ] + } + }, + "CreatedByType": { + "type": "string", + "description": "The type of identity that created the resource.", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ], + "x-ms-enum": { + "name": "CreatedByType", + "modelAsString": true, + "values": [ + { + "name": "User", + "value": "User", + "description": "User" + }, + { + "name": "Application", + "value": "Application", + "description": "Application" + }, + { + "name": "ManagedIdentity", + "value": "ManagedIdentity", + "description": "ManagedIdentity" + }, + { + "name": "Key", + "value": "Key", + "description": "Key" + } + ] + } + }, + "CustomIpPrefixType": { + "type": "string", + "description": "Type of custom IP prefix. Should be Singular, Parent, or Child.", + "enum": [ + "Singular", + "Parent", + "Child" + ], + "x-ms-enum": { + "name": "CustomIpPrefixType", + "modelAsString": true, + "values": [ + { + "name": "Singular", + "value": "Singular", + "description": "Singular" + }, + { + "name": "Parent", + "value": "Parent", + "description": "Parent" + }, + { + "name": "Child", + "value": "Child", + "description": "Child" + } + ] + } + }, + "DdosDetectionMode": { + "type": "string", + "description": "The detection mode for the DDoS detection rule.", + "enum": [ + "TrafficThreshold" + ], + "x-ms-enum": { + "name": "DdosDetectionMode", + "modelAsString": true, + "values": [ + { + "name": "TrafficThreshold", + "value": "TrafficThreshold", + "description": "TrafficThreshold" + } + ] + } + }, + "DdosTrafficType": { + "type": "string", + "description": "The traffic type (one of Tcp, Udp, TcpSyn) that the detection rule will be applied upon.", + "enum": [ + "Tcp", + "Udp", + "TcpSyn" + ], + "x-ms-enum": { + "name": "DdosTrafficType", + "modelAsString": true, + "values": [ + { + "name": "Tcp", + "value": "Tcp", + "description": "Tcp" + }, + { + "name": "Udp", + "value": "Udp", + "description": "Udp" + }, + { + "name": "TcpSyn", + "value": "TcpSyn", + "description": "TcpSyn" + } + ] + } + }, + "DeleteExistingPeering": { + "type": "string", + "description": "Flag if need to remove current existing peerings.", + "enum": [ + "False", + "True" + ], + "x-ms-enum": { + "name": "DeleteExistingPeering", + "modelAsString": true, + "values": [ + { + "name": "False", + "value": "False", + "description": "False" + }, + { + "name": "True", + "value": "True", + "description": "True" + } + ] + } + }, + "DeploymentStatus": { + "type": "string", + "description": "Deployment Status.", + "enum": [ + "NotStarted", + "Deploying", + "Deployed", + "Failed" + ], + "x-ms-enum": { + "name": "DeploymentStatus", + "modelAsString": true, + "values": [ + { + "name": "NotStarted", + "value": "NotStarted", + "description": "NotStarted" + }, + { + "name": "Deploying", + "value": "Deploying", + "description": "Deploying" + }, + { + "name": "Deployed", + "value": "Deployed", + "description": "Deployed" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + } + ] + } + }, + "DestinationPortBehavior": { + "type": "string", + "description": "Destination port behavior.", + "enum": [ + "None", + "ListenIfAvailable" + ], + "x-ms-enum": { + "name": "DestinationPortBehavior", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "ListenIfAvailable", + "value": "ListenIfAvailable", + "description": "ListenIfAvailable" + } + ] + } + }, + "DhGroup": { + "type": "string", + "description": "The DH Groups used in IKE Phase 1 for initial SA.", + "enum": [ + "None", + "DHGroup1", + "DHGroup2", + "DHGroup14", + "DHGroup2048", + "ECP256", + "ECP384", + "DHGroup24" + ], + "x-ms-enum": { + "name": "DhGroup", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "DHGroup1", + "value": "DHGroup1", + "description": "DHGroup1" + }, + { + "name": "DHGroup2", + "value": "DHGroup2", + "description": "DHGroup2" + }, + { + "name": "DHGroup14", + "value": "DHGroup14", + "description": "DHGroup14" + }, + { + "name": "DHGroup2048", + "value": "DHGroup2048", + "description": "DHGroup2048" + }, + { + "name": "ECP256", + "value": "ECP256", + "description": "ECP256" + }, + { + "name": "ECP384", + "value": "ECP384", + "description": "ECP384" + }, + { + "name": "DHGroup24", + "value": "DHGroup24", + "description": "DHGroup24" + } + ] + } + }, + "Direction": { + "type": "string", + "description": "The direction of the traffic.", + "enum": [ + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "Direction", + "modelAsString": true, + "values": [ + { + "name": "Inbound", + "value": "Inbound", + "description": "Inbound" + }, + { + "name": "Outbound", + "value": "Outbound", + "description": "Outbound" + } + ] + } + }, + "DisableBgpRoutePropagation": { + "type": "string", + "description": "Determines whether BGP route propagation is enabled. Defaults to true.", + "enum": [ + "False", + "True" + ], + "x-ms-enum": { + "name": "DisableBgpRoutePropagation", + "modelAsString": true, + "values": [ + { + "name": "False", + "value": "False", + "description": "BGP route propagation is enabled." + }, + { + "name": "True", + "value": "True", + "description": "BGP route propagation is disabled." + } + ] + } + }, + "EffectiveAdminRuleKind": { + "type": "string", + "description": "Whether the rule is custom or default.", + "enum": [ + "Custom", + "Default" + ], + "x-ms-enum": { + "name": "EffectiveAdminRuleKind", + "modelAsString": true, + "values": [ + { + "name": "Custom", + "value": "Custom", + "description": "Custom" + }, + { + "name": "Default", + "value": "Default", + "description": "Default" + } + ] + } + }, + "EffectiveRouteSource": { + "type": "string", + "description": "Who created the route.", + "enum": [ + "Unknown", + "User", + "VirtualNetworkGateway", + "Default" + ], + "x-ms-enum": { + "name": "EffectiveRouteSource", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown" + }, + { + "name": "User", + "value": "User", + "description": "User" + }, + { + "name": "VirtualNetworkGateway", + "value": "VirtualNetworkGateway", + "description": "VirtualNetworkGateway" + }, + { + "name": "Default", + "value": "Default", + "description": "Default" + } + ] + } + }, + "EffectiveRouteState": { + "type": "string", + "description": "The value of effective route.", + "enum": [ + "Active", + "Invalid" + ], + "x-ms-enum": { + "name": "EffectiveRouteState", + "modelAsString": true, + "values": [ + { + "name": "Active", + "value": "Active", + "description": "Active" + }, + { + "name": "Invalid", + "value": "Invalid", + "description": "Invalid" + } + ] + } + }, + "EffectiveSecurityRuleProtocol": { + "type": "string", + "description": "The network protocol this rule applies to.", + "enum": [ + "Tcp", + "Udp", + "All" + ], + "x-ms-enum": { + "name": "EffectiveSecurityRuleProtocol", + "modelAsString": true, + "values": [ + { + "name": "Tcp", + "value": "Tcp", + "description": "Tcp" + }, + { + "name": "Udp", + "value": "Udp", + "description": "Udp" + }, + { + "name": "All", + "value": "All", + "description": "All" + } + ] + } + }, + "EndpointType": { + "type": "string", + "description": "The endpoint type.", + "enum": [ + "AzureVM", + "AzureVNet", + "AzureSubnet", + "ExternalAddress", + "MMAWorkspaceMachine", + "MMAWorkspaceNetwork", + "AzureArcVM", + "AzureVMSS", + "AzureArcNetwork" + ], + "x-ms-enum": { + "name": "EndpointType", + "modelAsString": true, + "values": [ + { + "name": "AzureVM", + "value": "AzureVM", + "description": "AzureVM" + }, + { + "name": "AzureVNet", + "value": "AzureVNet", + "description": "AzureVNet" + }, + { + "name": "AzureSubnet", + "value": "AzureSubnet", + "description": "AzureSubnet" + }, + { + "name": "ExternalAddress", + "value": "ExternalAddress", + "description": "ExternalAddress" + }, + { + "name": "MMAWorkspaceMachine", + "value": "MMAWorkspaceMachine", + "description": "MMAWorkspaceMachine" + }, + { + "name": "MMAWorkspaceNetwork", + "value": "MMAWorkspaceNetwork", + "description": "MMAWorkspaceNetwork" + }, + { + "name": "AzureArcVM", + "value": "AzureArcVM", + "description": "AzureArcVM" + }, + { + "name": "AzureVMSS", + "value": "AzureVMSS", + "description": "AzureVMSS" + }, + { + "name": "AzureArcNetwork", + "value": "AzureArcNetwork", + "description": "AzureArcNetwork" + } + ] + } + }, + "Error": { + "type": "object", + "description": "Common error representation.", + "properties": { + "code": { + "type": "string", + "description": "Error code." + }, + "message": { + "type": "string", + "description": "Error message." + }, + "target": { + "type": "string", + "description": "Error target." + }, + "details": { + "type": "array", + "description": "Error details.", + "items": { + "$ref": "#/definitions/ErrorDetails" + } + }, + "innerError": { + "type": "string", + "description": "Inner error message." + } + } + }, + "ErrorDetails": { + "type": "object", + "description": "Common error details representation.", + "properties": { + "code": { + "type": "string", + "description": "Error code." + }, + "target": { + "type": "string", + "description": "Error target." + }, + "message": { + "type": "string", + "description": "Error message." + } + } + }, + "ExceptionEntryMatchVariable": { + "type": "string", + "description": "The variable on which we evaluate the exception condition", + "enum": [ + "RequestURI", + "RemoteAddr", + "RequestHeader" + ], + "x-ms-enum": { + "name": "ExceptionEntryMatchVariable", + "modelAsString": true, + "values": [ + { + "name": "RequestURI", + "value": "RequestURI", + "description": "RequestURI" + }, + { + "name": "RemoteAddr", + "value": "RemoteAddr", + "description": "RemoteAddr" + }, + { + "name": "RequestHeader", + "value": "RequestHeader", + "description": "RequestHeader" + } + ] + } + }, + "ExceptionEntrySelectorMatchOperator": { + "type": "string", + "description": "When the matchVariable points to a key-value pair (e.g, RequestHeader), this operates on the selector", + "enum": [ + "Equals", + "Contains", + "StartsWith", + "EndsWith" + ], + "x-ms-enum": { + "name": "ExceptionEntrySelectorMatchOperator", + "modelAsString": true, + "values": [ + { + "name": "Equals", + "value": "Equals", + "description": "Equals" + }, + { + "name": "Contains", + "value": "Contains", + "description": "Contains" + }, + { + "name": "StartsWith", + "value": "StartsWith", + "description": "StartsWith" + }, + { + "name": "EndsWith", + "value": "EndsWith", + "description": "EndsWith" + } + ] + } + }, + "ExceptionEntryValueMatchOperator": { + "type": "string", + "description": "Operates on the allowed values for the matchVariable", + "enum": [ + "Equals", + "Contains", + "StartsWith", + "EndsWith", + "IPMatch" + ], + "x-ms-enum": { + "name": "ExceptionEntryValueMatchOperator", + "modelAsString": true, + "values": [ + { + "name": "Equals", + "value": "Equals", + "description": "Equals" + }, + { + "name": "Contains", + "value": "Contains", + "description": "Contains" + }, + { + "name": "StartsWith", + "value": "StartsWith", + "description": "StartsWith" + }, + { + "name": "EndsWith", + "value": "EndsWith", + "description": "EndsWith" + }, + { + "name": "IPMatch", + "value": "IPMatch", + "description": "IPMatch" + } + ] + } + }, + "ExpressRouteCircuitPeeringAdvertisedPublicPrefixState": { + "type": "string", + "description": "The advertised public prefix state of the Peering resource.", + "enum": [ + "NotConfigured", + "Configuring", + "Configured", + "ValidationNeeded" + ], + "x-ms-enum": { + "name": "ExpressRouteCircuitPeeringAdvertisedPublicPrefixState", + "modelAsString": true, + "values": [ + { + "name": "NotConfigured", + "value": "NotConfigured", + "description": "NotConfigured" + }, + { + "name": "Configuring", + "value": "Configuring", + "description": "Configuring" + }, + { + "name": "Configured", + "value": "Configured", + "description": "Configured" + }, + { + "name": "ValidationNeeded", + "value": "ValidationNeeded", + "description": "ValidationNeeded" + } + ] + } + }, + "ExpressRouteCircuitPeeringState": { + "type": "string", + "description": "The state of peering.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "ExpressRouteCircuitPeeringState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + } + ] + } + }, + "ExpressRouteCircuitSkuFamily": { + "type": "string", + "description": "The family of the SKU.", + "enum": [ + "UnlimitedData", + "MeteredData" + ], + "x-ms-enum": { + "name": "ExpressRouteCircuitSkuFamily", + "modelAsString": true, + "values": [ + { + "name": "UnlimitedData", + "value": "UnlimitedData", + "description": "UnlimitedData" + }, + { + "name": "MeteredData", + "value": "MeteredData", + "description": "MeteredData" + } + ] + } + }, + "ExpressRouteCircuitSkuTier": { + "type": "string", + "description": "The tier of the SKU.", + "enum": [ + "Standard", + "Premium", + "Basic", + "Local" + ], + "x-ms-enum": { + "name": "ExpressRouteCircuitSkuTier", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "Standard" + }, + { + "name": "Premium", + "value": "Premium", + "description": "Premium" + }, + { + "name": "Basic", + "value": "Basic", + "description": "Basic" + }, + { + "name": "Local", + "value": "Local", + "description": "Local" + } + ] + } + }, + "ExpressRouteFailoverBgpStatusAddressFamily": { + "type": "string", + "description": "The address family type for BGP status.", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "ExpressRouteFailoverBgpStatusAddressFamily", + "modelAsString": true, + "values": [ + { + "name": "IPv4", + "value": "IPv4", + "description": "IPv4 address family." + }, + { + "name": "IPv6", + "value": "IPv6", + "description": "IPv6 address family." + } + ] + } + }, + "ExpressRouteFailoverLinkType": { + "type": "string", + "description": "The link on which the failover test is being performed.", + "enum": [ + "Primary", + "Secondary" + ], + "x-ms-enum": { + "name": "ExpressRouteFailoverLinkType", + "modelAsString": true, + "values": [ + { + "name": "Primary", + "value": "Primary", + "description": "Primary link." + }, + { + "name": "Secondary", + "value": "Secondary", + "description": "Secondary link." + } + ] + } + }, + "ExpressRouteLinkAdminState": { + "type": "string", + "description": "Administrative state of the physical port.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "ExpressRouteLinkAdminState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + } + ] + } + }, + "ExpressRouteLinkConnectorType": { + "type": "string", + "description": "Physical fiber port type.", + "enum": [ + "LC", + "SC" + ], + "x-ms-enum": { + "name": "ExpressRouteLinkConnectorType", + "modelAsString": true, + "values": [ + { + "name": "LC", + "value": "LC", + "description": "LC" + }, + { + "name": "SC", + "value": "SC", + "description": "SC" + } + ] + } + }, + "ExpressRouteLinkFailoverBgpStatus": { + "type": "string", + "description": "The BGP status of an ExpressRoute link failover.", + "enum": [ + "Undefined", + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "name": "ExpressRouteLinkFailoverBgpStatus", + "modelAsString": true, + "values": [ + { + "name": "Undefined", + "value": "Undefined", + "description": "Undefined status." + }, + { + "name": "Connected", + "value": "Connected", + "description": "Connected status." + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "Disconnected status." + } + ] + } + }, + "ExpressRouteLinkMacSecCipher": { + "type": "string", + "description": "Mac security cipher.", + "enum": [ + "GcmAes256", + "GcmAes128", + "GcmAesXpn128", + "GcmAesXpn256" + ], + "x-ms-enum": { + "name": "ExpressRouteLinkMacSecCipher", + "modelAsString": true, + "values": [ + { + "name": "GcmAes256", + "value": "GcmAes256", + "description": "GcmAes256" + }, + { + "name": "GcmAes128", + "value": "GcmAes128", + "description": "GcmAes128" + }, + { + "name": "GcmAesXpn128", + "value": "GcmAesXpn128", + "description": "GcmAesXpn128" + }, + { + "name": "GcmAesXpn256", + "value": "GcmAesXpn256", + "description": "GcmAesXpn256" + } + ] + } + }, + "ExpressRouteLinkMacSecSciState": { + "type": "string", + "description": "Sci mode enabled/disabled.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "ExpressRouteLinkMacSecSciState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + } + ] + } + }, + "ExpressRoutePeeringState": { + "type": "string", + "description": "The state of peering.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "ExpressRoutePeeringState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + } + ] + } + }, + "ExpressRoutePeeringType": { + "type": "string", + "description": "The peering type.", + "enum": [ + "AzurePublicPeering", + "AzurePrivatePeering", + "MicrosoftPeering" + ], + "x-ms-enum": { + "name": "ExpressRoutePeeringType", + "modelAsString": true, + "values": [ + { + "name": "AzurePublicPeering", + "value": "AzurePublicPeering", + "description": "AzurePublicPeering" + }, + { + "name": "AzurePrivatePeering", + "value": "AzurePrivatePeering", + "description": "AzurePrivatePeering" + }, + { + "name": "MicrosoftPeering", + "value": "MicrosoftPeering", + "description": "MicrosoftPeering" + } + ] + } + }, + "ExpressRoutePortAuthorizationUseStatus": { + "type": "string", + "description": "The authorization use status.", + "enum": [ + "Available", + "InUse" + ], + "x-ms-enum": { + "name": "ExpressRoutePortAuthorizationUseStatus", + "modelAsString": true, + "values": [ + { + "name": "Available", + "value": "Available", + "description": "Available" + }, + { + "name": "InUse", + "value": "InUse", + "description": "InUse" + } + ] + } + }, + "ExpressRoutePortsBillingType": { + "type": "string", + "description": "The billing type of the ExpressRoutePort resource.", + "enum": [ + "MeteredData", + "UnlimitedData" + ], + "x-ms-enum": { + "name": "ExpressRoutePortsBillingType", + "modelAsString": true, + "values": [ + { + "name": "MeteredData", + "value": "MeteredData", + "description": "MeteredData" + }, + { + "name": "UnlimitedData", + "value": "UnlimitedData", + "description": "UnlimitedData" + } + ] + } + }, + "ExpressRoutePortsEncapsulation": { + "type": "string", + "description": "Encapsulation method on physical ports.", + "enum": [ + "Dot1Q", + "QinQ" + ], + "x-ms-enum": { + "name": "ExpressRoutePortsEncapsulation", + "modelAsString": true, + "values": [ + { + "name": "Dot1Q", + "value": "Dot1Q", + "description": "Dot1Q" + }, + { + "name": "QinQ", + "value": "QinQ", + "description": "QinQ" + } + ] + } + }, + "FailoverConnectionStatus": { + "type": "string", + "description": "The current status of the connection", + "enum": [ + "Connected", + "Disconnected" + ], + "x-ms-enum": { + "name": "FailoverConnectionStatus", + "modelAsString": true, + "values": [ + { + "name": "Connected", + "value": "Connected", + "description": "Connected" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "Disconnected" + } + ] + } + }, + "FailoverTestStatus": { + "type": "string", + "description": "The current status of the test", + "enum": [ + "NotStarted", + "Starting", + "Running", + "StartFailed", + "Stopping", + "Completed", + "StopFailed", + "Invalid", + "Expired" + ], + "x-ms-enum": { + "name": "FailoverTestStatus", + "modelAsString": true, + "values": [ + { + "name": "NotStarted", + "value": "NotStarted", + "description": "NotStarted" + }, + { + "name": "Starting", + "value": "Starting", + "description": "Starting" + }, + { + "name": "Running", + "value": "Running", + "description": "Running" + }, + { + "name": "StartFailed", + "value": "StartFailed", + "description": "StartFailed" + }, + { + "name": "Stopping", + "value": "Stopping", + "description": "Stopping" + }, + { + "name": "Completed", + "value": "Completed", + "description": "Completed" + }, + { + "name": "StopFailed", + "value": "StopFailed", + "description": "StopFailed" + }, + { + "name": "Invalid", + "value": "Invalid", + "description": "Invalid" + }, + { + "name": "Expired", + "value": "Expired", + "description": "Expired" + } + ] + } + }, + "FailoverTestStatusForSingleTest": { + "type": "string", + "description": "The current status of the test", + "enum": [ + "NotStarted", + "Starting", + "Running", + "StartFailed", + "Stopping", + "Completed", + "StopFailed", + "Invalid", + "Expired" + ], + "x-ms-enum": { + "name": "FailoverTestStatusForSingleTest", + "modelAsString": true, + "values": [ + { + "name": "NotStarted", + "value": "NotStarted", + "description": "NotStarted" + }, + { + "name": "Starting", + "value": "Starting", + "description": "Starting" + }, + { + "name": "Running", + "value": "Running", + "description": "Running" + }, + { + "name": "StartFailed", + "value": "StartFailed", + "description": "StartFailed" + }, + { + "name": "Stopping", + "value": "Stopping", + "description": "Stopping" + }, + { + "name": "Completed", + "value": "Completed", + "description": "Completed" + }, + { + "name": "StopFailed", + "value": "StopFailed", + "description": "StopFailed" + }, + { + "name": "Invalid", + "value": "Invalid", + "description": "Invalid" + }, + { + "name": "Expired", + "value": "Expired", + "description": "Expired" + } + ] + } + }, + "FailoverTestType": { + "type": "string", + "description": "The type of failover test", + "enum": [ + "SingleSiteFailover", + "MultiSiteFailover", + "All" + ], + "x-ms-enum": { + "name": "FailoverTestType", + "modelAsString": true, + "values": [ + { + "name": "SingleSiteFailover", + "value": "SingleSiteFailover", + "description": "SingleSiteFailover" + }, + { + "name": "MultiSiteFailover", + "value": "MultiSiteFailover", + "description": "MultiSiteFailover" + }, + { + "name": "All", + "value": "All", + "description": "All" + } + ] + } + }, + "FirewallPolicyFilterRuleCollectionActionType": { + "type": "string", + "description": "The action type of a rule.", + "enum": [ + "Allow", + "Deny" + ], + "x-ms-enum": { + "name": "FirewallPolicyFilterRuleCollectionActionType", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow", + "description": "Allow" + }, + { + "name": "Deny", + "value": "Deny", + "description": "Deny" + } + ] + } + }, + "FirewallPolicyIDPSQuerySortOrder": { + "type": "string", + "description": "Describes if results should be in ascending/descending order", + "enum": [ + "Ascending", + "Descending" + ], + "x-ms-enum": { + "name": "FirewallPolicyIDPSQuerySortOrder", + "modelAsString": true, + "values": [ + { + "name": "Ascending", + "value": "Ascending", + "description": "Ascending" + }, + { + "name": "Descending", + "value": "Descending", + "description": "Descending" + } + ] + } + }, + "FirewallPolicyIDPSSignatureDirection": { + "type": "number", + "description": "Describes in which direction signature is being enforced: 0 - OutBound, 1 - InBound, 2 - Any, 3 - Internal, 4 - InternalOutbound, 5 - InternalInbound", + "enum": [ + 0, + 1, + 2, + 3, + 4, + 5 + ], + "x-ms-enum": { + "name": "FirewallPolicyIDPSSignatureDirection", + "modelAsString": false, + "values": [ + { + "name": "0", + "value": 0, + "description": "0" + }, + { + "name": "1", + "value": 1, + "description": "1" + }, + { + "name": "2", + "value": 2, + "description": "2" + }, + { + "name": "3", + "value": 3, + "description": "3" + }, + { + "name": "4", + "value": 4, + "description": "4" + }, + { + "name": "5", + "value": 5, + "description": "5" + } + ] + } + }, + "FirewallPolicyIDPSSignatureMode": { + "type": "number", + "description": "The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny", + "enum": [ + 0, + 1, + 2 + ], + "x-ms-enum": { + "name": "FirewallPolicyIDPSSignatureMode", + "modelAsString": false, + "values": [ + { + "name": "0", + "value": 0, + "description": "0" + }, + { + "name": "1", + "value": 1, + "description": "1" + }, + { + "name": "2", + "value": 2, + "description": "2" + } + ] + } + }, + "FirewallPolicyIDPSSignatureSeverity": { + "type": "number", + "description": "Describes the severity of signature: 1 - High, 2 - Medium, 3 - Low", + "enum": [ + 1, + 2, + 3 + ], + "x-ms-enum": { + "name": "FirewallPolicyIDPSSignatureSeverity", + "modelAsString": false, + "values": [ + { + "name": "1", + "value": 1, + "description": "1" + }, + { + "name": "2", + "value": 2, + "description": "2" + }, + { + "name": "3", + "value": 3, + "description": "3" + } + ] + } + }, + "FirewallPolicyIntrusionDetectionProfileType": { + "type": "string", + "description": "Specifies the Intrusion Detection signature profile to apply.\n\nValues:\n- Off: IDPS profiles disabled; uses the same signature set that existed before profiles.\n- Emerging: Signatures of the newest, most recent threats.\n- Core: Complete, modern, standard set of signatures.\n- Extended: Core signatures plus older legacy signatures for maximum coverage.", + "enum": [ + "Off", + "Emerging", + "Core", + "Extended" + ], + "x-ms-enum": { + "name": "FirewallPolicyIntrusionDetectionProfileType", + "modelAsString": true, + "values": [ + { + "name": "Off", + "value": "Off", + "description": "Off" + }, + { + "name": "Emerging", + "value": "Emerging", + "description": "Emerging" + }, + { + "name": "Core", + "value": "Core", + "description": "Core" + }, + { + "name": "Extended", + "value": "Extended", + "description": "Extended" + } + ] + } + }, + "FirewallPolicyIntrusionDetectionProtocol": { + "type": "string", + "description": "Possible intrusion detection bypass traffic protocols.", + "enum": [ + "TCP", + "UDP", + "ICMP", + "ANY" + ], + "x-ms-enum": { + "name": "FirewallPolicyIntrusionDetectionProtocol", + "modelAsString": true, + "values": [ + { + "name": "TCP", + "value": "TCP", + "description": "TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "ICMP" + }, + { + "name": "ANY", + "value": "ANY", + "description": "ANY" + } + ] + } + }, + "FirewallPolicyIntrusionDetectionStateType": { + "type": "string", + "description": "Possible state values.", + "enum": [ + "Off", + "Alert", + "Deny" + ], + "x-ms-enum": { + "name": "FirewallPolicyIntrusionDetectionStateType", + "modelAsString": true, + "values": [ + { + "name": "Off", + "value": "Off", + "description": "Off" + }, + { + "name": "Alert", + "value": "Alert", + "description": "Alert" + }, + { + "name": "Deny", + "value": "Deny", + "description": "Deny" + } + ] + } + }, + "FirewallPolicyNatRuleCollectionActionType": { + "type": "string", + "description": "The action type of a rule.", + "enum": [ + "DNAT" + ], + "x-ms-enum": { + "name": "FirewallPolicyNatRuleCollectionActionType", + "modelAsString": true, + "values": [ + { + "name": "DNAT", + "value": "DNAT", + "description": "DNAT" + } + ] + } + }, + "FirewallPolicyRuleApplicationProtocolType": { + "type": "string", + "description": "The application protocol type of a Rule.", + "enum": [ + "Http", + "Https" + ], + "x-ms-enum": { + "name": "FirewallPolicyRuleApplicationProtocolType", + "modelAsString": true, + "values": [ + { + "name": "Http", + "value": "Http", + "description": "Http" + }, + { + "name": "Https", + "value": "Https", + "description": "Https" + } + ] + } + }, + "FirewallPolicyRuleCollectionType": { + "type": "string", + "description": "The type of the rule collection.", + "enum": [ + "FirewallPolicyNatRuleCollection", + "FirewallPolicyFilterRuleCollection" + ], + "x-ms-enum": { + "name": "FirewallPolicyRuleCollectionType", + "modelAsString": true, + "values": [ + { + "name": "FirewallPolicyNatRuleCollection", + "value": "FirewallPolicyNatRuleCollection", + "description": "FirewallPolicyNatRuleCollection" + }, + { + "name": "FirewallPolicyFilterRuleCollection", + "value": "FirewallPolicyFilterRuleCollection", + "description": "FirewallPolicyFilterRuleCollection" + } + ] + } + }, + "FirewallPolicyRuleNetworkProtocol": { + "type": "string", + "description": "The Network protocol of a Rule.", + "enum": [ + "TCP", + "UDP", + "Any", + "ICMP" + ], + "x-ms-enum": { + "name": "FirewallPolicyRuleNetworkProtocol", + "modelAsString": true, + "values": [ + { + "name": "TCP", + "value": "TCP", + "description": "TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "UDP" + }, + { + "name": "Any", + "value": "Any", + "description": "Any" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "ICMP" + } + ] + } + }, + "FirewallPolicyRuleType": { + "type": "string", + "description": "Rule Type.", + "enum": [ + "ApplicationRule", + "NetworkRule", + "NatRule" + ], + "x-ms-enum": { + "name": "FirewallPolicyRuleType", + "modelAsString": true, + "values": [ + { + "name": "ApplicationRule", + "value": "ApplicationRule", + "description": "ApplicationRule" + }, + { + "name": "NetworkRule", + "value": "NetworkRule", + "description": "NetworkRule" + }, + { + "name": "NatRule", + "value": "NatRule", + "description": "NatRule" + } + ] + } + }, + "FirewallPolicySkuTier": { + "type": "string", + "description": "Tier of Firewall Policy.", + "enum": [ + "Standard", + "Premium", + "Basic" + ], + "x-ms-enum": { + "name": "FirewallPolicySkuTier", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "Standard" + }, + { + "name": "Premium", + "value": "Premium", + "description": "Premium" + }, + { + "name": "Basic", + "value": "Basic", + "description": "Basic" + } + ] + } + }, + "Geo": { + "type": "string", + "description": "The Geo for CIDR advertising. Should be an Geo code.", + "enum": [ + "GLOBAL", + "AFRI", + "APAC", + "EURO", + "LATAM", + "NAM", + "ME", + "OCEANIA", + "AQ" + ], + "x-ms-enum": { + "name": "Geo", + "modelAsString": true, + "values": [ + { + "name": "GLOBAL", + "value": "GLOBAL", + "description": "GLOBAL" + }, + { + "name": "AFRI", + "value": "AFRI", + "description": "AFRI" + }, + { + "name": "APAC", + "value": "APAC", + "description": "APAC" + }, + { + "name": "EURO", + "value": "EURO", + "description": "EURO" + }, + { + "name": "LATAM", + "value": "LATAM", + "description": "LATAM" + }, + { + "name": "NAM", + "value": "NAM", + "description": "NAM" + }, + { + "name": "ME", + "value": "ME", + "description": "ME" + }, + { + "name": "OCEANIA", + "value": "OCEANIA", + "description": "OCEANIA" + }, + { + "name": "AQ", + "value": "AQ", + "description": "AQ" + } + ] + } + }, + "GroupConnectivity": { + "type": "string", + "description": "Group connectivity type.", + "enum": [ + "None", + "DirectlyConnected" + ], + "x-ms-enum": { + "name": "GroupConnectivity", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "DirectlyConnected", + "value": "DirectlyConnected", + "description": "DirectlyConnected" + } + ] + } + }, + "GroupMemberType": { + "type": "string", + "description": "Network Group member type", + "enum": [ + "VirtualNetwork", + "Subnet" + ], + "x-ms-enum": { + "name": "GroupMemberType", + "modelAsString": true, + "values": [ + { + "name": "VirtualNetwork", + "value": "VirtualNetwork", + "description": "VirtualNetwork" + }, + { + "name": "Subnet", + "value": "Subnet", + "description": "Subnet" + } + ] + } + }, + "HTTPConfigurationMethod": { + "type": "string", + "description": "The HTTP method to use.", + "enum": [ + "Get", + "Post" + ], + "x-ms-enum": { + "name": "HTTPConfigurationMethod", + "modelAsString": true, + "values": [ + { + "name": "Get", + "value": "Get", + "description": "Get" + }, + { + "name": "Post", + "value": "Post", + "description": "Post" + } + ] + } + }, + "HTTPMethod": { + "type": "string", + "description": "HTTP method.", + "enum": [ + "Get" + ], + "x-ms-enum": { + "name": "HTTPMethod", + "modelAsString": true, + "values": [ + { + "name": "Get", + "value": "Get", + "description": "Get" + } + ] + } + }, + "HubBgpConnectionStatus": { + "type": "string", + "description": "The current state of the VirtualHub to Peer.", + "enum": [ + "Unknown", + "Connecting", + "Connected", + "NotConnected" + ], + "x-ms-enum": { + "name": "HubBgpConnectionStatus", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown" + }, + { + "name": "Connecting", + "value": "Connecting", + "description": "Connecting" + }, + { + "name": "Connected", + "value": "Connected", + "description": "Connected" + }, + { + "name": "NotConnected", + "value": "NotConnected", + "description": "NotConnected" + } + ] + } + }, + "HubRoutingPreference": { + "type": "string", + "description": "The hub routing preference gateway types", + "enum": [ + "ExpressRoute", + "VpnGateway", + "ASPath" + ], + "x-ms-enum": { + "name": "HubRoutingPreference", + "modelAsString": true, + "values": [ + { + "name": "ExpressRoute", + "value": "ExpressRoute", + "description": "ExpressRoute" + }, + { + "name": "VpnGateway", + "value": "VpnGateway", + "description": "VpnGateway" + }, + { + "name": "ASPath", + "value": "ASPath", + "description": "ASPath" + } + ] + } + }, + "IkeEncryption": { + "type": "string", + "description": "The IKE encryption algorithm (IKE phase 2).", + "enum": [ + "DES", + "DES3", + "AES128", + "AES192", + "AES256", + "GCMAES256", + "GCMAES128" + ], + "x-ms-enum": { + "name": "IkeEncryption", + "modelAsString": true, + "values": [ + { + "name": "DES", + "value": "DES", + "description": "DES" + }, + { + "name": "DES3", + "value": "DES3", + "description": "DES3" + }, + { + "name": "AES128", + "value": "AES128", + "description": "AES128" + }, + { + "name": "AES192", + "value": "AES192", + "description": "AES192" + }, + { + "name": "AES256", + "value": "AES256", + "description": "AES256" + }, + { + "name": "GCMAES256", + "value": "GCMAES256", + "description": "GCMAES256" + }, + { + "name": "GCMAES128", + "value": "GCMAES128", + "description": "GCMAES128" + } + ] + } + }, + "IkeIntegrity": { + "type": "string", + "description": "The IKE integrity algorithm (IKE phase 2).", + "enum": [ + "MD5", + "SHA1", + "SHA256", + "SHA384", + "GCMAES256", + "GCMAES128" + ], + "x-ms-enum": { + "name": "IkeIntegrity", + "modelAsString": true, + "values": [ + { + "name": "MD5", + "value": "MD5", + "description": "MD5" + }, + { + "name": "SHA1", + "value": "SHA1", + "description": "SHA1" + }, + { + "name": "SHA256", + "value": "SHA256", + "description": "SHA256" + }, + { + "name": "SHA384", + "value": "SHA384", + "description": "SHA384" + }, + { + "name": "GCMAES256", + "value": "GCMAES256", + "description": "GCMAES256" + }, + { + "name": "GCMAES128", + "value": "GCMAES128", + "description": "GCMAES128" + } + ] + } + }, + "InboundSecurityRuleType": { + "type": "string", + "description": "Rule Type. This should be either AutoExpire or Permanent. Auto Expire Rule only creates NSG rules. Permanent Rule creates NSG rule and SLB LB Rule.", + "enum": [ + "AutoExpire", + "Permanent" + ], + "x-ms-enum": { + "name": "InboundSecurityRuleType", + "modelAsString": true, + "values": [ + { + "name": "AutoExpire", + "value": "AutoExpire", + "description": "AutoExpire" + }, + { + "name": "Permanent", + "value": "Permanent", + "description": "Permanent" + } + ] + } + }, + "InboundSecurityRulesProtocol": { + "type": "string", + "description": "Protocol. This should be either TCP or UDP.", + "enum": [ + "TCP", + "UDP" + ], + "x-ms-enum": { + "name": "InboundSecurityRulesProtocol", + "modelAsString": true, + "values": [ + { + "name": "TCP", + "value": "TCP", + "description": "TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "UDP" + } + ] + } + }, + "IpAllocationType": { + "type": "string", + "description": "IpAllocation type.", + "enum": [ + "Undefined", + "Hypernet" + ], + "x-ms-enum": { + "name": "IpAllocationType", + "modelAsString": true, + "values": [ + { + "name": "Undefined", + "value": "Undefined", + "description": "Undefined" + }, + { + "name": "Hypernet", + "value": "Hypernet", + "description": "Hypernet" + } + ] + } + }, + "IpFlowProtocol": { + "type": "string", + "description": "Protocol to be verified on.", + "enum": [ + "TCP", + "UDP" + ], + "x-ms-enum": { + "name": "IpFlowProtocol", + "modelAsString": true, + "values": [ + { + "name": "TCP", + "value": "TCP", + "description": "TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "UDP" + } + ] + } + }, + "IpType": { + "type": "string", + "description": "Enumeration to indicate the IP type.", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "IpType", + "modelAsString": true, + "values": [ + { + "name": "IPv4", + "value": "IPv4", + "description": "IPv4" + }, + { + "name": "IPv6", + "value": "IPv6", + "description": "IPv6" + } + ] + } + }, + "IpsecEncryption": { + "type": "string", + "description": "The IPSec encryption algorithm (IKE phase 1).", + "enum": [ + "None", + "DES", + "DES3", + "AES128", + "AES192", + "AES256", + "GCMAES128", + "GCMAES192", + "GCMAES256" + ], + "x-ms-enum": { + "name": "IpsecEncryption", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "DES", + "value": "DES", + "description": "DES" + }, + { + "name": "DES3", + "value": "DES3", + "description": "DES3" + }, + { + "name": "AES128", + "value": "AES128", + "description": "AES128" + }, + { + "name": "AES192", + "value": "AES192", + "description": "AES192" + }, + { + "name": "AES256", + "value": "AES256", + "description": "AES256" + }, + { + "name": "GCMAES128", + "value": "GCMAES128", + "description": "GCMAES128" + }, + { + "name": "GCMAES192", + "value": "GCMAES192", + "description": "GCMAES192" + }, + { + "name": "GCMAES256", + "value": "GCMAES256", + "description": "GCMAES256" + } + ] + } + }, + "IpsecIntegrity": { + "type": "string", + "description": "The IPSec integrity algorithm (IKE phase 1).", + "enum": [ + "MD5", + "SHA1", + "SHA256", + "GCMAES128", + "GCMAES192", + "GCMAES256" + ], + "x-ms-enum": { + "name": "IpsecIntegrity", + "modelAsString": true, + "values": [ + { + "name": "MD5", + "value": "MD5", + "description": "MD5" + }, + { + "name": "SHA1", + "value": "SHA1", + "description": "SHA1" + }, + { + "name": "SHA256", + "value": "SHA256", + "description": "SHA256" + }, + { + "name": "GCMAES128", + "value": "GCMAES128", + "description": "GCMAES128" + }, + { + "name": "GCMAES192", + "value": "GCMAES192", + "description": "GCMAES192" + }, + { + "name": "GCMAES256", + "value": "GCMAES256", + "description": "GCMAES256" + } + ] + } + }, + "IsGlobal": { + "type": "string", + "description": "Flag if global mesh is supported.", + "enum": [ + "False", + "True" + ], + "x-ms-enum": { + "name": "IsGlobal", + "modelAsString": true, + "values": [ + { + "name": "False", + "value": "False", + "description": "False" + }, + { + "name": "True", + "value": "True", + "description": "True" + } + ] + } + }, + "IsRollback": { + "type": "string", + "description": "When true, reverts from Static to Dynamic allocation (undo reservation).", + "enum": [ + "true", + "false" + ], + "x-ms-enum": { + "name": "IsRollback", + "modelAsString": true, + "values": [ + { + "name": "true", + "value": "true", + "description": "true" + }, + { + "name": "false", + "value": "false", + "description": "false" + } + ] + } + }, + "IsWorkloadProtected": { + "type": "string", + "description": "Value indicating whether the IP address is DDoS workload protected or not.", + "enum": [ + "False", + "True" + ], + "x-ms-enum": { + "name": "IsWorkloadProtected", + "modelAsString": true, + "values": [ + { + "name": "False", + "value": "False", + "description": "False" + }, + { + "name": "True", + "value": "True", + "description": "True" + } + ] + } + }, + "IssueType": { + "type": "string", + "description": "The type of issue.", + "enum": [ + "Unknown", + "AgentStopped", + "GuestFirewall", + "DnsResolution", + "SocketBind", + "NetworkSecurityRule", + "UserDefinedRoute", + "PortThrottled", + "Platform" + ], + "x-ms-enum": { + "name": "IssueType", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown" + }, + { + "name": "AgentStopped", + "value": "AgentStopped", + "description": "AgentStopped" + }, + { + "name": "GuestFirewall", + "value": "GuestFirewall", + "description": "GuestFirewall" + }, + { + "name": "DnsResolution", + "value": "DnsResolution", + "description": "DnsResolution" + }, + { + "name": "SocketBind", + "value": "SocketBind", + "description": "SocketBind" + }, + { + "name": "NetworkSecurityRule", + "value": "NetworkSecurityRule", + "description": "NetworkSecurityRule" + }, + { + "name": "UserDefinedRoute", + "value": "UserDefinedRoute", + "description": "UserDefinedRoute" + }, + { + "name": "PortThrottled", + "value": "PortThrottled", + "description": "PortThrottled" + }, + { + "name": "Platform", + "value": "Platform", + "description": "Platform" + } + ] + } + }, + "MaintenanceTestCategory": { + "type": "string", + "description": "The type of maintenance that can occur during an ExpressRoute failover test.", + "enum": [ + "BgpDisconnect", + "ASPathPrepend" + ], + "x-ms-enum": { + "name": "MaintenanceTestCategory", + "modelAsString": true, + "values": [ + { + "name": "BgpDisconnect", + "value": "BgpDisconnect", + "description": "BGP disconnect test category." + }, + { + "name": "ASPathPrepend", + "value": "ASPathPrepend", + "description": "AS path prepend test category." + } + ] + } + }, + "ManagedRuleEnabledState": { + "type": "string", + "description": "The state of the managed rule. Defaults to Disabled if not specified.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "ManagedRuleEnabledState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + } + ] + } + }, + "ManagedServiceIdentityUserAssignedIdentities": { + "type": "object", + "properties": { + "principalId": { + "type": "string", + "description": "The principal id of user assigned identity.", + "readOnly": true + }, + "clientId": { + "type": "string", + "description": "The client id of user assigned identity.", + "readOnly": true + } + } + }, + "NetworkIntentPolicyBasedService": { + "type": "string", + "description": "Network intent policy based services.", + "enum": [ + "None", + "All", + "AllowRulesOnly" + ], + "x-ms-enum": { + "name": "NetworkIntentPolicyBasedService", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "All", + "value": "All", + "description": "All" + }, + { + "name": "AllowRulesOnly", + "value": "AllowRulesOnly", + "description": "AllowRulesOnly" + } + ] + } + }, + "NetworkProtocol": { + "type": "string", + "description": "Network Protocol.", + "enum": [ + "Any", + "TCP", + "UDP", + "ICMP" + ], + "x-ms-enum": { + "name": "NetworkProtocol", + "modelAsString": true, + "values": [ + { + "name": "Any", + "value": "Any", + "description": "Any" + }, + { + "name": "TCP", + "value": "TCP", + "description": "TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "UDP" + }, + { + "name": "ICMP", + "value": "ICMP", + "description": "ICMP" + } + ] + } + }, + "NextHopType": { + "type": "string", + "description": "Next hop type.", + "enum": [ + "Internet", + "VirtualAppliance", + "VirtualNetworkGateway", + "VnetLocal", + "HyperNetGateway", + "VirtualApplianceEcmp", + "None" + ], + "x-ms-enum": { + "name": "NextHopType", + "modelAsString": true, + "values": [ + { + "name": "Internet", + "value": "Internet", + "description": "Internet" + }, + { + "name": "VirtualAppliance", + "value": "VirtualAppliance", + "description": "VirtualAppliance" + }, + { + "name": "VirtualNetworkGateway", + "value": "VirtualNetworkGateway", + "description": "VirtualNetworkGateway" + }, + { + "name": "VnetLocal", + "value": "VnetLocal", + "description": "VnetLocal" + }, + { + "name": "HyperNetGateway", + "value": "HyperNetGateway", + "description": "HyperNetGateway" + }, + { + "name": "VirtualApplianceEcmp", + "value": "VirtualApplianceEcmp", + "description": "Routes traffic to virtual appliances using Equal-Cost Multi-Path (ECMP) routing with multiple next hop IP addresses." + }, + { + "name": "None", + "value": "None", + "description": "No next hop type." + } + ] + } + }, + "NextStep": { + "type": "string", + "description": "Supported next step behaviors after a rule is applied to a matched route", + "enum": [ + "Unknown", + "Continue", + "Terminate" + ], + "x-ms-enum": { + "name": "NextStep", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown" + }, + { + "name": "Continue", + "value": "Continue", + "description": "Continue" + }, + { + "name": "Terminate", + "value": "Terminate", + "description": "Terminate" + } + ] + } + }, + "NicTypeInRequest": { + "type": "string", + "description": "NIC type. This should be either PublicNic or PrivateNic.", + "enum": [ + "PublicNic", + "PrivateNic" + ], + "x-ms-enum": { + "name": "NicTypeInRequest", + "modelAsString": true, + "values": [ + { + "name": "PublicNic", + "value": "PublicNic", + "description": "PublicNic" + }, + { + "name": "PrivateNic", + "value": "PrivateNic", + "description": "PrivateNic" + } + ] + } + }, + "NicTypeInResponse": { + "type": "string", + "description": "NIC type - PublicNic, PrivateNic, or AdditionalNic; AdditionalPrivateNic and AdditionalPublicNic are only supported for NVAs deployed in VNets.", + "enum": [ + "PublicNic", + "PrivateNic", + "AdditionalNic" + ], + "x-ms-enum": { + "name": "NicTypeInResponse", + "modelAsString": true, + "values": [ + { + "name": "PublicNic", + "value": "PublicNic", + "description": "PublicNic" + }, + { + "name": "PrivateNic", + "value": "PrivateNic", + "description": "PrivateNic" + }, + { + "name": "AdditionalNic", + "value": "AdditionalNic", + "description": "AdditionalNic" + } + ] + } + }, + "NspLinkProvisioningState": { + "type": "string", + "description": "The current provisioning state of NSP Link/LinkReference.", + "enum": [ + "Succeeded", + "Creating", + "Updating", + "Deleting", + "Accepted", + "Failed", + "WaitForRemoteCompletion" + ], + "x-ms-enum": { + "name": "NspLinkProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Creating" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Updating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deleting" + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Accepted" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + }, + { + "name": "WaitForRemoteCompletion", + "value": "WaitForRemoteCompletion", + "description": "WaitForRemoteCompletion" + } + ] + } + }, + "NspLinkStatus": { + "type": "string", + "description": "The NSP link state.", + "enum": [ + "Approved", + "Pending", + "Rejected", + "Disconnected" + ], + "x-ms-enum": { + "name": "NspLinkStatus", + "modelAsString": true, + "values": [ + { + "name": "Approved", + "value": "Approved", + "description": "Approved" + }, + { + "name": "Pending", + "value": "Pending", + "description": "Pending" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "Rejected" + }, + { + "name": "Disconnected", + "value": "Disconnected", + "description": "Disconnected" + } + ] + } + }, + "NspProvisioningState": { + "type": "string", + "description": "The current provisioning state.", + "enum": [ + "Succeeded", + "Creating", + "Updating", + "Deleting", + "Accepted", + "Failed" + ], + "x-ms-enum": { + "name": "NspProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded" + }, + { + "name": "Creating", + "value": "Creating", + "description": "Creating" + }, + { + "name": "Updating", + "value": "Updating", + "description": "Updating" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deleting" + }, + { + "name": "Accepted", + "value": "Accepted", + "description": "Accepted" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + } + ] + } + }, + "NspReadinessState": { + "type": "string", + "description": "The readiness state of the resource type for NSP support.", + "enum": [ + "Onboarding", + "Preview", + "GA", + "NotReady" + ], + "x-ms-enum": { + "name": "NspReadinessState", + "modelAsString": true, + "values": [ + { + "name": "Onboarding", + "value": "Onboarding", + "description": "Resource Provider is actively being onboarded to NSP" + }, + { + "name": "Preview", + "value": "Preview", + "description": "Resource Provider supports NSP in Preview" + }, + { + "name": "GA", + "value": "GA", + "description": "Resource Provider is generally available for NSP Integration" + }, + { + "name": "NotReady", + "value": "NotReady", + "description": "NSP Onboarding is not started or not Supported" + } + ] + } + }, + "NvaNicType": { + "type": "string", + "enum": [ + "PrivateNic", + "PublicNic", + "AdditionalPrivateNic", + "AdditionalPublicNic" + ], + "x-ms-enum": { + "name": "NvaNicType", + "modelAsString": true, + "values": [ + { + "name": "PrivateNic", + "value": "PrivateNic", + "description": "The private NIC type" + }, + { + "name": "PublicNic", + "value": "PublicNic", + "description": "The public NIC type" + }, + { + "name": "AdditionalPrivateNic", + "value": "AdditionalPrivateNic", + "description": "An additional private NIC type" + }, + { + "name": "AdditionalPublicNic", + "value": "AdditionalPublicNic", + "description": "An additional public NIC type" + } + ] + } + }, + "OfficeTrafficCategory": { + "type": "string", + "description": "The office traffic category.", + "enum": [ + "Optimize", + "OptimizeAndAllow", + "All", + "None" + ], + "x-ms-enum": { + "name": "OfficeTrafficCategory", + "modelAsString": true, + "values": [ + { + "name": "Optimize", + "value": "Optimize", + "description": "Optimize" + }, + { + "name": "OptimizeAndAllow", + "value": "OptimizeAndAllow", + "description": "OptimizeAndAllow" + }, + { + "name": "All", + "value": "All", + "description": "All" + }, + { + "name": "None", + "value": "None", + "description": "None" + } + ] + } + }, + "Origin": { + "type": "string", + "description": "The origin of the issue.", + "enum": [ + "Local", + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "Origin", + "modelAsString": true, + "values": [ + { + "name": "Local", + "value": "Local", + "description": "Local" + }, + { + "name": "Inbound", + "value": "Inbound", + "description": "Inbound" + }, + { + "name": "Outbound", + "value": "Outbound", + "description": "Outbound" + } + ] + } + }, + "OutputType": { + "type": "string", + "description": "Connection monitor output destination type. Currently, only \"Workspace\" is supported.", + "enum": [ + "Workspace" + ], + "x-ms-enum": { + "name": "OutputType", + "modelAsString": true, + "values": [ + { + "name": "Workspace", + "value": "Workspace", + "description": "Workspace" + } + ] + } + }, + "OwaspCrsExclusionEntryMatchVariable": { + "type": "string", + "description": "The variable to be excluded.", + "enum": [ + "RequestHeaderNames", + "RequestCookieNames", + "RequestArgNames", + "RequestHeaderKeys", + "RequestHeaderValues", + "RequestCookieKeys", + "RequestCookieValues", + "RequestArgKeys", + "RequestArgValues" + ], + "x-ms-enum": { + "name": "OwaspCrsExclusionEntryMatchVariable", + "modelAsString": true, + "values": [ + { + "name": "RequestHeaderNames", + "value": "RequestHeaderNames", + "description": "RequestHeaderNames" + }, + { + "name": "RequestCookieNames", + "value": "RequestCookieNames", + "description": "RequestCookieNames" + }, + { + "name": "RequestArgNames", + "value": "RequestArgNames", + "description": "RequestArgNames" + }, + { + "name": "RequestHeaderKeys", + "value": "RequestHeaderKeys", + "description": "RequestHeaderKeys" + }, + { + "name": "RequestHeaderValues", + "value": "RequestHeaderValues", + "description": "RequestHeaderValues" + }, + { + "name": "RequestCookieKeys", + "value": "RequestCookieKeys", + "description": "RequestCookieKeys" + }, + { + "name": "RequestCookieValues", + "value": "RequestCookieValues", + "description": "RequestCookieValues" + }, + { + "name": "RequestArgKeys", + "value": "RequestArgKeys", + "description": "RequestArgKeys" + }, + { + "name": "RequestArgValues", + "value": "RequestArgValues", + "description": "RequestArgValues" + } + ] + } + }, + "OwaspCrsExclusionEntrySelectorMatchOperator": { + "type": "string", + "description": "When matchVariable is a collection, operate on the selector to specify which elements in the collection this exclusion applies to.", + "enum": [ + "Equals", + "Contains", + "StartsWith", + "EndsWith", + "EqualsAny" + ], + "x-ms-enum": { + "name": "OwaspCrsExclusionEntrySelectorMatchOperator", + "modelAsString": true, + "values": [ + { + "name": "Equals", + "value": "Equals", + "description": "Equals" + }, + { + "name": "Contains", + "value": "Contains", + "description": "Contains" + }, + { + "name": "StartsWith", + "value": "StartsWith", + "description": "StartsWith" + }, + { + "name": "EndsWith", + "value": "EndsWith", + "description": "EndsWith" + }, + { + "name": "EqualsAny", + "value": "EqualsAny", + "description": "EqualsAny" + } + ] + } + }, + "PacketCaptureTargetType": { + "type": "string", + "description": "Target type of the resource provided.", + "enum": [ + "AzureVM", + "AzureVMSS" + ], + "x-ms-enum": { + "name": "PacketCaptureTargetType", + "modelAsString": false, + "values": [ + { + "name": "AzureVM", + "value": "AzureVM", + "description": "AzureVM" + }, + { + "name": "AzureVMSS", + "value": "AzureVMSS", + "description": "AzureVMSS" + } + ] + } + }, + "PcError": { + "type": "string", + "enum": [ + "InternalError", + "AgentStopped", + "CaptureFailed", + "LocalFileFailed", + "StorageFailed" + ], + "x-ms-enum": { + "name": "PcError", + "modelAsString": true, + "values": [ + { + "name": "InternalError", + "value": "InternalError", + "description": "InternalError" + }, + { + "name": "AgentStopped", + "value": "AgentStopped", + "description": "AgentStopped" + }, + { + "name": "CaptureFailed", + "value": "CaptureFailed", + "description": "CaptureFailed" + }, + { + "name": "LocalFileFailed", + "value": "LocalFileFailed", + "description": "LocalFileFailed" + }, + { + "name": "StorageFailed", + "value": "StorageFailed", + "description": "StorageFailed" + } + ] + } + }, + "PcStatus": { + "type": "string", + "description": "The status of the packet capture session.", + "enum": [ + "NotStarted", + "Running", + "Stopped", + "Error", + "Unknown" + ], + "x-ms-enum": { + "name": "PcStatus", + "modelAsString": true, + "values": [ + { + "name": "NotStarted", + "value": "NotStarted", + "description": "NotStarted" + }, + { + "name": "Running", + "value": "Running", + "description": "Running" + }, + { + "name": "Stopped", + "value": "Stopped", + "description": "Stopped" + }, + { + "name": "Error", + "value": "Error", + "description": "Error" + }, + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown" + } + ] + } + }, + "PfsGroup": { + "type": "string", + "description": "The Pfs Groups used in IKE Phase 2 for new child SA.", + "enum": [ + "None", + "PFS1", + "PFS2", + "PFS2048", + "ECP256", + "ECP384", + "PFS24", + "PFS14", + "PFSMM" + ], + "x-ms-enum": { + "name": "PfsGroup", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "PFS1", + "value": "PFS1", + "description": "PFS1" + }, + { + "name": "PFS2", + "value": "PFS2", + "description": "PFS2" + }, + { + "name": "PFS2048", + "value": "PFS2048", + "description": "PFS2048" + }, + { + "name": "ECP256", + "value": "ECP256", + "description": "ECP256" + }, + { + "name": "ECP384", + "value": "ECP384", + "description": "ECP384" + }, + { + "name": "PFS24", + "value": "PFS24", + "description": "PFS24" + }, + { + "name": "PFS14", + "value": "PFS14", + "description": "PFS14" + }, + { + "name": "PFSMM", + "value": "PFSMM", + "description": "PFSMM" + } + ] + } + }, + "PreferredIPVersion": { + "type": "string", + "description": "The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters.", + "enum": [ + "IPv4", + "IPv6" + ], + "x-ms-enum": { + "name": "PreferredIPVersion", + "modelAsString": true, + "values": [ + { + "name": "IPv4", + "value": "IPv4", + "description": "IPv4" + }, + { + "name": "IPv6", + "value": "IPv6", + "description": "IPv6" + } + ] + } + }, + "PreferredRoutingGateway": { + "type": "string", + "description": "The preferred routing gateway types", + "enum": [ + "ExpressRoute", + "VpnGateway", + "None" + ], + "x-ms-enum": { + "name": "PreferredRoutingGateway", + "modelAsString": true, + "values": [ + { + "name": "ExpressRoute", + "value": "ExpressRoute", + "description": "ExpressRoute" + }, + { + "name": "VpnGateway", + "value": "VpnGateway", + "description": "VpnGateway" + }, + { + "name": "None", + "value": "None", + "description": "None" + } + ] + } + }, + "ProcessorArchitecture": { + "type": "string", + "description": "VPN client Processor Architecture.", + "enum": [ + "Amd64", + "X86" + ], + "x-ms-enum": { + "name": "ProcessorArchitecture", + "modelAsString": true, + "values": [ + { + "name": "Amd64", + "value": "Amd64", + "description": "Amd64" + }, + { + "name": "X86", + "value": "X86", + "description": "X86" + } + ] + } + }, + "Protocol": { + "type": "string", + "description": "Network protocol.", + "enum": [ + "Tcp", + "Http", + "Https", + "Icmp" + ], + "x-ms-enum": { + "name": "Protocol", + "modelAsString": true, + "values": [ + { + "name": "Tcp", + "value": "Tcp", + "description": "Tcp" + }, + { + "name": "Http", + "value": "Http", + "description": "Http" + }, + { + "name": "Https", + "value": "Https", + "description": "Https" + }, + { + "name": "Icmp", + "value": "Icmp", + "description": "Icmp" + } + ] + } + }, + "ProtocolType": { + "type": "string", + "description": "RNM supported protocol types.", + "enum": [ + "DoNotUse", + "Icmp", + "Tcp", + "Udp", + "Gre", + "Esp", + "Ah", + "Vxlan", + "All" + ], + "x-ms-enum": { + "name": "ProtocolType", + "modelAsString": true, + "values": [ + { + "name": "DoNotUse", + "value": "DoNotUse", + "description": "DoNotUse" + }, + { + "name": "Icmp", + "value": "Icmp", + "description": "Icmp" + }, + { + "name": "Tcp", + "value": "Tcp", + "description": "Tcp" + }, + { + "name": "Udp", + "value": "Udp", + "description": "Udp" + }, + { + "name": "Gre", + "value": "Gre", + "description": "Gre" + }, + { + "name": "Esp", + "value": "Esp", + "description": "Esp" + }, + { + "name": "Ah", + "value": "Ah", + "description": "Ah" + }, + { + "name": "Vxlan", + "value": "Vxlan", + "description": "Vxlan" + }, + { + "name": "All", + "value": "All", + "description": "All" + } + ] + } + }, + "ProxyResource": { + "type": "object", + "description": "Proxy resource representation.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "name": { + "type": "string", + "description": "Resource name.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type.", + "readOnly": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "ProxyResourceWithReadOnlyID": { + "type": "object", + "description": "Proxy resource representation.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type.", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "ProxyResourceWithSettableId": { + "type": "object", + "description": "Proxy resource representation.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "name": { + "type": "string", + "description": "Resource name.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type.", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "PublicIPPrefixSkuName": { + "type": "string", + "description": "Name of a public IP prefix SKU.", + "enum": [ + "Standard", + "StandardV2" + ], + "x-ms-enum": { + "name": "PublicIPPrefixSkuName", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "Standard" + }, + { + "name": "StandardV2", + "value": "StandardV2", + "description": "StandardV2" + } + ] + } + }, + "PublicIPPrefixSkuTier": { + "type": "string", + "description": "Tier of a public IP prefix SKU.", + "enum": [ + "Regional", + "Global" + ], + "x-ms-enum": { + "name": "PublicIPPrefixSkuTier", + "modelAsString": true, + "values": [ + { + "name": "Regional", + "value": "Regional", + "description": "Regional" + }, + { + "name": "Global", + "value": "Global", + "description": "Global" + } + ] + } + }, + "ReadOnlySubResourceModel": { + "type": "object", + "description": "Reference to another subresource.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Name of the resource.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "x-ms-azure-resource": true + }, + "ResiliencyModel": { + "type": "string", + "description": "Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed", + "enum": [ + "SingleHomed", + "MultiHomed" + ], + "x-ms-enum": { + "name": "ResiliencyModel", + "modelAsString": true, + "values": [ + { + "name": "SingleHomed", + "value": "SingleHomed", + "description": "SingleHomed" + }, + { + "name": "MultiHomed", + "value": "MultiHomed", + "description": "MultiHomed" + } + ] + } + }, + "RouteFilterRuleType": { + "type": "string", + "description": "The rule type of the rule.", + "enum": [ + "Community" + ], + "x-ms-enum": { + "name": "RouteFilterRuleType", + "modelAsString": true, + "values": [ + { + "name": "Community", + "value": "Community", + "description": "Community" + } + ] + } + }, + "RouteMapActionType": { + "type": "string", + "description": "Kind of actions which can be taken on a matched route. Add, Replace, Remove refer to parameters on the route, like community or prefix", + "enum": [ + "Unknown", + "Remove", + "Add", + "Replace", + "Drop" + ], + "x-ms-enum": { + "name": "RouteMapActionType", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown" + }, + { + "name": "Remove", + "value": "Remove", + "description": "Remove" + }, + { + "name": "Add", + "value": "Add", + "description": "Add" + }, + { + "name": "Replace", + "value": "Replace", + "description": "Replace" + }, + { + "name": "Drop", + "value": "Drop", + "description": "Drop" + } + ] + } + }, + "RouteMapMatchCondition": { + "type": "string", + "description": "Match condition to apply RouteMap rules.", + "enum": [ + "Unknown", + "Contains", + "Equals", + "NotContains", + "NotEquals" + ], + "x-ms-enum": { + "name": "RouteMapMatchCondition", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown" + }, + { + "name": "Contains", + "value": "Contains", + "description": "Contains" + }, + { + "name": "Equals", + "value": "Equals", + "description": "Equals" + }, + { + "name": "NotContains", + "value": "NotContains", + "description": "NotContains" + }, + { + "name": "NotEquals", + "value": "NotEquals", + "description": "NotEquals" + } + ] + } + }, + "RoutingRuleDestinationType": { + "type": "string", + "description": "Routing rule destination type.", + "enum": [ + "AddressPrefix", + "ServiceTag" + ], + "x-ms-enum": { + "name": "RoutingRuleDestinationType", + "modelAsString": true, + "values": [ + { + "name": "AddressPrefix", + "value": "AddressPrefix", + "description": "Destination specified as an IP address prefix (CIDR)." + }, + { + "name": "ServiceTag", + "value": "ServiceTag", + "description": "Destination specified as an Azure service tag." + } + ] + } + }, + "RoutingRuleNextHopType": { + "type": "string", + "description": "Routing rule next hop type.", + "enum": [ + "Internet", + "NoNextHop", + "VirtualAppliance", + "VirtualNetworkGateway", + "VnetLocal" + ], + "x-ms-enum": { + "name": "RoutingRuleNextHopType", + "modelAsString": true, + "values": [ + { + "name": "Internet", + "value": "Internet", + "description": "Forward traffic to the Internet." + }, + { + "name": "NoNextHop", + "value": "NoNextHop", + "description": "No next hop will be used." + }, + { + "name": "VirtualAppliance", + "value": "VirtualAppliance", + "description": "Forward traffic to a specified virtual appliance IP address." + }, + { + "name": "VirtualNetworkGateway", + "value": "VirtualNetworkGateway", + "description": "Forward traffic to the virtual network gateway." + }, + { + "name": "VnetLocal", + "value": "VnetLocal", + "description": "Keep traffic within the local virtual network" + } + ] + } + }, + "RoutingState": { + "type": "string", + "description": "The current routing state of the VirtualHub.", + "enum": [ + "None", + "Provisioned", + "Provisioning", + "Failed" + ], + "x-ms-enum": { + "name": "RoutingState", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "Provisioned", + "value": "Provisioned", + "description": "Provisioned" + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "Provisioning" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + } + ] + } + }, + "ScopeConnectionState": { + "type": "string", + "description": "The current scope connection state.", + "enum": [ + "Connected", + "Pending", + "Conflict", + "Revoked", + "Rejected" + ], + "x-ms-enum": { + "name": "ScopeConnectionState", + "modelAsString": true, + "values": [ + { + "name": "Connected", + "value": "Connected", + "description": "Connected" + }, + { + "name": "Pending", + "value": "Pending", + "description": "Pending" + }, + { + "name": "Conflict", + "value": "Conflict", + "description": "Conflict" + }, + { + "name": "Revoked", + "value": "Revoked", + "description": "Revoked" + }, + { + "name": "Rejected", + "value": "Rejected", + "description": "Rejected" + } + ] + } + }, + "ScrubbingRuleEntryMatchVariable": { + "type": "string", + "description": "The variable to be scrubbed from the logs.", + "enum": [ + "RequestHeaderNames", + "RequestCookieNames", + "RequestArgNames", + "RequestPostArgNames", + "RequestJSONArgNames", + "RequestIPAddress" + ], + "x-ms-enum": { + "name": "ScrubbingRuleEntryMatchVariable", + "modelAsString": true, + "values": [ + { + "name": "RequestHeaderNames", + "value": "RequestHeaderNames", + "description": "RequestHeaderNames" + }, + { + "name": "RequestCookieNames", + "value": "RequestCookieNames", + "description": "RequestCookieNames" + }, + { + "name": "RequestArgNames", + "value": "RequestArgNames", + "description": "RequestArgNames" + }, + { + "name": "RequestPostArgNames", + "value": "RequestPostArgNames", + "description": "RequestPostArgNames" + }, + { + "name": "RequestJSONArgNames", + "value": "RequestJSONArgNames", + "description": "RequestJSONArgNames" + }, + { + "name": "RequestIPAddress", + "value": "RequestIPAddress", + "description": "RequestIPAddress" + } + ] + } + }, + "SecurityConfigurationRuleAccess": { + "type": "string", + "description": "Whether network traffic is allowed or denied.", + "enum": [ + "Allow", + "Deny", + "AlwaysAllow" + ], + "x-ms-enum": { + "name": "SecurityConfigurationRuleAccess", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow", + "description": "Allow" + }, + { + "name": "Deny", + "value": "Deny", + "description": "Deny" + }, + { + "name": "AlwaysAllow", + "value": "AlwaysAllow", + "description": "AlwaysAllow" + } + ] + } + }, + "SecurityConfigurationRuleDirection": { + "type": "string", + "description": "The direction of the rule. The direction specifies if the rule will be evaluated on incoming or outgoing traffic.", + "enum": [ + "Inbound", + "Outbound" + ], + "x-ms-enum": { + "name": "SecurityConfigurationRuleDirection", + "modelAsString": true, + "values": [ + { + "name": "Inbound", + "value": "Inbound", + "description": "Inbound" + }, + { + "name": "Outbound", + "value": "Outbound", + "description": "Outbound" + } + ] + } + }, + "SecurityConfigurationRuleProtocol": { + "type": "string", + "description": "Network protocol this rule applies to.", + "enum": [ + "Tcp", + "Udp", + "Icmp", + "Esp", + "Any", + "Ah" + ], + "x-ms-enum": { + "name": "SecurityConfigurationRuleProtocol", + "modelAsString": true, + "values": [ + { + "name": "Tcp", + "value": "Tcp", + "description": "Tcp" + }, + { + "name": "Udp", + "value": "Udp", + "description": "Udp" + }, + { + "name": "Icmp", + "value": "Icmp", + "description": "Icmp" + }, + { + "name": "Esp", + "value": "Esp", + "description": "Esp" + }, + { + "name": "Any", + "value": "Any", + "description": "Any" + }, + { + "name": "Ah", + "value": "Ah", + "description": "Ah" + } + ] + } + }, + "SecurityPartnerProviderConnectionStatus": { + "type": "string", + "description": "The current state of the connection with Security Partner Provider.", + "enum": [ + "Unknown", + "PartiallyConnected", + "Connected", + "NotConnected" + ], + "x-ms-enum": { + "name": "SecurityPartnerProviderConnectionStatus", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown" + }, + { + "name": "PartiallyConnected", + "value": "PartiallyConnected", + "description": "PartiallyConnected" + }, + { + "name": "Connected", + "value": "Connected", + "description": "Connected" + }, + { + "name": "NotConnected", + "value": "NotConnected", + "description": "NotConnected" + } + ] + } + }, + "SecurityPerimeterProxyResource": { + "type": "object", + "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location", + "allOf": [ + { + "$ref": "#/definitions/SecurityPerimeterResource" + } + ], + "x-ms-azure-resource": true + }, + "SecurityPerimeterResource": { + "type": "object", + "description": "Common fields that are returned in the response for all Azure Resource Manager resources", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "Fully qualified resource ID for the resource. E.g. \"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}\"", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The name of the resource", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The type of the resource. E.g. \"Microsoft.Compute/virtualMachines\" or \"Microsoft.Storage/storageAccounts\"", + "readOnly": true + }, + "systemData": { + "$ref": "#/definitions/SecurityPerimeterSystemData", + "description": "Azure Resource Manager metadata containing createdBy and modifiedBy information.", + "readOnly": true + } + } + }, + "SecurityPerimeterSystemData": { + "type": "object", + "description": "Metadata pertaining to creation and last modification of the resource.", + "properties": { + "createdBy": { + "type": "string", + "description": "The identity that created the resource." + }, + "createdByType": { + "$ref": "#/definitions/CreatedByType", + "description": "The type of identity that created the resource." + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource creation (UTC)." + }, + "lastModifiedBy": { + "type": "string", + "description": "The identity that last modified the resource." + }, + "lastModifiedByType": { + "$ref": "#/definitions/CreatedByType", + "description": "The type of identity that last modified the resource." + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource last modification (UTC)" + } + } + }, + "SecurityPerimeterTrackedResource": { + "type": "object", + "description": "The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + }, + "x-ms-mutability": [ + "read", + "update", + "create" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives", + "x-ms-mutability": [ + "read", + "create" + ] + } + }, + "required": [ + "location" + ], + "allOf": [ + { + "$ref": "#/definitions/SecurityPerimeterResource" + } + ], + "x-ms-azure-resource": true + }, + "SecurityProviderName": { + "type": "string", + "description": "The Security Providers.", + "enum": [ + "ZScaler", + "IBoss", + "Checkpoint" + ], + "x-ms-enum": { + "name": "SecurityProviderName", + "modelAsString": true, + "values": [ + { + "name": "ZScaler", + "value": "ZScaler", + "description": "ZScaler" + }, + { + "name": "IBoss", + "value": "IBoss", + "description": "IBoss" + }, + { + "name": "Checkpoint", + "value": "Checkpoint", + "description": "Checkpoint" + } + ] + } + }, + "SensitivityType": { + "type": "string", + "description": "Defines the sensitivity for the rule.", + "enum": [ + "Low", + "Medium", + "High" + ], + "x-ms-enum": { + "name": "SensitivityType", + "modelAsString": true, + "values": [ + { + "name": "Low", + "value": "Low", + "description": "Low" + }, + { + "name": "Medium", + "value": "Medium", + "description": "Medium" + }, + { + "name": "High", + "value": "High", + "description": "High" + } + ] + } + }, + "ServiceGatewaySkuName": { + "type": "string", + "description": "Name of a service gateway SKU.", + "enum": [ + "Standard" + ], + "x-ms-enum": { + "name": "ServiceGatewaySkuName", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "Standard" + } + ] + } + }, + "ServiceGatewaySkuTier": { + "type": "string", + "description": "Tier of a service gateway SKU.", + "enum": [ + "Regional" + ], + "x-ms-enum": { + "name": "ServiceGatewaySkuTier", + "modelAsString": true, + "values": [ + { + "name": "Regional", + "value": "Regional", + "description": "Regional" + } + ] + } + }, + "ServiceProviderProvisioningState": { + "type": "string", + "description": "The ServiceProviderProvisioningState state of the resource.", + "enum": [ + "NotProvisioned", + "Provisioning", + "Provisioned", + "Deprovisioning" + ], + "x-ms-enum": { + "name": "ServiceProviderProvisioningState", + "modelAsString": true, + "values": [ + { + "name": "NotProvisioned", + "value": "NotProvisioned", + "description": "NotProvisioned" + }, + { + "name": "Provisioning", + "value": "Provisioning", + "description": "Provisioning" + }, + { + "name": "Provisioned", + "value": "Provisioned", + "description": "Provisioned" + }, + { + "name": "Deprovisioning", + "value": "Deprovisioning", + "description": "Deprovisioning" + } + ] + } + }, + "ServiceType": { + "type": "string", + "description": "Name of the service.", + "enum": [ + "Inbound", + "Outbound", + "InboundOutbound" + ], + "x-ms-enum": { + "name": "ServiceType", + "modelAsString": true, + "values": [ + { + "name": "Inbound", + "value": "Inbound", + "description": "Inbound" + }, + { + "name": "Outbound", + "value": "Outbound", + "description": "Outbound" + }, + { + "name": "InboundOutbound", + "value": "InboundOutbound", + "description": "InboundOutbound" + } + ] + } + }, + "ServiceUpdateAction": { + "type": "string", + "description": "Specifies the type of update operation to perform on services within the service gateway.\n\n- FullUpdate: Replaces all existing services with the new list provided in the request. Any previously defined services not included will be removed.\n- PartialUpdate: Updates only the specified services.", + "enum": [ + "FullUpdate", + "PartialUpdate" + ], + "x-ms-enum": { + "name": "ServiceUpdateAction", + "modelAsString": true, + "values": [ + { + "name": "FullUpdate", + "value": "FullUpdate", + "description": "FullUpdate" + }, + { + "name": "PartialUpdate", + "value": "PartialUpdate", + "description": "PartialUpdate" + } + ] + } + }, + "Severity": { + "type": "string", + "description": "The severity of the issue.", + "enum": [ + "Error", + "Warning" + ], + "x-ms-enum": { + "name": "Severity", + "modelAsString": true, + "values": [ + { + "name": "Error", + "value": "Error", + "description": "Error" + }, + { + "name": "Warning", + "value": "Warning", + "description": "Warning" + } + ] + } + }, + "SlotType": { + "type": "string", + "description": "Specifies slot info on a cloud service", + "enum": [ + "Production", + "Staging" + ], + "x-ms-enum": { + "name": "SlotType", + "modelAsString": false, + "values": [ + { + "name": "Production", + "value": "Production", + "description": "Production" + }, + { + "name": "Staging", + "value": "Staging", + "description": "Staging" + } + ] + } + }, + "TagsObject": { + "type": "object", + "description": "Tags object for patch operations.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "TrackedResourceWithEtag": { + "type": "object", + "description": "Tracked resource with optional location.", + "properties": { + "id": { + "type": "string", + "description": "ID of the connection monitor.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Name of the connection monitor.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Connection monitor type.", + "readOnly": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "location": { + "type": "string", + "description": "Connection monitor location." + }, + "tags": { + "type": "object", + "description": "Connection monitor tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "TrackedResourceWithOptionalLocation": { + "type": "object", + "description": "Common resource representation.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "Resource name.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type.", + "readOnly": true + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "TrackedResourceWithSettableIdOptionalLocation": { + "type": "object", + "description": "Common resource representation.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "name": { + "type": "string", + "description": "Resource name.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type.", + "readOnly": true + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "TrackedResourceWithSettableName": { + "type": "object", + "description": "Common resource representation.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "name": { + "type": "string", + "description": "Resource name." + }, + "type": { + "type": "string", + "description": "Resource type.", + "readOnly": true + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "x-ms-azure-resource": true + }, + "UpdateAction": { + "type": "string", + "description": "Specifies the type of update operation to perform on address locations within the service gateway.\n\n- FullUpdate: Replaces all existing address location data with the new list provided in the request. Any previously defined locations not included will be removed.\n- PartialUpdate: Updates only the specified address locations.", + "enum": [ + "FullUpdate", + "PartialUpdate" + ], + "x-ms-enum": { + "name": "UpdateAction", + "modelAsString": true, + "values": [ + { + "name": "FullUpdate", + "value": "FullUpdate", + "description": "FullUpdate" + }, + { + "name": "PartialUpdate", + "value": "PartialUpdate", + "description": "PartialUpdate" + } + ] + } + }, + "UsageUnit": { + "type": "string", + "description": "An enum describing the unit of measurement.", + "enum": [ + "Count" + ], + "x-ms-enum": { + "name": "UsageUnit", + "modelAsString": true, + "values": [ + { + "name": "Count", + "value": "Count", + "description": "Count" + } + ] + } + }, + "UseHubGateway": { + "type": "string", + "description": "Flag if need to use hub gateway.", + "enum": [ + "False", + "True" + ], + "x-ms-enum": { + "name": "UseHubGateway", + "modelAsString": true, + "values": [ + { + "name": "False", + "value": "False", + "description": "False" + }, + { + "name": "True", + "value": "True", + "description": "True" + } + ] + } + }, + "VerbosityLevel": { + "type": "string", + "description": "Verbosity level.", + "enum": [ + "Normal", + "Minimum", + "Full" + ], + "x-ms-enum": { + "name": "VerbosityLevel", + "modelAsString": true, + "values": [ + { + "name": "Normal", + "value": "Normal", + "description": "Normal" + }, + { + "name": "Minimum", + "value": "Minimum", + "description": "Minimum" + }, + { + "name": "Full", + "value": "Full", + "description": "Full" + } + ] + } + }, + "VirtualNetworkApplianceIpVersionType": { + "type": "string", + "description": "IP address version.", + "enum": [ + "IPv4", + "DualStack" + ], + "x-ms-enum": { + "name": "VirtualNetworkApplianceIpVersionType", + "modelAsString": true, + "values": [ + { + "name": "IPv4", + "value": "IPv4", + "description": "IPv4 version" + }, + { + "name": "DualStack", + "value": "DualStack", + "description": "Dual Stack version" + } + ] + } + }, + "VirtualNetworkGatewayConnectionMode": { + "type": "string", + "description": "Gateway connection type.", + "enum": [ + "Default", + "ResponderOnly", + "InitiatorOnly" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewayConnectionMode", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default", + "description": "Default" + }, + { + "name": "ResponderOnly", + "value": "ResponderOnly", + "description": "ResponderOnly" + }, + { + "name": "InitiatorOnly", + "value": "InitiatorOnly", + "description": "InitiatorOnly" + } + ] + } + }, + "VirtualNetworkGatewayConnectionProtocol": { + "type": "string", + "description": "Gateway connection protocol.", + "enum": [ + "IKEv2", + "IKEv1" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewayConnectionProtocol", + "modelAsString": true, + "values": [ + { + "name": "IKEv2", + "value": "IKEv2", + "description": "IKEv2" + }, + { + "name": "IKEv1", + "value": "IKEv1", + "description": "IKEv1" + } + ] + } + }, + "VirtualNetworkGatewayConnectionStatus": { + "type": "string", + "description": "Virtual Network Gateway connection status.", + "enum": [ + "Unknown", + "Connecting", + "Connected", + "NotConnected" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewayConnectionStatus", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown" + }, + { + "name": "Connecting", + "value": "Connecting", + "description": "Connecting" + }, + { + "name": "Connected", + "value": "Connected", + "description": "Connected" + }, + { + "name": "NotConnected", + "value": "NotConnected", + "description": "NotConnected" + } + ] + } + }, + "VirtualNetworkGatewayConnectionType": { + "type": "string", + "description": "Gateway connection type.", + "enum": [ + "IPsec", + "Vnet2Vnet", + "ExpressRoute", + "VPNClient" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewayConnectionType", + "modelAsString": true, + "values": [ + { + "name": "IPsec", + "value": "IPsec", + "description": "IPsec" + }, + { + "name": "Vnet2Vnet", + "value": "Vnet2Vnet", + "description": "Vnet2Vnet" + }, + { + "name": "ExpressRoute", + "value": "ExpressRoute", + "description": "ExpressRoute" + }, + { + "name": "VPNClient", + "value": "VPNClient", + "description": "VPNClient" + } + ] + } + }, + "VirtualNetworkGatewayMigrationPhase": { + "type": "string", + "description": "Represent the current migration phase of gateway.", + "enum": [ + "None", + "Prepare", + "PrepareSucceeded", + "Execute", + "ExecuteSucceeded", + "Commit", + "CommitSucceeded", + "AbortSucceeded", + "Abort" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewayMigrationPhase", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "No migration phase set on gateway." + }, + { + "name": "Prepare", + "value": "Prepare", + "description": "Gateway is going through prepare migration or prepare has failed. Please see state and error details for more information." + }, + { + "name": "PrepareSucceeded", + "value": "PrepareSucceeded", + "description": "Prepare succeeded on gateway." + }, + { + "name": "Execute", + "value": "Execute", + "description": "Gateway is going through execute migration or execute has failed. Please see state and error details for more information." + }, + { + "name": "ExecuteSucceeded", + "value": "ExecuteSucceeded", + "description": "Execute succeeded on gateway." + }, + { + "name": "Commit", + "value": "Commit", + "description": "Gateway is going through commit migration or commit has failed. Please see state and error details for more information." + }, + { + "name": "CommitSucceeded", + "value": "CommitSucceeded", + "description": "Commit succeeded, represent migration is complete for the gateway." + }, + { + "name": "AbortSucceeded", + "value": "AbortSucceeded", + "description": "Represent abort succeeded on gateway, start with prepare to retrigger migration." + }, + { + "name": "Abort", + "value": "Abort", + "description": "Gateway is going through abort migration or abort has failed. Please see state and error details for more information." + } + ] + } + }, + "VirtualNetworkGatewayMigrationState": { + "type": "string", + "description": "Represent the current state of gateway migration.", + "enum": [ + "None", + "InProgress", + "Succeeded", + "Failed" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewayMigrationState", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "InProgress", + "value": "InProgress", + "description": "InProgress" + }, + { + "name": "Succeeded", + "value": "Succeeded", + "description": "Succeeded" + }, + { + "name": "Failed", + "value": "Failed", + "description": "Failed" + } + ] + } + }, + "VirtualNetworkGatewayMigrationType": { + "type": "string", + "description": "MigrationType for the virtual network gateway.", + "enum": [ + "UpgradeDeploymentToStandardIP" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewayMigrationType", + "modelAsString": true, + "values": [ + { + "name": "UpgradeDeploymentToStandardIP", + "value": "UpgradeDeploymentToStandardIP", + "description": "Indicates that it is a migration process from basic IP CSES to standard IP VMSS." + } + ] + } + }, + "VirtualNetworkGatewaySkuName": { + "type": "string", + "description": "Gateway SKU name.", + "enum": [ + "Basic", + "HighPerformance", + "Standard", + "UltraPerformance", + "VpnGw1", + "VpnGw2", + "VpnGw3", + "VpnGw4", + "VpnGw5", + "VpnGw1AZ", + "VpnGw2AZ", + "VpnGw3AZ", + "VpnGw4AZ", + "VpnGw5AZ", + "ErGw1AZ", + "ErGw2AZ", + "ErGw3AZ", + "ErGwScale" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewaySkuName", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "Basic" + }, + { + "name": "HighPerformance", + "value": "HighPerformance", + "description": "HighPerformance" + }, + { + "name": "Standard", + "value": "Standard", + "description": "Standard" + }, + { + "name": "UltraPerformance", + "value": "UltraPerformance", + "description": "UltraPerformance" + }, + { + "name": "VpnGw1", + "value": "VpnGw1", + "description": "VpnGw1" + }, + { + "name": "VpnGw2", + "value": "VpnGw2", + "description": "VpnGw2" + }, + { + "name": "VpnGw3", + "value": "VpnGw3", + "description": "VpnGw3" + }, + { + "name": "VpnGw4", + "value": "VpnGw4", + "description": "VpnGw4" + }, + { + "name": "VpnGw5", + "value": "VpnGw5", + "description": "VpnGw5" + }, + { + "name": "VpnGw1AZ", + "value": "VpnGw1AZ", + "description": "VpnGw1AZ" + }, + { + "name": "VpnGw2AZ", + "value": "VpnGw2AZ", + "description": "VpnGw2AZ" + }, + { + "name": "VpnGw3AZ", + "value": "VpnGw3AZ", + "description": "VpnGw3AZ" + }, + { + "name": "VpnGw4AZ", + "value": "VpnGw4AZ", + "description": "VpnGw4AZ" + }, + { + "name": "VpnGw5AZ", + "value": "VpnGw5AZ", + "description": "VpnGw5AZ" + }, + { + "name": "ErGw1AZ", + "value": "ErGw1AZ", + "description": "ErGw1AZ" + }, + { + "name": "ErGw2AZ", + "value": "ErGw2AZ", + "description": "ErGw2AZ" + }, + { + "name": "ErGw3AZ", + "value": "ErGw3AZ", + "description": "ErGw3AZ" + }, + { + "name": "ErGwScale", + "value": "ErGwScale", + "description": "ErGwScale" + } + ] + } + }, + "VirtualNetworkGatewaySkuTier": { + "type": "string", + "description": "Gateway SKU tier.", + "enum": [ + "Basic", + "HighPerformance", + "Standard", + "UltraPerformance", + "VpnGw1", + "VpnGw2", + "VpnGw3", + "VpnGw4", + "VpnGw5", + "VpnGw1AZ", + "VpnGw2AZ", + "VpnGw3AZ", + "VpnGw4AZ", + "VpnGw5AZ", + "ErGw1AZ", + "ErGw2AZ", + "ErGw3AZ", + "ErGwScale" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewaySkuTier", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "Basic" + }, + { + "name": "HighPerformance", + "value": "HighPerformance", + "description": "HighPerformance" + }, + { + "name": "Standard", + "value": "Standard", + "description": "Standard" + }, + { + "name": "UltraPerformance", + "value": "UltraPerformance", + "description": "UltraPerformance" + }, + { + "name": "VpnGw1", + "value": "VpnGw1", + "description": "VpnGw1" + }, + { + "name": "VpnGw2", + "value": "VpnGw2", + "description": "VpnGw2" + }, + { + "name": "VpnGw3", + "value": "VpnGw3", + "description": "VpnGw3" + }, + { + "name": "VpnGw4", + "value": "VpnGw4", + "description": "VpnGw4" + }, + { + "name": "VpnGw5", + "value": "VpnGw5", + "description": "VpnGw5" + }, + { + "name": "VpnGw1AZ", + "value": "VpnGw1AZ", + "description": "VpnGw1AZ" + }, + { + "name": "VpnGw2AZ", + "value": "VpnGw2AZ", + "description": "VpnGw2AZ" + }, + { + "name": "VpnGw3AZ", + "value": "VpnGw3AZ", + "description": "VpnGw3AZ" + }, + { + "name": "VpnGw4AZ", + "value": "VpnGw4AZ", + "description": "VpnGw4AZ" + }, + { + "name": "VpnGw5AZ", + "value": "VpnGw5AZ", + "description": "VpnGw5AZ" + }, + { + "name": "ErGw1AZ", + "value": "ErGw1AZ", + "description": "ErGw1AZ" + }, + { + "name": "ErGw2AZ", + "value": "ErGw2AZ", + "description": "ErGw2AZ" + }, + { + "name": "ErGw3AZ", + "value": "ErGw3AZ", + "description": "ErGw3AZ" + }, + { + "name": "ErGwScale", + "value": "ErGwScale", + "description": "ErGwScale" + } + ] + } + }, + "VirtualNetworkGatewayType": { + "type": "string", + "description": "The type of this virtual network gateway.", + "enum": [ + "Vpn", + "ExpressRoute", + "LocalGateway" + ], + "x-ms-enum": { + "name": "VirtualNetworkGatewayType", + "modelAsString": true, + "values": [ + { + "name": "Vpn", + "value": "Vpn", + "description": "Vpn" + }, + { + "name": "ExpressRoute", + "value": "ExpressRoute", + "description": "ExpressRoute" + }, + { + "name": "LocalGateway", + "value": "LocalGateway", + "description": "LocalGateway" + } + ] + } + }, + "VirtualWanSecurityProviderType": { + "type": "string", + "description": "The virtual wan security provider type.", + "enum": [ + "External", + "Native" + ], + "x-ms-enum": { + "name": "VirtualWanSecurityProviderType", + "modelAsString": true, + "values": [ + { + "name": "External", + "value": "External", + "description": "External" + }, + { + "name": "Native", + "value": "Native", + "description": "Native" + } + ] + } + }, + "VnetLocalRouteOverrideCriteria": { + "type": "string", + "description": "Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke vnet.", + "enum": [ + "Contains", + "Equal" + ], + "x-ms-enum": { + "name": "VnetLocalRouteOverrideCriteria", + "modelAsString": true, + "values": [ + { + "name": "Contains", + "value": "Contains", + "description": "Contains" + }, + { + "name": "Equal", + "value": "Equal", + "description": "Equal" + } + ] + } + }, + "VpnAuthenticationType": { + "type": "string", + "description": "VPN authentication types enabled for the virtual network gateway.", + "enum": [ + "Certificate", + "Radius", + "AAD" + ], + "x-ms-enum": { + "name": "VpnAuthenticationType", + "modelAsString": true, + "values": [ + { + "name": "Certificate", + "value": "Certificate", + "description": "Certificate" + }, + { + "name": "Radius", + "value": "Radius", + "description": "Radius" + }, + { + "name": "AAD", + "value": "AAD", + "description": "AAD" + } + ] + } + }, + "VpnClientProtocol": { + "type": "string", + "description": "VPN client protocol enabled for the virtual network gateway.", + "enum": [ + "IkeV2", + "SSTP", + "OpenVPN" + ], + "x-ms-enum": { + "name": "VpnClientProtocol", + "modelAsString": true, + "values": [ + { + "name": "IkeV2", + "value": "IkeV2", + "description": "IkeV2" + }, + { + "name": "SSTP", + "value": "SSTP", + "description": "SSTP" + }, + { + "name": "OpenVPN", + "value": "OpenVPN", + "description": "OpenVPN" + } + ] + } + }, + "VpnConnectionStatus": { + "type": "string", + "description": "The current state of the vpn connection.", + "enum": [ + "Unknown", + "Connecting", + "Connected", + "NotConnected" + ], + "x-ms-enum": { + "name": "VpnConnectionStatus", + "modelAsString": true, + "values": [ + { + "name": "Unknown", + "value": "Unknown", + "description": "Unknown" + }, + { + "name": "Connecting", + "value": "Connecting", + "description": "Connecting" + }, + { + "name": "Connected", + "value": "Connected", + "description": "Connected" + }, + { + "name": "NotConnected", + "value": "NotConnected", + "description": "NotConnected" + } + ] + } + }, + "VpnGatewayGeneration": { + "type": "string", + "description": "The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN.", + "enum": [ + "None", + "Generation1", + "Generation2" + ], + "x-ms-enum": { + "name": "VpnGatewayGeneration", + "modelAsString": true, + "values": [ + { + "name": "None", + "value": "None", + "description": "None" + }, + { + "name": "Generation1", + "value": "Generation1", + "description": "Generation1" + }, + { + "name": "Generation2", + "value": "Generation2", + "description": "Generation2" + } + ] + } + }, + "VpnGatewayTunnelingProtocol": { + "type": "string", + "description": "VPN protocol enabled for the VpnServerConfiguration.", + "enum": [ + "IkeV2", + "OpenVPN" + ], + "x-ms-enum": { + "name": "VpnGatewayTunnelingProtocol", + "modelAsString": true, + "values": [ + { + "name": "IkeV2", + "value": "IkeV2", + "description": "IkeV2" + }, + { + "name": "OpenVPN", + "value": "OpenVPN", + "description": "OpenVPN" + } + ] + } + }, + "VpnLinkConnectionMode": { + "type": "string", + "description": "Vpn link connection mode.", + "enum": [ + "Default", + "ResponderOnly", + "InitiatorOnly" + ], + "x-ms-enum": { + "name": "VpnLinkConnectionMode", + "modelAsString": true, + "values": [ + { + "name": "Default", + "value": "Default", + "description": "Default" + }, + { + "name": "ResponderOnly", + "value": "ResponderOnly", + "description": "ResponderOnly" + }, + { + "name": "InitiatorOnly", + "value": "InitiatorOnly", + "description": "InitiatorOnly" + } + ] + } + }, + "VpnNatRuleMode": { + "type": "string", + "description": "The Source NAT direction of a VPN NAT.", + "enum": [ + "EgressSnat", + "IngressSnat" + ], + "x-ms-enum": { + "name": "VpnNatRuleMode", + "modelAsString": true, + "values": [ + { + "name": "EgressSnat", + "value": "EgressSnat", + "description": "EgressSnat" + }, + { + "name": "IngressSnat", + "value": "IngressSnat", + "description": "IngressSnat" + } + ] + } + }, + "VpnNatRuleType": { + "type": "string", + "description": "The type of NAT rule for VPN NAT.", + "enum": [ + "Static", + "Dynamic" + ], + "x-ms-enum": { + "name": "VpnNatRuleType", + "modelAsString": true, + "values": [ + { + "name": "Static", + "value": "Static", + "description": "Static" + }, + { + "name": "Dynamic", + "value": "Dynamic", + "description": "Dynamic" + } + ] + } + }, + "VpnPolicyMemberAttributeType": { + "type": "string", + "description": "The Vpn Policy member attribute type.", + "enum": [ + "CertificateGroupId", + "AADGroupId", + "RadiusAzureGroupId" + ], + "x-ms-enum": { + "name": "VpnPolicyMemberAttributeType", + "modelAsString": true, + "values": [ + { + "name": "CertificateGroupId", + "value": "CertificateGroupId", + "description": "CertificateGroupId" + }, + { + "name": "AADGroupId", + "value": "AADGroupId", + "description": "AADGroupId" + }, + { + "name": "RadiusAzureGroupId", + "value": "RadiusAzureGroupId", + "description": "RadiusAzureGroupId" + } + ] + } + }, + "VpnType": { + "type": "string", + "description": "The type of this virtual network gateway.", + "enum": [ + "PolicyBased", + "RouteBased" + ], + "x-ms-enum": { + "name": "VpnType", + "modelAsString": true, + "values": [ + { + "name": "PolicyBased", + "value": "PolicyBased", + "description": "PolicyBased" + }, + { + "name": "RouteBased", + "value": "RouteBased", + "description": "RouteBased" + } + ] + } + }, + "WebApplicationFirewallAction": { + "type": "string", + "description": "Type of Actions.", + "enum": [ + "Allow", + "Block", + "Log", + "JSChallenge", + "CAPTCHA" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallAction", + "modelAsString": true, + "values": [ + { + "name": "Allow", + "value": "Allow", + "description": "Allow" + }, + { + "name": "Block", + "value": "Block", + "description": "Block" + }, + { + "name": "Log", + "value": "Log", + "description": "Log" + }, + { + "name": "JSChallenge", + "value": "JSChallenge", + "description": "JSChallenge" + }, + { + "name": "CAPTCHA", + "value": "CAPTCHA", + "description": "CAPTCHA" + } + ] + } + }, + "WebApplicationFirewallEnabledState": { + "type": "string", + "description": "The state of the policy.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallEnabledState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + } + ] + } + }, + "WebApplicationFirewallMatchVariable": { + "type": "string", + "description": "Match Variable.", + "enum": [ + "RemoteAddr", + "RequestMethod", + "QueryString", + "PostArgs", + "RequestUri", + "RequestHeaders", + "RequestBody", + "RequestCookies" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallMatchVariable", + "modelAsString": true, + "values": [ + { + "name": "RemoteAddr", + "value": "RemoteAddr", + "description": "RemoteAddr" + }, + { + "name": "RequestMethod", + "value": "RequestMethod", + "description": "RequestMethod" + }, + { + "name": "QueryString", + "value": "QueryString", + "description": "QueryString" + }, + { + "name": "PostArgs", + "value": "PostArgs", + "description": "PostArgs" + }, + { + "name": "RequestUri", + "value": "RequestUri", + "description": "RequestUri" + }, + { + "name": "RequestHeaders", + "value": "RequestHeaders", + "description": "RequestHeaders" + }, + { + "name": "RequestBody", + "value": "RequestBody", + "description": "RequestBody" + }, + { + "name": "RequestCookies", + "value": "RequestCookies", + "description": "RequestCookies" + } + ] + } + }, + "WebApplicationFirewallMode": { + "type": "string", + "description": "The mode of the policy.", + "enum": [ + "Prevention", + "Detection" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallMode", + "modelAsString": true, + "values": [ + { + "name": "Prevention", + "value": "Prevention", + "description": "Prevention" + }, + { + "name": "Detection", + "value": "Detection", + "description": "Detection" + } + ] + } + }, + "WebApplicationFirewallOperator": { + "type": "string", + "description": "The operator to be matched.", + "enum": [ + "IPMatch", + "Equal", + "Contains", + "LessThan", + "GreaterThan", + "LessThanOrEqual", + "GreaterThanOrEqual", + "BeginsWith", + "EndsWith", + "Regex", + "GeoMatch", + "Any" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallOperator", + "modelAsString": true, + "values": [ + { + "name": "IPMatch", + "value": "IPMatch", + "description": "IPMatch" + }, + { + "name": "Equal", + "value": "Equal", + "description": "Equal" + }, + { + "name": "Contains", + "value": "Contains", + "description": "Contains" + }, + { + "name": "LessThan", + "value": "LessThan", + "description": "LessThan" + }, + { + "name": "GreaterThan", + "value": "GreaterThan", + "description": "GreaterThan" + }, + { + "name": "LessThanOrEqual", + "value": "LessThanOrEqual", + "description": "LessThanOrEqual" + }, + { + "name": "GreaterThanOrEqual", + "value": "GreaterThanOrEqual", + "description": "GreaterThanOrEqual" + }, + { + "name": "BeginsWith", + "value": "BeginsWith", + "description": "BeginsWith" + }, + { + "name": "EndsWith", + "value": "EndsWith", + "description": "EndsWith" + }, + { + "name": "Regex", + "value": "Regex", + "description": "Regex" + }, + { + "name": "GeoMatch", + "value": "GeoMatch", + "description": "GeoMatch" + }, + { + "name": "Any", + "value": "Any", + "description": "Any" + } + ] + } + }, + "WebApplicationFirewallPolicyResourceState": { + "type": "string", + "description": "Resource status of the policy.", + "enum": [ + "Creating", + "Enabling", + "Enabled", + "Disabling", + "Disabled", + "Deleting" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallPolicyResourceState", + "modelAsString": true, + "values": [ + { + "name": "Creating", + "value": "Creating", + "description": "Creating" + }, + { + "name": "Enabling", + "value": "Enabling", + "description": "Enabling" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + }, + { + "name": "Disabling", + "value": "Disabling", + "description": "Disabling" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + }, + { + "name": "Deleting", + "value": "Deleting", + "description": "Deleting" + } + ] + } + }, + "WebApplicationFirewallRuleType": { + "type": "string", + "description": "The rule type.", + "enum": [ + "MatchRule", + "RateLimitRule", + "Invalid" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallRuleType", + "modelAsString": true, + "values": [ + { + "name": "MatchRule", + "value": "MatchRule", + "description": "MatchRule" + }, + { + "name": "RateLimitRule", + "value": "RateLimitRule", + "description": "RateLimitRule" + }, + { + "name": "Invalid", + "value": "Invalid", + "description": "Invalid" + } + ] + } + }, + "WebApplicationFirewallScrubbingState": { + "type": "string", + "description": "State of the log scrubbing config. Default value is Enabled.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallScrubbingState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + } + ] + } + }, + "WebApplicationFirewallState": { + "type": "string", + "description": "Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.", + "enum": [ + "Disabled", + "Enabled" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallState", + "modelAsString": true, + "values": [ + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + }, + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + } + ] + } + }, + "WebApplicationFirewallTransform": { + "type": "string", + "description": "Transforms applied before matching.", + "enum": [ + "Uppercase", + "Lowercase", + "Trim", + "UrlDecode", + "UrlEncode", + "RemoveNulls", + "HtmlEntityDecode" + ], + "x-ms-enum": { + "name": "WebApplicationFirewallTransform", + "modelAsString": true, + "values": [ + { + "name": "Uppercase", + "value": "Uppercase", + "description": "Uppercase" + }, + { + "name": "Lowercase", + "value": "Lowercase", + "description": "Lowercase" + }, + { + "name": "Trim", + "value": "Trim", + "description": "Trim" + }, + { + "name": "UrlDecode", + "value": "UrlDecode", + "description": "UrlDecode" + }, + { + "name": "UrlEncode", + "value": "UrlEncode", + "description": "UrlEncode" + }, + { + "name": "RemoveNulls", + "value": "RemoveNulls", + "description": "RemoveNulls" + }, + { + "name": "HtmlEntityDecode", + "value": "HtmlEntityDecode", + "description": "HtmlEntityDecode" + } + ] + } + }, + "WritableResource": { + "type": "object", + "description": "Common resource representation.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "name": { + "type": "string", + "description": "Resource name." + }, + "type": { + "type": "string", + "description": "Resource type." + } + }, + "x-ms-azure-resource": true + }, + "scrubbingRuleEntryMatchOperator": { + "type": "string", + "description": "When matchVariable is a collection, operate on the selector to specify which elements in the collection this rule applies to.", + "enum": [ + "Equals", + "EqualsAny" + ], + "x-ms-enum": { + "name": "scrubbingRuleEntryMatchOperator", + "modelAsString": true, + "values": [ + { + "name": "Equals", + "value": "Equals", + "description": "Equals" + }, + { + "name": "EqualsAny", + "value": "EqualsAny", + "description": "EqualsAny" + } + ] + } + }, + "scrubbingRuleEntryState": { + "type": "string", + "description": "Defines the state of log scrubbing rule. Default value is Enabled.", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "scrubbingRuleEntryState", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + } + ] + } + }, + "stringApplicationJson": { + "type": "string" + } + }, + "parameters": {} +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AllVirtualNetworkGatewayRadiusServerSecretsList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AllVirtualNetworkGatewayRadiusServerSecretsList.json new file mode 100644 index 000000000000..79da09da9d13 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AllVirtualNetworkGatewayRadiusServerSecretsList.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "radiusServerAddress": "1.1.1.1", + "radiusServerSecret": "*****" + }, + { + "radiusServerAddress": "2.2.2.2", + "radiusServerSecret": "*****" + } + ] + } + } + }, + "operationId": "VirtualNetworkGateways_ListRadiusSecrets", + "title": "ListAllVirtualNetworkGatewayRadiusServerSecrets" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AllVpnServerConfigurationRadiusServerSecretsList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AllVpnServerConfigurationRadiusServerSecretsList.json new file mode 100644 index 000000000000..d2edc847823e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AllVpnServerConfigurationRadiusServerSecretsList.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd011db47", + "vpnServerConfigurationName": "vpnserverconfig" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "radiusServerAddress": "1.1.1.1", + "radiusServerSecret": "*****" + }, + { + "radiusServerAddress": "2.2.2.2", + "radiusServerSecret": "*****" + } + ] + } + } + }, + "operationId": "VpnServerConfigurations_ListRadiusSecrets", + "title": "ListAllVpnServerConfigurationRadiusServerSecrets" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json new file mode 100644 index 000000000000..7c63a73ab667 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableRequestHeadersGet.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "responses": { + "200": { + "body": { + "value": [ + "Accept-Charset" + ] + } + } + }, + "operationId": "ApplicationGateways_ListAvailableRequestHeaders", + "title": "Get Available Request Headers" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json new file mode 100644 index 000000000000..691a56890d1b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableResponseHeadersGet.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "responses": { + "200": { + "body": [ + "Access-Control-Allow-Origin" + ] + } + }, + "operationId": "ApplicationGateways_ListAvailableResponseHeaders", + "title": "Get Available Response Headers" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableServerVariablesGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableServerVariablesGet.json new file mode 100644 index 000000000000..568e76a13af7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableServerVariablesGet.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "72f988bf-86f1-41af-91ab-2d7cd011db47" + }, + "responses": { + "200": { + "body": [ + "request_query" + ] + } + }, + "operationId": "ApplicationGateways_ListAvailableServerVariables", + "title": "Get Available Server Variables" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableSslOptionsGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableSslOptionsGet.json new file mode 100644 index 000000000000..14d2735f3f65 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableSslOptionsGet.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/ApplicationGatewayAvailableSslOptions", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default", + "properties": { + "availableCipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + ], + "availableProtocols": [ + "TLSv1_0", + "TLSv1_1", + "TLSv1_2" + ], + "defaultPolicy": "AppGwSslPolicy20150501", + "predefinedPolicies": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S" + } + ] + } + } + } + }, + "operationId": "ApplicationGateways_ListAvailableSslOptions", + "title": "Get Available Ssl Options" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json new file mode 100644 index 000000000000..e235d23733ca --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPoliciesGet.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_0" + } + }, + { + "name": "AppGwSslPolicy20170401", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_1" + } + }, + { + "name": "AppGwSslPolicy20170401S", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups//providers/Microsoft.Network/ApplicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20170401S", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_2" + } + } + ] + } + } + }, + "operationId": "ApplicationGateways_ListAvailableSslPredefinedPolicies", + "title": "Get Available Ssl Predefined Policies" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json new file mode 100644 index 000000000000..b9131602be90 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableSslOptionsPredefinedPolicyGet.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "predefinedPolicyName": "AppGwSslPolicy20150501", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "AppGwSslPolicy20150501", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/applicationGatewayAvailableSslOptions/default/ApplicationGatewaySslPredefinedPolicy/AppGwSslPolicy20150501", + "properties": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_256_GCM_SHA384", + "TLS_DHE_RSA_WITH_AES_128_GCM_SHA256", + "TLS_DHE_RSA_WITH_AES_256_CBC_SHA", + "TLS_DHE_RSA_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_AES_256_GCM_SHA384", + "TLS_RSA_WITH_AES_128_GCM_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA256", + "TLS_RSA_WITH_AES_128_CBC_SHA256", + "TLS_RSA_WITH_AES_256_CBC_SHA", + "TLS_RSA_WITH_AES_128_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA384", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA256", + "TLS_ECDHE_ECDSA_WITH_AES_256_CBC_SHA", + "TLS_ECDHE_ECDSA_WITH_AES_128_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA256", + "TLS_DHE_DSS_WITH_AES_256_CBC_SHA", + "TLS_DHE_DSS_WITH_AES_128_CBC_SHA", + "TLS_RSA_WITH_3DES_EDE_CBC_SHA", + "TLS_DHE_DSS_WITH_3DES_EDE_CBC_SHA" + ], + "minProtocolVersion": "TLSv1_0" + } + } + } + }, + "operationId": "ApplicationGateways_GetSslPredefinedPolicy", + "title": "Get Available Ssl Predefined Policy by name" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json new file mode 100644 index 000000000000..06b9de6cb53e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayAvailableWafRuleSetsGet.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "OWASP_3.0", + "type": "Microsoft.Network/applicationGatewayAvailableWafRuleSets", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/applicationGatewayAvailableWafRuleSets/OWASP_3.0", + "properties": { + "provisioningState": "Succeeded", + "ruleGroups": [ + { + "description": "", + "ruleGroupName": "General", + "rules": [ + { + "description": "Multipart Request Body Strict Validation.", + "ruleId": 200003, + "ruleIdString": "200003", + "state": "Disabled" + }, + { + "description": "Possible Multipart Unmatched Boundary.", + "ruleId": 200004, + "ruleIdString": "200004" + } + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.0" + } + } + ] + } + } + }, + "operationId": "ApplicationGateways_ListAvailableWafRuleSets", + "title": "Get Available Waf Rule Sets" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayBackendHealthGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayBackendHealthGet.json new file mode 100644 index 000000000000..3ec4944300ad --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayBackendHealthGet.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "resourceGroupName": "appgw", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "backendAddressPools": [ + { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool" + }, + "backendHttpSettingsCollection": [ + { + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings" + }, + "servers": [ + { + "address": "10.220.1.8", + "health": "Up" + } + ] + } + ] + }, + { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFPool" + }, + "backendHttpSettingsCollection": [ + { + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings" + }, + "servers": [ + { + "address": "10.220.1.4", + "health": "Up" + }, + { + "address": "10.220.1.5", + "health": "Up" + } + ] + } + ] + } + ] + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ApplicationGateways_BackendHealth", + "title": "Get Backend Health" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayBackendHealthTest.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayBackendHealthTest.json new file mode 100644 index 000000000000..700bb1c16168 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayBackendHealthTest.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "probeRequest": { + "path": "/", + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings" + }, + "pickHostNameFromBackendHttpSettings": true, + "timeout": 30, + "protocol": "Http" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendaddressPools/MFAnalyticsPool" + }, + "backendHealthHttpSettings": { + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/MFPoolSettings" + }, + "servers": [ + { + "address": "10.220.1.4", + "health": "Up" + }, + { + "address": "10.220.1.5", + "health": "Up" + } + ] + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ApplicationGateways_BackendHealthOnDemand", + "title": "Test Backend Health" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayCreate.json new file mode 100644 index 000000000000..bbc871f4a122 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayCreate.json @@ -0,0 +1,824 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "appgwpool", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.1.1" + }, + { + "ipAddress": "10.0.1.2" + } + ] + } + }, + { + "name": "appgwpool1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.0.1" + }, + { + "ipAddress": "10.0.0.2" + } + ] + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "properties": { + "cookieBasedAffinity": "Disabled", + "port": 80, + "requestTimeout": 30, + "protocol": "Http" + } + } + ], + "entraJWTValidationConfigs": [ + { + "name": "entraJWTValidationConfig1", + "properties": { + "clientId": "37293f5a-97b3-451d-b786-f532d711c9ff", + "tenantId": "70a036f6-8e4d-4615-bad6-149c02e7720d", + "unAuthorizedRequestAction": "Deny" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "properties": { + "port": 443 + } + }, + { + "name": "appgwfp80", + "properties": { + "port": 80 + } + } + ], + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/appgwsubnet" + } + } + } + ], + "globalConfiguration": { + "enableRequestBuffering": true, + "enableResponseBuffering": true + }, + "httpListeners": [ + { + "name": "appgwhl", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "requireServerNameIndication": false, + "sslCertificate": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "sslProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1" + }, + "protocol": "Https" + } + }, + { + "name": "appgwhttplistener", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "protocol": "Http" + } + } + ], + "requestRoutingRules": [ + { + "name": "appgwrule", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "entraJWTValidationConfig": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1" + }, + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "priority": 10, + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "ruleType": "Basic" + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "properties": { + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_add_x_forwarded_for_proxy}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ], + "urlConfiguration": { + "modifiedPath": "/abc" + } + }, + "conditions": [ + { + "ignoreCase": true, + "negate": false, + "pattern": "^Bearer", + "variable": "http_req_Authorization" + } + ], + "ruleSequence": 102 + } + ] + } + } + ], + "sku": { + "name": "Standard_v2", + "capacity": 3, + "tier": "Standard_v2" + }, + "sslCertificates": [ + { + "name": "sslcert", + "properties": { + "data": "****", + "password": "****" + } + }, + { + "name": "sslcert2", + "properties": { + "keyVaultSecretId": "https://kv/secret" + } + } + ], + "sslProfiles": [ + { + "name": "sslProfile1", + "properties": { + "clientAuthConfiguration": { + "verifyClientCertIssuerDN": true + }, + "sslPolicy": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_1", + "policyType": "Custom" + }, + "trustedClientCertificates": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert" + } + ] + } + } + ], + "trustedClientCertificates": [ + { + "name": "clientcert", + "properties": { + "data": "****" + } + } + ], + "trustedRootCertificates": [ + { + "name": "rootcert", + "properties": { + "data": "****" + } + }, + { + "name": "rootcert1", + "properties": { + "keyVaultSecretId": "https://kv/secret" + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "appgw", + "type": "Microsoft.Network/applicationGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw", + "location": "southcentralus", + "properties": { + "authenticationCertificates": [], + "backendAddressPools": [ + { + "name": "appgwpool", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.1.1" + }, + { + "ipAddress": "10.0.1.2" + } + ], + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwpool1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.0.1" + }, + { + "ipAddress": "10.0.0.2" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", + "properties": { + "cookieBasedAffinity": "Disabled", + "port": 80, + "provisioningState": "Succeeded", + "requestTimeout": 30, + "protocol": "Http" + } + } + ], + "entraJWTValidationConfigs": [ + { + "name": "entraJWTValidationConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1", + "properties": { + "clientId": "37293f5a-97b3-451d-b786-f532d711c9ff", + "provisioningState": "Succeeded", + "tenantId": "70a036f6-8e4d-4615-bad6-149c02e7720d", + "unAuthorizedRequestAction": "Deny" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp", + "properties": { + "port": 443, + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwfp80", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80", + "properties": { + "port": 80, + "provisioningState": "Succeeded" + } + } + ], + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "globalConfiguration": { + "enableRequestBuffering": true, + "enableResponseBuffering": true + }, + "httpListeners": [ + { + "name": "appgwhl", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "provisioningState": "Succeeded", + "requireServerNameIndication": false, + "sslCertificate": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "sslProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1" + }, + "protocol": "Https" + } + }, + { + "name": "appgwhttplistener", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "provisioningState": "Succeeded", + "protocol": "Http" + } + } + ], + "listeners": [], + "loadDistributionPolicies": [], + "operationalState": "Running", + "privateEndpointConnections": [], + "probes": [], + "provisioningState": "Succeeded", + "redirectConfigurations": [], + "requestRoutingRules": [ + { + "name": "appgwrule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "entraJWTValidationConfig": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1" + }, + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "provisioningState": "Succeeded", + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "ruleType": "Basic" + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", + "properties": { + "provisioningState": "Succeeded", + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_remote-addr}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ], + "urlConfiguration": { + "modifiedPath": "/abc", + "modifiedQueryString": "x=y&a=b" + } + }, + "conditions": [ + { + "ignoreCase": true, + "negate": false, + "pattern": "^Bearer", + "variable": "http_req_Authorization" + } + ], + "ruleSequence": 102 + } + ] + } + } + ], + "routingRules": [], + "sku": { + "name": "Standard_Medium", + "capacity": 3, + "tier": "Standard" + }, + "sslCertificates": [ + { + "name": "sslcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "*****" + } + } + ], + "sslProfiles": [ + { + "name": "sslProfile1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1", + "properties": { + "clientAuthConfiguration": { + "verifyClientCertIssuerDN": true + }, + "provisioningState": "Succeeded", + "sslPolicy": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_1", + "policyType": "Custom" + }, + "trustedClientCertificates": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert" + } + ] + } + } + ], + "trustedClientCertificates": [ + { + "name": "clientcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert", + "properties": { + "data": "****", + "provisioningState": "Succeeded" + } + } + ], + "urlPathMaps": [] + } + } + }, + "201": { + "body": { + "name": "appgw", + "type": "Microsoft.Network/applicationGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw", + "location": "southcentralus", + "properties": { + "authenticationCertificates": [], + "backendAddressPools": [ + { + "name": "appgwpool", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.1.1" + }, + { + "ipAddress": "10.0.1.2" + } + ], + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwpool1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.0.1" + }, + { + "ipAddress": "10.0.0.2" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", + "properties": { + "cookieBasedAffinity": "Disabled", + "port": 80, + "provisioningState": "Succeeded", + "requestTimeout": 30, + "protocol": "Http" + } + } + ], + "entraJWTValidationConfigs": [ + { + "name": "entraJWTValidationConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1", + "properties": { + "clientId": "37293f5a-97b3-451d-b786-f532d711c9ff", + "provisioningState": "Succeeded", + "tenantId": "70a036f6-8e4d-4615-bad6-149c02e7720d", + "unAuthorizedRequestAction": "Deny" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp", + "properties": { + "port": 443, + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwfp80", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80", + "properties": { + "port": 80, + "provisioningState": "Succeeded" + } + } + ], + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "globalConfiguration": { + "enableRequestBuffering": true, + "enableResponseBuffering": true + }, + "httpListeners": [ + { + "name": "appgwhl", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "provisioningState": "Succeeded", + "requireServerNameIndication": false, + "sslCertificate": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "sslProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1" + }, + "protocol": "Https" + } + }, + { + "name": "appgwhttplistener", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "provisioningState": "Succeeded", + "protocol": "Http" + } + } + ], + "listeners": [], + "loadDistributionPolicies": [], + "operationalState": "Running", + "privateEndpointConnections": [], + "probes": [], + "provisioningState": "Succeeded", + "redirectConfigurations": [], + "requestRoutingRules": [ + { + "name": "appgwrule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "entraJWTValidationConfig": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1" + }, + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "provisioningState": "Succeeded", + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "ruleType": "Basic" + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", + "properties": { + "provisioningState": "Succeeded", + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_remote-addr}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ], + "urlConfiguration": { + "modifiedPath": "/abc", + "reroute": true + } + }, + "conditions": [ + { + "ignoreCase": true, + "negate": false, + "pattern": "^Bearer", + "variable": "http_req_Authorization" + } + ], + "ruleSequence": 102 + } + ] + } + } + ], + "routingRules": [], + "sku": { + "name": "Standard_Medium", + "capacity": 3, + "tier": "Standard" + }, + "sslCertificates": [ + { + "name": "sslcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "*****" + } + } + ], + "sslProfiles": [ + { + "name": "sslProfile1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1", + "properties": { + "clientAuthConfiguration": { + "verifyClientAuthMode": "Strict", + "verifyClientCertIssuerDN": true, + "verifyClientRevocation": "OCSP" + }, + "provisioningState": "Succeeded", + "sslPolicy": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_1", + "policyType": "Custom" + }, + "trustedClientCertificates": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert" + } + ] + } + } + ], + "trustedClientCertificates": [ + { + "name": "clientcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert", + "properties": { + "data": "****", + "provisioningState": "Succeeded" + } + } + ], + "urlPathMaps": [] + } + } + } + }, + "operationId": "ApplicationGateways_CreateOrUpdate", + "title": "Create Application Gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayDelete.json new file mode 100644 index 000000000000..0f78647cd9d5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ApplicationGateways_Delete", + "title": "Delete ApplicationGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayGet.json new file mode 100644 index 000000000000..e3d81c24fd2c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayGet.json @@ -0,0 +1,411 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "appgw", + "type": "Microsoft.Network/applicationGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw", + "location": "southcentralus", + "properties": { + "authenticationCertificates": [], + "backendAddressPools": [ + { + "name": "appgwpool", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", + "properties": { + "backendAddresses": [], + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwpool1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.0.1" + }, + { + "ipAddress": "10.0.0.2" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", + "properties": { + "cookieBasedAffinity": "Disabled", + "port": 80, + "provisioningState": "Succeeded", + "requestTimeout": 30, + "protocol": "Http" + } + } + ], + "entraJWTValidationConfigs": [ + { + "name": "entraJWTValidationConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1", + "properties": { + "clientId": "37293f5a-97b3-451d-b786-f532d711c9ff", + "provisioningState": "Succeeded", + "tenantId": "70a036f6-8e4d-4615-bad6-149c02e7720d", + "unAuthorizedRequestAction": "Deny" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp", + "properties": { + "port": 443, + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwfp80", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80", + "properties": { + "port": 80, + "provisioningState": "Succeeded" + } + } + ], + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "globalConfiguration": { + "enableRequestBuffering": true, + "enableResponseBuffering": true + }, + "httpListeners": [ + { + "name": "appgwhl", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "provisioningState": "Succeeded", + "requireServerNameIndication": false, + "sslCertificate": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "sslProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1" + }, + "protocol": "Https" + } + }, + { + "name": "appgwhttplistener", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "provisioningState": "Succeeded", + "protocol": "Http" + } + } + ], + "loadDistributionPolicies": [ + { + "name": "ldp1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1", + "properties": { + "loadDistributionAlgorithm": "RoundRobin", + "loadDistributionTargets": [ + { + "name": "ld11", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1/loadDistributionTargets/ldt1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "weightPerServer": 40 + } + }, + { + "name": "ld11", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1/loadDistributionTargets/ldt1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1" + }, + "weightPerServer": 60 + } + } + ] + } + } + ], + "operationalState": "Running", + "privateEndpointConnections": [], + "privateLinkConfigurations": [ + { + "name": "privateLink1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1", + "properties": { + "ipConfigurations": [ + { + "name": "natNicIpconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1/privateLinkConfigurations/privateLink1/ipConfigurations/natNicIpconfig1", + "properties": { + "primary": true, + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + }, + { + "name": "natNicIpconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1/privateLinkConfigurations/privateLink1/ipConfigurations/natNicIpconfig2", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "probes": [], + "provisioningState": "Succeeded", + "requestRoutingRules": [ + { + "name": "appgwrule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "loadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "priority": 10, + "provisioningState": "Succeeded", + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "ruleType": "Basic" + } + }, + { + "name": "appgwPathBasedRule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule", + "properties": { + "entraJWTValidationConfig": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1" + }, + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener" + }, + "priority": 20, + "provisioningState": "Succeeded", + "ruleType": "PathBasedRouting", + "urlPathMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1" + } + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", + "properties": { + "provisioningState": "Succeeded", + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_remote-addr}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ], + "urlConfiguration": { + "modifiedPath": "/abc", + "modifiedQueryString": "x=y&a=b", + "reroute": false + } + }, + "conditions": [ + { + "ignoreCase": true, + "negate": false, + "pattern": "^Bearer", + "variable": "http_req_Authorization" + } + ], + "ruleSequence": 102 + } + ] + } + } + ], + "sku": { + "name": "Standard_Medium", + "capacity": 3, + "tier": "Standard" + }, + "sslCertificates": [ + { + "name": "sslcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "*****" + } + } + ], + "sslProfiles": [ + { + "name": "sslProfile1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1", + "properties": { + "clientAuthConfiguration": { + "verifyClientAuthMode": "Strict", + "verifyClientCertIssuerDN": true, + "verifyClientRevocation": "OCSP" + }, + "provisioningState": "Succeeded", + "sslPolicy": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_1", + "policyType": "Custom" + }, + "trustedClientCertificates": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert" + } + ] + } + } + ], + "trustedClientCertificates": [ + { + "name": "clientcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert", + "properties": { + "clientCertIssuerDN": "CN=User1, OU=Eng, O=Company Ltd, L=D4, S=Arizona, C=US", + "data": "****", + "provisioningState": "Succeeded", + "validatedCertData": "****" + } + } + ], + "urlPathMaps": [ + { + "name": "pathMap1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1", + "properties": { + "defaultBackendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "defaultBackendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "defaultLoadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "defaultRewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "pathRules": [ + { + "name": "apiPaths", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "loadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "paths": [ + "/api", + "/v1/api" + ], + "provisioningState": "Succeeded", + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + } + }, + "operationId": "ApplicationGateways_Get", + "title": "Get ApplicationGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayList.json new file mode 100644 index 000000000000..e3b79e0e72e1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayList.json @@ -0,0 +1,414 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "appgw", + "type": "Microsoft.Network/applicationGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw", + "location": "southcentralus", + "properties": { + "authenticationCertificates": [], + "backendAddressPools": [ + { + "name": "appgwpool", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", + "properties": { + "backendAddresses": [], + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwpool1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.0.1" + }, + { + "ipAddress": "10.0.0.2" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", + "properties": { + "cookieBasedAffinity": "Disabled", + "port": 80, + "provisioningState": "Succeeded", + "requestTimeout": 30, + "protocol": "Http" + } + } + ], + "entraJWTValidationConfigs": [ + { + "name": "entraJWTValidationConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1", + "properties": { + "clientId": "37293f5a-97b3-451d-b786-f532d711c9ff", + "provisioningState": "Succeeded", + "tenantId": "70a036f6-8e4d-4615-bad6-149c02e7720d", + "unAuthorizedRequestAction": "Deny" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp", + "properties": { + "port": 443, + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwfp80", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80", + "properties": { + "port": 80, + "provisioningState": "Succeeded" + } + } + ], + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "globalConfiguration": { + "enableRequestBuffering": true, + "enableResponseBuffering": true + }, + "httpListeners": [ + { + "name": "appgwhl", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "provisioningState": "Succeeded", + "requireServerNameIndication": false, + "sslCertificate": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "sslProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1" + }, + "protocol": "Https" + } + }, + { + "name": "appgwhttplistener", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "provisioningState": "Succeeded", + "protocol": "Http" + } + } + ], + "loadDistributionPolicies": [ + { + "name": "ldp1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1", + "properties": { + "loadDistributionAlgorithm": "RoundRobin", + "loadDistributionTargets": [ + { + "name": "ld11", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1/loadDistributionTargets/ldt1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "weightPerServer": 40 + } + }, + { + "name": "ld11", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1/loadDistributionTargets/ldt1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1" + }, + "weightPerServer": 60 + } + } + ] + } + } + ], + "operationalState": "Running", + "privateEndpointConnections": [], + "privateLinkConfigurations": [ + { + "name": "privateLink1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1", + "properties": { + "ipConfigurations": [ + { + "name": "natNicIpconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1/privateLinkConfigurations/privateLink1/ipConfigurations/natNicIpconfig1", + "properties": { + "primary": true, + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + }, + { + "name": "natNicIpconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1/privateLinkConfigurations/privateLink1/ipConfigurations/natNicIpconfig2", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "probes": [], + "provisioningState": "Succeeded", + "requestRoutingRules": [ + { + "name": "appgwrule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "entraJWTValidationConfig": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1" + }, + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "loadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "priority": 10, + "provisioningState": "Succeeded", + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "ruleType": "Basic" + } + }, + { + "name": "appgwPathBasedRule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule", + "properties": { + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener" + }, + "priority": 20, + "provisioningState": "Succeeded", + "ruleType": "PathBasedRouting", + "urlPathMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1" + } + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", + "properties": { + "provisioningState": "Succeeded", + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_remote-addr}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ], + "urlConfiguration": { + "modifiedPath": "/abc", + "modifiedQueryString": "x=y&a=b", + "reroute": false + } + }, + "conditions": [ + { + "ignoreCase": true, + "negate": false, + "pattern": "^Bearer", + "variable": "http_req_Authorization" + } + ], + "ruleSequence": 102 + } + ] + } + } + ], + "sku": { + "name": "Standard_Medium", + "capacity": 3, + "tier": "Standard" + }, + "sslCertificates": [ + { + "name": "sslcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "*****" + } + } + ], + "sslProfiles": [ + { + "name": "sslProfile1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1", + "properties": { + "clientAuthConfiguration": { + "verifyClientAuthMode": "Strict", + "verifyClientCertIssuerDN": true, + "verifyClientRevocation": "OCSP" + }, + "provisioningState": "Succeeded", + "sslPolicy": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_1", + "policyType": "Custom" + }, + "trustedClientCertificates": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert" + } + ] + } + } + ], + "trustedClientCertificates": [ + { + "name": "clientcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert", + "properties": { + "clientCertIssuerDN": "CN=User1, OU=Eng, O=Company Ltd, L=D4, S=Arizona, C=US", + "data": "****", + "provisioningState": "Succeeded", + "validatedCertData": "****" + } + } + ], + "urlPathMaps": [ + { + "name": "pathMap1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1", + "properties": { + "defaultBackendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "defaultBackendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "defaultLoadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "defaultRewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "pathRules": [ + { + "name": "apiPaths", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "loadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "paths": [ + "/api", + "/v1/api" + ], + "provisioningState": "Succeeded", + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + ] + } + } + }, + "operationId": "ApplicationGateways_List", + "title": "Lists all application gateways in a resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayListAll.json new file mode 100644 index 000000000000..f65959d61101 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayListAll.json @@ -0,0 +1,413 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "appgw", + "type": "Microsoft.Network/applicationGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw", + "location": "southcentralus", + "properties": { + "authenticationCertificates": [], + "backendAddressPools": [ + { + "name": "appgwpool", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool", + "properties": { + "backendAddresses": [], + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwpool1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.0.0.1" + }, + { + "ipAddress": "10.0.0.2" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "appgwbhs", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs", + "properties": { + "cookieBasedAffinity": "Disabled", + "port": 80, + "provisioningState": "Succeeded", + "requestTimeout": 30, + "protocol": "Http" + } + } + ], + "entraJWTValidationConfigs": [ + { + "name": "entraJWTValidationConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1", + "properties": { + "clientId": "37293f5a-97b3-451d-b786-f532d711c9ff", + "provisioningState": "Succeeded", + "tenantId": "70a036f6-8e4d-4615-bad6-149c02e7720d", + "unAuthorizedRequestAction": "Deny" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "appgwfip", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/appgwpip" + } + } + } + ], + "frontendPorts": [ + { + "name": "appgwfp", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp", + "properties": { + "port": 443, + "provisioningState": "Succeeded" + } + }, + { + "name": "appgwfp80", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80", + "properties": { + "port": 80, + "provisioningState": "Succeeded" + } + } + ], + "gatewayIPConfigurations": [ + { + "name": "appgwipc", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/gatewayIPConfigurations/appgwipc", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "globalConfiguration": { + "enableRequestBuffering": true, + "enableResponseBuffering": true + }, + "httpListeners": [ + { + "name": "appgwhl", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp" + }, + "provisioningState": "Succeeded", + "requireServerNameIndication": false, + "sslCertificate": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert" + }, + "sslProfile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1" + }, + "protocol": "Https" + } + }, + { + "name": "appgwhttplistener", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendIPConfigurations/appgwfip" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/frontendPorts/appgwfp80" + }, + "provisioningState": "Succeeded", + "protocol": "Http" + } + } + ], + "loadDistributionPolicies": [ + { + "name": "ldp1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1", + "properties": { + "loadDistributionAlgorithm": "RoundRobin", + "loadDistributionTargets": [ + { + "name": "ld11", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1/loadDistributionTargets/ldt1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "weightPerServer": 40 + } + }, + { + "name": "ld11", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1/loadDistributionTargets/ldt1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool1" + }, + "weightPerServer": 60 + } + } + ] + } + } + ], + "operationalState": "Running", + "privateEndpointConnections": [], + "privateLinkConfigurations": [ + { + "name": "privateLink1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1", + "properties": { + "ipConfigurations": [ + { + "name": "natNicIpconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1/privateLinkConfigurations/privateLink1/ipConfigurations/natNicIpconfig1", + "properties": { + "primary": true, + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + }, + { + "name": "natNicIpconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkConfigurations/privateLink1/privateLinkConfigurations/privateLink1/ipConfigurations/natNicIpconfig2", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/virtualNetwork1/subnets/appgwsubnet" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "probes": [], + "provisioningState": "Succeeded", + "requestRoutingRules": [ + { + "name": "appgwrule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwrule", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "entraJWTValidationConfig": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/entraJWTValidationConfigs/entraJWTValidationConfig1" + }, + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhl" + }, + "loadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "priority": 10, + "provisioningState": "Succeeded", + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "ruleType": "Basic" + } + }, + { + "name": "appgwPathBasedRule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/requestRoutingRules/appgwPathBasedRule", + "properties": { + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/httpListeners/appgwhttplistener" + }, + "priority": 20, + "provisioningState": "Succeeded", + "ruleType": "PathBasedRouting", + "urlPathMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1" + } + } + } + ], + "rewriteRuleSets": [ + { + "name": "rewriteRuleSet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1", + "properties": { + "provisioningState": "Succeeded", + "rewriteRules": [ + { + "name": "Set X-Forwarded-For", + "actionSet": { + "requestHeaderConfigurations": [ + { + "headerName": "X-Forwarded-For", + "headerValue": "{var_remote-addr}" + } + ], + "responseHeaderConfigurations": [ + { + "headerName": "Strict-Transport-Security", + "headerValue": "max-age=31536000" + } + ], + "urlConfiguration": { + "modifiedPath": "/abc", + "modifiedQueryString": "x=y&a=b", + "reroute": false + } + }, + "conditions": [ + { + "ignoreCase": true, + "negate": false, + "pattern": "^Bearer", + "variable": "http_req_Authorization" + } + ], + "ruleSequence": 102 + } + ] + } + } + ], + "sku": { + "name": "Standard_Medium", + "capacity": 3, + "tier": "Standard" + }, + "sslCertificates": [ + { + "name": "sslcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslCertificates/sslcert", + "properties": { + "provisioningState": "Succeeded", + "publicCertData": "*****" + } + } + ], + "sslProfiles": [ + { + "name": "sslProfile1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/sslProfiles/sslProfile1", + "properties": { + "clientAuthConfiguration": { + "verifyClientAuthMode": "Strict", + "verifyClientCertIssuerDN": true, + "verifyClientRevocation": "OCSP" + }, + "provisioningState": "Succeeded", + "sslPolicy": { + "cipherSuites": [ + "TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256" + ], + "minProtocolVersion": "TLSv1_1", + "policyType": "Custom" + }, + "trustedClientCertificates": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert" + } + ] + } + } + ], + "trustedClientCertificates": [ + { + "name": "clientcert", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/trustedClientCertificates/clientcert", + "properties": { + "clientCertIssuerDN": "CN=User1, OU=Eng, O=Company Ltd, L=D4, S=Arizona, C=US", + "data": "****", + "provisioningState": "Succeeded", + "validatedCertData": "****" + } + } + ], + "urlPathMaps": [ + { + "name": "pathMap1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1", + "properties": { + "defaultBackendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "defaultBackendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "defaultLoadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "defaultRewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + }, + "pathRules": [ + { + "name": "apiPaths", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/urlPathMaps/pathMap1/pathRules/apiPaths", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendAddressPools/appgwpool" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/backendHttpSettingsCollection/appgwbhs" + }, + "loadDistributionPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/loadDistributionPolicies/ldp1" + }, + "paths": [ + "/api", + "/v1/api" + ], + "provisioningState": "Succeeded", + "rewriteRuleSet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/rewriteRuleSets/rewriteRuleSet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + ] + } + } + }, + "operationId": "ApplicationGateways_ListAll", + "title": "Lists all application gateways in a subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayPrivateEndpointConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayPrivateEndpointConnectionDelete.json new file mode 100644 index 000000000000..c43d10f3becf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayPrivateEndpointConnectionDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "connectionName": "connection1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ApplicationGatewayPrivateEndpointConnections_Delete", + "title": "Delete Application Gateway Private Endpoint Connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayPrivateEndpointConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayPrivateEndpointConnectionGet.json new file mode 100644 index 000000000000..f6c607f5bdad --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayPrivateEndpointConnectionGet.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "connectionName": "connection1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "connection1", + "type": "Microsoft.Network/applicationGateways/privateEndpointConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkResources/connection1", + "properties": { + "linkIdentifier": "805319460", + "privateEndpoint": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1" + }, + "privateLinkServiceConnectionState": { + "description": "Approval Done", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ApplicationGatewayPrivateEndpointConnections_Get", + "title": "Get Application Gateway Private Endpoint Connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayPrivateEndpointConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayPrivateEndpointConnectionList.json new file mode 100644 index 000000000000..69a012ee54a6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayPrivateEndpointConnectionList.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "connection1", + "type": "Microsoft.Network/applicationGateways/privateEndpointConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkResources/connection1", + "properties": { + "linkIdentifier": "805319460", + "privateEndpoint": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1" + }, + "privateLinkServiceConnectionState": { + "description": "Approval Done", + "status": "Approved" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ApplicationGatewayPrivateEndpointConnections_List", + "title": "Lists all private endpoint connections on application gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayPrivateEndpointConnectionUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayPrivateEndpointConnectionUpdate.json new file mode 100644 index 000000000000..8f9d20bccdc3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayPrivateEndpointConnectionUpdate.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "connectionName": "connection1", + "parameters": { + "name": "connection1", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPlePeConnection", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkResources/testPlePeConnection", + "properties": { + "linkIdentifier": "linkId", + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + } + }, + "202": {} + }, + "operationId": "ApplicationGatewayPrivateEndpointConnections_Update", + "title": "Update Application Gateway Private Endpoint Connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayPrivateLinkResourceList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayPrivateLinkResourceList.json new file mode 100644 index 000000000000..a9d492b28b51 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayPrivateLinkResourceList.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "privateLink1", + "type": "Microsoft.Network/applicationGateways/privateLinkResources", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/appgw/privateLinkResources/privateLink1", + "properties": { + "groupId": "privateLink1", + "requiredMembers": [ + "privateLink1" + ], + "requiredZoneNames": [] + } + } + ] + } + } + }, + "operationId": "ApplicationGatewayPrivateLinkResources_List", + "title": "Lists all private link resources on application gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayStart.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayStart.json new file mode 100644 index 000000000000..7a5f26a484ad --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayStart.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ApplicationGateways_Start", + "title": "Start Application Gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayStop.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayStop.json new file mode 100644 index 000000000000..2fd7bee09ccd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayStop.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "appgw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ApplicationGateways_Stop", + "title": "Stop Application Gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayUpdateTags.json new file mode 100644 index 000000000000..868fcacc8d8a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationGatewayUpdateTags.json @@ -0,0 +1,150 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationGatewayName": "AppGw", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "AppGw", + "type": "Microsoft.Network/applicationGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw", + "location": "westus", + "properties": { + "authenticationCertificates": [], + "backendAddressPools": [ + { + "name": "Pool01", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01", + "properties": { + "backendAddresses": [ + { + "ipAddress": "10.10.10.1" + }, + { + "ipAddress": "10.10.10.2" + }, + { + "ipAddress": "10.10.10.3" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "backendHttpSettingsCollection": [ + { + "name": "PoolSetting01", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01", + "properties": { + "cookieBasedAffinity": "Disabled", + "pickHostNameFromBackendAddress": false, + "port": 80, + "provisioningState": "Succeeded", + "requestTimeout": 30, + "protocol": "Http" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "FrontEndConfig01", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/publicIp1" + } + } + } + ], + "frontendPorts": [ + { + "name": "FrontEndPort01", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01", + "properties": { + "port": 80, + "provisioningState": "Succeeded" + } + } + ], + "gatewayIPConfigurations": [ + { + "name": "GatewayIp01", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/gatewayIPConfigurations/GatewayIp01", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet1" + } + } + } + ], + "httpListeners": [ + { + "name": "listener1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1", + "properties": { + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendIPConfigurations/FrontEndConfig01" + }, + "frontendPort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/frontendPorts/FrontEndPort01" + }, + "provisioningState": "Succeeded", + "requireServerNameIndication": false, + "protocol": "Http" + } + } + ], + "operationalState": "Running", + "probes": [], + "provisioningState": "Succeeded", + "redirectConfigurations": [], + "requestRoutingRules": [ + { + "name": "Rule01", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/requestRoutingRules/Rule01", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendAddressPools/Pool01" + }, + "backendHttpSettings": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/backendHttpSettingsCollection/PoolSetting01" + }, + "httpListener": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationGateways/AppGw/httpListeners/listener1" + }, + "provisioningState": "Succeeded", + "ruleType": "Basic" + } + } + ], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "Standard_Small", + "capacity": 2, + "tier": "Standard" + }, + "sslCertificates": [], + "urlPathMaps": [] + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "ApplicationGateways_UpdateTags", + "title": "Update Application Gateway tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupCreate.json new file mode 100644 index 000000000000..92195f70129b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupCreate.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationSecurityGroupName": "test-asg", + "parameters": { + "location": "westus", + "properties": {} + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-asg", + "type": "Microsoft.Network/applicationSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + }, + "201": { + "body": { + "name": "test-asg", + "type": "Microsoft.Network/applicationSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + }, + "operationId": "ApplicationSecurityGroups_CreateOrUpdate", + "title": "Create application security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupDelete.json new file mode 100644 index 000000000000..9c20c89e5cd7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationSecurityGroupName": "test-asg", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ApplicationSecurityGroups_Delete", + "title": "Delete application security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupGet.json new file mode 100644 index 000000000000..f5fb7746a054 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationSecurityGroupName": "test-asg", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-asg", + "type": "Microsoft.Network/applicationSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + }, + "operationId": "ApplicationSecurityGroups_Get", + "title": "Get application security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupList.json new file mode 100644 index 000000000000..a295e4e3dd0b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupList.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "asg1", + "type": "Microsoft.Network/applicationSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + }, + { + "name": "asg2", + "type": "Microsoft.Network/applicationSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + ] + } + } + }, + "operationId": "ApplicationSecurityGroups_List", + "title": "List load balancers in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupListAll.json new file mode 100644 index 000000000000..0c53c77e157a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupListAll.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "asg1", + "type": "Microsoft.Network/applicationSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg1", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + }, + { + "name": "asg2", + "type": "Microsoft.Network/applicationSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/asg2", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + ] + } + } + }, + "operationId": "ApplicationSecurityGroups_ListAll", + "title": "List all application security groups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupUpdateTags.json new file mode 100644 index 000000000000..d3ccc9c528b7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ApplicationSecurityGroupUpdateTags.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "applicationSecurityGroupName": "test-asg", + "location": "westus", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-asg", + "type": "Microsoft.Network/applicationSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/applicationSecurityGroups/test-asg", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "ApplicationSecurityGroups_UpdateTags", + "title": "Update application security group tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AutoApprovedPrivateLinkServicesGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AutoApprovedPrivateLinkServicesGet.json new file mode 100644 index 000000000000..ca19cbaa50b5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AutoApprovedPrivateLinkServicesGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "regionName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "privateLinkService": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1" + }, + { + "privateLinkService": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2" + }, + { + "privateLinkService": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3" + } + ] + } + } + }, + "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServices", + "title": "Get list of private link service id that can be linked to a private end point with auto approved" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json new file mode 100644 index 000000000000..dd1dbe207ef8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "regionName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "privateLinkService": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1" + }, + { + "privateLinkService": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2" + }, + { + "privateLinkService": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls3" + } + ] + } + } + }, + "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServicesByResourceGroup", + "title": "Get list of private link service id that can be linked to a private end point with auto approved" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailableDelegationsResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailableDelegationsResourceGroupGet.json new file mode 100644 index 000000000000..991720a9126b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailableDelegationsResourceGroupGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westcentralus", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Provider.resourceType", + "type": "Microsoft.Network/availableDelegations", + "actions": [ + "Microsoft.Network/resource/action" + ], + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType", + "serviceName": "Microsoft.Provider/resourceType" + } + ] + } + } + }, + "operationId": "AvailableResourceGroupDelegations_List", + "title": "Get available delegations in the resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailableDelegationsSubscriptionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailableDelegationsSubscriptionGet.json new file mode 100644 index 000000000000..d0dbb50dba43 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailableDelegationsSubscriptionGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westcentralus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Provider.resourceType", + "type": "Microsoft.Network/availableDelegations", + "actions": [ + "Microsoft.Network/resource/action" + ], + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/availableDelegations/Microsoft.Provider.resourceType", + "serviceName": "Microsoft.Provider/resourceType" + } + ] + } + } + }, + "operationId": "AvailableDelegations_List", + "title": "Get available delegations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailablePrivateEndpointTypesGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailablePrivateEndpointTypesGet.json new file mode 100644 index 000000000000..4cb2dbbeb137 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailablePrivateEndpointTypesGet.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "regionName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "type": "Microsoft.Network/availablePrivateEndpointTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType", + "resourceName": "Microsoft.Provider/resourceType" + } + ] + } + } + }, + "operationId": "AvailablePrivateEndpointTypes_List", + "title": "Get available PrivateEndpoint types" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json new file mode 100644 index 000000000000..055aa9024e61 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailablePrivateEndpointTypesResourceGroupGet.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "regionName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "type": "Microsoft.Network/availablePrivateEndpointTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/availablePrivateEndpointTypes/Microsoft.Provider.resourceType", + "resourceName": "Microsoft.Provider/resourceType" + } + ] + } + } + }, + "operationId": "AvailablePrivateEndpointTypes_ListByResourceGroup", + "title": "Get available PrivateEndpoint types in the resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailableServiceAliasesList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailableServiceAliasesList.json new file mode 100644 index 000000000000..12c082a9f39f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailableServiceAliasesList.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westcentralus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "servicesAzure", + "type": "Microsoft.Network/AvailableServiceAliases", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/AvailableServiceAliases/servicesAzure", + "resourceName": "/services/Azure" + }, + { + "name": "servicesAzureManagedInstance", + "type": "Microsoft.Network/AvailableServiceAliases", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/AvailableServiceAliases/servicesAzureManagedInstance", + "resourceName": "/services/Azure/ManagedInstance" + } + ] + } + } + }, + "operationId": "AvailableServiceAliases_List", + "title": "Get available service aliases" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailableServiceAliasesListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailableServiceAliasesListByResourceGroup.json new file mode 100644 index 000000000000..2d5e0e2bb6d2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AvailableServiceAliasesListByResourceGroup.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westcentralus", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "servicesAzure", + "type": "Microsoft.Network/AvailableServiceAliases", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/AvailableServiceAliases/servicesAzure", + "resourceName": "/services/Azure" + }, + { + "name": "servicesAzureManagedInstance", + "type": "Microsoft.Network/AvailableServiceAliases", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/AvailableServiceAliases/servicesAzureManagedInstance", + "resourceName": "/services/Azure/ManagedInstance" + } + ] + } + } + }, + "operationId": "AvailableServiceAliases_ListByResourceGroup", + "title": "Get available service aliases in the resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallDelete.json new file mode 100644 index 000000000000..6d2baf68b3de --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01&t=1234567890&c=abc-123&s=def-456&h=xyz-789" + } + }, + "204": {} + }, + "operationId": "AzureFirewalls_Delete", + "title": "Delete Azure Firewall" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallFqdnTagsListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallFqdnTagsListBySubscription.json new file mode 100644 index 000000000000..a4467a390739 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallFqdnTagsListBySubscription.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "azfwfqdntag", + "type": "Microsoft.Network/azureFirewallFqdnTags", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewallFqdnTags/azfwfqdntag", + "location": "West US", + "properties": { + "fqdnTagName": "azfwfqdntag", + "provisioningState": "Succeeded" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "AzureFirewallFqdnTags_ListAll", + "title": "List all Azure Firewall FQDN Tags for a given subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGet.json new file mode 100644 index 000000000000..0e8be2233825 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGet.json @@ -0,0 +1,186 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "autoscaleConfiguration": { + "maxCapacity": 15, + "minCapacity": 10 + }, + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "ipGroups": [], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_Get", + "title": "Get Azure Firewall" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGetWithAdditionalProperties.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGetWithAdditionalProperties.json new file mode 100644 index 000000000000..23287cfa7a56 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGetWithAdditionalProperties.json @@ -0,0 +1,184 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": { + "key1": "value1", + "key2": "value2" + }, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_Get", + "title": "Get Azure Firewall With Additional Properties" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGetWithAfcConfiguration.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGetWithAfcConfiguration.json new file mode 100644 index 000000000000..492797f05aa3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGetWithAfcConfiguration.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert", + "afcConfiguration": { + "serviceEndpoint": "5e73bbe79102451d968d1cac9b5dbd41.afc.azure.com" + } + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_Get", + "title": "Get Azure Firewall With AFC Control Plane" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGetWithIpGroups.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGetWithIpGroups.json new file mode 100644 index 000000000000..0bb9e7704b24 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGetWithIpGroups.json @@ -0,0 +1,194 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "ipGroups": [ + { + "changeNumber": "5", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1" + }, + { + "changeNumber": "4", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups2" + }, + { + "changeNumber": "1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups3" + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups2" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups3" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_Get", + "title": "Get Azure Firewall With IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGetWithMgmtSubnet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGetWithMgmtSubnet.json new file mode 100644 index 000000000000..a54649ca1498 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGetWithMgmtSubnet.json @@ -0,0 +1,195 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "managementIpConfiguration": { + "name": "azureFirewallMgmtIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallMgmtIpConfiguration", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/managementPipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallManagementSubnet" + } + } + }, + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_Get", + "title": "Get Azure Firewall With management subnet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGetWithZones.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGetWithZones.json new file mode 100644 index 000000000000..fad22486766d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallGetWithZones.json @@ -0,0 +1,186 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US 2", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "ipGroups": [], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [ + "1", + "2", + "3" + ] + } + } + }, + "operationId": "AzureFirewalls_Get", + "title": "Get Azure Firewall With Zones" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallListByResourceGroup.json new file mode 100644 index 000000000000..ac88cdfee468 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallListByResourceGroup.json @@ -0,0 +1,198 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": { + "key1": "value1", + "key2": "value2" + }, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "ipGroups": [], + "managementIpConfiguration": { + "name": "azureFirewallMgmtIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallMgmtIpConfiguration", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/managementPipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallManagementSubnet" + } + } + }, + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + ] + } + } + }, + "operationId": "AzureFirewalls_List", + "title": "List all Azure Firewalls for a given resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallListBySubscription.json new file mode 100644 index 000000000000..734b23347187 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallListBySubscription.json @@ -0,0 +1,197 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": { + "key1": "value1", + "key2": "value2" + }, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "ipGroups": [], + "managementIpConfiguration": { + "name": "azureFirewallMgmtIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallMgmtIpConfiguration", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/managementPipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallManagementSubnet" + } + } + }, + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + ] + } + } + }, + "operationId": "AzureFirewalls_ListAll", + "title": "List all Azure Firewalls for a given subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallListLearnedIPPrefixes.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallListLearnedIPPrefixes.json new file mode 100644 index 000000000000..55f7d67595b8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallListLearnedIPPrefixes.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azureFirewall1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "ipPrefixes": [ + "10.101.0.0/16", + "10.102.0.0/16" + ] + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01&t=638385313328642925&c=abc-123&s=def-456&h=xyz-789" + } + } + }, + "operationId": "AzureFirewalls_ListLearnedPrefixes", + "title": "AzureFirewallListLearnedPrefixes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPacketCapture.json new file mode 100644 index 000000000000..9da287f8b829 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPacketCapture.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azureFirewall1", + "parameters": { + "durationInSeconds": 300, + "fileName": "azureFirewallPacketCapture", + "filters": [ + { + "destinationPorts": [ + "4500" + ], + "destinations": [ + "20.1.2.0" + ], + "sources": [ + "20.1.1.0" + ] + }, + { + "destinationPorts": [ + "123", + "80" + ], + "destinations": [ + "10.1.2.0" + ], + "sources": [ + "10.1.1.0", + "10.1.1.1" + ] + } + ], + "flags": [ + { + "type": "syn" + }, + { + "type": "fin" + } + ], + "numberOfPacketsToCapture": 5000, + "sasUrl": "someSASURL", + "protocol": "Any" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "AzureFirewalls_PacketCapture", + "title": "AzureFirewallPacketCapture" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPacketCaptureOperation.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPacketCaptureOperation.json new file mode 100644 index 000000000000..aa1d489e3c7e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPacketCaptureOperation.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azureFirewall1", + "parameters": { + "durationInSeconds": 300, + "fileName": "azureFirewallPacketCapture", + "filters": [ + { + "destinationPorts": [ + "4500" + ], + "destinations": [ + "20.1.2.0" + ], + "sources": [ + "20.1.1.0" + ] + }, + { + "destinationPorts": [ + "123", + "80" + ], + "destinations": [ + "10.1.2.0" + ], + "sources": [ + "10.1.1.0", + "10.1.1.1" + ] + } + ], + "flags": [ + { + "type": "syn" + }, + { + "type": "fin" + } + ], + "numberOfPacketsToCapture": 5000, + "operation": "Status", + "sasUrl": "someSASURL", + "protocol": "Any" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "message": "Packet capture in progress. Please wait till it is finished or stop the current capture before starting another.", + "statusCode": "AzureFirewallPacketCaptureInProgress" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "AzureFirewalls_PacketCaptureOperation", + "title": "AzureFirewallPacketCaptureOperation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPut.json new file mode 100644 index 000000000000..10433e94804a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPut.json @@ -0,0 +1,512 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "parameters": { + "location": "West US", + "properties": { + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "ipGroups": [], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + }, + "201": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "autoscaleConfiguration": { + "maxCapacity": 8, + "minCapacity": 8 + }, + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_CreateOrUpdate", + "title": "Create Azure Firewall" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutInHub.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutInHub.json new file mode 100644 index 000000000000..026bb786d514 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutInHub.json @@ -0,0 +1,117 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "parameters": { + "location": "West US", + "properties": { + "firewallPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1" + }, + "hubIPAddresses": { + "publicIPs": { + "addresses": [], + "count": 1 + } + }, + "sku": { + "name": "AZFW_Hub", + "tier": "Standard" + }, + "threatIntelMode": "Alert", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + }, + "zones": [] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "firewallPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1" + }, + "hubIPAddresses": { + "privateIPAddress": "10.0.0.0", + "publicIPs": { + "addresses": [ + { + "address": "13.73.240.12" + } + ], + "count": 1 + } + }, + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_Hub", + "tier": "Standard" + }, + "threatIntelMode": "Alert", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + }, + "201": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "firewallPolicy": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/policy1" + }, + "hubIPAddresses": { + "privateIPAddress": "10.0.0.0", + "publicIPs": { + "addresses": [ + { + "address": "13.73.240.12" + } + ], + "count": 1 + } + }, + "ipGroups": [], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_Hub", + "tier": "Standard" + }, + "threatIntelMode": "Alert", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_CreateOrUpdate", + "title": "Create Azure Firewall in virtual Hub" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutWithAdditionalProperties.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutWithAdditionalProperties.json new file mode 100644 index 000000000000..642f18b550d2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutWithAdditionalProperties.json @@ -0,0 +1,517 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "parameters": { + "location": "West US", + "properties": { + "additionalProperties": { + "key1": "value1", + "key2": "value2" + }, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": { + "key1": "value1", + "key2": "value2" + }, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + }, + "201": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": { + "key1": "value1", + "key2": "value2" + }, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_CreateOrUpdate", + "title": "Create Azure Firewall With Additional Properties" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutWithAfcConfiguration.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutWithAfcConfiguration.json new file mode 100644 index 000000000000..e80675a83701 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutWithAfcConfiguration.json @@ -0,0 +1,122 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "createAfcControlPlane": true, + "parameters": { + "location": "West US", + "properties": { + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert", + "afcConfiguration": { + "serviceEndpoint": "5e73bbe79102451d968d1cac9b5dbd41.afc.azure.com" + } + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + }, + "201": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert", + "afcConfiguration": { + "serviceEndpoint": "5e73bbe79102451d968d1cac9b5dbd41.afc.azure.com" + } + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_CreateOrUpdate", + "title": "Create Azure Firewall With AFC Control Plane" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutWithIpGroups.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutWithIpGroups.json new file mode 100644 index 000000000000..084d9b70e41b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutWithIpGroups.json @@ -0,0 +1,516 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "parameters": { + "location": "West US", + "properties": { + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + }, + "201": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "ipGroups": [ + { + "changeNumber": "5", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1" + }, + { + "changeNumber": "4", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups2" + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups2" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_CreateOrUpdate", + "title": "Create Azure Firewall With IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutWithMgmtSubnet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutWithMgmtSubnet.json new file mode 100644 index 000000000000..0a624474cc12 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutWithMgmtSubnet.json @@ -0,0 +1,518 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "parameters": { + "location": "West US", + "properties": { + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "managementIpConfiguration": { + "name": "azureFirewallMgmtIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/managementPipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallManagementSubnet" + } + } + }, + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + }, + "201": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "AzureFirewalls_CreateOrUpdate", + "title": "Create Azure Firewall With management subnet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutWithZones.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutWithZones.json new file mode 100644 index 000000000000..eebca2c42557 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallPutWithZones.json @@ -0,0 +1,520 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "azurefirewall", + "parameters": { + "location": "West US 2", + "properties": { + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [ + "1", + "2", + "3" + ] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US 2", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "ipGroups": [], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [ + "1", + "2", + "3" + ] + } + }, + "201": { + "body": { + "name": "azurefirewall", + "type": "Microsoft.Network/azureFirewalls", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall", + "location": "West US 2", + "properties": { + "additionalProperties": {}, + "applicationRuleCollections": [ + { + "name": "apprulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/applicationRuleCollections/apprulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 110, + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "targetFqdns": [ + "www.test.com" + ] + } + ] + } + } + ], + "ipConfigurations": [ + { + "name": "azureFirewallIpConfiguration", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/ipConfigurations/azureFirewallIpConfiguration", + "properties": { + "privateIPAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureFirewallSubnet" + } + } + } + ], + "natRuleCollections": [ + { + "name": "natrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/natRuleCollections/natrulecoll", + "properties": { + "action": { + "type": "Dnat" + }, + "priority": 112, + "rules": [ + { + "name": "DNAT-HTTPS-traffic", + "description": "D-NAT all outbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedAddress": "1.2.3.5", + "translatedPort": "8443" + }, + { + "name": "DNAT-HTTP-traffic-With-FQDN", + "description": "D-NAT all inbound web traffic for inspection", + "destinationAddresses": [ + "1.2.3.4" + ], + "destinationPorts": [ + "80" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "*" + ], + "translatedFqdn": "internalhttpserver", + "translatedPort": "880" + } + ] + } + } + ], + "networkRuleCollections": [ + { + "name": "netrulecoll", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall/networkRuleCollections/netrulecoll", + "properties": { + "action": { + "type": "Deny" + }, + "priority": 112, + "rules": [ + { + "name": "L4-traffic", + "description": "Block traffic based on source IPs and ports", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "192.168.1.1-192.168.1.12", + "10.1.4.12-10.1.4.255" + ] + }, + { + "name": "L4-traffic-with-FQDN", + "description": "Block traffic based on source IPs and ports to amazon", + "destinationFqdns": [ + "www.amazon.com" + ], + "destinationPorts": [ + "443-444", + "8443" + ], + "protocols": [ + "TCP" + ], + "sourceAddresses": [ + "10.2.4.12-10.2.4.255" + ] + } + ] + } + } + ], + "provisioningState": "Succeeded", + "sku": { + "name": "AZFW_VNet", + "tier": "Standard" + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + }, + "zones": [ + "1", + "2", + "3" + ] + } + } + }, + "operationId": "AzureFirewalls_CreateOrUpdate", + "title": "Create Azure Firewall With Zones" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallUpdateTags.json new file mode 100644 index 000000000000..ec7ae64e6aff --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureFirewallUpdateTags.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "azureFirewallName": "fw1", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "azfwtest", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "fw1", + "type": "Microsoft.Network/azureFirewalls", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azfwtest/providers/Microsoft.Network/azureFirewalls/fw1", + "location": "brazilsouth", + "properties": { + "provisioningState": "Succeeded", + "threatIntelMode": "Alert" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01&t=1234567890&c=abc-123&s=def-456&h=xyz-789" + } + } + }, + "operationId": "AzureFirewalls_UpdateTags", + "title": "Update Azure Firewall Tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureWebCategoriesListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureWebCategoriesListBySubscription.json new file mode 100644 index 000000000000..daa5268d2e93 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureWebCategoriesListBySubscription.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "4de8428a-4a92-4cea-90ff-b47128b8cab8" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Arts", + "type": "Microsoft.Network/azureWebCategories", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/4de8428a-4a92-4cea-90ff-b47128b8cab8/providers/Microsoft.Network/azureWebCategories/Arts", + "properties": { + "group": "General" + } + } + ] + } + } + }, + "operationId": "WebCategories_ListBySubscription", + "title": "List all Azure Web Categories for a given subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureWebCategoryGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureWebCategoryGet.json new file mode 100644 index 000000000000..70797e563f03 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/AzureWebCategoryGet.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "name": "Arts", + "api-version": "2025-07-01", + "subscriptionId": "4de8428a-4a92-4cea-90ff-b47128b8cab8" + }, + "responses": { + "200": { + "body": { + "name": "Arts", + "type": "Microsoft.Network/azureWebCategories", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/4de8428a-4a92-4cea-90ff-b47128b8cab8/providers/Microsoft.Network/azureWebCategories/Arts", + "properties": { + "group": "General" + } + } + } + }, + "operationId": "WebCategories_Get", + "title": "Get Azure Web Category by name" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostDelete.json new file mode 100644 index 000000000000..41b049296e34 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "BastionHosts_Delete", + "title": "Delete Bastion Host" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostDeveloperDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostDeveloperDelete.json new file mode 100644 index 000000000000..f8966b937ea6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostDeveloperDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhostdeveloper", + "resourceGroupName": "rg2", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "BastionHosts_Delete", + "title": "Delete Developer Bastion Host" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostDeveloperGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostDeveloperGet.json new file mode 100644 index 000000000000..2e16c9ea038c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostDeveloperGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhostdeveloper'", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "bastionhostdeveloper'", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/bastionHosts/bastionhostdeveloper'", + "location": "West US", + "properties": { + "dnsName": "omnibrain.uswest.bastionglobal.azure.com", + "ipConfigurations": [], + "networkAcls": { + "ipRules": [ + { + "addressPrefix": "1.1.1.1/16" + } + ] + }, + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet2" + } + }, + "sku": { + "name": "Developer" + } + } + } + }, + "operationId": "BastionHosts_Get", + "title": "Get Developer Bastion Host" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostDeveloperPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostDeveloperPut.json new file mode 100644 index 000000000000..da325789660f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostDeveloperPut.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhostdeveloper", + "parameters": { + "properties": { + "ipConfigurations": [], + "networkAcls": { + "ipRules": [ + { + "addressPrefix": "1.1.1.1/16" + } + ] + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet2" + } + } + }, + "resourceGroupName": "rg2", + "sku": { + "name": "Developer" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "bastionhostdeveloper", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/bastionHosts/bastionhostdeveloper'", + "location": "West US", + "properties": { + "dnsName": "omnibrain.uswest.bastionglobal.azure.com", + "ipConfigurations": [], + "networkAcls": { + "ipRules": [ + { + "addressPrefix": "1.1.1.1/16" + } + ] + }, + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet2" + } + }, + "sku": { + "name": "Developer" + } + } + }, + "201": { + "body": { + "name": "bastionhostdeveloper'", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/bastionHosts/bastionhostdeveloper'", + "location": "West US", + "properties": { + "dnsName": "omnibrain.uswest.bastionglobal.azure.com", + "ipConfigurations": [], + "networkAcls": { + "ipRules": [ + { + "addressPrefix": "1.1.1.1/16" + } + ] + }, + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet2" + } + }, + "sku": { + "name": "Developer" + } + } + } + }, + "operationId": "BastionHosts_CreateOrUpdate", + "title": "Create Developer Bastion Host" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostGet.json new file mode 100644 index 000000000000..3c3cd6d48d3b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostGet.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant'", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "bastionhost'", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "BastionHosts_Get", + "title": "Get Bastion Host" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostGetWithPrivateOnly.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostGetWithPrivateOnly.json new file mode 100644 index 000000000000..a2f012e4c23f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostGetWithPrivateOnly.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "bastionhosttenant", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": true, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Premium" + }, + "tags": { + "key1": "value1" + }, + "zones": [] + } + } + }, + "operationId": "BastionHosts_Get", + "title": "Get Bastion Host With Private Only" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostGetWithZones.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostGetWithZones.json new file mode 100644 index 000000000000..e5e5aaeaadae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostGetWithZones.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "bastionhosttenant", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + }, + "tags": { + "key1": "value1" + }, + "zones": [ + "1", + "2" + ] + } + } + }, + "operationId": "BastionHosts_Get", + "title": "Get Bastion Host With Zones" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostListByResourceGroup.json new file mode 100644 index 000000000000..7be297da27b0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostListByResourceGroup.json @@ -0,0 +1,137 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "bastionhosttenant", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AzureBastionSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + }, + "zones": [] + }, + { + "name": "bastionhost2", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhost2", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": true, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhost2/bastionHostIpConfigurations/IpConf", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName2" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/AzureBastionSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Premium" + }, + "zones": [] + }, + { + "name": "bastionhost3", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhost3", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": true, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhost3/bastionHostIpConfigurations/IpConf", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet3/subnets/AzureBastionSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Premium" + }, + "zones": [] + } + ] + } + } + }, + "operationId": "BastionHosts_ListByResourceGroup", + "title": "List all Bastion Hosts for a given resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostListBySubscription.json new file mode 100644 index 000000000000..0d90e6da83cb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostListBySubscription.json @@ -0,0 +1,161 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "bastionhosttenant", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AzureBastionSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + }, + "zones": [] + }, + { + "name": "bastionhostdeveloper", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/bastionHosts/bastionhostdeveloper", + "location": "West US", + "properties": { + "dnsName": "omnibrain.uswest.bastionglobal.azure.com", + "ipConfigurations": [], + "networkAcls": { + "ipRules": [ + { + "addressPrefix": "1.1.1.1/16" + } + ] + }, + "provisioningState": "Succeeded", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet2" + } + }, + "sku": { + "name": "Developer" + } + }, + { + "name": "bastionhost3", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhost3", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": true, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhost3/bastionHostIpConfigurations/IpConf", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName3" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet3/subnets/AzureBastionSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Premium" + }, + "zones": [] + }, + { + "name": "bastionhost4", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhost4", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": true, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhost4/bastionHostIpConfigurations/IpConf", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet4/subnets/AzureBastionSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Premium" + }, + "zones": [] + } + ] + } + } + }, + "operationId": "BastionHosts_List", + "title": "List all Bastion Hosts for a given subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostPatch.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostPatch.json new file mode 100644 index 000000000000..c166fd4bc860 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostPatch.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "bastionhosttenant", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "202": { + "headers": { + "azure-asyncoperation": "http://azure.async.operation/status" + } + } + }, + "operationId": "BastionHosts_UpdateTags", + "title": "Patch Bastion Host" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostPut.json new file mode 100644 index 000000000000..36a59f350802 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostPut.json @@ -0,0 +1,117 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "parameters": { + "properties": { + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ] + } + }, + "resourceGroupName": "rg1", + "sku": { + "name": "Standard" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [] + }, + "responses": { + "200": { + "body": { + "name": "bastionhost", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "bastionhosttenant'", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "BastionHosts_CreateOrUpdate", + "title": "Create Bastion Host" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostPutWithPrivateOnly.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostPutWithPrivateOnly.json new file mode 100644 index 000000000000..a69b5f8de00b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostPutWithPrivateOnly.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "parameters": { + "properties": { + "enablePrivateOnlyBastion": true, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ] + } + }, + "resourceGroupName": "rg1", + "sku": { + "name": "Premium" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [] + }, + "responses": { + "200": { + "body": { + "name": "bastionhosttenant", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": true, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Premium" + } + } + }, + "201": { + "body": { + "name": "bastionhosttenant", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": true, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Premium" + } + } + } + }, + "operationId": "BastionHosts_CreateOrUpdate", + "title": "Create Bastion Host With Private Only" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostPutWithZones.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostPutWithZones.json new file mode 100644 index 000000000000..05d5be1be14d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionHostPutWithZones.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "parameters": { + "properties": { + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ] + } + }, + "resourceGroupName": "rg1", + "sku": { + "name": "Standard" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1", + "2" + ] + }, + "responses": { + "200": { + "body": { + "name": "bastionhost", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "bastionhost'", + "type": "Microsoft.Network/bastionHosts", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant'", + "location": "West US", + "properties": { + "disableCopyPaste": false, + "dnsName": "bst-9d89d361-100e-4c01-b92d-466548c476dc.bastion.azure.com", + "enableIpConnect": false, + "enableKerberos": false, + "enablePrivateOnlyBastion": false, + "enableSessionRecording": false, + "enableShareableLink": false, + "enableTunneling": false, + "ipConfigurations": [ + { + "name": "bastionHostIpConfiguration", + "type": "Microsoft.Network/bastionHosts/bastionHostIpConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/bastionHosts/bastionhosttenant/bastionHostIpConfigurations/bastionHostIpConfiguration", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pipName" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/BastionHostSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "scaleUnits": 2 + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "BastionHosts_CreateOrUpdate", + "title": "Create Bastion Host With Zones" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionSessionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionSessionDelete.json new file mode 100644 index 000000000000..bb27538654b6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionSessionDelete.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "resourceGroupName": "rg1", + "sessionIds": { + "sessionIds": [ + "session1", + "session2", + "session3" + ] + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "message": "session session1 invalidated!", + "sessionId": "session1", + "state": "Disconnected" + }, + { + "message": "session session2 could not be disconnected!", + "sessionId": "session2", + "state": "Failed" + }, + { + "message": "session session3 not found!", + "sessionId": "session3", + "state": "NotFound" + } + ] + } + } + }, + "operationId": "DisconnectActiveSessions", + "title": "Deletes the specified active session" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionSessionsList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionSessionsList.json new file mode 100644 index 000000000000..2269962c955f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionSessionsList.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "resourceType": "VM", + "sessionDurationInMins": 0, + "sessionId": "sessionId", + "startTime": "2019-1-1T12:00:00.0000Z", + "targetHostName": "vm01", + "targetIpAddress": "1.1.1.1", + "targetResourceGroup": "rg1", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm01", + "targetSubscriptionId": "00000000-0000-0000-0000-000000000000", + "userName": "user", + "protocol": "SSH" + } + ] + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "GetActiveSessions", + "title": "Returns a list of currently active sessions on the Bastion" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionShareableLinkCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionShareableLinkCreate.json new file mode 100644 index 000000000000..f58a1fb795a4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionShareableLinkCreate.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "bslRequest": { + "vms": [ + { + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1" + } + }, + { + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2" + } + } + ] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "bsl": "http://bst-bastionhostid.bastion.com/api/shareable-url/tokenvm1", + "createdAt": "2019-10-18T12:00:00.0000Z", + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1" + } + }, + { + "bsl": "http://bst-bastionhostid.bastion.com/api/shareable-url/tokenvm2", + "createdAt": "2019-10-17T12:00:00.0000Z", + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2" + } + } + ] + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "PutBastionShareableLink", + "title": "Create Bastion Shareable Links for the request VMs" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionShareableLinkDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionShareableLinkDelete.json new file mode 100644 index 000000000000..f399fd0ae5a4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionShareableLinkDelete.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "bslRequest": { + "vms": [ + { + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1" + } + }, + { + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2" + } + } + ] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "DeleteBastionShareableLink", + "title": "Delete Bastion Shareable Links for the request VMs" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionShareableLinkDeleteByToken.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionShareableLinkDeleteByToken.json new file mode 100644 index 000000000000..b4bd536ef6af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionShareableLinkDeleteByToken.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "bslTokenRequest": { + "tokens": [ + "abcd1234-efgh-hijk-5678-abcdefgh1234", + "dcba4321-hgfe-kjih-8765-hgfedcba4321" + ] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "DeleteBastionShareableLinkByToken", + "title": "Delete Bastion Shareable Links for the request VMs" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionShareableLinkGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionShareableLinkGet.json new file mode 100644 index 000000000000..86cc4c36a159 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/BastionShareableLinkGet.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "bastionHostName": "bastionhosttenant", + "bslRequest": { + "vms": [ + { + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1" + } + }, + { + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2" + } + } + ] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "bsl": "http://bst-bastionhostid.bastion.com/api/shareable-url/tokenvm1", + "createdAt": "2019-10-18T12:00:00.0000Z", + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm1" + } + }, + { + "bsl": "http://bst-bastionhostid.bastion.com/api/shareable-url/tokenvm2", + "createdAt": "2019-10-17T12:00:00.0000Z", + "vm": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgx/providers/Microsoft.Compute/virtualMachines/vm2" + } + } + ] + } + } + }, + "operationId": "GetBastionShareableLink", + "title": "Returns the Bastion Shareable Links for the request VMs" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CheckDnsNameAvailability.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CheckDnsNameAvailability.json new file mode 100644 index 000000000000..20dbb8500ee1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CheckDnsNameAvailability.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "domainNameLabel": "testdns", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "available": false + } + } + }, + "operationId": "CheckDnsNameAvailability", + "title": "Check Dns Name Availability" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CheckPrivateLinkServiceVisibility.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CheckPrivateLinkServiceVisibility.json new file mode 100644 index 000000000000..c6fcd3d54db9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CheckPrivateLinkServiceVisibility.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "parameters": { + "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "visible": true + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibility", + "title": "Check private link service visibility" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json new file mode 100644 index 000000000000..a7acaaec711f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "parameters": { + "privateLinkServiceAlias": "mypls.00000000-0000-0000-0000-000000000000.azure.privatelinkservice" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "visible": true + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibilityByResourceGroup", + "title": "Check private link service visibility" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceNetworkInterfaceGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceNetworkInterfaceGet.json new file mode 100644 index 000000000000..4267c35ce755 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceNetworkInterfaceGet.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "cloudServiceName": "cs1", + "networkInterfaceName": "nic1", + "resourceGroupName": "rg1", + "roleInstanceName": "TestVMRole_IN_0", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nic1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "dns.cdmx.internal.cloudapp.net" + }, + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ip1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1" + } + ], + "primary": true, + "privateIPAddress": "10.0.0.5", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + } + ], + "macAddress": "00-00-00-00-00-00", + "networkSecurityGroup": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "primary": true, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "NetworkInterfaces_GetCloudServiceNetworkInterface", + "title": "Get cloud service network interface" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceNetworkInterfaceList.json new file mode 100644 index 000000000000..43e519d61dfa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceNetworkInterfaceList.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "cloudServiceName": "cs1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nic1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "ruw4wz3grewudjsyzrxj44pxod.cdmx.internal.cloudapp.net" + }, + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ip1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.0" + } + ], + "primary": true, + "privateIPAddress": "10.0.0.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + } + ], + "macAddress": "00-00-00-00-00-00", + "networkSecurityGroup": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "primary": true, + "provisioningState": "Succeeded" + } + }, + { + "name": "nic1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_1/networkInterfaces/nic1", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "ruw4wz3grewudjsyzrxj44pxod.cdmx.internal.cloudapp.net" + }, + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ip1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_1/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1" + } + ], + "primary": true, + "privateIPAddress": "10.0.0.5", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + } + ], + "macAddress": "00-00-00-00-00-00", + "networkSecurityGroup": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "primary": true, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "NetworkInterfaces_ListCloudServiceNetworkInterfaces", + "title": "List cloud service network interfaces" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServicePublicIpGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServicePublicIpGet.json new file mode 100644 index 000000000000..44ce69d2b446 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServicePublicIpGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "cloudServiceName": "cs1", + "ipConfigurationName": "ip1", + "networkInterfaceName": "nic1", + "publicIpAddressName": "pub1", + "resourceGroupName": "cs-tester", + "roleInstanceName": "Test_VM_0", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "pub1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cs-tester/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/Test_VM_0/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1", + "properties": { + "dnsSettings": { + "domainNameLabel": "vm1.testvmssacc", + "fqdn": "vm1.testvmssacc.southeastasia.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 10, + "ipAddress": "13.67.119.72", + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cs-tester/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/Test_VM_0/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + } + }, + "operationId": "PublicIPAddresses_GetCloudServicePublicIPAddress", + "title": "GetVMSSPublicIP" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServicePublicIpListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServicePublicIpListAll.json new file mode 100644 index 000000000000..c6887caf24ca --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServicePublicIpListAll.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "cloudServiceName": "cs1", + "resourceGroupName": "cs-tester", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "pub1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cs-tester/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/Test_VM_0/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1", + "properties": { + "dnsSettings": { + "domainNameLabel": "vm1.testvmssacc", + "fqdn": "vm1.testvmssacc.southeastasia.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 10, + "ipAddress": "13.67.119.72", + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cs-tester/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/Test_VM_0/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + }, + { + "name": "pub1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cs-tester/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/Test_VM_3/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1", + "properties": { + "dnsSettings": { + "domainNameLabel": "vm3.testvmssacc", + "fqdn": "vm3.testvmssacc.southeastasia.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 10, + "ipAddress": "13.67.118.216", + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cs-tester/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/Test_VM_3/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + ] + } + } + }, + "operationId": "PublicIPAddresses_ListCloudServicePublicIPAddresses", + "title": "ListVMSSPublicIP" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceRoleInstanceNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceRoleInstanceNetworkInterfaceList.json new file mode 100644 index 000000000000..d0ced014cb68 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceRoleInstanceNetworkInterfaceList.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "cloudServiceName": "cs1", + "resourceGroupName": "rg1", + "roleInstanceName": "TestVMRole_IN_0", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nic1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "ruw4wz3grewudjsyzrxj44pxod.cdmx.internal.cloudapp.net" + }, + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ip1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1" + } + ], + "primary": true, + "privateIPAddress": "10.0.0.5", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/TestVMRole_IN_0/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + } + ], + "macAddress": "00-00-00-00-00-00", + "networkSecurityGroup": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "primary": true, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "NetworkInterfaces_ListCloudServiceRoleInstanceNetworkInterfaces", + "title": "List cloud service role instance network interfaces" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceRoleInstancePublicIpList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceRoleInstancePublicIpList.json new file mode 100644 index 000000000000..090081e3f9e9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceRoleInstancePublicIpList.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "cloudServiceName": "cs1", + "ipConfigurationName": "ip1", + "networkInterfaceName": "nic1", + "resourceGroupName": "cs-tester", + "roleInstanceName": "Test_VM_0", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "pub1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cs-tester/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/Test_VM_0/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1", + "properties": { + "dnsSettings": { + "domainNameLabel": "vm1.testvmssacc", + "fqdn": "vm1.testvmssacc.southeastasia.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 10, + "ipAddress": "13.67.119.72", + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/cs-tester/providers/Microsoft.Compute/cloudServices/cs1/roleInstances/Test_VM_0/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + ] + } + } + }, + "operationId": "PublicIPAddresses_ListCloudServiceRoleInstancePublicIPAddresses", + "title": "ListVMSSVMPublicIP" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceSwapGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceSwapGet.json new file mode 100644 index 000000000000..3b4dfcb7786e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceSwapGet.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "groupName": "rg1", + "resourceName": "testCloudService", + "singletonResource": "swap", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "swap", + "type": "Microsoft.Network/cloudServiceSlots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/testCloudService/providers/Microsoft.Network/cloudServiceSlots/swap", + "properties": { + "slotType": "Staging" + } + } + } + }, + "operationId": "VipSwap_Get", + "title": "Get swap resource" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceSwapList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceSwapList.json new file mode 100644 index 000000000000..e8b0d41fb41b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceSwapList.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "groupName": "rg1", + "resourceName": "testCloudService", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "swap", + "type": "Microsoft.Network/cloudServiceSlots", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/cloudServices/testCloudService/providers/Microsoft.Network/cloudServiceSlots/swap", + "properties": { + "slotType": "Staging" + } + } + ] + } + } + }, + "operationId": "VipSwap_List", + "title": "Get swap resource list" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceSwapPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceSwapPut.json new file mode 100644 index 000000000000..c8fa0567af53 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CloudServiceSwapPut.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "groupName": "rg1", + "parameters": { + "properties": { + "slotType": "Production" + } + }, + "resourceName": "testCloudService", + "singletonResource": "swap", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": {} + }, + "operationId": "VipSwap_Create", + "title": "Put vip swap operation." +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConfigurationPolicyGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConfigurationPolicyGroupDelete.json new file mode 100644 index 000000000000..a7bed10b789e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConfigurationPolicyGroupDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationPolicyGroupName": "policyGroup1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnServerConfigurationName": "vpnServerConfiguration1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "ConfigurationPolicyGroups_Delete", + "title": "ConfigurationPolicyGroupDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConfigurationPolicyGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConfigurationPolicyGroupGet.json new file mode 100644 index 000000000000..205599a5f510 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConfigurationPolicyGroupGet.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationPolicyGroupName": "policyGroup1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnServerConfigurationName": "vpnServerConfiguration1" + }, + "responses": { + "200": { + "body": { + "name": "policyGroup1", + "type": "Microsoft.Network/vpnServerConfigurations/configurationPolicyGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + }, + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ConfigurationPolicyGroups_Get", + "title": "ConfigurationPolicyGroupGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json new file mode 100644 index 000000000000..2dca6f0ac56e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnServerConfigurationName": "vpnServerConfiguration1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "policyGroup1", + "type": "Microsoft.Network/vpnServerConfigurations/configurationPolicyGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + }, + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + }, + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ConfigurationPolicyGroups_ListByVpnServerConfiguration", + "title": "ConfigurationPolicyGroupListByVpnServerConfiguration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConfigurationPolicyGroupPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConfigurationPolicyGroupPut.json new file mode 100644 index 000000000000..df261c603f9f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConfigurationPolicyGroupPut.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "VpnServerConfigurationPolicyGroupParameters": { + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + }, + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0 + } + }, + "api-version": "2025-07-01", + "configurationPolicyGroupName": "policyGroup1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnServerConfigurationName": "vpnServerConfiguration1" + }, + "responses": { + "200": { + "body": { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + }, + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + }, + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ConfigurationPolicyGroups_CreateOrUpdate", + "title": "ConfigurationPolicyGroupPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConnectionPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConnectionPolicyDelete.json new file mode 100644 index 000000000000..d5119f03b64c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConnectionPolicyDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "virtualHubName": "TestHub", + "connectionPolicyName": "testpolicy", + "api-version": "2025-07-01" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "ConnectionPolicies_Delete", + "title": "ConnectionPolicyDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConnectionPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConnectionPolicyGet.json new file mode 100644 index 000000000000..7b12fbc2adee --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConnectionPolicyGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "virtualHubName": "TestHub", + "connectionPolicyName": "testpolicy", + "api-version": "2025-07-01" + }, + "responses": { + "200": { + "body": { + "name": "testpolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/connectionPolicies/testpolicy", + "etag": "W/\"2b03e4fa-c9ed-403c-815f-d8bd6d40a37b\"", + "properties": { + "provisioningState": "Succeeded", + "enableInternetSecurity": true, + "associatedConnections": [], + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/hubRouteTables/defaultRouteTable" + }, + "propagatedRouteTables": { + "labels": [ + "default" + ], + "ids": [] + } + } + }, + "type": "Microsoft.Network/virtualHubs/connectionPolicies" + } + } + }, + "operationId": "ConnectionPolicies_Get", + "title": "ConnectionPolicyGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConnectionPolicyList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConnectionPolicyList.json new file mode 100644 index 000000000000..298eb4dc17fb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConnectionPolicyList.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "virtualHubName": "TestHub", + "api-version": "2025-07-01" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testpolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/connectionPolicies/testpolicy", + "etag": "W/\"2b03e4fa-c9ed-403c-815f-d8bd6d40a37b\"", + "properties": { + "provisioningState": "Succeeded", + "enableInternetSecurity": true, + "associatedConnections": [], + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/hubRouteTables/defaultRouteTable" + }, + "propagatedRouteTables": { + "labels": [ + "default" + ], + "ids": [] + } + } + }, + "type": "Microsoft.Network/virtualHubs/connectionPolicies" + }, + { + "name": "testpolicy2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/connectionPolicies/testpolicy2", + "etag": "W/\"2b03e4fa-c9ed-403c-815f-d8bd6d40a37b\"", + "properties": { + "provisioningState": "Succeeded", + "enableInternetSecurity": true, + "associatedConnections": [], + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/hubRouteTables/defaultRouteTable" + }, + "propagatedRouteTables": { + "labels": [ + "default" + ], + "ids": [] + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/routeMaps/TestRouteMap" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/routeMaps/TestRouteMap" + } + } + }, + "type": "Microsoft.Network/virtualHubs/connectionPolicies" + } + ] + } + } + }, + "operationId": "ConnectionPolicies_List", + "title": "ConnectionPolicyList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConnectionPolicyPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConnectionPolicyPut.json new file mode 100644 index 000000000000..711e54323e0c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ConnectionPolicyPut.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "virtualHubName": "TestHub", + "connectionPolicyName": "testpolicy2", + "api-version": "2025-07-01", + "resource": { + "properties": { + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/hubRouteTables/defaultRouteTable" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/routeMaps/TestRouteMap" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/routeMaps/TestRouteMap" + }, + "propagatedRouteTables": { + "labels": [ + "default" + ] + } + }, + "enableInternetSecurity": true + } + } + }, + "responses": { + "200": { + "body": { + "name": "testpolicy2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/connectionPolicies/testpolicy2", + "etag": "W/\"2b03e4fa-c9ed-403c-815f-d8bd6d40a37b\"", + "properties": { + "provisioningState": "Succeeded", + "enableInternetSecurity": true, + "associatedConnections": [], + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/hubRouteTables/defaultRouteTable" + }, + "propagatedRouteTables": { + "labels": [ + "default" + ], + "ids": [] + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/routeMaps/TestRouteMap" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/routeMaps/TestRouteMap" + } + } + }, + "type": "Microsoft.Network/virtualHubs/connectionPolicies" + } + }, + "201": { + "body": { + "name": "testpolicy2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/connectionPolicies/testpolicy2", + "etag": "W/\"2b03e4fa-c9ed-403c-815f-d8bd6d40a37b\"", + "properties": { + "provisioningState": "Succeeded", + "enableInternetSecurity": true, + "associatedConnections": [], + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/hubRouteTables/defaultRouteTable" + }, + "propagatedRouteTables": { + "labels": [ + "default" + ], + "ids": [] + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/routeMaps/TestRouteMap" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/TestHub/routeMaps/TestRouteMap" + } + } + }, + "type": "Microsoft.Network/virtualHubs/connectionPolicies" + } + } + }, + "operationId": "ConnectionPolicies_CreateOrUpdate", + "title": "ConnectionPolicyPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixCreateCustomizedValues.json new file mode 100644 index 000000000000..cbf73cd5f7c0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixCreateCustomizedValues.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "customIpPrefixName": "test-customipprefix", + "parameters": { + "location": "westus", + "properties": { + "cidr": "0.0.0.0/24" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "test-customipprefix", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/customIpPrefixes/test-customipprefix", + "location": "westus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "192.168.254.2/24", + "commissionedState": "Provisioning", + "failedReason": "", + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "test-customipprefix", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/customIpPrefixes/test-customipprefix", + "location": "westus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "192.168.254.2/24", + "commissionedState": "Provisioning", + "failedReason": "", + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CustomIPPrefixes_CreateOrUpdate", + "title": "Create custom IP prefix allocation method" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixDelete.json new file mode 100644 index 000000000000..2a083a4e8867 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "customIpPrefixName": "test-customipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "CustomIPPrefixes_Delete", + "title": "Delete custom IP prefix" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixGet.json new file mode 100644 index 000000000000..6d6ff052c1dd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "customIpPrefixName": "test-customipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-customipprefix", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/customIpPrefixes/test-customipprefix", + "location": "westus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.0.0/24", + "commissionedState": "Commissioned", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + } + } + }, + "operationId": "CustomIPPrefixes_Get", + "title": "Get custom IP prefix" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixList.json new file mode 100644 index 000000000000..5f4b5e88d87f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixList.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-customipprefix", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/customIpPrefixes/test-customipprefix", + "location": "westus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.0.0/24", + "commissionedState": "Commissioned", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix2", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/customIpPrefixes/test-customipprefix2", + "location": "westus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.1.0/30", + "commissionedState": "Commissioned", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix4", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix4", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "2607:f0d1:1002:0001::/64", + "commissionedState": "Commissioned", + "customIpPrefixParent": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix5" + }, + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix5", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix5", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix4" + } + ], + "cidr": "2607:f0d1:1002::/48", + "commissionedState": "Provisioned", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix6", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix8", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.7.0/22", + "commissionedState": "Commissioning", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + } + ] + } + } + }, + "operationId": "CustomIPPrefixes_List", + "title": "List resource group Custom IP prefixes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixListAll.json new file mode 100644 index 000000000000..a74e50f7f95c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixListAll.json @@ -0,0 +1,266 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-customipprefix", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/customIpPrefixes/test-customipprefix", + "location": "westus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.0.0/24", + "commissionedState": "Commissioned", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix2", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/customIpPrefixes/test-customipprefix2", + "location": "westus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.2.0/23", + "commissionedState": "Commissioned", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix3", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix3", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.4.0/22", + "commissionedState": "Provisioning", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix4", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix4", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "2607:f0d1:1002:0001::/64", + "commissionedState": "Commissioned", + "customIpPrefixParent": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix5" + }, + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix5", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix5", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix4" + } + ], + "cidr": "2607:f0d1:1002::/48", + "commissionedState": "Provisioned", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix6", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix6", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.5.0/22", + "commissionedState": "ProvisionFailed", + "expressRouteAdvertise": false, + "failedReason": "CustomerSignatureNotVerified", + "noInternetAdvertise": false, + "provisioningState": "Failed", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix6", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix7", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.6.0/22", + "commissionedState": "Commissioning", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix6", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix8", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.7.0/22", + "commissionedState": "Commissioning", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix6", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix8", + "location": "eastus", + "properties": { + "asn": "11", + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.7.0/22", + "commissionedState": "Commissioning", + "expressRouteAdvertise": false, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix6", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix8", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.7.0/22", + "commissionedState": "Commissioning", + "expressRouteAdvertise": false, + "failedReason": "", + "geo": "GLOBAL", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix6", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix8", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.7.0/22", + "commissionedState": "Commissioning", + "expressRouteAdvertise": true, + "failedReason": "", + "noInternetAdvertise": false, + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + }, + { + "name": "test-customipprefix6", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/customIpPrefixes/test-customipprefix8", + "location": "eastus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "0.0.7.0/22", + "commissionedState": "Commissioning", + "expressRouteAdvertise": true, + "failedReason": "", + "noInternetAdvertise": false, + "prefixType": "Parent", + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + } + } + ] + } + } + }, + "operationId": "CustomIPPrefixes_ListAll", + "title": "List all custom IP prefixes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixUpdateTags.json new file mode 100644 index 000000000000..cfda7883b489 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/CustomIpPrefixUpdateTags.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "customIpPrefixName": "test-customipprefix", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "test-customipprefix", + "type": "Microsoft.Network/customIpPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/customIpPrefixes/test-customipprefix", + "location": "westus", + "properties": { + "authorizationMessage": "authorizationMessage", + "childCustomIpPrefixes": [], + "cidr": "192.168.254.2/24", + "commissionedState": "Provisioning", + "failedReason": "", + "provisioningState": "Succeeded", + "publicIpPrefixes": [], + "resourceGuid": "00000000-0000-0000-0000-00000000", + "signedMessage": "signedMessage" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "CustomIPPrefixes_UpdateTags", + "title": "Update public IP address tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyCreate.json new file mode 100644 index 000000000000..0b340e97cb5f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyCreate.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ddosCustomPolicyName": "test-ddos-custom-policy", + "parameters": { + "location": "centraluseuap", + "properties": { + "detectionRules": [ + { + "name": "detectionRuleTcp", + "properties": { + "detectionMode": "TrafficThreshold", + "trafficDetectionRule": { + "packetsPerSecond": 1000000, + "trafficType": "Tcp" + } + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ddos-custom-policy", + "type": "Microsoft.Network/ddosCustomPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy", + "location": "centraluseuap", + "properties": { + "detectionRules": [ + { + "name": "detectionRuleTcp", + "type": "Microsoft.Network/ddosCustomPolicies/ddosDetectionRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy/ddosDetectionRules/detectionRuleTcp", + "properties": { + "detectionMode": "TrafficThreshold", + "provisioningState": "Succeeded", + "trafficDetectionRule": { + "packetsPerSecond": 1000000, + "trafficType": "Tcp" + } + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + }, + "201": { + "body": { + "name": "test-ddos-custom-policy", + "type": "Microsoft.Network/ddosCustomPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy", + "location": "centraluseuap", + "properties": { + "detectionRules": [ + { + "name": "detectionRuleTcp", + "type": "Microsoft.Network/ddosCustomPolicies/ddosDetectionRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy/ddosDetectionRules/detectionRuleTcp", + "properties": { + "detectionMode": "TrafficThreshold", + "provisioningState": "Succeeded", + "trafficDetectionRule": { + "packetsPerSecond": 1000000, + "trafficType": "Tcp" + } + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + }, + "operationId": "DdosCustomPolicies_CreateOrUpdate", + "title": "Create DDoS custom policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyDelete.json new file mode 100644 index 000000000000..64a9e05f9c90 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyDelete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ddosCustomPolicyName": "test-ddos-custom-policy", + "parameters": { + "properties": {} + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/locations/tempLocation/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "DdosCustomPolicies_Delete", + "title": "Delete DDoS custom policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyGet.json new file mode 100644 index 000000000000..5f52a158514d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ddosCustomPolicyName": "test-ddos-custom-policy", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ddos-custom-policy", + "type": "Microsoft.Network/ddosCustomPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy", + "location": "westus", + "properties": { + "detectionRules": [ + { + "name": "detectionRuleTcp", + "type": "Microsoft.Network/ddosCustomPolicies/ddosDetectionRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy/ddosDetectionRules/detectionRuleTcp", + "properties": { + "detectionMode": "TrafficThreshold", + "provisioningState": "Succeeded", + "trafficDetectionRule": { + "packetsPerSecond": 1000000, + "trafficType": "Tcp" + } + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + }, + "operationId": "DdosCustomPolicies_Get", + "title": "Get DDoS custom policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyList.json new file mode 100644 index 000000000000..e147f82df5d2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ddos-custom-policy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy", + "type": "Microsoft.Network/ddosCustomPolicies", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "detectionRules": [ + { + "name": "detectionRuleTcp", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy/ddosDetectionRules/detectionRuleTcp", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/ddosCustomPolicies/ddosDetectionRules", + "properties": { + "provisioningState": "Succeeded", + "detectionMode": "TrafficThreshold", + "trafficDetectionRule": { + "trafficType": "Tcp", + "packetsPerSecond": 1000000 + } + } + } + ] + } + }, + { + "name": "test-ddos-custom-policy-2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy-2", + "type": "Microsoft.Network/ddosCustomPolicies", + "location": "eastus", + "properties": { + "resourceGuid": "00000000-0000-0000-0000-000000000001", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "DdosCustomPolicies_List", + "title": "List DDoS custom policies in a resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyListAll.json new file mode 100644 index 000000000000..9c6cbed91264 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyListAll.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ddos-custom-policy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy", + "type": "Microsoft.Network/ddosCustomPolicies", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "detectionRules": [ + { + "name": "detectionRuleTcp", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy/ddosDetectionRules/detectionRuleTcp", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "type": "Microsoft.Network/ddosCustomPolicies/ddosDetectionRules", + "properties": { + "provisioningState": "Succeeded", + "detectionMode": "TrafficThreshold", + "trafficDetectionRule": { + "trafficType": "Tcp", + "packetsPerSecond": 1000000 + } + } + } + ] + } + }, + { + "name": "test-ddos-custom-policy-2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy-2", + "type": "Microsoft.Network/ddosCustomPolicies", + "location": "eastus", + "properties": { + "resourceGuid": "00000000-0000-0000-0000-000000000001", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "DdosCustomPolicies_ListAll", + "title": "List all DDoS custom policies in subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyUpdateTags.json new file mode 100644 index 000000000000..6ed423db21f8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosCustomPolicyUpdateTags.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ddosCustomPolicyName": "test-ddos-custom-policy", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ddos-custom-policy", + "type": "Microsoft.Network/ddosCustomPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy", + "location": "westus", + "properties": { + "detectionRules": [ + { + "name": "detectionRuleTcp", + "type": "Microsoft.Network/ddosCustomPolicies/ddosDetectionRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosCustomPolicies/test-ddos-custom-policy/ddosDetectionRules/detectionRuleTcp", + "properties": { + "detectionMode": "TrafficThreshold", + "provisioningState": "Succeeded", + "trafficDetectionRule": { + "packetsPerSecond": 1000000, + "trafficType": "Tcp" + } + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "DdosCustomPolicies_UpdateTags", + "title": "DDoS Custom policy Update tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanCreate.json new file mode 100644 index 000000000000..3c947040d6b8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanCreate.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ddosProtectionPlanName": "test-plan", + "parameters": { + "location": "westus", + "properties": {} + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-plan", + "type": "Microsoft.Network/ddosProtectionPlans", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddresses": [], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [] + } + } + }, + "201": { + "body": { + "name": "test-plan", + "type": "Microsoft.Network/ddosProtectionPlans", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddresses": [], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [] + } + } + } + }, + "operationId": "DdosProtectionPlans_CreateOrUpdate", + "title": "Create DDoS protection plan" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanDelete.json new file mode 100644 index 000000000000..1c31a8f3bd53 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ddosProtectionPlanName": "test-plan", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/locations/tempLocation/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "DdosProtectionPlans_Delete", + "title": "Delete DDoS protection plan" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanGet.json new file mode 100644 index 000000000000..70a83565c44e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ddosProtectionPlanName": "test-plan", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-plan", + "type": "Microsoft.Network/ddosProtectionPlans", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip" + } + ], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + } + ] + } + } + } + }, + "operationId": "DdosProtectionPlans_Get", + "title": "Get DDoS protection plan" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanList.json new file mode 100644 index 000000000000..4e83d31d3d6d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanList.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "plan1", + "type": "Microsoft.Network/ddosProtectionPlans", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip" + } + ], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + } + ] + } + }, + { + "name": "plan2", + "type": "Microsoft.Network/ddosProtectionPlans", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip" + } + ], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + } + ] + } + } + ] + } + } + }, + "operationId": "DdosProtectionPlans_ListByResourceGroup", + "title": "List DDoS protection plans in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanListAll.json new file mode 100644 index 000000000000..398b07dc1789 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanListAll.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "plan1", + "type": "Microsoft.Network/ddosProtectionPlans", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan1", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip" + } + ], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet1" + } + ] + } + }, + { + "name": "plan2", + "type": "Microsoft.Network/ddosProtectionPlans", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/plan2", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip3" + } + ], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet3" + } + ] + } + } + ] + } + } + }, + "operationId": "DdosProtectionPlans_List", + "title": "List all DDoS protection plans" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanUpdateTags.json new file mode 100644 index 000000000000..5d4f39ad83de --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DdosProtectionPlanUpdateTags.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ddosProtectionPlanName": "test-plan", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-plan", + "type": "Microsoft.Network/ddosProtectionPlans", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "publicIPAddresses": [], + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualNetworks": [] + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "DdosProtectionPlans_UpdateTags", + "title": "DDoS protection plan Update tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DefaultSecurityRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DefaultSecurityRuleGet.json new file mode 100644 index 000000000000..c253b5985278 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DefaultSecurityRuleGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "defaultSecurityRuleName": "AllowVnetInBound", + "networkSecurityGroupName": "nsg1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationAddressPrefixes": [], + "destinationPortRange": "*", + "destinationPortRanges": [], + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourceAddressPrefixes": [], + "sourcePortRange": "*", + "sourcePortRanges": [], + "protocol": "*" + } + } + } + }, + "operationId": "DefaultSecurityRules_Get", + "title": "DefaultSecurityRuleGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DefaultSecurityRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DefaultSecurityRuleList.json new file mode 100644 index 000000000000..90ac2acb349c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DefaultSecurityRuleList.json @@ -0,0 +1,138 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "nsg1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationAddressPrefixes": [], + "destinationPortRange": "*", + "destinationPortRanges": [], + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourceAddressPrefixes": [], + "sourcePortRange": "*", + "sourcePortRanges": [], + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationAddressPrefixes": [], + "destinationPortRange": "*", + "destinationPortRanges": [], + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourceAddressPrefixes": [], + "sourcePortRange": "*", + "sourcePortRanges": [], + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationAddressPrefixes": [], + "destinationPortRange": "*", + "destinationPortRanges": [], + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourceAddressPrefixes": [], + "sourcePortRange": "*", + "sourcePortRanges": [], + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationAddressPrefixes": [], + "destinationPortRange": "*", + "destinationPortRanges": [], + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourceAddressPrefixes": [], + "sourcePortRange": "*", + "sourcePortRanges": [], + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationAddressPrefixes": [], + "destinationPortRange": "*", + "destinationPortRanges": [], + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourceAddressPrefixes": [], + "sourcePortRange": "*", + "sourcePortRanges": [], + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationAddressPrefixes": [], + "destinationPortRange": "*", + "destinationPortRanges": [], + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourceAddressPrefixes": [], + "sourcePortRange": "*", + "sourcePortRanges": [], + "protocol": "*" + } + } + ] + } + } + }, + "operationId": "DefaultSecurityRules_List", + "title": "DefaultSecurityRuleList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DscpConfigurationCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DscpConfigurationCreate.json new file mode 100644 index 000000000000..4e7802735842 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DscpConfigurationCreate.json @@ -0,0 +1,233 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "dscpConfigurationName": "mydscpconfig", + "parameters": { + "location": "eastus", + "properties": { + "qosDefinitionCollection": [ + { + "destinationIpRanges": [ + { + "endIP": "127.0.10.2", + "startIP": "127.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 15, + "start": 15 + } + ], + "markings": [ + 1 + ], + "sourceIpRanges": [ + { + "endIP": "127.0.0.2", + "startIP": "127.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 11, + "start": 10 + }, + { + "end": 21, + "start": 20 + } + ], + "protocol": "Tcp" + }, + { + "destinationIpRanges": [ + { + "endIP": "12.0.10.2", + "startIP": "12.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 52, + "start": 51 + } + ], + "markings": [ + 2 + ], + "sourceIpRanges": [ + { + "endIP": "12.0.0.2", + "startIP": "12.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Udp" + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "mydscpConfig", + "type": "Microsoft.Network/dscpConfiguration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/dscpConfiguration/mydscpConfig", + "location": "eastus", + "properties": { + "associatedNetworkInterfaces": [], + "provisioningState": "Succeeded", + "qosCollectionId": "0f8fad5b-d9cb-469f-a165-70867728950e", + "qosDefinitionCollection": [ + { + "destinationIpRanges": [ + { + "endIP": "127.0.10.2", + "startIP": "127.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 62, + "start": 61 + } + ], + "markings": [ + 1 + ], + "sourceIpRanges": [ + { + "endIP": "127.0.0.2", + "startIP": "127.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Tcp" + }, + { + "destinationIpRanges": [ + { + "endIP": "12.0.10.2", + "startIP": "12.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 52, + "start": 51 + } + ], + "markings": [ + 2 + ], + "sourceIpRanges": [ + { + "endIP": "12.0.0.2", + "startIP": "12.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Udp" + } + ] + } + } + }, + "201": { + "body": { + "name": "mydscpConfig", + "type": "Microsoft.Network/dscpConfiguration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/dscpConfiguration/mydscpConfig", + "location": "eastus", + "properties": { + "associatedNetworkInterfaces": [], + "provisioningState": "Succeeded", + "qosCollectionId": "0f8fad5b-d9cb-469f-a165-70867728950e", + "qosDefinitionCollection": [ + { + "destinationIpRanges": [ + { + "endIP": "127.0.10.2", + "startIP": "127.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 62, + "start": 61 + } + ], + "markings": [ + 1 + ], + "sourceIpRanges": [ + { + "endIP": "127.0.0.2", + "startIP": "127.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Tcp" + }, + { + "destinationIpRanges": [ + { + "endIP": "12.0.10.2", + "startIP": "12.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 52, + "start": 51 + } + ], + "markings": [ + 2 + ], + "sourceIpRanges": [ + { + "endIP": "12.0.0.2", + "startIP": "12.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Udp" + } + ] + } + } + } + }, + "operationId": "DscpConfiguration_CreateOrUpdate", + "title": "Create DSCP Configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DscpConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DscpConfigurationDelete.json new file mode 100644 index 000000000000..893f9c757505 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DscpConfigurationDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "dscpConfigurationName": "mydscpConfig", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "DscpConfiguration_Delete", + "title": "Delete DSCP Configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DscpConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DscpConfigurationGet.json new file mode 100644 index 000000000000..8ad6385abed4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DscpConfigurationGet.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "dscpConfigurationName": "mydscpConfig", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "mydscpConfig", + "type": "Microsoft.Network/dscpConfiguration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/dscpConfiguration/mydscpConfig", + "location": "eastus", + "properties": { + "associatedNetworkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2" + } + ], + "provisioningState": "Succeeded", + "qosCollectionId": "0f8fad5b-d9cb-469f-a165-70867728950e", + "qosDefinitionCollection": [ + { + "destinationIpRanges": [ + { + "endIP": "127.0.10.2", + "startIP": "127.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 62, + "start": 61 + } + ], + "markings": [ + 1 + ], + "sourceIpRanges": [ + { + "endIP": "127.0.0.2", + "startIP": "127.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Tcp" + }, + { + "destinationIpRanges": [ + { + "endIP": "12.0.10.2", + "startIP": "12.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 52, + "start": 51 + } + ], + "markings": [ + 2 + ], + "sourceIpRanges": [ + { + "endIP": "12.0.0.2", + "startIP": "12.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Udp" + } + ] + } + } + } + }, + "operationId": "DscpConfiguration_Get", + "title": "Get Dscp Configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DscpConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DscpConfigurationList.json new file mode 100644 index 000000000000..ed09dabeb9c7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DscpConfigurationList.json @@ -0,0 +1,177 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "mydscpConfig", + "type": "Microsoft.Network/dscpConfiguration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/dscpConfiguration/mydscpConfig", + "location": "eastus", + "properties": { + "associatedNetworkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2" + } + ], + "provisioningState": "Succeeded", + "qosCollectionId": "0f8fad5b-d9cb-469f-a165-70867728950e", + "qosDefinitionCollection": [ + { + "destinationIpRanges": [ + { + "endIP": "127.0.10.2", + "startIP": "127.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 62, + "start": 61 + } + ], + "markings": [ + 1 + ], + "sourceIpRanges": [ + { + "endIP": "127.0.0.2", + "startIP": "127.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Tcp" + }, + { + "destinationIpRanges": [ + { + "endIP": "12.0.10.2", + "startIP": "12.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 52, + "start": 51 + } + ], + "markings": [ + 2 + ], + "sourceIpRanges": [ + { + "endIP": "12.0.0.2", + "startIP": "12.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Udp" + } + ] + } + }, + { + "name": "mydscpConfig2", + "type": "Microsoft.Network/dscpConfiguration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/dscpConfiguration/mydscpConfig2", + "location": "eastus", + "properties": { + "associatedNetworkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic3" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic4" + } + ], + "provisioningState": "Succeeded", + "qosCollectionId": "9as24mf6-d9cb-7a7f-a165-70867728950e", + "qosDefinitionCollection": [ + { + "destinationIpRanges": [ + { + "endIP": "127.0.10.2", + "startIP": "127.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 62, + "start": 61 + } + ], + "markings": [ + 1 + ], + "sourceIpRanges": [ + { + "endIP": "127.0.0.2", + "startIP": "127.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Tcp" + }, + { + "destinationIpRanges": [ + { + "endIP": "12.0.10.2", + "startIP": "12.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 52, + "start": 51 + } + ], + "markings": [ + 2 + ], + "sourceIpRanges": [ + { + "endIP": "12.0.0.2", + "startIP": "12.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Udp" + } + ] + } + } + ] + } + } + }, + "operationId": "DscpConfiguration_List", + "title": "Get Dscp Configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DscpConfigurationListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DscpConfigurationListAll.json new file mode 100644 index 000000000000..1f211ec57134 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/DscpConfigurationListAll.json @@ -0,0 +1,176 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "mydscpConfig", + "type": "Microsoft.Network/dscpConfiguration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/dscpConfiguration/mydscpConfig", + "location": "eastus", + "properties": { + "associatedNetworkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2" + } + ], + "provisioningState": "Succeeded", + "qosCollectionId": "0f8fad5b-d9cb-469f-a165-70867728950e", + "qosDefinitionCollection": [ + { + "destinationIpRanges": [ + { + "endIP": "127.0.10.2", + "startIP": "127.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 62, + "start": 61 + } + ], + "markings": [ + 1 + ], + "sourceIpRanges": [ + { + "endIP": "127.0.0.2", + "startIP": "127.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Tcp" + }, + { + "destinationIpRanges": [ + { + "endIP": "12.0.10.2", + "startIP": "12.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 52, + "start": 51 + } + ], + "markings": [ + 2 + ], + "sourceIpRanges": [ + { + "endIP": "12.0.0.2", + "startIP": "12.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Udp" + } + ] + } + }, + { + "name": "mydscpConfig2", + "type": "Microsoft.Network/dscpConfiguration", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/dscpConfiguration/mydscpConfig2", + "location": "eastus", + "properties": { + "associatedNetworkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/test-nic3" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/test-nic4" + } + ], + "provisioningState": "Succeeded", + "qosCollectionId": "9as24mf6-d9cb-7a7f-a165-70867728950e", + "qosDefinitionCollection": [ + { + "destinationIpRanges": [ + { + "endIP": "127.0.10.2", + "startIP": "127.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 62, + "start": 61 + } + ], + "markings": [ + 1 + ], + "sourceIpRanges": [ + { + "endIP": "127.0.0.2", + "startIP": "127.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Tcp" + }, + { + "destinationIpRanges": [ + { + "endIP": "12.0.10.2", + "startIP": "12.0.10.1" + } + ], + "destinationPortRanges": [ + { + "end": 52, + "start": 51 + } + ], + "markings": [ + 2 + ], + "sourceIpRanges": [ + { + "endIP": "12.0.0.2", + "startIP": "12.0.0.1" + } + ], + "sourcePortRanges": [ + { + "end": 12, + "start": 11 + } + ], + "protocol": "Udp" + } + ] + } + } + ] + } + } + }, + "operationId": "DscpConfiguration_ListAll", + "title": "List all network interfaces" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/EffectiveRoutesListForConnection.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/EffectiveRoutesListForConnection.json new file mode 100644 index 000000000000..3d785d9a9634 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/EffectiveRoutesListForConnection.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "effectiveRoutesParameters": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "virtualWanResourceType": "ExpressRouteConnection" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "addressPrefixes": [ + "10.147.128.0/17" + ], + "asPath": "65520-65520", + "nextHopType": "Remote Hub", + "nextHops": [ + "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0" + ], + "routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0" + }, + { + "addressPrefixes": [ + "10.0.0.0/16" + ], + "asPath": "12076-12076", + "nextHopType": "ExpressRouteGateway", + "nextHops": [ + "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1" + ], + "routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1" + } + ] + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VirtualHubs_GetEffectiveVirtualHubRoutes", + "title": "Effective Routes for a Connection resource" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/EffectiveRoutesListForRouteTable.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/EffectiveRoutesListForRouteTable.json new file mode 100644 index 000000000000..d3281f5b34f3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/EffectiveRoutesListForRouteTable.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "effectiveRoutesParameters": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1", + "virtualWanResourceType": "RouteTable" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "addressPrefixes": [ + "10.147.128.0/17" + ], + "asPath": "65520-65520", + "nextHopType": "Remote Hub", + "nextHops": [ + "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0" + ], + "routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0" + }, + { + "addressPrefixes": [ + "10.0.0.0/16" + ], + "asPath": "12076-12076", + "nextHopType": "ExpressRouteGateway", + "nextHops": [ + "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1" + ], + "routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1" + } + ] + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VirtualHubs_GetEffectiveVirtualHubRoutes", + "title": "Effective Routes for a Route Table resource" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/EffectiveRoutesListForVirtualHub.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/EffectiveRoutesListForVirtualHub.json new file mode 100644 index 000000000000..18ef463c802f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/EffectiveRoutesListForVirtualHub.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "effectiveRoutesParameters": null, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "addressPrefixes": [ + "10.147.128.0/17" + ], + "asPath": "65520-65520", + "nextHopType": "Remote Hub", + "nextHops": [ + "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0" + ], + "routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/virtualHubs/hub0" + }, + { + "addressPrefixes": [ + "10.0.0.0/16" + ], + "asPath": "12076-12076", + "nextHopType": "ExpressRouteGateway", + "nextHops": [ + "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1" + ], + "routeOrigin": "/subscriptions/testSub/resourceGroups/testRg/providers/Microsoft.Network/expressRouteGateways/ErGw1" + } + ] + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VirtualHubs_GetEffectiveVirtualHubRoutes", + "title": "Effective Routes for the Virtual Hub" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/EndpointServicesList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/EndpointServicesList.json new file mode 100644 index 000000000000..e8944ba61973 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/EndpointServicesList.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Storage", + "type": "Microsoft.Network/virtualNetworkEndpointServices", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Storage" + }, + { + "name": "Microsoft.Sql", + "type": "Microsoft.Network/virtualNetworkEndpointServices", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.Sql" + }, + { + "name": "Microsoft.AzureActiveDirectory", + "type": "Microsoft.Network/virtualNetworkEndpointServices", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/virtualNetworkEndpointServices/Microsoft.AzureActiveDirectory" + } + ] + } + } + }, + "operationId": "AvailableEndpointServices_List", + "title": "EndpointServicesList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitARPTableList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitARPTableList.json new file mode 100644 index 000000000000..6b9fa3874b78 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitARPTableList.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "devicePath": "devicePath", + "peeringName": "peeringName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "age": 0, + "interface": "Microsoft", + "ipAddress": "IPAddress", + "macAddress": "macAddress" + } + ] + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteCircuits_ListArpTable", + "title": "List ARP Table" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitAuthorizationCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitAuthorizationCreate.json new file mode 100644 index 000000000000..4c483e1c1a32 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitAuthorizationCreate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "authorizationName": "authorizatinName", + "authorizationParameters": { + "properties": {} + }, + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "authorizationName", + "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/authorizationName", + "properties": { + "authorizationUseStatus": "Available", + "provisioningState": "Updating" + } + } + }, + "201": { + "body": { + "name": "authorizationName", + "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/authorizationName", + "properties": { + "authorizationUseStatus": "Available", + "provisioningState": "Updating" + } + } + } + }, + "operationId": "ExpressRouteCircuitAuthorizations_CreateOrUpdate", + "title": "Create ExpressRouteCircuit Authorization" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitAuthorizationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitAuthorizationDelete.json new file mode 100644 index 000000000000..9c53a30d64a6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitAuthorizationDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "authorizationName": "authorizationName", + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ExpressRouteCircuitAuthorizations_Delete", + "title": "Delete ExpressRouteCircuit Authorization" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitAuthorizationGet.json new file mode 100644 index 000000000000..84070446a481 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitAuthorizationGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "authorizationName": "authorizationName", + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "MyAuthorization1", + "type": "Microsoft.Network/expressRouteCircuits/authorizations", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "properties": { + "authorizationKey": "authKey", + "authorizationUseStatus": "Available", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRouteCircuitAuthorizations_Get", + "title": "Get ExpressRouteCircuit Authorization" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitAuthorizationList.json new file mode 100644 index 000000000000..842b53c0ba72 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitAuthorizationList.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "MyAuthorization1", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "properties": { + "authorizationKey": "authKey", + "authorizationUseStatus": "Available", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ExpressRouteCircuitAuthorizations_List", + "title": "List ExpressRouteCircuit Authorization" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitConnectionCreate.json new file mode 100644 index 000000000000..d5c5cf83c38b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitConnectionCreate.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "type": "Microsoft.Network/expressRouteCircuits/peerings/connections", + "api-version": "2025-07-01", + "circuitName": "ExpressRouteARMCircuitA", + "connectionName": "circuitConnectionUSAUS", + "expressRouteCircuitConnectionParameters": { + "properties": { + "addressPrefix": "10.0.0.0/29", + "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "ipv6CircuitConnectionConfig": { + "addressPrefix": "aa:bb::/125" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" + } + } + }, + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "circuitConnectionUSAUS", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS", + "properties": { + "addressPrefix": "10.0.0.0/24", + "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", + "circuitConnectionStatus": "Connected", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "ipv6CircuitConnectionConfig": { + "addressPrefix": "aa:bb::1/125", + "circuitConnectionStatus": "Connected" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" + }, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "circuitConnectionUSAUS", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS", + "properties": { + "addressPrefix": "10.0.0.0/24", + "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", + "circuitConnectionStatus": "Connected", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "ipv6CircuitConnectionConfig": { + "addressPrefix": "aa:bb::1/125", + "circuitConnectionStatus": "Connected" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRouteCircuitConnections_CreateOrUpdate", + "title": "ExpressRouteCircuitConnectionCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitConnectionDelete.json new file mode 100644 index 000000000000..f744a6763e36 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitConnectionDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "ExpressRouteARMCircuitA", + "connectionName": "circuitConnectionUSAUS", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ExpressRouteCircuitConnections_Delete", + "title": "Delete ExpressRouteCircuit" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitConnectionGet.json new file mode 100644 index 000000000000..f73bb893eb53 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitConnectionGet.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "ExpressRouteARMCircuitA", + "connectionName": "circuitConnectionUSAUS", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "circuitConnectionUSAUS", + "type": "Microsoft.Network/expressRouteCircuits/peerings/connections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS", + "properties": { + "addressPrefix": "10.0.0.0/24", + "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", + "circuitConnectionStatus": "Connected", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "ipv6CircuitConnectionConfig": { + "addressPrefix": "aa:bb::1/125", + "circuitConnectionStatus": "Connected" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRouteCircuitConnections_Get", + "title": "ExpressRouteCircuitConnectionGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitConnectionList.json new file mode 100644 index 000000000000..24ccf47206b7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitConnectionList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "ExpressRouteARMCircuitA", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "circuitConnectionUSAUS", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSAUS", + "properties": { + "addressPrefix": "10.0.0.0/24", + "authorizationKey": "946a1918-b7a2-4917-b43c-8c4cdaee006a", + "circuitConnectionStatus": "Connected", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "ipv6CircuitConnectionConfig": { + "addressPrefix": "aa:bb::1/125", + "circuitConnectionStatus": "Connected" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/dedharcktpeer/providers/Microsoft.Network/expressRouteCircuits/dedharcktremote/peerings/AzurePrivatePeering" + }, + "provisioningState": "Succeeded" + } + }, + { + "name": "circuitConnectionUSEUR", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/connections/circuitConnectionUSEUR", + "properties": { + "addressPrefix": "20.0.0.0/24", + "circuitConnectionStatus": "Connected", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharcktinit/providers/Microsoft.Network/expressRouteCircuits/dedharcktlocal/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/dedharckteurope/providers/Microsoft.Network/expressRouteCircuits/dedharcktams/peerings/AzurePrivatePeering" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ExpressRouteCircuitConnections_List", + "title": "List ExpressRouteCircuit Connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitCreate.json new file mode 100644 index 000000000000..bc71560eb41b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitCreate.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "parameters": { + "location": "Brazil South", + "properties": { + "allowClassicOperations": false, + "authorizations": [], + "peerings": [], + "serviceProviderProperties": { + "bandwidthInMbps": 200, + "peeringLocation": "Silicon Valley", + "serviceProviderName": "Equinix" + } + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "circuitName", + "type": "Microsoft.Network/expressRouteCircuits", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "location": "Brazil South", + "properties": { + "allowClassicOperations": false, + "authorizations": [], + "circuitProvisioningState": "Enabled", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProperties": { + "bandwidthInMbps": 200, + "peeringLocation": "Silicon Valley", + "serviceProviderName": "Equinix" + }, + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + } + } + }, + "201": { + "body": { + "name": "circuitName", + "type": "Microsoft.Network/expressRouteCircuits", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "location": "Brazil South", + "properties": { + "allowClassicOperations": false, + "authorizations": [], + "circuitProvisioningState": "Enabled", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProperties": { + "bandwidthInMbps": 200, + "peeringLocation": "Silicon Valley", + "serviceProviderName": "Equinix" + }, + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + } + } + } + }, + "operationId": "ExpressRouteCircuits_CreateOrUpdate", + "title": "Create ExpressRouteCircuit" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json new file mode 100644 index 000000000000..7d0ef6f72f5e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitCreateOnExpressRoutePort.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "type": "Microsoft.Network/expressRouteCircuits", + "api-version": "2025-07-01", + "circuitName": "expressRouteCircuit1", + "parameters": { + "location": "westus", + "properties": { + "authorizationKey": "b0be57f5-1fba-463b-adec-ffe767354cdd", + "bandwidthInGbps": 10, + "enableDirectPortRateLimit": false, + "expressRoutePort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" + } + }, + "sku": { + "name": "Premium_MeteredData", + "family": "MeteredData", + "tier": "Premium" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "expressRouteCircuit1", + "type": "Microsoft.Network/expressRouteCircuits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1", + "location": "westus", + "properties": { + "allowClassicOperations": false, + "authorizationKey": "b0be57f5-1fba-463b-adec-ffe767354cdd", + "authorizationStatus": "Enabled", + "authorizations": [], + "bandwidthInGbps": 10, + "circuitProvisioningState": "Enabled", + "enableDirectPortRateLimit": false, + "expressRoutePort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" + }, + "gatewayManagerEtag": "20", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Premium_MeteredData", + "family": "MeteredData", + "tier": "Premium" + } + } + }, + "201": { + "body": { + "name": "expressRouteCircuit1", + "type": "Microsoft.Network/expressRouteCircuits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1", + "location": "westus", + "properties": { + "allowClassicOperations": false, + "authorizationKey": "b0be57f5-1fba-463b-adec-ffe767354cdd", + "authorizationStatus": "Enabled", + "authorizations": [], + "bandwidthInGbps": 10, + "circuitProvisioningState": "Enabled", + "enableDirectPortRateLimit": false, + "expressRoutePort": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName" + }, + "gatewayManagerEtag": "20", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b", + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Premium_MeteredData", + "family": "MeteredData", + "tier": "Premium" + } + } + } + }, + "operationId": "ExpressRouteCircuits_CreateOrUpdate", + "title": "Create ExpressRouteCircuit on ExpressRoutePort" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitDelete.json new file mode 100644 index 000000000000..6ee064f694b4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ExpressRouteCircuits_Delete", + "title": "Delete ExpressRouteCircuit" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitGet.json new file mode 100644 index 000000000000..876d8ad950a9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "circuitName", + "type": "Microsoft.Network/expressRouteCircuits", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName", + "location": "westus", + "properties": { + "allowClassicOperations": false, + "authorizations": [], + "circuitProvisioningState": "Enabled", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "a1410692-0000-4ceb-b94a-b90b94d398d1", + "serviceProviderProperties": { + "bandwidthInMbps": 200, + "peeringLocation": "peeringLocation", + "serviceProviderName": "providerName" + }, + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + } + } + } + }, + "operationId": "ExpressRouteCircuits_Get", + "title": "Get ExpressRouteCircuit" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitGetCircuitLinkFailoverAllTestsDetails.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitGetCircuitLinkFailoverAllTestsDetails.json new file mode 100644 index 000000000000..11c7598eca4d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitGetCircuitLinkFailoverAllTestsDetails.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "failoverTestType": "SingleSiteFailover", + "fetchLatest": true, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "circuitName": "circuit1" + }, + "responses": { + "200": { + "body": [ + { + "status": "Completed", + "startTime": "2025-01-01T00:00:00Z", + "endTime": "2025-01-01T01:00:00Z", + "testGuid": "00000000-0000-0000-0000-000000000001", + "testType": "SingleSiteFailover", + "issues": [], + "wasSimulationSuccessful": true, + "circuitTestCategory": "BgpDisconnect", + "linkType": "Primary", + "bgpStatus": [ + { + "type": "IPv4", + "link": "Primary", + "status": "Connected", + "checkTimeUtc": "2025-01-01T00:30:00Z" + } + ] + } + ] + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteCircuits_GetCircuitLinkFailoverAllTestsDetails", + "title": "ExpressRouteCircuitGetCircuitLinkFailoverAllTestsDetails" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitGetCircuitLinkFailoverSingleTestDetails.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitGetCircuitLinkFailoverSingleTestDetails.json new file mode 100644 index 000000000000..01ee1ba65b19 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitGetCircuitLinkFailoverSingleTestDetails.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "linkType": "Primary", + "circuitTestCategory": "BgpDisconnect", + "failoverTestId": "00000000-0000-0000-0000-000000000001", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "circuitName": "circuit1" + }, + "responses": { + "200": { + "body": [ + { + "startTimeUtc": "2025-01-01T00:00:00Z", + "endTimeUtc": "2025-01-01T01:00:00Z", + "status": "Completed", + "wasSimulationSuccessful": true, + "linkType": "Primary", + "circuitTestCategory": "BgpDisconnect", + "isSimulationVerified": true, + "redundantRoutes": { + "beforeSimulation": [ + { + "route": "10.0.0.0/24", + "nextHop": "10.0.0.1", + "primaryASPath": "65000 65001", + "secondaryASPath": "65000 65002" + } + ], + "duringSimulation": [ + { + "route": "10.0.0.0/24", + "nextHop": "10.0.0.2", + "primaryASPath": "65000 65001", + "secondaryASPath": "65000 65002" + } + ] + }, + "nonRedundantRoutes": { + "beforeSimulation": [], + "duringSimulation": [] + }, + "bgpStatus": [ + { + "type": "IPv4", + "link": "Primary", + "status": "Connected", + "checkTimeUtc": "2025-01-01T00:30:00Z" + } + ] + } + ] + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteCircuits_GetCircuitLinkFailoverSingleTestDetails", + "title": "ExpressRouteCircuitGetCircuitLinkFailoverSingleTestDetails" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitListByResourceGroup.json new file mode 100644 index 000000000000..cef55859bc04 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitListByResourceGroup.json @@ -0,0 +1,93 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "circuitName1", + "type": "Microsoft.Network/expressRouteCircuits", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "location": "westus", + "properties": { + "allowClassicOperations": false, + "authorizations": [ + { + "name": "MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "properties": { + "authorizationKey": "authkey", + "authorizationUseStatus": "Available", + "provisioningState": "Succeeded" + } + } + ], + "circuitProvisioningState": "Enabled", + "gatewayManagerEtag": "113", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProperties": { + "bandwidthInMbps": 200, + "peeringLocation": "peeringLocation", + "serviceProviderName": "providerName" + }, + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + } + }, + { + "name": "circuitName2", + "type": "Microsoft.Network/expressRouteCircuits", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "location": "westus", + "properties": { + "allowClassicOperations": false, + "authorizations": [ + { + "name": "MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "properties": { + "authorizationKey": "authkey", + "authorizationUseStatus": "Available", + "provisioningState": "Succeeded" + } + } + ], + "circuitProvisioningState": "Enabled", + "gatewayManagerEtag": "", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProperties": { + "bandwidthInMbps": 200, + "peeringLocation": "peeringLocation", + "serviceProviderName": "providerName" + }, + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + } + } + ] + } + } + }, + "operationId": "ExpressRouteCircuits_List", + "title": "List ExpressRouteCircuits in a resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitListBySubscription.json new file mode 100644 index 000000000000..6fcb368eb044 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitListBySubscription.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "circuitName1", + "type": "Microsoft.Network/expressRouteCircuits", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName1", + "location": "westus", + "properties": { + "allowClassicOperations": false, + "authorizations": [ + { + "name": "MyAuthorization1", + "etag": "W/\"832b28c3-f5fd-4d2a-a2cb-6e4a2fe452b3\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/authorizations/MyAuthorization1", + "properties": { + "authorizationKey": "authkey", + "authorizationUseStatus": "Available", + "provisioningState": "Succeeded" + } + } + ], + "circuitProvisioningState": "Enabled", + "gatewayManagerEtag": "113", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "a1410692-ed3b-4ceb-b94a-b90b95d398d1", + "serviceProviderProperties": { + "bandwidthInMbps": 200, + "peeringLocation": "peeringLocation", + "serviceProviderName": "providerName" + }, + "serviceProviderProvisioningState": "Provisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + } + }, + { + "name": "circuitName2", + "type": "Microsoft.Network/expressRouteCircuits", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2", + "location": "westus", + "properties": { + "allowClassicOperations": false, + "authorizations": [ + { + "name": "MyAuthorization2", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName2/authorizations/MyAuthorization2", + "properties": { + "authorizationKey": "authkey", + "authorizationUseStatus": "Available", + "provisioningState": "Succeeded" + } + } + ], + "circuitProvisioningState": "Enabled", + "gatewayManagerEtag": "", + "peerings": [], + "provisioningState": "Succeeded", + "serviceKey": "6569625a-9ba4-498b-9719-14d778eef609", + "serviceProviderProperties": { + "bandwidthInMbps": 200, + "peeringLocation": "peeringLocation", + "serviceProviderName": "providerName" + }, + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + } + } + ] + } + } + }, + "operationId": "ExpressRouteCircuits_ListAll", + "title": "List ExpressRouteCircuits in a subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitPeeringCreate.json new file mode 100644 index 000000000000..bd7635988adb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitPeeringCreate.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "peeringName": "AzurePrivatePeering", + "peeringParameters": { + "properties": { + "peerASN": 200, + "primaryPeerAddressPrefix": "192.168.16.252/30", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "vlanId": 200 + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "properties": { + "azureASN": 12076, + "gatewayManagerEtag": "", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "peerASN": 200, + "peeringType": "AzurePrivatePeering", + "primaryAzurePort": "", + "primaryPeerAddressPrefix": "192.168.16.252/30", + "provisioningState": "Succeeded", + "secondaryAzurePort": "", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "state": "Enabled", + "vlanId": 200 + } + } + }, + "201": { + "body": { + "name": "AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "properties": { + "azureASN": 12076, + "expressRouteConnection": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" + }, + "gatewayManagerEtag": "", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "peerASN": 200, + "peeringType": "AzurePrivatePeering", + "primaryAzurePort": "", + "primaryPeerAddressPrefix": "192.168.16.252/30", + "provisioningState": "Succeeded", + "secondaryAzurePort": "", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "state": "Enabled", + "vlanId": 200 + } + } + } + }, + "operationId": "ExpressRouteCircuitPeerings_CreateOrUpdate", + "title": "Create ExpressRouteCircuit Peerings" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitPeeringDelete.json new file mode 100644 index 000000000000..3ff3c7d1c577 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitPeeringDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "peeringName": "peeringName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ExpressRouteCircuitPeerings_Delete", + "title": "Delete ExpressRouteCircuit Peerings" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitPeeringGet.json new file mode 100644 index 000000000000..6c0f0947a0c3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitPeeringGet.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "peeringName": "MicrosoftPeering", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "MicrosoftPeering", + "type": "Microsoft.Network/expressRouteCircuits/peerings", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "properties": { + "azureASN": 12076, + "gatewayManagerEtag": "103", + "ipv6PeeringConfig": { + "microsoftPeeringConfig": { + "advertisedCommunities": [], + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + }, + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "microsoftPeeringConfig": { + "advertisedCommunities": [], + "advertisedPublicPrefixes": [ + "123.1.0.0/24" + ], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + }, + "peerASN": 100, + "peeringType": "MicrosoftPeering", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "primaryPeerAddressPrefix": "123.0.0.0/30", + "provisioningState": "Succeeded", + "routeFilter": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName" + }, + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "state": "Enabled", + "vlanId": 300 + } + } + } + }, + "operationId": "ExpressRouteCircuitPeerings_Get", + "title": "Get ExpressRouteCircuit Peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitPeeringList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitPeeringList.json new file mode 100644 index 000000000000..f9f3910e8d34 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitPeeringList.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "MicrosoftPeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/MicrosoftPeering", + "properties": { + "azureASN": 12076, + "gatewayManagerEtag": "103", + "ipv6PeeringConfig": { + "microsoftPeeringConfig": { + "advertisedCommunities": [], + "advertisedPublicPrefixes": [ + "3FFE:FFFF:0:CD31::/120" + ], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + }, + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "microsoftPeeringConfig": { + "advertisedCommunities": [], + "advertisedPublicPrefixes": [ + "123.1.0.0/24" + ], + "advertisedPublicPrefixesState": "ValidationNeeded", + "customerASN": 23, + "legacyMode": 0, + "routingRegistryName": "ARIN" + }, + "peerASN": 100, + "peeringType": "MicrosoftPeering", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "primaryPeerAddressPrefix": "123.0.0.0/30", + "provisioningState": "Succeeded", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "secondaryPeerAddressPrefix": "123.0.0.4/30", + "state": "Enabled", + "vlanId": 300 + } + }, + { + "name": "AzurePrivatePeering", + "etag": "W/\"b2a25b98-2e6d-4d46-87f2-089de5f6fdf9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering", + "properties": { + "azureASN": 12076, + "expressRouteConnection": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName" + }, + "gatewayManagerEtag": "103", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "peerASN": 100, + "peeringType": "AzurePrivatePeering", + "primaryAzurePort": "A51-TEST-06GMR-CIS-1-PRI-A", + "primaryPeerAddressPrefix": "10.0.0.0/30", + "provisioningState": "Succeeded", + "secondaryAzurePort": "A51-TEST-06GMR-CIS-2-SEC-A", + "secondaryPeerAddressPrefix": "10.0.0.4/30", + "state": "Enabled", + "vlanId": 200 + } + } + ] + } + } + }, + "operationId": "ExpressRouteCircuitPeerings_List", + "title": "List ExpressRouteCircuit Peerings" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitPeeringStats.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitPeeringStats.json new file mode 100644 index 000000000000..3d99c5e26beb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitPeeringStats.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "peeringName": "peeringName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "primarybytesIn": 537408, + "primarybytesOut": 44032550, + "secondarybytesIn": 0, + "secondarybytesOut": 39002500 + } + } + }, + "operationId": "ExpressRouteCircuits_GetPeeringStats", + "title": "Get ExpressRoute Circuit Peering Traffic Stats" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitRouteTableList.json new file mode 100644 index 000000000000..f36c1d9d5992 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitRouteTableList.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "devicePath": "devicePath", + "peeringName": "peeringName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "path": "", + "locPrf": "", + "network": "", + "nextHop": "", + "weight": 0 + } + ] + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteCircuits_ListRoutesTable", + "title": "List Route Tables" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitRouteTableSummaryList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitRouteTableSummaryList.json new file mode 100644 index 000000000000..ce8f1a07cedf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitRouteTableSummaryList.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "devicePath": "devicePath", + "peeringName": "peeringName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "as": 9583, + "neighbor": "100.65.171.1", + "statePfxRcd": "Idle", + "upDown": "never", + "v": 4 + } + ] + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operationStatus/default/operationId/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteCircuits_ListRoutesTableSummary", + "title": "List Route Table Summary" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitStartCircuitLinkFailoverTest.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitStartCircuitLinkFailoverTest.json new file mode 100644 index 000000000000..858ceb6d3b7f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitStartCircuitLinkFailoverTest.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "linkType": "Primary", + "circuitTestCategory": "BgpDisconnect", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "circuitName": "circuit1" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteCircuits_StartCircuitLinkFailoverTest", + "title": "ExpressRouteCircuitStartCircuitLinkFailoverTest" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitStats.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitStats.json new file mode 100644 index 000000000000..6f376f88d859 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitStats.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "circuitName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "primarybytesIn": 537408, + "primarybytesOut": 44032550, + "secondarybytesIn": 0, + "secondarybytesOut": 39002500 + } + } + }, + "operationId": "ExpressRouteCircuits_GetStats", + "title": "Get ExpressRoute Circuit Traffic Stats" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitStopCircuitLinkFailoverTest.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitStopCircuitLinkFailoverTest.json new file mode 100644 index 000000000000..0b2e46e76304 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitStopCircuitLinkFailoverTest.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "circuitName": "circuit1", + "stopParameters": { + "circuitTestCategory": "BgpDisconnect", + "linkType": "Primary", + "wasSimulationSuccessful": true, + "isVerified": true + } + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteCircuits_StopCircuitLinkFailoverTest", + "title": "ExpressRouteCircuitStopCircuitLinkFailoverTest" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitUpdateTags.json new file mode 100644 index 000000000000..91335b5ea617 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCircuitUpdateTags.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "er1", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "ertest", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "er1", + "type": "Microsoft.Network/expressRouteCircuits", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1", + "location": "brazilsouth", + "properties": { + "allowClassicOperations": false, + "authorizations": [], + "circuitProvisioningState": "Enabled", + "gatewayManagerEtag": "", + "peerings": [], + "provisioningState": "Failed", + "serviceKey": "0b392c2e-1e9d-46d7-b5e0-9ce90ca6b60c", + "serviceProviderProperties": { + "bandwidthInMbps": 1000, + "peeringLocation": "Silicon Valley", + "serviceProviderName": "Equinix" + }, + "serviceProviderProvisioningState": "NotProvisioned" + }, + "sku": { + "name": "Standard_MeteredData", + "family": "MeteredData", + "tier": "Standard" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "ExpressRouteCircuits_UpdateTags", + "title": "Update Express Route Circuit Tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteConnectionCreate.json new file mode 100644 index 000000000000..90f1fe0f5384 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteConnectionCreate.json @@ -0,0 +1,140 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connectionName", + "expressRouteGatewayName": "gateway-2", + "putExpressRouteConnectionParameters": { + "name": "connectionName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName", + "properties": { + "authorizationKey": "authorizationKey", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "routingWeight": 2 + } + }, + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "connectionName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName", + "properties": { + "authorizationKey": "authorizationKey", + "enableInternetSecurity": false, + "enablePrivateLinkFastPath": false, + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "expressRouteGatewayBypass": false, + "provisioningState": "Provisioned", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "routingWeight": 2 + } + } + }, + "201": { + "body": { + "name": "connectionName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2/expressRouteConnections/connectionName", + "properties": { + "authorizationKey": "authorizationKey", + "enableInternetSecurity": false, + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "provisioningState": "Provisioned", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "routingWeight": 2 + } + } + } + }, + "operationId": "ExpressRouteConnections_CreateOrUpdate", + "title": "ExpressRouteConnectionCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteConnectionDelete.json new file mode 100644 index 000000000000..6351bdd5a6b3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteConnectionDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connectionName", + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "ExpressRouteConnections_Delete", + "title": "ExpressRouteConnectionDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteConnectionGet.json new file mode 100644 index 000000000000..bdef444bf19d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteConnectionGet.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connectionName", + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "connectionName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "authorizationKey": "authorizationKey", + "enableInternetSecurity": false, + "enablePrivateLinkFastPath": false, + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "expressRouteGatewayBypass": false, + "provisioningState": "Provisioned", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "routingWeight": 1 + } + } + } + }, + "operationId": "ExpressRouteConnections_Get", + "title": "ExpressRouteConnectionGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteConnectionList.json new file mode 100644 index 000000000000..a2ebfc82ff3f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteConnectionList.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "connectionName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "authorizationKey": "authorizationKey", + "enableInternetSecurity": false, + "enablePrivateLinkFastPath": false, + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "expressRouteGatewayBypass": false, + "provisioningState": "Provisioned", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "routingWeight": 1 + } + } + ] + } + } + }, + "operationId": "ExpressRouteConnections_List", + "title": "ExpressRouteConnectionList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json new file mode 100644 index 000000000000..7d9703f0e8b2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionBgpPeeringCreate.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "peeringName": "AzurePrivatePeering", + "peeringParameters": { + "properties": { + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126" + }, + "peerASN": 200, + "primaryPeerAddressPrefix": "192.168.16.252/30", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "vlanId": 200 + } + }, + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering", + "properties": { + "azureASN": 12076, + "gatewayManagerEtag": "", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "peerASN": 200, + "peeringType": "AzurePrivatePeering", + "primaryAzurePort": "", + "primaryPeerAddressPrefix": "192.168.16.252/30", + "provisioningState": "Succeeded", + "secondaryAzurePort": "", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "state": "Enabled", + "vlanId": 200 + } + } + }, + "201": { + "body": { + "name": "AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering", + "properties": { + "azureASN": 12076, + "gatewayManagerEtag": "", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "peerASN": 200, + "peeringType": "AzurePrivatePeering", + "primaryAzurePort": "", + "primaryPeerAddressPrefix": "192.168.16.252/30", + "provisioningState": "Succeeded", + "secondaryAzurePort": "", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "state": "Enabled", + "vlanId": 200 + } + } + } + }, + "operationId": "ExpressRouteCrossConnectionPeerings_CreateOrUpdate", + "title": "ExpressRouteCrossConnectionBgpPeeringCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json new file mode 100644 index 000000000000..3d791590689c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionBgpPeeringDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "" + } + }, + "204": {} + }, + "operationId": "ExpressRouteCrossConnectionPeerings_Delete", + "title": "DeleteExpressRouteCrossConnectionBgpPeering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json new file mode 100644 index 000000000000..d0ccbf11d8cc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionBgpPeeringGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnection-Boydton1DC/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering", + "properties": { + "azureASN": 12076, + "gatewayManagerEtag": "", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "peerASN": 200, + "peeringType": "AzurePrivatePeering", + "primaryAzurePort": "", + "primaryPeerAddressPrefix": "192.168.16.252/30", + "provisioningState": "Succeeded", + "secondaryAzurePort": "", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "state": "Enabled", + "vlanId": 200 + } + } + } + }, + "operationId": "ExpressRouteCrossConnectionPeerings_Get", + "title": "GetExpressRouteCrossConnectionBgpPeering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json new file mode 100644 index 000000000000..4760a3ed8b2e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionBgpPeeringList.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "AzurePrivatePeering", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections//peerings/AzurePrivatePeering", + "properties": { + "azureASN": 12076, + "gatewayManagerEtag": "", + "ipv6PeeringConfig": { + "primaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::/126", + "secondaryPeerAddressPrefix": "3FFE:FFFF:0:CD30::4/126", + "state": "Enabled" + }, + "lastModifiedBy": "Customer", + "peerASN": 200, + "peeringType": "AzurePrivatePeering", + "primaryAzurePort": "", + "primaryPeerAddressPrefix": "192.168.16.252/30", + "provisioningState": "Succeeded", + "secondaryAzurePort": "", + "secondaryPeerAddressPrefix": "192.168.18.252/30", + "state": "Enabled", + "vlanId": 200 + } + } + ] + } + } + }, + "operationId": "ExpressRouteCrossConnectionPeerings_List", + "title": "ExpressRouteCrossConnectionBgpPeeringList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionGet.json new file mode 100644 index 000000000000..0fe3cb7e2360 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "", + "type": "Microsoft.Network/expressRouteCrossConnections", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnection-SiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", + "location": "brazilsouth", + "properties": { + "bandwidthInMbps": 1000, + "expressRouteCircuit": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1" + }, + "peeringLocation": "SiliconValley", + "peerings": [], + "primaryAzurePort": "bvtazureixp01", + "provisioningState": "Enabled", + "sTag": 2, + "secondaryAzurePort": "bvtazureixp01", + "serviceProviderProvisioningState": "NotProvisioned" + } + } + } + }, + "operationId": "ExpressRouteCrossConnections_Get", + "title": "GetExpressRouteCrossConnection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionList.json new file mode 100644 index 000000000000..341b916ca98d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionList.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "name": "", + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "", + "type": "Microsoft.Network/expressRouteCrossConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", + "location": "brazilsouth", + "properties": { + "bandwidthInMbps": 1000, + "expressRouteCircuit": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1" + }, + "peeringLocation": "SiliconValley", + "peerings": [], + "primaryAzurePort": "bvtazureixp01", + "provisioningState": "Enabled", + "sTag": 2, + "secondaryAzurePort": "bvtazureixp01", + "serviceProviderProvisioningState": "NotProvisioned" + } + } + ] + } + } + }, + "operationId": "ExpressRouteCrossConnections_List", + "title": "ExpressRouteCrossConnectionList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionListByResourceGroup.json new file mode 100644 index 000000000000..fd96c773d53c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionListByResourceGroup.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "", + "type": "Microsoft.Network/expressRouteCrossConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnectionSilicon-Valley/providers/Microsoft.Network/expressRouteCrossConnections/", + "location": "brazilsouth", + "properties": { + "bandwidthInMbps": 1000, + "expressRouteCircuit": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1" + }, + "peeringLocation": "SiliconValley", + "peerings": [], + "primaryAzurePort": "bvtazureixp01", + "provisioningState": "Enabled", + "sTag": 2, + "secondaryAzurePort": "bvtazureixp01", + "serviceProviderProvisioningState": "NotProvisioned" + } + } + ] + } + } + }, + "operationId": "ExpressRouteCrossConnections_ListByResourceGroup", + "title": "ExpressRouteCrossConnectionListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionUpdate.json new file mode 100644 index 000000000000..159c57df539b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionUpdate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "parameters": { + "properties": { + "serviceProviderProvisioningState": "NotProvisioned" + } + }, + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "", + "type": "Microsoft.Network/expressRouteCrossConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", + "location": "brazilsouth", + "properties": { + "bandwidthInMbps": 1000, + "expressRouteCircuit": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1" + }, + "peeringLocation": "SiliconValley", + "peerings": [], + "primaryAzurePort": "bvtazureixp01", + "provisioningState": "Enabled", + "sTag": 2, + "secondaryAzurePort": "bvtazureixp01", + "serviceProviderProvisioningState": "NotProvisioned" + } + } + } + }, + "operationId": "ExpressRouteCrossConnections_CreateOrUpdate", + "title": "UpdateExpressRouteCrossConnection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionUpdateTags.json new file mode 100644 index 000000000000..d62f87c6f7bd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionUpdateTags.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "crossConnectionParameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "er1", + "type": "Microsoft.Network/expressRouteCrossConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/CrossConnectionSiliconValley/providers/Microsoft.Network/expressRouteCrossConnections/", + "location": "brazilsouth", + "properties": { + "bandwidthInMbps": 1000, + "expressRouteCircuit": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/ertest/providers/Microsoft.Network/expressRouteCircuits/er1" + }, + "peeringLocation": "SiliconValley", + "peerings": [], + "primaryAzurePort": "bvtazureixp01", + "provisioningState": "Failed", + "sTag": 2, + "secondaryAzurePort": "bvtazureixp01", + "serviceProviderProvisioningState": "NotProvisioned" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "ExpressRouteCrossConnections_UpdateTags", + "title": "UpdateExpressRouteCrossConnectionTags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionsArpTable.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionsArpTable.json new file mode 100644 index 000000000000..0c300317f1ff --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionsArpTable.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "devicePath": "primary", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "age": 0, + "interface": "Microsoft", + "ipAddress": "192.116.14.254", + "macAddress": "885a.9269.9110" + } + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "" + } + } + }, + "operationId": "ExpressRouteCrossConnections_ListArpTable", + "title": "GetExpressRouteCrossConnectionsArpTable" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionsRouteTable.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionsRouteTable.json new file mode 100644 index 000000000000..abaae3201169 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionsRouteTable.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "devicePath": "primary", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "path": "65514", + "locPrf": "", + "network": "10.6.0.0/16", + "nextHop": "10.6.1.12", + "weight": 0 + }, + { + "path": "65514", + "locPrf": "", + "network": "10.7.0.0/16", + "nextHop": "10.7.1.13", + "weight": 0 + } + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "" + } + } + }, + "operationId": "ExpressRouteCrossConnections_ListRoutesTable", + "title": "GetExpressRouteCrossConnectionsRouteTable" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json new file mode 100644 index 000000000000..7d9942b1d8a9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteCrossConnectionsRouteTableSummary.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "crossConnectionName": "", + "devicePath": "primary", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "CrossConnection-SiliconValley", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "asn": 65514, + "neighbor": "10.6.1.112", + "stateOrPrefixesReceived": "Active", + "upDown": "1d14h" + }, + { + "asn": 65514, + "neighbor": "10.6.1.113", + "stateOrPrefixesReceived": "1", + "upDown": "1d14h" + } + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "" + } + } + }, + "operationId": "ExpressRouteCrossConnections_ListRoutesTableSummary", + "title": "GetExpressRouteCrossConnectionsRouteTableSummary" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayCreate.json new file mode 100644 index 000000000000..a2fb06aa805b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayCreate.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRouteGatewayName": "gateway-2", + "putExpressRouteGatewayParameters": { + "location": "westus", + "properties": { + "allowNonVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "min": 3 + } + }, + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupId/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + }, + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "gateway-2", + "type": "Microsoft.Network/expressRouteGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2", + "location": "westus", + "properties": { + "allowNonVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "min": 3 + } + }, + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + } + }, + "201": { + "body": { + "name": "gateway-2", + "type": "Microsoft.Network/expressRouteGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/gateway-2", + "location": "westus", + "properties": { + "allowNonVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "min": 3 + } + }, + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + } + } + }, + "operationId": "ExpressRouteGateways_CreateOrUpdate", + "title": "ExpressRouteGatewayCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayDelete.json new file mode 100644 index 000000000000..db308d306616 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "ExpressRouteGateways_Delete", + "title": "ExpressRouteGatewayDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayGet.json new file mode 100644 index 000000000000..c54a930c0af5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayGet.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRouteGatewayName": "expressRouteGatewayName", + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "expressRouteGatewayName", + "type": "Microsoft.Network/expressRouteGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "location": "westus", + "properties": { + "allowNonVirtualWanTraffic": false, + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + } + } + }, + "operationId": "ExpressRouteGateways_Get", + "title": "ExpressRouteGatewayGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayGetFailoverAllTestsDetails.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayGetFailoverAllTestsDetails.json new file mode 100644 index 000000000000..4068064d3b86 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayGetFailoverAllTestsDetails.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "type": "SingleSiteFailover", + "fetchLatest": true, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "expressRouteGatewayName": "ergw1" + }, + "responses": { + "200": { + "body": [ + { + "peeringLocation": "Hong Kong", + "circuits": [ + { + "nrpResourceUri": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuit1", + "name": "circuit1", + "connectionName": "conn1" + } + ], + "status": "Completed", + "startTime": "2026-02-11T07:37:04Z", + "endTime": "2026-02-11T08:41:50Z", + "connections": [ + { + "nrpResourceUri": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/ergw1/expressRouteConnections/conn1", + "name": "conn1", + "status": "Connected", + "lastUpdatedTime": "2026-02-11T08:41:49Z" + } + ], + "testGuid": "16546d1a-0548-4d6d-84ca-7149f3af4403", + "testType": "SingleSiteFailover", + "issues": [] + }, + { + "peeringLocation": "Hong Kong2", + "circuits": [ + { + "nrpResourceUri": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuit2", + "name": "circuit2", + "connectionName": "conn2" + } + ], + "status": "NotStarted", + "startTime": "", + "endTime": "", + "connections": [ + { + "nrpResourceUri": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/ergw1/expressRouteConnections/conn2", + "name": "conn2", + "status": "Connected" + } + ], + "testGuid": "00000000-0000-0000-0000-000000000000", + "testType": "SingleSiteFailover", + "issues": [] + } + ] + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteGateways_GetFailoverAllTestsDetails", + "title": "ExpressRouteGatewayGetFailoverAllTestsDetails" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayGetFailoverSingleTestDetails.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayGetFailoverSingleTestDetails.json new file mode 100644 index 000000000000..a068a64261b0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayGetFailoverSingleTestDetails.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "peeringLocation": "Vancouver", + "failoverTestId": "00000000-0000-0000-0000-000000000001", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "expressRouteGatewayName": "ergw1" + }, + "responses": { + "200": { + "body": [ + { + "peeringLocation": "Hong Kong", + "startTimeUtc": "2026-02-11T07:37:04Z", + "endTimeUtc": "2026-02-11T08:41:50Z", + "status": "Completed", + "wasSimulationSuccessful": true, + "redundantRoutes": [ + { + "peeringLocations": [ + "Atlanta", + "Silicon Valley" + ], + "routes": [ + "10.0.0.0/24" + ] + } + ], + "nonRedundantRoutes": [ + "10.10.0.0/16", + "10.11.0.0/24" + ], + "failoverConnectionDetails": [ + { + "failoverConnectionName": "conn1", + "failoverLocation": "Hong Kong2", + "isVerified": true + } + ] + } + ] + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteGateways_GetFailoverSingleTestDetails", + "title": "ExpressRouteGatewayGetFailoverSingleTestDetails" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayGetResiliencyInformation.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayGetResiliencyInformation.json new file mode 100644 index 000000000000..a91494435293 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayGetResiliencyInformation.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "attemptRefresh": false, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "expressRouteGatewayName": "ergw1" + }, + "responses": { + "200": { + "body": { + "overallScore": "85", + "scoreChange": "5", + "minScoreFromRecommendations": "2", + "maxScoreFromRecommendations": "10", + "lastComputedTime": "2025-01-01T00:00:00Z", + "nextEligibleComputeTime": "2025-01-01T01:00:00Z", + "components": [ + { + "name": "Disaster Recovery", + "currentScore": "-", + "maxScore": "-", + "recommendations": [ + { + "recommendationTitle": "Site Failover Not Yet Validated", + "recommendationId": "6", + "severity": "High", + "recommendationText": "Use Resiliency Validation Tests at least once every 3 months.", + "callToActionText": "Run Resiliency Validation Tests.", + "callToActionLink": "https://learn.microsoft.com/en-us/azure/expressroute/resiliency-insights" + } + ] + } + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteGateways_GetResiliencyInformation", + "title": "ExpressRouteGatewayGetResiliencyInformation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayGetRoutesInformation.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayGetRoutesInformation.json new file mode 100644 index 000000000000..c2d4b2eec503 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayGetRoutesInformation.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "attemptRefresh": false, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "expressRouteGatewayName": "ergw1" + }, + "responses": { + "200": { + "body": { + "lastComputedTime": "2025-01-01T00:00:00Z", + "nextEligibleComputeTime": "2025-01-01T01:00:00Z", + "routeSetVersion": "1", + "routeSets": [ + { + "name": "Set-1", + "locations": [ + "Washington DC", + "London2" + ], + "details": { + "10.11.0.0/24": [ + { + "circuit": "x0", + "pri": "1", + "sec": "1" + }, + { + "circuit": "x1", + "pri": "2", + "sec": "2" + } + ], + "10.57.0.0/16": [ + { + "circuit": "x0", + "pri": "1", + "sec": "1" + } + ] + } + } + ], + "circuitsMetadataMap": { + "x0": { + "name": "circuit1", + "link": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuit1", + "location": "Hong Kong" + }, + "x1": { + "name": "circuit2", + "link": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/circuit2", + "location": "Hong Kong2" + } + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteGateways_GetRoutesInformation", + "title": "ExpressRouteGatewayGetRoutesInformation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayListByResourceGroup.json new file mode 100644 index 000000000000..2fd047725366 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayListByResourceGroup.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "expressRouteGatewayName", + "type": "Microsoft.Network/expressRouteGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "location": "westus", + "properties": { + "allowNonVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "min": 2 + } + }, + "expressRouteConnections": [ + { + "name": "connectionName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", + "enableInternetSecurity": false, + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "provisioningState": "Provisioned", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hvirtualHubNameub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "routingWeight": 1 + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + } + ] + } + } + }, + "operationId": "ExpressRouteGateways_ListByResourceGroup", + "title": "ExpressRouteGatewayListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayListBySubscription.json new file mode 100644 index 000000000000..f87f5c15b615 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayListBySubscription.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "expressRouteGatewayName", + "type": "Microsoft.Network/expressRouteGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "location": "westus", + "properties": { + "allowNonVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "min": 2 + } + }, + "expressRouteConnections": [ + { + "name": "connectionName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName/expressRouteConnections/connectionName", + "properties": { + "authorizationKey": "f28e9c99-78d8-4248-a855-c54cf6beb99d", + "enableInternetSecurity": false, + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteCircuits/circuitName/peerings/AzurePrivatePeering" + }, + "provisioningState": "Provisioned", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/hvirtualHubNameub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "routingWeight": 1 + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + } + } + ] + } + } + }, + "operationId": "ExpressRouteGateways_ListBySubscription", + "title": "ExpressRouteGatewayListBySubscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayStartSiteFailoverTest.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayStartSiteFailoverTest.json new file mode 100644 index 000000000000..73cd514152ac --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayStartSiteFailoverTest.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "peeringLocation": "Vancouver", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "expressRouteGatewayName": "ergw1" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteGateways_StartSiteFailoverTest", + "title": "ExpressRouteGatewayStartSiteFailoverTest" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayStopSiteFailoverTest.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayStopSiteFailoverTest.json new file mode 100644 index 000000000000..94224a28fbd2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayStopSiteFailoverTest.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "expressRouteGatewayName": "ergw1", + "stopParameters": { + "peeringLocation": "Vancouver", + "wasSimulationSuccessful": true, + "details": [ + { + "failoverConnectionName": "conn1", + "failoverLocation": "Denver", + "isVerified": true + } + ] + } + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ExpressRouteGateways_StopSiteFailoverTest", + "title": "ExpressRouteGatewayStopSiteFailoverTest" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayUpdateTags.json new file mode 100644 index 000000000000..f33512cc9e9b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteGatewayUpdateTags.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRouteGatewayName": "expressRouteGatewayName", + "expressRouteGatewayParameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "resourceGroupName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "expressRouteGatewayName", + "type": "Microsoft.Network/expressRouteGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/expressRouteGateways/expressRouteGatewayName", + "location": "westus", + "properties": { + "allowNonVirtualWanTraffic": false, + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resourceGroupName/providers/Microsoft.Network/virtualHubs/virtualHubName" + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "ExpressRouteGateways_UpdateTags", + "title": "ExpressRouteGatewayUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteLinkGet.json new file mode 100644 index 000000000000..2dc6cdd99632 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteLinkGet.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "portName", + "linkName": "linkName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "linkName", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/linkName", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocationName", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + } + } + }, + "operationId": "ExpressRouteLinks_Get", + "title": "ExpressRouteLinkGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteLinkList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteLinkList.json new file mode 100644 index 000000000000..8320c62d9d85 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteLinkList.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "portName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocation1", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocation2", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ] + } + } + }, + "operationId": "ExpressRouteLinks_List", + "title": "ExpressRouteLinkGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortAuthorizationCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortAuthorizationCreate.json new file mode 100644 index 000000000000..a3c34c5f2b66 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortAuthorizationCreate.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "authorizationName": "authorizatinName", + "authorizationParameters": { + "properties": {} + }, + "expressRoutePortName": "expressRoutePortName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "authorizationName", + "type": "Microsoft.Network/expressRoutePorts/authorizations", + "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ExpressRoutePorts/expressRoutePortName/authorizations/authorizationName", + "properties": { + "authorizationUseStatus": "Available", + "circuitResourceUri": "", + "provisioningState": "Updating" + } + } + }, + "201": { + "body": { + "name": "authorizationName", + "type": "Microsoft.Network/expressRoutePorts/authorizations", + "etag": "W/\"e22dd4b2-4c24-44cf-b702-70a472b62914\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ExpressRoutePorts/expressRoutePortName/authorizations/authorizationName", + "properties": { + "authorizationUseStatus": "Available", + "circuitResourceUri": "", + "provisioningState": "Updating" + } + } + } + }, + "operationId": "ExpressRoutePortAuthorizations_CreateOrUpdate", + "title": "Create ExpressRoutePort Authorization" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortAuthorizationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortAuthorizationDelete.json new file mode 100644 index 000000000000..2c985505cec8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortAuthorizationDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "authorizationName": "authorizationName", + "expressRoutePortName": "expressRoutePortName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "" + } + }, + "204": {} + }, + "operationId": "ExpressRoutePortAuthorizations_Delete", + "title": "Delete ExpressRoutePort Authorization" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortAuthorizationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortAuthorizationGet.json new file mode 100644 index 000000000000..e870734c0e58 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortAuthorizationGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "authorizationName": "authorizationName", + "expressRoutePortName": "expressRoutePortName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "authorizationName", + "type": "Microsoft.Network/expressRoutePorts/authorizations", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ExpressRoutePorts/expressRoutePortName/authorizations/authorizationName", + "properties": { + "authorizationKey": "authKey", + "authorizationUseStatus": "Available", + "circuitResourceUri": "", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRoutePortAuthorizations_Get", + "title": "Get ExpressRoutePort Authorization" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortAuthorizationList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortAuthorizationList.json new file mode 100644 index 000000000000..bf34cfb0f614 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortAuthorizationList.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "expressRoutePortName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "authorizationName", + "type": "Microsoft.Network/expressRoutePorts/authorizations", + "etag": "W/\"e33c875f-48df-4a91-b7d3-eb95b5ddbb89\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ExpressRoutePorts/expressRoutePortName/authorizations/authorizationName", + "properties": { + "authorizationKey": "authKey", + "authorizationUseStatus": "Available", + "circuitResourceUri": "", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ExpressRoutePortAuthorizations_List", + "title": "List ExpressRoutePort Authorization" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortCreate.json new file mode 100644 index 000000000000..52ce86d6a6a8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortCreate.json @@ -0,0 +1,117 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "portName", + "parameters": { + "location": "westus", + "properties": { + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "encapsulation": "QinQ", + "peeringLocation": "peeringLocationName" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "portName", + "type": "Microsoft.Network/expressRoutePorts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "location": "westus", + "properties": { + "allocationDate": "Friday, July 1, 2018", + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "circuits": [], + "encapsulation": "QinQ", + "etherType": "0x8100", + "links": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Disabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ], + "mtu": "1500", + "peeringLocation": "peeringLocationName", + "provisionedBandwidthInGbps": 0, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "portName", + "type": "Microsoft.Network/expressRoutePorts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "location": "westus", + "properties": { + "allocationDate": "Friday, July 1, 2018", + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "circuits": [], + "encapsulation": "QinQ", + "etherType": "0x8100", + "links": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Disabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ], + "mtu": "1500", + "peeringLocation": "peeringLocationName", + "provisionedBandwidthInGbps": 0, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRoutePorts_CreateOrUpdate", + "title": "ExpressRoutePortCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortDelete.json new file mode 100644 index 000000000000..ee30b0cdd4cc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "portName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "" + } + }, + "204": {} + }, + "operationId": "ExpressRoutePorts_Delete", + "title": "ExpressRoutePortDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortGet.json new file mode 100644 index 000000000000..b86462cb21f0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortGet.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "portName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "portName", + "type": "Microsoft.Network/expressRoutePorts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "location": "westus", + "properties": { + "allocationDate": "Friday, July 1, 2018", + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "circuits": [], + "encapsulation": "QinQ", + "etherType": "0x8100", + "links": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocation1", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocation2", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ], + "mtu": "1500", + "peeringLocation": "peeringLocationName", + "provisionedBandwidthInGbps": 0, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRoutePorts_Get", + "title": "ExpressRoutePortGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortList.json new file mode 100644 index 000000000000..141f39e43aa7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortList.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "portName", + "type": "Microsoft.Network/expressRoutePorts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "location": "westus", + "properties": { + "allocationDate": "Friday, July 1, 2018", + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "circuits": [], + "encapsulation": "QinQ", + "etherType": "0x8100", + "links": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocation1", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocation2", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ], + "mtu": "1500", + "peeringLocation": "peeringLocationName", + "provisionedBandwidthInGbps": 0, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ExpressRoutePorts_List", + "title": "ExpressRoutePortList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortListByResourceGroup.json new file mode 100644 index 000000000000..ce4e3439fd46 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortListByResourceGroup.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "portName", + "type": "Microsoft.Network/expressRoutePorts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "location": "westus", + "properties": { + "allocationDate": "Friday, July 1, 2018", + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "circuits": [], + "encapsulation": "QinQ", + "etherType": "0x8100", + "links": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocation1", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "coloLocation": "coloLocation2", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ], + "mtu": "1500", + "peeringLocation": "peeringLocationName", + "provisionedBandwidthInGbps": 0, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ExpressRoutePorts_ListByResourceGroup", + "title": "ExpressRoutePortListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortUpdateLink.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortUpdateLink.json new file mode 100644 index 000000000000..93ea7f81b519 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortUpdateLink.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "portName", + "parameters": { + "location": "westus", + "properties": { + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "encapsulation": "QinQ", + "links": [ + { + "name": "link1", + "properties": { + "adminState": "Enabled" + } + } + ], + "peeringLocation": "peeringLocationName" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "portName", + "type": "Microsoft.Network/expressRoutePorts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "location": "westus", + "properties": { + "allocationDate": "Friday, July 1, 2018", + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "circuits": [], + "encapsulation": "QinQ", + "etherType": "0x8100", + "links": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Enabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ], + "mtu": "1500", + "peeringLocation": "peeringLocationName", + "provisionedBandwidthInGbps": 0, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "portName", + "type": "Microsoft.Network/expressRoutePorts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "location": "westus", + "properties": { + "allocationDate": "Friday, July 1, 2018", + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "circuits": [], + "encapsulation": "QinQ", + "etherType": "0x8100", + "links": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Enabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ], + "mtu": "1500", + "peeringLocation": "peeringLocationName", + "provisionedBandwidthInGbps": 0, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRoutePorts_CreateOrUpdate", + "title": "ExpressRoutePortUpdateLink" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortUpdateTags.json new file mode 100644 index 000000000000..9a26bd562b4e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortUpdateTags.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "portName", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "portName", + "type": "Microsoft.Network/expressRoutePorts", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName", + "location": "westus", + "properties": { + "allocationDate": "Friday, July 1, 2018", + "bandwidthInGbps": 100, + "billingType": "UnlimitedData", + "circuits": [], + "encapsulation": "QinQ", + "etherType": "0x8100", + "links": [ + { + "name": "link1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link1", + "properties": { + "adminState": "Disabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId1", + "provisioningState": "Succeeded", + "rackId": "rackId1", + "routerName": "router1" + } + }, + { + "name": "link2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRoutePorts/portName/links/link2", + "properties": { + "adminState": "Disabled", + "connectorType": "LC", + "interfaceName": "Ethernet 0/0", + "patchPanelId": "patchPanelId2", + "provisioningState": "Succeeded", + "rackId": "rackId2", + "routerName": "router2" + } + } + ], + "mtu": "1500", + "peeringLocation": "peeringLocationName", + "provisionedBandwidthInGbps": 0, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRoutePorts_UpdateTags", + "title": "ExpressRoutePortUpdateTags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortsLocationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortsLocationGet.json new file mode 100644 index 000000000000..26ad78717750 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortsLocationGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "locationName": "locationName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "location": "westus", + "properties": { + "address": "123 Main Street, City, State, Zip", + "availableBandwidths": [ + { + "offerName": "100 Gbps", + "valueInGbps": 100 + } + ], + "contact": "email@address.com", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "ExpressRoutePortsLocations_Get", + "title": "ExpressRoutePortsLocationGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortsLocationList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortsLocationList.json new file mode 100644 index 000000000000..b5f81893ae55 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRoutePortsLocationList.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "locationName", + "type": "Microsoft.Network/expressRoutePortsLocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/expressRoutePortsLocations/locationName", + "location": "westus", + "properties": { + "address": "123 Main Street, City, State, Zip", + "availableBandwidths": [], + "contact": "email@address.com", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ExpressRoutePortsLocations_List", + "title": "ExpressRoutePortsLocationList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteProviderList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteProviderList.json new file mode 100644 index 000000000000..81b00d72e4e6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ExpressRouteProviderList.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "providerName", + "type": "Microsoft.Network/expressRouteServiceProviders", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/expressRouteServiceProviders/", + "properties": { + "bandwidthsOffered": [ + { + "offerName": "50Mbps", + "valueInMbps": 50 + }, + { + "offerName": "100Mbps", + "valueInMbps": 100 + }, + { + "offerName": "200Mbps", + "valueInMbps": 200 + }, + { + "offerName": "500Mbps", + "valueInMbps": 500 + }, + { + "offerName": "1Gbps", + "valueInMbps": 1000 + }, + { + "offerName": "2Gbps", + "valueInMbps": 2000 + }, + { + "offerName": "5Gbps", + "valueInMbps": 5000 + }, + { + "offerName": "10Gbps", + "valueInMbps": 10000 + } + ], + "peeringLocations": [ + "peeringLocation1", + "peeringLocation2" + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ExpressRouteServiceProviders_List", + "title": "List ExpressRoute providers" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyDelete.json new file mode 100644 index 000000000000..590607259e13 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/providers/Microsoft.Network/locations/region1" + } + }, + "204": {} + }, + "operationId": "FirewallPolicies_Delete", + "title": "Delete Firewall Policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyDraftDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyDraftDelete.json new file mode 100644 index 000000000000..8359c309f7f5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyDraftDelete.json @@ -0,0 +1,14 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "FirewallPolicyDrafts_Delete", + "title": "delete firewall policy draft" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyDraftDeploy.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyDraftDeploy.json new file mode 100644 index 000000000000..106aa9ac05ba --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyDraftDeploy.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "FirewallPolicyDeployments_Deploy", + "title": "deploy firewall policy draft" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyDraftGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyDraftGet.json new file mode 100644 index 000000000000..7151719f4434 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyDraftGet.json @@ -0,0 +1,103 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "enablePacFile": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + } + } + } + } + }, + "operationId": "FirewallPolicyDrafts_Get", + "title": "get firewall policy draft" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyDraftPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyDraftPut.json new file mode 100644 index 000000000000..f6fc81d6f463 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyDraftPut.json @@ -0,0 +1,283 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "enablePacFile": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert", + "profile": "Balanced" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "enablePacFile": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert", + "profile": "Balanced" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + } + } + } + }, + "201": { + "body": { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "enablePacFile": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert", + "profile": "Balanced" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + } + } + } + } + }, + "operationId": "FirewallPolicyDrafts_CreateOrUpdate", + "title": "create or update firewall policy draft" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyGet.json new file mode 100644 index 000000000000..eeeb4f8115fe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyGet.json @@ -0,0 +1,125 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "location": "West US", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "enablePacFile": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "firewalls": [], + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert" + }, + "provisioningState": "Succeeded", + "ruleCollectionGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1" + } + ], + "size": "0.5MB", + "sku": { + "tier": "Premium" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + }, + "transportSecurity": { + "certificateAuthority": { + "name": "clientcert", + "keyVaultSecretId": "https://kv/secret" + } + } + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "FirewallPolicies_Get", + "title": "Get FirewallPolicy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyIDPSProfileGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyIDPSProfileGet.json new file mode 100644 index 000000000000..9a94a5dcc6a0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyIDPSProfileGet.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "firewallPolicyName": "firewallPolicy" + }, + "responses": { + "200": { + "body": { + "name": "firewallPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "size": "0.5MB", + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "ipAddresses": [ + "20.3.4.5" + ], + "fqdns": [ + "*.microsoft.com" + ] + }, + "ruleCollectionGroups": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1" + } + ], + "insights": { + "isEnabled": true, + "retentionDays": 100, + "logAnalyticsResources": { + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ], + "defaultWorkspaceId": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + } + } + }, + "firewalls": [], + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "dnsSettings": { + "servers": [ + "30.3.4.5" + ], + "enableProxy": true, + "requireProxyForNetworkRules": false + }, + "explicitProxy": { + "enableExplicitProxy": true, + "httpPort": 8087, + "httpsPort": 8087, + "enablePacFile": true, + "pacFilePort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D" + }, + "sku": { + "tier": "Premium" + }, + "intrusionDetection": { + "mode": "Alert", + "profile": "Core", + "configuration": { + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ], + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "protocol": "TCP", + "sourceAddresses": [ + "1.2.3.4" + ], + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ] + } + ] + } + }, + "transportSecurity": { + "certificateAuthority": { + "name": "clientcert", + "keyVaultSecretId": "https://kv/secret" + } + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyIDPSProfilePut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyIDPSProfilePut.json new file mode 100644 index 000000000000..17a4fa07512c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyIDPSProfilePut.json @@ -0,0 +1,344 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "tags": { + "key1": "value1" + }, + "location": "West US", + "properties": { + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "ipAddresses": [ + "20.3.4.5" + ], + "fqdns": [ + "*.microsoft.com" + ] + }, + "insights": { + "isEnabled": true, + "retentionDays": 100, + "logAnalyticsResources": { + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ], + "defaultWorkspaceId": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + } + } + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "dnsSettings": { + "servers": [ + "30.3.4.5" + ], + "enableProxy": true, + "requireProxyForNetworkRules": false + }, + "explicitProxy": { + "enableExplicitProxy": true, + "httpPort": 8087, + "httpsPort": 8087, + "enablePacFile": true, + "pacFilePort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D" + }, + "sku": { + "tier": "Premium" + }, + "intrusionDetection": { + "mode": "Alert", + "profile": "Core", + "configuration": { + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ], + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "protocol": "TCP", + "sourceAddresses": [ + "1.2.3.4" + ], + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ] + } + ] + } + }, + "transportSecurity": { + "certificateAuthority": { + "name": "clientcert", + "keyVaultSecretId": "https://kv/secret" + } + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "firewallPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "size": "0.5MB", + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "ipAddresses": [ + "20.3.4.5" + ], + "fqdns": [ + "*.microsoft.com" + ] + }, + "ruleCollectionGroups": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup2" + } + ], + "insights": { + "isEnabled": true, + "retentionDays": 100, + "logAnalyticsResources": { + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ], + "defaultWorkspaceId": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + } + } + }, + "firewalls": [], + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "dnsSettings": { + "servers": [ + "30.3.4.5" + ], + "enableProxy": true, + "requireProxyForNetworkRules": false + }, + "explicitProxy": { + "enableExplicitProxy": true, + "httpPort": 8087, + "httpsPort": 8087, + "enablePacFile": true, + "pacFilePort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D" + }, + "sku": { + "tier": "Premium" + }, + "intrusionDetection": { + "mode": "Alert", + "profile": "Core", + "configuration": { + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ], + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "protocol": "TCP", + "sourceAddresses": [ + "1.2.3.4" + ], + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ] + } + ] + } + }, + "transportSecurity": { + "certificateAuthority": { + "name": "clientcert", + "keyVaultSecretId": "https://kv/secret" + } + } + } + } + }, + "201": { + "body": { + "name": "firewallPolicy", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "location": "West US", + "tags": { + "key1": "value1" + }, + "properties": { + "size": "0.5MB", + "provisioningState": "Succeeded", + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "ipAddresses": [ + "20.3.4.5" + ], + "fqdns": [ + "*.microsoft.com" + ] + }, + "ruleCollectionGroups": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1" + }, + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup2" + } + ], + "insights": { + "isEnabled": true, + "retentionDays": 100, + "logAnalyticsResources": { + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ], + "defaultWorkspaceId": { + "id": "/subscriptions/subid/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + } + } + }, + "firewalls": [], + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "dnsSettings": { + "servers": [ + "30.3.4.5" + ], + "enableProxy": true, + "requireProxyForNetworkRules": false + }, + "explicitProxy": { + "enableExplicitProxy": true, + "httpPort": 8087, + "httpsPort": 8087, + "enablePacFile": true, + "pacFilePort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D" + }, + "sku": { + "tier": "Premium" + }, + "intrusionDetection": { + "mode": "Alert", + "profile": "Core", + "configuration": { + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ], + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "protocol": "TCP", + "sourceAddresses": [ + "1.2.3.4" + ], + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ] + } + ] + } + }, + "transportSecurity": { + "certificateAuthority": { + "name": "clientcert", + "keyVaultSecretId": "https://kv/secret" + } + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyListByResourceGroup.json new file mode 100644 index 000000000000..27b5d7ff9da2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyListByResourceGroup.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "location": "West US", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "firewalls": [], + "provisioningState": "Succeeded", + "ruleCollectionGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1" + } + ], + "sku": { + "tier": "Standard" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "FirewallPolicies_List", + "title": "List all Firewall Policies for a given resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyListBySubscription.json new file mode 100644 index 000000000000..f35ec2f90e75 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyListBySubscription.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "location": "West US", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "firewalls": [], + "provisioningState": "Succeeded", + "ruleCollectionGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1" + } + ], + "sku": { + "tier": "Standard" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert" + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "FirewallPolicies_ListAll", + "title": "List all Firewall Policies for a given subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyNatRuleCollectionGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyNatRuleCollectionGroupGet.json new file mode 100644 index 000000000000..f008bccb84fe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyNatRuleCollectionGroupGet.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 100, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "NatRC", + "action": { + "type": "DNAT" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyNatRuleCollection", + "rules": [ + { + "name": "NatRule1", + "destinationAddresses": [ + "152.23.32.23" + ], + "destinationPorts": [ + "8080" + ], + "ipProtocols": [ + "TCP", + "UDP" + ], + "ruleType": "NatRule", + "sourceAddresses": [ + "2.2.2.2" + ], + "sourceIpGroups": [], + "translatedFqdn": "internalhttpserver", + "translatedPort": "8080" + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_Get", + "title": "Get FirewallPolicyNatRuleCollectionGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyNatRuleCollectionGroupPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyNatRuleCollectionGroupPut.json new file mode 100644 index 000000000000..bf7029cdeeb0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyNatRuleCollectionGroupPut.json @@ -0,0 +1,135 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "properties": { + "priority": 100, + "ruleCollections": [ + { + "name": "Example-Nat-Rule-Collection", + "action": { + "type": "DNAT" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyNatRuleCollection", + "rules": [ + { + "name": "nat-rule1", + "destinationAddresses": [ + "152.23.32.23" + ], + "destinationPorts": [ + "8080" + ], + "ipProtocols": [ + "TCP", + "UDP" + ], + "ruleType": "NatRule", + "sourceAddresses": [ + "2.2.2.2" + ], + "sourceIpGroups": [], + "translatedFqdn": "internalhttp.server.net", + "translatedPort": "8080" + } + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 100, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Nat-Rule-Collection", + "action": { + "type": "DNAT" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyNatRuleCollection", + "rules": [ + { + "name": "nat-rule1", + "destinationAddresses": [ + "152.23.32.23" + ], + "destinationPorts": [ + "8080" + ], + "ipProtocols": [ + "TCP", + "UDP" + ], + "ruleType": "NatRule", + "sourceAddresses": [ + "2.2.2.2" + ], + "sourceIpGroups": [], + "translatedFqdn": "internalhttp.server.net", + "translatedPort": "8080" + } + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "firewallPolicy", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "properties": { + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Nat-Rule-Collection", + "action": { + "type": "DNAT" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyNatRuleCollection", + "rules": [ + { + "name": "nat-rule1", + "destinationAddresses": [ + "152.23.32.23" + ], + "destinationPorts": [ + "8080" + ], + "ipProtocols": [ + "TCP", + "UDP" + ], + "ruleType": "NatRule", + "sourceAddresses": [ + "2.2.2.2" + ], + "sourceIpGroups": [], + "translatedFqdn": "internalhttp.server.net", + "translatedPort": "8080" + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_CreateOrUpdate", + "title": "Create Firewall Policy Nat Rule Collection Group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyPatch.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyPatch.json new file mode 100644 index 000000000000..dd5352806c96 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyPatch.json @@ -0,0 +1,130 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "location": "West US", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "firewalls": [], + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert" + }, + "provisioningState": "Succeeded", + "ruleCollectionGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1" + } + ], + "sku": { + "tier": "Premium" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + }, + "transportSecurity": { + "certificateAuthority": { + "name": "clientcert", + "keyVaultSecretId": "https://kv/secret" + } + } + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "FirewallPolicies_UpdateTags", + "title": "Update FirewallPolicy Tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyPut.json new file mode 100644 index 000000000000..4fde32d8df36 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyPut.json @@ -0,0 +1,346 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "location": "West US", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "enablePacFile": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert", + "profile": "Balanced" + }, + "sku": { + "tier": "Premium" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + }, + "transportSecurity": { + "certificateAuthority": { + "name": "clientcert", + "keyVaultSecretId": "https://kv/secret" + } + } + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "location": "West US", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "enablePacFile": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "firewalls": [], + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert", + "profile": "Balanced" + }, + "provisioningState": "Succeeded", + "ruleCollectionGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup2" + } + ], + "size": "0.5MB", + "sku": { + "tier": "Premium" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + }, + "transportSecurity": { + "certificateAuthority": { + "name": "clientcert", + "keyVaultSecretId": "https://kv/secret" + } + } + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "firewallPolicy", + "type": "Microsoft.Network/firewallPolicies", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "location": "West US", + "properties": { + "dnsSettings": { + "enableProxy": true, + "requireProxyForNetworkRules": false, + "servers": [ + "30.3.4.5" + ] + }, + "explicitProxy": { + "enableExplicitProxy": true, + "enablePacFile": true, + "httpPort": 8087, + "httpsPort": 8087, + "pacFile": "https://tinawstorage.file.core.windows.net/?sv=2020-02-10&ss=bfqt&srt=sco&sp=rwdlacuptfx&se=2021-06-04T07:01:12Z&st=2021-06-03T23:01:12Z&sip=68.65.171.11&spr=https&sig=Plsa0RRVpGbY0IETZZOT6znOHcSro71LLTTbzquYPgs%3D", + "pacFilePort": 8087 + }, + "firewalls": [], + "insights": { + "isEnabled": true, + "logAnalyticsResources": { + "defaultWorkspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/defaultWorkspace" + }, + "workspaces": [ + { + "region": "westus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace1" + } + }, + { + "region": "eastus", + "workspaceId": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/microsoft.operationalinsights/workspaces/workspace2" + } + } + ] + }, + "retentionDays": 100 + }, + "intrusionDetection": { + "configuration": { + "bypassTrafficSettings": [ + { + "name": "bypassRule1", + "description": "Rule 1", + "destinationAddresses": [ + "5.6.7.8" + ], + "destinationPorts": [ + "*" + ], + "sourceAddresses": [ + "1.2.3.4" + ], + "protocol": "TCP" + } + ], + "signatureOverrides": [ + { + "id": "2525004", + "mode": "Deny" + } + ] + }, + "mode": "Alert", + "profile": "Balanced" + }, + "provisioningState": "Succeeded", + "ruleCollectionGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup2" + } + ], + "size": "0.5MB", + "sku": { + "tier": "Premium" + }, + "snat": { + "privateRanges": [ + "IANAPrivateRanges" + ] + }, + "sql": { + "allowSqlRedirect": true + }, + "threatIntelMode": "Alert", + "threatIntelWhitelist": { + "fqdns": [ + "*.microsoft.com" + ], + "ipAddresses": [ + "20.3.4.5" + ] + }, + "transportSecurity": { + "certificateAuthority": { + "name": "clientcert", + "keyVaultSecretId": "https://kv/secret" + } + } + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "FirewallPolicies_CreateOrUpdate", + "title": "Create FirewallPolicy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyQuerySignatureOverrides.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyQuerySignatureOverrides.json new file mode 100644 index 000000000000..f79654c402d8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyQuerySignatureOverrides.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "filters": [ + { + "field": "Mode", + "values": [ + "Deny" + ] + } + ], + "orderBy": { + "field": "severity", + "order": "Ascending" + }, + "resultsPerPage": 20, + "search": "", + "skip": 0 + }, + "resourceGroupName": "rg1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "matchingRecordsCount": 2, + "signatures": [ + { + "description": "P2P Phatbot Control Connection", + "destinationPorts": [ + "any" + ], + "direction": 2, + "group": "A Network Trojan was detected", + "inheritedFromParentPolicy": false, + "lastUpdated": "2010-07-30T00:00:00", + "mode": 2, + "severity": 1, + "signatureId": 2000015, + "sourcePorts": [ + "any" + ], + "protocol": "tcp" + }, + { + "description": "WEB_SERVER SQL sp_delete_alert attempt", + "destinationPorts": [ + "any" + ], + "direction": 1, + "group": "Attempted User Privilege Gain", + "inheritedFromParentPolicy": false, + "lastUpdated": "2019-09-27T00:00:00", + "mode": 2, + "severity": 1, + "signatureId": 2000106, + "sourcePorts": [ + "any" + ], + "protocol": "http" + } + ] + } + } + }, + "operationId": "FirewallPolicyIdpsSignatures_List", + "title": "query signature overrides" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyQuerySignatureOverridesFilterValues.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyQuerySignatureOverridesFilterValues.json new file mode 100644 index 000000000000..cd8a4aea9b9d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyQuerySignatureOverridesFilterValues.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "filterName": "severity" + }, + "resourceGroupName": "rg1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "filterValues": [ + "low", + "medium", + "high" + ] + } + } + }, + "operationId": "FirewallPolicyIdpsSignaturesFilterValues_List", + "title": "query signature overrides" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupDelete.json new file mode 100644 index 000000000000..97e315d863ae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/providers/Microsoft.Network/locations/region1" + } + }, + "204": {} + }, + "operationId": "FirewallPolicyRuleCollectionGroups_Delete", + "title": "Delete FirewallPolicyRuleCollectionGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupDraftDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupDraftDelete.json new file mode 100644 index 000000000000..0a5e09c30be6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupDraftDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "FirewallPolicyRuleCollectionGroupDrafts_Delete", + "title": "delete firewall rule collection group draft" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupDraftGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupDraftGet.json new file mode 100644 index 000000000000..e256b9f0a382 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupDraftGet.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 200, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroupDrafts_Get", + "title": "get rule collection group draft" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupDraftPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupDraftPut.json new file mode 100644 index 000000000000..077c0b8e789d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupDraftPut.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "properties": { + "priority": 100, + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 100, + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "firewallPolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "properties": { + "priority": 100, + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroupDrafts_CreateOrUpdate", + "title": "create or update rule collection group draft" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupGet.json new file mode 100644 index 000000000000..ca16fe598491 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupGet.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 200, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ], + "size": "1.2MB" + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_Get", + "title": "Get FirewallPolicyRuleCollectionGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupList.json new file mode 100644 index 000000000000..94650bd83bd0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ruleCollectionGroup1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 120, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule-1", + "description": "Network rule", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ] + } + } + ] + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_List", + "title": "List all FirewallPolicyRuleCollectionGroups for a given FirewallPolicy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupPut.json new file mode 100644 index 000000000000..fd7b1c1046db --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupPut.json @@ -0,0 +1,126 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "properties": { + "priority": 100, + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 100, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ], + "size": "1.2MB" + } + } + }, + "201": { + "body": { + "name": "firewallPolicy", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "properties": { + "priority": 100, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 100, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationAddresses": [ + "*" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceAddresses": [ + "10.1.25.0/24" + ] + } + ] + } + ], + "size": "1.2MB" + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_CreateOrUpdate", + "title": "Create Firewall Policy Rule Collection Group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithHttpHeadersToInsert.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithHttpHeadersToInsert.json new file mode 100644 index 000000000000..b8e932ddbc62 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithHttpHeadersToInsert.json @@ -0,0 +1,145 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "properties": { + "priority": 110, + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Allow" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "rule1", + "description": "Insert trusted tenants header", + "fqdnTags": [ + "WindowsVirtualDesktop" + ], + "httpHeadersToInsert": [ + { + "headerName": "Restrict-Access-To-Tenants", + "headerValue": "contoso.com,fabrikam.onmicrosoft.com" + } + ], + "protocols": [ + { + "port": 80, + "protocolType": "Http" + } + ], + "ruleType": "ApplicationRule", + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Allow" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "rule1", + "description": "Insert trusted tenants header", + "fqdnTags": [ + "WindowsVirtualDesktop" + ], + "httpHeadersToInsert": [ + { + "headerName": "Restrict-Access-To-Tenants", + "headerValue": "contoso.com,fabrikam.onmicrosoft.com" + } + ], + "protocols": [ + { + "port": 80, + "protocolType": "Http" + } + ], + "ruleType": "ApplicationRule", + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Allow" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "rule1", + "description": "Insert trusted tenants header", + "fqdnTags": [ + "WindowsVirtualDesktop" + ], + "httpHeadersToInsert": [ + { + "headerName": "Restrict-Access-To-Tenants", + "headerValue": "contoso.com,fabrikam.onmicrosoft.com" + } + ], + "protocols": [ + { + "port": 80, + "protocolType": "Http" + } + ], + "ruleType": "ApplicationRule", + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ] + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_CreateOrUpdate", + "title": "Create Firewall Policy Rule Collection Group With http header to insert" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.json new file mode 100644 index 000000000000..80352eb0b238 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleGroup1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleGroups/ruleGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 200, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule1", + "destinationIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups2" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups1" + ] + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_Get", + "title": "Get FirewallPolicyRuleCollectionGroup With IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsList.json new file mode 100644 index 000000000000..533fe48e9da4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ruleCollectionGroup1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 120, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-rule-1", + "description": "Network rule", + "destinationIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups2" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups1" + ] + } + ] + } + ] + } + } + ] + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_List", + "title": "List all FirewallPolicyRuleCollectionGroups with IpGroups for a given FirewallPolicy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsPut.json new file mode 100644 index 000000000000..255a637ed0d1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithIpGroupsPut.json @@ -0,0 +1,121 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "properties": { + "priority": 110, + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-1", + "destinationIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups2" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups1" + ] + } + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-1", + "destinationIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups2" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups1" + ] + } + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "firewallPolicy", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "network-1", + "destinationIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups2" + ], + "destinationPorts": [ + "*" + ], + "ipProtocols": [ + "TCP" + ], + "ruleType": "NetworkRule", + "sourceIpGroups": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/rg1/ipGroups/ipGroups1" + ] + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_CreateOrUpdate", + "title": "Create Firewall Policy Rule Collection Group With IP Groups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.json new file mode 100644 index 000000000000..71df5b104e0f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 200, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "ruleType": "ApplicationRule", + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "webCategories": [ + "Hacking" + ] + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_Get", + "title": "Get FirewallPolicyRuleCollectionGroup With Web Categories" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesList.json new file mode 100644 index 000000000000..6c215fb913c5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesList.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "resourceGroupName": "rg1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ruleCollectionGroup1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "priority": 120, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "ruleType": "ApplicationRule", + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "webCategories": [ + "Hacking" + ] + } + ] + } + ] + } + } + ] + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_List", + "title": "List all FirewallPolicyRuleCollectionGroup With Web Categories" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesPut.json new file mode 100644 index 000000000000..c954bff27a51 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesPut.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "properties": { + "priority": 110, + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "ruleType": "ApplicationRule", + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "webCategories": [ + "Hacking" + ] + } + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "ruleCollectionGroupName": "ruleCollectionGroup1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "name": "ruleCollectionGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/ruleCollectionGroups/ruleCollectionGroup1", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "ruleType": "ApplicationRule", + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "webCategories": [ + "Hacking" + ] + } + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "firewallPolicy", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy", + "properties": { + "priority": 110, + "provisioningState": "Succeeded", + "ruleCollections": [ + { + "name": "Example-Filter-Rule-Collection", + "action": { + "type": "Deny" + }, + "ruleCollectionType": "FirewallPolicyFilterRuleCollection", + "rules": [ + { + "name": "rule1", + "description": "Deny inbound rule", + "protocols": [ + { + "port": 443, + "protocolType": "Https" + } + ], + "ruleType": "ApplicationRule", + "sourceAddresses": [ + "216.58.216.164", + "10.0.0.0/24" + ], + "webCategories": [ + "Hacking" + ] + } + ] + } + ] + } + } + } + }, + "operationId": "FirewallPolicyRuleCollectionGroups_CreateOrUpdate", + "title": "Create Firewall Policy Rule Collection Group With Web Categories" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicySignatureOverridesGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicySignatureOverridesGet.json new file mode 100644 index 000000000000..25e5cfff4d5d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicySignatureOverridesGet.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": {}, + "resourceGroupName": "rg1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/firewallPolicies/signatureOverrides", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", + "properties": { + "signatures": { + "2000105": "Off", + "2000106": "Deny" + } + } + } + } + }, + "operationId": "FirewallPolicyIdpsSignaturesOverrides_Get", + "title": "get signature overrides" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicySignatureOverridesList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicySignatureOverridesList.json new file mode 100644 index 000000000000..0a3c787c13ef --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicySignatureOverridesList.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": {}, + "resourceGroupName": "rg1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Network/firewallPolicies/signatureOverrides", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", + "properties": { + "signatures": { + "2000105": "Off", + "2000106": "Deny" + } + } + } + ] + } + } + }, + "operationId": "FirewallPolicyIdpsSignaturesOverrides_List", + "title": "get signature overrides" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicySignatureOverridesPatch.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicySignatureOverridesPatch.json new file mode 100644 index 000000000000..beee44914183 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicySignatureOverridesPatch.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "name": "default", + "type": "Microsoft.Network/firewallPolicies/signatureOverrides", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", + "properties": { + "signatures": { + "2000105": "Off", + "2000106": "Deny" + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/firewallPolicies/signatureOverrides", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", + "properties": { + "signatures": { + "2000105": "Off", + "2000106": "Deny" + } + } + } + } + }, + "operationId": "FirewallPolicyIdpsSignaturesOverrides_Patch", + "title": "patch signature overrides" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicySignatureOverridesPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicySignatureOverridesPut.json new file mode 100644 index 000000000000..39e7c3bbc693 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/FirewallPolicySignatureOverridesPut.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "firewallPolicyName": "firewallPolicy", + "parameters": { + "name": "default", + "type": "Microsoft.Network/firewallPolicies/signatureOverrides", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", + "properties": { + "signatures": { + "2000105": "Off", + "2000106": "Deny" + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "e747cc13-97d4-4a79-b463-42d7f4e558f2" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/firewallPolicies/signatureOverrides", + "id": "/subscriptions/e747cc13-97d4-4a79-b463-42d7f4e558f2/resourceGroups/rg1/providers/Microsoft.Network/firewallPolicies/firewallPolicy/signatureOverrides/default", + "properties": { + "signatures": { + "2000105": "Off", + "2000106": "Deny" + } + } + } + } + }, + "operationId": "FirewallPolicyIdpsSignaturesOverrides_Put", + "title": "put signature overrides" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GenerateExpressRoutePortsLOA.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GenerateExpressRoutePortsLOA.json new file mode 100644 index 000000000000..da376667adfb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GenerateExpressRoutePortsLOA.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "expressRoutePortName": "portName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "customerName": "customerName" + } + }, + "responses": { + "200": { + "description": "Request successful. Returns the content as a base64 encoded string", + "body": { + "encodedContent": "TWFuIGlzIGRpc3" + } + } + }, + "operationId": "ExpressRoutePorts_GenerateLOA", + "title": "GenerateExpressRoutePortLOA" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GenerateVirtualWanVpnServerConfigurationVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GenerateVirtualWanVpnServerConfigurationVpnProfile.json new file mode 100644 index 000000000000..63f6446077c6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GenerateVirtualWanVpnServerConfigurationVpnProfile.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualWANName": "wan1", + "vpnClientParams": { + "authenticationMethod": "EAPTLS", + "vpnServerConfigurationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnconfig1" + } + }, + "responses": { + "200": { + "body": { + "profileUrl": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "generatevirtualwanvpnserverconfigurationvpnprofile", + "title": "GenerateVirtualWanVpnServerConfigurationVpnProfile" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GetApplicationGatewayWafDynamicManifests.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GetApplicationGatewayWafDynamicManifests.json new file mode 100644 index 000000000000..5b22640d71d4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GetApplicationGatewayWafDynamicManifests.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Network/applicationGatewayWafDynamicManifest", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/applicationGatewayWafDynamicManifests/default", + "properties": { + "availableRuleSets": [ + { + "ruleGroups": [ + { + "description": "", + "ruleGroupName": "General", + "rules": [ + { + "description": "Failed to Parse Request Body.", + "action": "AnomalyScoring", + "ruleId": 200002, + "ruleIdString": "200002", + "state": "Enabled" + }, + { + "description": "Multipart Request Body Strict Validation.", + "action": "AnomalyScoring", + "ruleId": 200003, + "ruleIdString": "200003", + "state": "Enabled" + }, + { + "description": "Possible Multipart Unmatched Boundary.", + "action": "AnomalyScoring", + "ruleId": 200004, + "ruleIdString": "200004", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2", + "status": "0", + "tiers": [ + "WAF_v2" + ] + } + ], + "defaultRuleSet": { + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + } + } + ] + } + } + }, + "operationId": "ApplicationGatewayWafDynamicManifests_Get", + "title": "Gets WAF manifests" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GetApplicationGatewayWafDynamicManifestsDefault.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GetApplicationGatewayWafDynamicManifestsDefault.json new file mode 100644 index 000000000000..84cf60e8e8b3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GetApplicationGatewayWafDynamicManifestsDefault.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/applicationGatewayWafDynamicManifest", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/applicationGatewayWafDynamicManifests/default", + "properties": { + "availableRuleSets": [ + { + "ruleGroups": [ + { + "description": "", + "ruleGroupName": "General", + "rules": [ + { + "description": "Failed to Parse Request Body.", + "action": "AnomalyScoring", + "ruleId": 200002, + "ruleIdString": "200002", + "state": "Enabled" + }, + { + "description": "Multipart Request Body Strict Validation.", + "action": "AnomalyScoring", + "ruleId": 200003, + "ruleIdString": "200003", + "state": "Enabled" + }, + { + "description": "Possible Multipart Unmatched Boundary.", + "action": "AnomalyScoring", + "ruleId": 200004, + "ruleIdString": "200004", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2", + "status": "0", + "tiers": [ + "WAF_v2" + ] + } + ], + "defaultRuleSet": { + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + } + } + } + }, + "operationId": "ApplicationGatewayWafDynamicManifestsDefault_Get", + "title": "Gets WAF default manifest" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GetInboundRoutes.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GetInboundRoutes.json new file mode 100644 index 000000000000..32f31bc65cb8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GetInboundRoutes.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "getInboundRoutesParameters": { + "connectionType": "ExpressRouteConnection", + "resourceUri": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGw1/expressRouteConnections/exrConn1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "asPath": "65520-65520", + "bgpCommunities": "4293853166,12076,51004", + "prefix": "192.168.50.0/24" + }, + { + "asPath": "65520-65520-12076-12076", + "bgpCommunities": "4293787629,12076,51027,4293734188", + "prefix": "10.200.0.0/16" + } + ] + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VirtualHubs_GetInboundRoutes", + "title": "Inbound Routes for the Virtual Hub on a Particular Connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GetOutboundRoutes.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GetOutboundRoutes.json new file mode 100644 index 000000000000..66adeb2814b0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GetOutboundRoutes.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "getOutboundRoutesParameters": { + "connectionType": "ExpressRouteConnection", + "resourceUri": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGw1/expressRouteConnections/exrConn1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "asPath": "65520-65520", + "bgpCommunities": "4293853166,12076,51004", + "prefix": "192.168.50.0/24" + }, + { + "asPath": "65520-65520-12076-12076", + "bgpCommunities": "4293787629,12076,51027,4293734188", + "prefix": "10.200.0.0/16" + } + ] + } + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VirtualHubs_GetOutboundRoutes", + "title": "Outbound Routes for the Virtual Hub on a Particular Connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GetVirtualWanVpnServerConfigurations.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GetVirtualWanVpnServerConfigurations.json new file mode 100644 index 000000000000..934cbf6a8e12 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/GetVirtualWanVpnServerConfigurations.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualWANName": "wan1" + }, + "responses": { + "200": { + "description": "Request successful.", + "body": { + "vpnServerConfigurationResourceIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnconfig1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnconfig2" + ] + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnServerConfigurationsAssociatedWithVirtualWan_List", + "title": "GetVirtualWanVpnServerConfigurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubRouteTableDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubRouteTableDelete.json new file mode 100644 index 000000000000..3f4a98ef5381 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubRouteTableDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "hubRouteTable1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "HubRouteTables_Delete", + "title": "RouteTableDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubRouteTableGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubRouteTableGet.json new file mode 100644 index 000000000000..3c0f2fa46eb8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubRouteTableGet.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "hubRouteTable1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "hubRouteTable1", + "type": "Microsoft.Network/virtualHubs/hubRouteTables", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1", + "properties": { + "associatedConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn2" + ], + "labels": [ + "label1", + "label2" + ], + "propagatingConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/erg1/expressRouteConnections/erConn1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw1/vpnConnections/vpnConn2" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "destinationType": "CIDR", + "destinations": [ + "10.0.0.0/8", + "20.0.0.0/8", + "30.0.0.0/8" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azureFirewall1", + "nextHopType": "ResourceId" + } + ] + } + } + } + }, + "operationId": "HubRouteTables_Get", + "title": "RouteTableGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubRouteTableList.json new file mode 100644 index 000000000000..0fdbbc4f541d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubRouteTableList.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "hubRouteTable1", + "type": "Microsoft.Network/virtualHubs/hubRouteTables", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1", + "properties": { + "associatedConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn2" + ], + "labels": [ + "label1", + "label2" + ], + "propagatingConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/erg1/expressRouteConnections/erConn1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw1/vpnConnections/vpnConn2" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1a", + "destinationType": "CIDR", + "destinations": [ + "10.0.0.0/8", + "20.0.0.0/8", + "30.0.0.0/8" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azureFirewall1", + "nextHopType": "ResourceId" + } + ] + } + }, + { + "name": "hubRouteTable2", + "type": "Microsoft.Network/virtualHubs/hubRouteTables", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2", + "properties": { + "associatedConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn3", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn4" + ], + "labels": [ + "label3" + ], + "propagatingConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/erg1/expressRouteConnections/erConn2", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw1/vpnConnections/vpnConn1" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route2a", + "destinationType": "CIDR", + "destinations": [ + "40.0.0.0/8", + "50.0.0.0/8", + "60.0.0.0/8" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubVirtualNetworkConnections/vn1", + "nextHopType": "ResourceId" + } + ] + } + } + ] + } + } + }, + "operationId": "HubRouteTables_List", + "title": "RouteTableList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubRouteTablePut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubRouteTablePut.json new file mode 100644 index 000000000000..781a21580ea8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubRouteTablePut.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "hubRouteTable1", + "routeTableParameters": { + "properties": { + "labels": [ + "label1", + "label2" + ], + "routes": [ + { + "name": "route1", + "destinationType": "CIDR", + "destinations": [ + "10.0.0.0/8", + "20.0.0.0/8", + "30.0.0.0/8" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azureFirewall1", + "nextHopType": "ResourceId" + } + ] + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "hubRouteTable1", + "type": "Microsoft.Network/virtualHubs/hubRouteTables", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1", + "properties": { + "associatedConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn2" + ], + "labels": [ + "label1", + "label2" + ], + "propagatingConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/erg1/expressRouteConnections/erConn1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw1/vpnConnections/vpnConn2" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "destinationType": "CIDR", + "destinations": [ + "10.0.0.0/8", + "20.0.0.0/8", + "30.0.0.0/8" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azureFirewall1", + "nextHopType": "ResourceId" + } + ] + } + } + }, + "201": { + "body": { + "name": "hubRouteTable1", + "type": "Microsoft.Network/virtualHubs/hubRouteTables", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1a", + "properties": { + "associatedConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/vnetConnn2" + ], + "labels": [ + "label1", + "label2" + ], + "propagatingConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/erg1/expressRouteConnections/erConn1", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw1/vpnConnections/vpnConn2" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "destinationType": "CIDR", + "destinations": [ + "10.0.0.0/8", + "20.0.0.0/8", + "30.0.0.0/8" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azureFirewall1", + "nextHopType": "ResourceId" + } + ] + } + } + } + }, + "operationId": "HubRouteTables_CreateOrUpdate", + "title": "RouteTablePut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubVirtualNetworkConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubVirtualNetworkConnectionDelete.json new file mode 100644 index 000000000000..faa01a25c98e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubVirtualNetworkConnectionDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connection1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "HubVirtualNetworkConnections_Delete", + "title": "HubVirtualNetworkConnectionDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubVirtualNetworkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubVirtualNetworkConnectionGet.json new file mode 100644 index 000000000000..02fe8d340b36 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubVirtualNetworkConnectionGet.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connection1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "properties": { + "enableInternetSecurity": false, + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "bgpConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/bgpConnections/bgpConn1" + } + ], + "staticRoutes": [ + { + "name": "route1", + "addressPrefixes": [ + "10.1.0.0/16", + "10.2.0.0/16" + ], + "nextHopIpAddress": "10.0.0.68" + }, + { + "name": "route2", + "addressPrefixes": [ + "10.3.0.0/16", + "10.4.0.0/16" + ], + "nextHopIpAddress": "10.0.0.65" + } + ], + "staticRoutesConfig": { + "propagateStaticRoutes": true, + "vnetLocalRouteOverrideCriteria": "Equal" + } + } + } + } + } + } + }, + "operationId": "HubVirtualNetworkConnections_Get", + "title": "HubVirtualNetworkConnectionGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubVirtualNetworkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubVirtualNetworkConnectionList.json new file mode 100644 index 000000000000..a6e36463fb65 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubVirtualNetworkConnectionList.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connection1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection1", + "properties": { + "enableInternetSecurity": false, + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "bgpConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/bgpConnections/bgpConn1" + } + ], + "staticRoutes": [ + { + "name": "route1", + "addressPrefixes": [ + "10.1.0.0/16", + "10.2.0.0/16" + ], + "nextHopIpAddress": "10.0.0.68" + }, + { + "name": "route2", + "addressPrefixes": [ + "10.3.0.0/16", + "10.4.0.0/16" + ], + "nextHopIpAddress": "10.0.0.65" + } + ], + "staticRoutesConfig": { + "propagateStaticRoutes": true, + "vnetLocalRouteOverrideCriteria": "Equal" + } + } + } + } + }, + { + "name": "connection2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/virtualHubVnetConnections/connection2", + "properties": { + "enableInternetSecurity": false, + "provisioningState": "Succeeded", + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "bgpConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/bgpConnections/bgpConn2" + } + ], + "staticRoutes": [ + { + "name": "route1", + "addressPrefixes": [ + "10.1.0.0/16", + "10.2.0.0/16" + ], + "nextHopIpAddress": "10.0.0.68" + }, + { + "name": "route2", + "addressPrefixes": [ + "10.3.0.0/16", + "10.4.0.0/16" + ], + "nextHopIpAddress": "10.0.0.65" + } + ] + } + } + } + } + ] + } + } + }, + "operationId": "HubVirtualNetworkConnections_List", + "title": "HubVirtualNetworkConnectionList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubVirtualNetworkConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubVirtualNetworkConnectionPut.json new file mode 100644 index 000000000000..14c827662841 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/HubVirtualNetworkConnectionPut.json @@ -0,0 +1,196 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connection1", + "hubVirtualNetworkConnectionParameters": { + "properties": { + "enableInternetSecurity": false, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [ + { + "name": "route1", + "addressPrefixes": [ + "10.1.0.0/16", + "10.2.0.0/16" + ], + "nextHopIpAddress": "10.0.0.68" + }, + { + "name": "route2", + "addressPrefixes": [ + "10.3.0.0/16", + "10.4.0.0/16" + ], + "nextHopIpAddress": "10.0.0.65" + } + ], + "staticRoutesConfig": { + "vnetLocalRouteOverrideCriteria": "Equal" + } + } + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "properties": { + "enableInternetSecurity": false, + "provisioningState": "Updating", + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "bgpConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/bgpConnections/bgpConn1" + } + ], + "staticRoutes": [ + { + "name": "route1", + "addressPrefixes": [ + "10.1.0.0/16", + "10.2.0.0/16" + ], + "nextHopIpAddress": "10.0.0.68" + }, + { + "name": "route2", + "addressPrefixes": [ + "10.3.0.0/16", + "10.4.0.0/16" + ], + "nextHopIpAddress": "10.0.0.65" + } + ], + "staticRoutesConfig": { + "propagateStaticRoutes": true, + "vnetLocalRouteOverrideCriteria": "Equal" + } + } + } + } + } + }, + "201": { + "body": { + "name": "connection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubVirtualNetworkConnections/connection1", + "properties": { + "enableInternetSecurity": false, + "provisioningState": "Updating", + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/SpokeVnet1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "bgpConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/bgpConnections/bgpConn1" + } + ], + "staticRoutes": [ + { + "name": "route1", + "addressPrefixes": [ + "10.1.0.0/16", + "10.2.0.0/16" + ], + "nextHopIpAddress": "10.0.0.68" + }, + { + "name": "route2", + "addressPrefixes": [ + "10.3.0.0/16", + "10.4.0.0/16" + ], + "nextHopIpAddress": "10.0.0.65" + } + ], + "staticRoutesConfig": { + "propagateStaticRoutes": true, + "vnetLocalRouteOverrideCriteria": "Equal" + } + } + } + } + } + } + }, + "operationId": "HubVirtualNetworkConnections_CreateOrUpdate", + "title": "HubVirtualNetworkConnectionPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundNatRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundNatRuleCreate.json new file mode 100644 index 000000000000..d116ffaa25b1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundNatRuleCreate.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "inboundNatRuleName": "natRule1.1", + "inboundNatRuleParameters": { + "properties": { + "backendPort": 3389, + "enableFloatingIP": false, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3390, + "idleTimeoutInMinutes": 4, + "protocol": "Tcp" + } + }, + "loadBalancerName": "lb1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "natRule1.1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1", + "properties": { + "backendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "backendPort": 3389, + "enableFloatingIP": false, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3390, + "idleTimeoutInMinutes": 4, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + }, + "201": { + "body": { + "name": "natRule1.1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1", + "properties": { + "backendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "backendPort": 3389, + "enableFloatingIP": false, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3390, + "idleTimeoutInMinutes": 4, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + } + }, + "operationId": "InboundNatRules_CreateOrUpdate", + "title": "InboundNatRuleCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundNatRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundNatRuleDelete.json new file mode 100644 index 000000000000..81756e849772 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundNatRuleDelete.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "inboundNatRuleName": "natRule1.1", + "loadBalancerName": "lb1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "InboundNatRules_Delete", + "title": "InboundNatRuleDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundNatRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundNatRuleGet.json new file mode 100644 index 000000000000..d4036552e06f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundNatRuleGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "inboundNatRuleName": "natRule1.1", + "loadBalancerName": "lb1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "natRule1.1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1", + "properties": { + "backendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "backendPort": 3389, + "enableFloatingIP": false, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3390, + "idleTimeoutInMinutes": 4, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + } + }, + "operationId": "InboundNatRules_Get", + "title": "InboundNatRuleGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundNatRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundNatRuleList.json new file mode 100644 index 000000000000..ce21a4b5e0ff --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundNatRuleList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "natRule1.1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.1", + "properties": { + "backendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "backendPort": 3389, + "enableFloatingIP": false, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3390, + "idleTimeoutInMinutes": 4, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + }, + { + "name": "natRule1.3", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natRule1.3", + "properties": { + "backendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "backendPort": 3389, + "enableFloatingIP": false, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/ip1" + }, + "frontendPort": 3392, + "idleTimeoutInMinutes": 4, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ] + } + } + }, + "operationId": "InboundNatRules_List", + "title": "InboundNatRuleList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundSecurityRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundSecurityRuleGet.json new file mode 100644 index 000000000000..f0416fd19662 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundSecurityRuleGet.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "ruleCollectionName": "rule1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "rule1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1", + "properties": { + "provisioningState": "Succeeded", + "ruleType": "Permanent", + "rules": [ + { + "name": "inboundRule1", + "appliesOn": [ + "slbip1" + ], + "destinationPortRange": 22, + "destinationPortRanges": [ + "80-100" + ], + "sourceAddressPrefix": "50.20.121.5/32", + "protocol": "TCP" + } + ] + } + } + } + }, + "operationId": "InboundSecurityRule_Get", + "title": "Create Network Virtual Appliance Inbound Security Rules" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundSecurityRulePut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundSecurityRulePut.json new file mode 100644 index 000000000000..ace217256974 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/InboundSecurityRulePut.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "properties": { + "ruleType": "Permanent", + "rules": [ + { + "name": "inboundRule1", + "appliesOn": [ + "slbip1" + ], + "destinationPortRange": 22, + "destinationPortRanges": [ + "80-100" + ], + "sourceAddressPrefix": "50.20.121.5/32", + "protocol": "TCP" + } + ] + } + }, + "resourceGroupName": "rg1", + "ruleCollectionName": "rule1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "rule1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1", + "properties": { + "provisioningState": "Succeeded", + "ruleType": "Permanent", + "rules": [ + { + "name": "inboundRule1", + "appliesOn": [ + "slbip1" + ], + "destinationPortRange": 22, + "destinationPortRanges": [ + "80-100" + ], + "sourceAddressPrefix": "50.20.121.5/32", + "protocol": "TCP" + } + ] + } + } + }, + "201": { + "body": { + "name": "rule1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1", + "properties": { + "provisioningState": "Succeeded", + "ruleType": "Permanent", + "rules": [ + { + "name": "inboundRule1", + "appliesOn": [ + "slbip1" + ], + "destinationPortRange": 22, + "destinationPortRanges": [ + "80-100" + ], + "sourceAddressPrefix": "50.20.121.5/32", + "protocol": "TCP" + } + ] + } + } + } + }, + "operationId": "InboundSecurityRule_CreateOrUpdate", + "title": "Create Network Virtual Appliance Inbound Security Rules" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationCreate.json new file mode 100644 index 000000000000..99b8364127e3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationCreate.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipAllocationName": "test-ipallocation", + "parameters": { + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1" + }, + "prefix": "3.2.5.0/24" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ipallocation", + "type": "Microsoft.Network/IpAllocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation", + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1" + }, + "ipamAllocationId": "916d3b28-663f-448b-9abc-1bea9d5fed8f", + "prefix": "3.2.5.0/24" + } + } + }, + "201": { + "body": { + "name": "test-ipallocation", + "type": "Microsoft.Network/IpAllocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation", + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1" + }, + "ipamAllocationId": "916d3b28-663f-448b-9abc-1bea9d5fed8f", + "prefix": "3.2.5.0/24" + } + } + } + }, + "operationId": "IpAllocations_CreateOrUpdate", + "title": "Create IpAllocation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationDelete.json new file mode 100644 index 000000000000..c7c5da49089b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipAllocationName": "test-ipallocation", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "IpAllocations_Delete", + "title": "Delete IpAllocation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationGet.json new file mode 100644 index 000000000000..577c79700149 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationGet.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipAllocationName": "test-ipallocation", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ipallocation", + "type": "Microsoft.Network/IpAllocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation", + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1" + }, + "ipamAllocationId": "916d3b28-663f-448b-9abc-1bea9d5fed8f", + "prefix": "3.2.5.0/24" + } + } + } + }, + "operationId": "IpAllocations_Get", + "title": "Get IpAllocation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationList.json new file mode 100644 index 000000000000..7a128e5dec81 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationList.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ipallocation1", + "type": "Microsoft.Network/IpAllocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation1", + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1" + }, + "ipamAllocationId": "916d3b28-663f-448b-9abc-1bea9d5fed8f", + "prefix": "3.2.5.0/24" + } + }, + { + "name": "test-ipallocation2", + "type": "Microsoft.Network/IpAllocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation2", + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet2" + }, + "ipamAllocationId": "57dc7256-2ff7-43f2-b9c8-85a70b5c6408", + "prefix": "3.2.6.0/24" + } + } + ] + } + } + }, + "operationId": "IpAllocations_List", + "title": "List all IpAllocations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationListByResourceGroup.json new file mode 100644 index 000000000000..f763a85502bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationListByResourceGroup.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ipallocation1", + "type": "Microsoft.Network/IpAllocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation1", + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1" + }, + "ipamAllocationId": "916d3b28-663f-448b-9abc-1bea9d5fed8f", + "prefix": "3.2.5.0/24" + } + }, + { + "name": "test-ipallocation2", + "type": "Microsoft.Network/IpAllocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation2", + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet2" + }, + "ipamAllocationId": "57dc7256-2ff7-43f2-b9c8-85a70b5c6408", + "prefix": "3.2.6.0/24" + } + } + ] + } + } + }, + "operationId": "IpAllocations_ListByResourceGroup", + "title": "List IpAllocations in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationUpdateTags.json new file mode 100644 index 000000000000..1ebaa3eaebd6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpAllocationUpdateTags.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipAllocationName": "test-ipallocation", + "location": "centraluseuap", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ipallocation", + "type": "Microsoft.Network/IpAllocations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/IpAllocations/test-ipallocation", + "location": "centraluseuap", + "properties": { + "type": "Hypernet", + "allocationTags": { + "VNetID": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/HypernetVnet1" + }, + "ipamAllocationId": "916d3b28-663f-448b-9abc-1bea9d5fed8f", + "prefix": "3.2.5.0/24" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "IpAllocations_UpdateTags", + "title": "Update virtual network tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsCreate.json new file mode 100644 index 000000000000..a6da1571f39a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsCreate.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipGroupsName": "ipGroups1", + "parameters": { + "location": "West US", + "properties": { + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ] + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ipGroups1", + "type": "Microsoft.Network/ipGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1", + "location": "westcentralus", + "properties": { + "firewallPolicies": [], + "firewalls": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ], + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "ipGroups1", + "type": "Microsoft.Network/ipGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1", + "location": "westcentralus", + "properties": { + "firewallPolicies": [], + "firewalls": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ], + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "IpGroups_CreateOrUpdate", + "title": "CreateOrUpdate_IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsDelete.json new file mode 100644 index 000000000000..bfac5c1adaa7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipGroupsName": "ipGroups1", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/ipGroups/ipGroups1?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "IpGroups_Delete", + "title": "Delete_IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsGet.json new file mode 100644 index 000000000000..4906c3cbdb9d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipGroupsName": "ipGroups1", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ipGroups1", + "type": "Microsoft.Network/ipGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1", + "location": "westcentralus", + "properties": { + "firewallPolicies": [], + "firewalls": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ], + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "IpGroups_Get", + "title": "Get_IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsListByResourceGroup.json new file mode 100644 index 000000000000..168b8cb40cf1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsListByResourceGroup.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ipGroups1", + "type": "Microsoft.Network/ipGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups", + "location": "westcentralus", + "properties": { + "firewallPolicies": [], + "firewalls": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ], + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "provisioningState": "Succeeded" + } + }, + { + "name": "ipGroups2", + "type": "Microsoft.Network/ipGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups", + "location": "centralus", + "properties": { + "firewallPolicies": [], + "firewalls": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ], + "ipAddresses": [ + "14.64.39.16/32", + "41.74.146.80/31", + "42.74.147.32/28" + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "IpGroups_ListByResourceGroup", + "title": "ListByResourceGroup_IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsListBySubscription.json new file mode 100644 index 000000000000..1e008d88017c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsListBySubscription.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "iptag1", + "type": "Microsoft.Network/ipGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup1/ipGroups", + "location": "westcentralus", + "properties": { + "firewallPolicies": [], + "firewalls": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ], + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "provisioningState": "Succeeded" + } + }, + { + "name": "iptag2", + "type": "Microsoft.Network/ipGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup2/ipGroups", + "location": "centralus", + "properties": { + "firewallPolicies": [], + "firewalls": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ], + "ipAddresses": [ + "14.64.39.16/32", + "41.74.146.80/31", + "42.74.147.32/28" + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "IpGroups_List", + "title": "List_IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsUpdateTags.json new file mode 100644 index 000000000000..2b6d70bb8a92 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpGroupsUpdateTags.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipGroupsName": "ipGroups1", + "parameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ipGroups1", + "type": "Microsoft.Network/ipGroups", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/resourceGroups/myResourceGroup/ipGroups/ipGroups1", + "location": "westcentralus", + "properties": { + "firewallPolicies": [], + "firewalls": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azurefirewall" + } + ], + "ipAddresses": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "provisioningState": "Succeeded" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "IpGroups_UpdateGroups", + "title": "Update_IpGroups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_Create.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_Create.json new file mode 100644 index 000000000000..a49cf1d816bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_Create.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "body": { + "location": "eastus", + "properties": { + "description": "Test description.", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "parentPoolName": "" + } + }, + "networkManagerName": "TestNetworkManager", + "poolName": "TestPool", + "resourceGroupName": "rg1", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "IpamPools_Create", + "responses": { + "200": { + "body": { + "name": "TestPool", + "type": "Microsoft.Network/networkManagers/ipamPools", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool", + "location": "eastus", + "properties": { + "description": "Test description.", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "ipAddressType": [ + "IPv4" + ], + "parentPoolName": "", + "provisioningState": "Updating" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "TestPool", + "type": "Microsoft.Network/networkManagers/ipamPools", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool", + "location": "eastus", + "properties": { + "description": "Test description.", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "ipAddressType": [ + "IPv4" + ], + "parentPoolName": "", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + }, + "tags": {} + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/ipamPoolOperationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "IpamPools_Create" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_Delete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_Delete.json new file mode 100644 index 000000000000..ea4bb1cd905a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_Delete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "poolName": "TestPool", + "resourceGroupName": "rg1", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "IpamPools_Delete", + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/ipamPoolOperationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "IpamPools_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_Get.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_Get.json new file mode 100644 index 000000000000..e78679c8f73b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_Get.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "poolName": "TestPool", + "resourceGroupName": "rg1", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "IpamPools_Get", + "responses": { + "200": { + "body": { + "name": "TestPool", + "type": "Microsoft.Network/networkManagers/ipamPools", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool", + "location": "eastus", + "properties": { + "description": "Test description.", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "ipAddressType": [ + "IPv4" + ], + "parentPoolName": "", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "IpamPools_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_GetPoolUsage.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_GetPoolUsage.json new file mode 100644 index 000000000000..526bb397d698 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_GetPoolUsage.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "poolName": "TestPool", + "resourceGroupName": "rg1", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "IpamPools_GetPoolUsage", + "responses": { + "200": { + "body": { + "addressPrefixes": [ + "10.0.0.0/8", + "192.0.0.0/8" + ], + "allocatedAddressPrefixes": [ + "10.0.2.0/26", + "10.0.3.0/26" + ], + "availableAddressPrefixes": [ + "10.0.1.0/24", + "10.0.2.64/26", + "10.0.2.128/25", + "10.0.3.64/26", + "10.0.3.128/25", + "10.0.4.0/22", + "10.0.8.0/21", + "10.0.16.0/20", + "10.0.32.0/19", + "10.0.64.0/18", + "10.0.128.0/17", + "10.1.0.0/16", + "10.2.0.0/15", + "10.4.0.0/14", + "10.8.0.0/13", + "10.16.0.0/12", + "10.32.0.0/11", + "10.64.0.0/10", + "10.128.0.0/9", + "192.0.0.0/8" + ], + "childPools": [ + { + "addressPrefixes": [ + "10.0.2.0/26" + ], + "resourceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool1" + }, + { + "addressPrefixes": [ + "10.0.3.0/26" + ], + "resourceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool2" + } + ], + "numberOfAllocatedIPAddresses": "128", + "numberOfAvailableIPAddresses": "33554048", + "numberOfReservedIPAddresses": "256", + "reservedAddressPrefixes": [ + "10.0.0.0/24" + ], + "totalNumberOfIPAddresses": "33554432" + } + } + }, + "operationId": "IpamPools_GetPoolUsage" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_List.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_List.json new file mode 100644 index 000000000000..24185afbbcd7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_List.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "IpamPools_List", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "TestPool", + "type": "Microsoft.Network/networkManagers/ipamPools", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool", + "location": "eastus", + "properties": { + "description": "Test description.", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "ipAddressType": [ + "IPv4" + ], + "parentPoolName": "", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "IpamPools_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_ListAssociatedResources.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_ListAssociatedResources.json new file mode 100644 index 000000000000..779f403b35b0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_ListAssociatedResources.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "poolName": "TestPool", + "resourceGroupName": "rg1", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "IpamPools_ListAssociatedResources", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool/listAssociatedResources?api-version=2025-07-01", + "value": [ + { + "description": "", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "createdAt": "2020-09-09T20:00:00.0000000Z", + "numberOfReservedIPAddresses": "0", + "poolId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool", + "reservationExpiresAt": null, + "reservedPrefixes": [], + "resourceId": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testVnet", + "totalNumberOfIPAddresses": "256" + } + ] + } + } + }, + "operationId": "IpamPools_ListAssociatedResources" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_Update.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_Update.json new file mode 100644 index 000000000000..04f539ba22f6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/IpamPools_Update.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "parameters": { + "properties": { + "description": "Test description.", + "displayName": "TestPool" + } + }, + "poolName": "TestPool", + "resourceGroupName": "rg1", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "IpamPools_Update", + "responses": { + "200": { + "body": { + "name": "TestPool", + "type": "Microsoft.Network/networkManagers/ipamPools", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool", + "location": "eastus", + "properties": { + "description": "Test description.", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "ipAddressType": [ + "IPv4" + ], + "parentPoolName": "test-ipam-pool", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "IpamPools_Update" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LBBackendAddressPoolListWithBackendAddressesPoolType.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LBBackendAddressPoolListWithBackendAddressesPoolType.json new file mode 100644 index 000000000000..55df0d552983 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LBBackendAddressPoolListWithBackendAddressesPoolType.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "backend", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", + "properties": { + "loadBalancerBackendAddresses": [ + { + "name": "address1", + "properties": { + "ipAddress": "10.0.0.4", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + }, + { + "name": "address2", + "properties": { + "ipAddress": "10.0.0.5", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "LoadBalancerBackendAddressPools_List", + "title": "Load balancer with BackendAddressPool containing BackendAddresses" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LBBackendAddressPoolWithBackendAddressesGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LBBackendAddressPoolWithBackendAddressesGet.json new file mode 100644 index 000000000000..6c2cbfbf4132 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LBBackendAddressPoolWithBackendAddressesGet.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "backendAddressPoolName": "backend", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "backend", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", + "properties": { + "loadBalancerBackendAddresses": [ + { + "name": "address1", + "properties": { + "ipAddress": "10.0.0.4", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + }, + { + "name": "address2", + "properties": { + "ipAddress": "10.0.0.5", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "LoadBalancerBackendAddressPools_Get", + "title": "LoadBalancer with BackendAddressPool with BackendAddresses" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LBBackendAddressPoolWithBackendAddressesPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LBBackendAddressPoolWithBackendAddressesPut.json new file mode 100644 index 000000000000..4db5f8332986 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LBBackendAddressPoolWithBackendAddressesPut.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "backendAddressPoolName": "backend", + "loadBalancerName": "lb", + "parameters": { + "properties": { + "loadBalancerBackendAddresses": [ + { + "name": "address1", + "properties": { + "ipAddress": "10.0.0.4", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + }, + { + "name": "address2", + "properties": { + "ipAddress": "10.0.0.5", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + } + ] + } + }, + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "backend", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", + "properties": { + "loadBalancerBackendAddresses": [ + { + "name": "address1", + "properties": { + "ipAddress": "10.0.0.4", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + }, + { + "name": "address2", + "properties": { + "ipAddress": "10.0.0.5", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "backend", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", + "properties": { + "loadBalancerBackendAddresses": [ + { + "name": "address1", + "properties": { + "ipAddress": "10.0.0.4", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + }, + { + "name": "address2", + "properties": { + "ipAddress": "10.0.0.5", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "LoadBalancerBackendAddressPools_CreateOrUpdate", + "title": "Update load balancer backend pool with backend addresses containing virtual network and IP address." +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerBackendAddressPoolDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerBackendAddressPoolDelete.json new file mode 100644 index 000000000000..f6a04560479b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerBackendAddressPoolDelete.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "backendAddressPoolName": "backend", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "LoadBalancerBackendAddressPools_Delete", + "title": "BackendAddressPoolDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerBackendAddressPoolGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerBackendAddressPoolGet.json new file mode 100644 index 000000000000..6965be43a77a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerBackendAddressPoolGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "backendAddressPoolName": "backend", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "backend", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", + "properties": { + "backendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "LoadBalancerBackendAddressPools_Get", + "title": "LoadBalancerBackendAddressPoolGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerBackendAddressPoolList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerBackendAddressPoolList.json new file mode 100644 index 000000000000..09e755e8f95b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerBackendAddressPoolList.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "backend", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/backend", + "properties": { + "backendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic/ipConfigurations/default-ip-config" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "LoadBalancerBackendAddressPools_List", + "title": "LoadBalancerBackendAddressPoolList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreate.json new file mode 100644 index 000000000000..c0f7ee22db8b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreate.json @@ -0,0 +1,349 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "properties": {} + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "scope": "Public" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableConnectionTracking": false, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "scope": "Public" + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableConnectionTracking": false, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "scope": "Public" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateGatewayLoadBalancerConsumer.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateGatewayLoadBalancerConsumer.json new file mode 100644 index 000000000000..79d81b2784a6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateGatewayLoadBalancerConsumer.json @@ -0,0 +1,353 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "properties": {} + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "gatewayLoadBalancer": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "gatewayLoadBalancer": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider" + }, + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "gatewayLoadBalancer": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider" + }, + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with Gateway Load Balancer Consumer configured" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateGatewayLoadBalancerProviderWithOneBackendPool.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateGatewayLoadBalancerProviderWithOneBackendPool.json new file mode 100644 index 000000000000..e06a22b0a7b5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateGatewayLoadBalancerProviderWithOneBackendPool.json @@ -0,0 +1,335 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "properties": { + "tunnelInterfaces": [ + { + "type": "Internal", + "identifier": 900, + "port": 15000, + "protocol": "VXLAN" + }, + { + "type": "Internal", + "identifier": 901, + "port": 15001, + "protocol": "VXLAN" + } + ] + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + } + ], + "backendPort": 0, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 0, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "All" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + }, + "sku": { + "name": "Gateway" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded", + "tunnelInterfaces": [ + { + "type": "Internal", + "identifier": 900, + "port": 15000, + "protocol": "VXLAN" + }, + { + "type": "Internal", + "identifier": 901, + "port": 15001, + "protocol": "VXLAN" + } + ] + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + } + ], + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Gateway" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded", + "tunnelInterfaces": [ + { + "type": "Internal", + "identifier": 900, + "port": 15000, + "protocol": "VXLAN" + }, + { + "type": "Internal", + "identifier": 901, + "port": 15001, + "protocol": "VXLAN" + } + ] + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + } + ], + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Gateway" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with Gateway Load Balancer Provider configured with one Backend Pool" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateGatewayLoadBalancerProviderWithTwoBackendPool.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateGatewayLoadBalancerProviderWithTwoBackendPool.json new file mode 100644 index 000000000000..7bd868e419cc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateGatewayLoadBalancerProviderWithTwoBackendPool.json @@ -0,0 +1,366 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb1", + "properties": {} + }, + { + "name": "be-lb2", + "properties": {} + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPool": {}, + "backendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2" + } + ], + "backendPort": 0, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 0, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "All" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + }, + "sku": { + "name": "Gateway" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb1", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded", + "tunnelInterfaces": [ + { + "type": "Internal", + "identifier": 900, + "port": 15000, + "protocol": "VXLAN" + } + ] + } + }, + { + "name": "be-lb2", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded", + "tunnelInterfaces": [ + { + "type": "Internal", + "identifier": 901, + "port": 15001, + "protocol": "VXLAN" + } + ] + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2" + } + ], + "backendPort": 0, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 0, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Gateway" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb1", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded", + "tunnelInterfaces": [ + { + "type": "Internal", + "identifier": 900, + "port": 15000, + "protocol": "VXLAN" + } + ] + } + }, + { + "name": "be-lb2", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded", + "tunnelInterfaces": [ + { + "type": "Internal", + "identifier": 901, + "port": 15001, + "protocol": "VXLAN" + } + ] + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb2" + } + ], + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Gateway" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with Gateway Load Balancer Provider configured with two Backend Pool" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateGlobalTier.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateGlobalTier.json new file mode 100644 index 000000000000..43ca3931a998 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateGlobalTier.json @@ -0,0 +1,319 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "properties": { + "loadBalancerBackendAddresses": [ + { + "name": "regional-lb1-address", + "properties": { + "loadBalancerFrontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb" + } + } + } + ] + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + }, + "sku": { + "name": "Standard", + "tier": "Global" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancerBackendAddresses": [ + { + "name": "regional-lb1-address", + "properties": { + "loadBalancerFrontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb" + } + } + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard", + "tier": "Global" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancerBackendAddresses": [ + { + "name": "regional-lb1-address", + "properties": { + "loadBalancerFrontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/regional-lb-rg1/providers/Microsoft.Network/loadBalancers/regional-lb/frontendIPConfigurations/fe-rlb" + } + } + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard", + "tier": "Global" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with Global Tier and one regional load balancer in its backend pool" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateStandardSku.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateStandardSku.json new file mode 100644 index 000000000000..2e9021adf676 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateStandardSku.json @@ -0,0 +1,346 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "properties": {} + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableConnectionTracking": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableConnectionTracking": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with Standard SKU" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateWithInboundNatPool.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateWithInboundNatPool.json new file mode 100644 index 000000000000..32c89a73007b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateWithInboundNatPool.json @@ -0,0 +1,182 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [], + "frontendIPConfigurations": [ + { + "name": "test", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet" + } + }, + "zones": [] + } + ], + "inboundNatPools": [ + { + "name": "test", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test", + "properties": { + "backendPort": 8888, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test" + }, + "frontendPortRangeEnd": 8085, + "frontendPortRangeStart": 8080, + "idleTimeoutInMinutes": 10, + "protocol": "Tcp" + } + } + ], + "inboundNatRules": [], + "loadBalancingRules": [], + "outboundRules": [], + "probes": [] + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [], + "frontendIPConfigurations": [ + { + "name": "test", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test", + "properties": { + "inboundNatPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet" + } + } + } + ], + "inboundNatPools": [ + { + "name": "test", + "type": "Microsoft.Network/loadBalancers/inboundNatPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test", + "properties": { + "backendPort": 8888, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test" + }, + "frontendPortRangeEnd": 8085, + "frontendPortRangeStart": 8080, + "idleTimeoutInMinutes": 10, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "inboundNatRules": [], + "loadBalancingRules": [], + "outboundRules": [], + "probes": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [], + "frontendIPConfigurations": [ + { + "name": "test", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test", + "properties": { + "inboundNatPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/lbvnet/subnets/lbsubnet" + } + } + } + ], + "inboundNatPools": [ + { + "name": "test", + "type": "Microsoft.Network/loadBalancers/inboundNatPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatPools/test", + "properties": { + "backendPort": 8888, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/test" + }, + "frontendPortRangeEnd": 8085, + "frontendPortRangeStart": 8080, + "idleTimeoutInMinutes": 10, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "inboundNatRules": [], + "loadBalancingRules": [], + "outboundRules": [], + "probes": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with inbound nat pool" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateWithOutboundRules.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateWithOutboundRules.json new file mode 100644 index 000000000000..5c33f8be9f48 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateWithOutboundRules.json @@ -0,0 +1,428 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "properties": {} + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": true, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "Tcp" + } + } + ], + "outboundRules": [ + { + "name": "rule1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "frontendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "protocol": "All" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "outboundRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "outboundRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1" + } + ], + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": true, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [ + { + "name": "rule1", + "type": "Microsoft.Network/loadBalancers/outboundRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1", + "properties": { + "allocatedOutboundPorts": 1024, + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "enableTcpReset": false, + "frontendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "idleTimeoutInMinutes": 4, + "provisioningState": "Succeeded", + "protocol": "All" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "outboundRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "outboundRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1" + } + ], + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": true, + "enableFloatingIP": true, + "enableTcpReset": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [ + { + "name": "rule1", + "type": "Microsoft.Network/loadBalancers/outboundRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/outboundRules/rule1", + "properties": { + "allocatedOutboundPorts": 1024, + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "enableTcpReset": false, + "frontendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "idleTimeoutInMinutes": 4, + "provisioningState": "Succeeded", + "protocol": "All" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with outbound rules" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateWithSyncModePropertyOnPool.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateWithSyncModePropertyOnPool.json new file mode 100644 index 000000000000..e4ff673b64b6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateWithSyncModePropertyOnPool.json @@ -0,0 +1,357 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "properties": { + "syncMode": "Automatic", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded", + "syncMode": "Automatic", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded", + "syncMode": "Automatic", + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb" + } + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with Sync Mode Property on Pool" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateWithZones.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateWithZones.json new file mode 100644 index 000000000000..8f71a3c65e59 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerCreateWithZones.json @@ -0,0 +1,353 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "properties": {} + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + }, + "zones": [ + "1" + ] + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "properties": { + "intervalInSeconds": 15, + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + }, + "zones": [ + "1" + ] + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "eastus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + }, + "zones": [ + "1" + ] + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_CreateOrUpdate", + "title": "Create load balancer with Frontend IP in Zone 1" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerDelete.json new file mode 100644 index 000000000000..74d94f90ab2f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerDelete.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "LoadBalancers_Delete", + "title": "Delete load balancer" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerFrontendIPConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerFrontendIPConfigurationGet.json new file mode 100644 index 000000000000..24c6aa76e5a6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerFrontendIPConfigurationGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "frontendIPConfigurationName": "frontend", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "frontend", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + } + }, + "operationId": "LoadBalancerFrontendIPConfigurations_Get", + "title": "LoadBalancerFrontendIPConfigurationGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerFrontendIPConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerFrontendIPConfigurationList.json new file mode 100644 index 000000000000..1c93b6dcb4a5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerFrontendIPConfigurationList.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "frontend", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/frontend", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ] + } + } + }, + "operationId": "LoadBalancerFrontendIPConfigurations_List", + "title": "LoadBalancerFrontendIPConfigurationList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerGet.json new file mode 100644 index 000000000000..ff7d0a9855e5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerGet.json @@ -0,0 +1,143 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "westus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "scope": "Public" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_Get", + "title": "Get load balancer" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerGetInboundNatRulePortMapping.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerGetInboundNatRulePortMapping.json new file mode 100644 index 000000000000..01178591ccac --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerGetInboundNatRulePortMapping.json @@ -0,0 +1,165 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "westus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancerBackendAddresses": [ + { + "name": "8bec96ef-0a6a-45b8-9860-4ffde7bf3572", + "properties": { + "inboundNatRulesPortMapping": [ + { + "backendPort": 3389, + "frontendPort": 3389, + "inboundNatRuleName": "natRule" + } + ], + "ipAddress": "10.0.0.4", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 0, + "frontendPortRangeEnd": 4000, + "frontendPortRangeStart": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "probe-lb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "LoadBalancers_Get", + "title": "Get load balancer with inbound NAT rule port mapping" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerGetReduced.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerGetReduced.json new file mode 100644 index 000000000000..3e12b66bdaa5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerGetReduced.json @@ -0,0 +1,39 @@ +{ + "title": "Get load balancer reduced", + "operationId": "LoadBalancers_Get", + "parameters": { + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg-name", + "loadBalancerName": "lb-name", + "api-version": "2025-07-01", + "detailLevel": "Reduced" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Network/loadBalancers/lb-name", + "name": "lb-name", + "type": "Microsoft.Network/loadBalancers", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "frontendIPConfigurations": [ + { + "name": "frontendConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg-name/providers/Microsoft.Network/loadBalancers/lb-name/frontendIPConfigurations/frontendConfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ] + }, + "sku": { + "name": "Standard", + "tier": "Regional" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerHealth.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerHealth.json new file mode 100644 index 000000000000..ae1c28c89e55 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerHealth.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "groupName": "rg1", + "loadBalancerName": "lb1", + "loadBalancingRuleName": "rulelb", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "down": 0, + "loadBalancerBackendAddresses": [ + { + "ipAddress": "10.1.0.4", + "networkInterfaceIPConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/NIC1/IpConfigurations/ipConfig", + "reason": "Up_Probe_Success", + "state": "Up" + } + ], + "up": 1 + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus2euap/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "LoadBalancerLoadBalancingRules_Health", + "title": "Query load balancing rule health" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerList.json new file mode 100644 index 000000000000..d1970cf1463c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerList.json @@ -0,0 +1,164 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "westus", + "properties": { + "backendAddressPools": [ + { + "name": "belb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "felb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "inrlb", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb" + }, + "backendPort": 80, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "prlb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Basic" + } + }, + { + "name": "lb2", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb2", + "location": "westus", + "properties": { + "backendAddressPools": [], + "frontendIPConfigurations": [], + "inboundNatPools": [], + "inboundNatRules": [], + "loadBalancingRules": [], + "probes": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Basic" + } + } + ] + } + } + }, + "operationId": "LoadBalancers_List", + "title": "List load balancers in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerListAll.json new file mode 100644 index 000000000000..1f65990218b7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerListAll.json @@ -0,0 +1,163 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "westus", + "properties": { + "backendAddressPools": [ + { + "name": "belb", + "type": "Microsoft.Network/loadBalancers/backendAddressPools", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "felb", + "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "inrlb", + "type": "Microsoft.Network/loadBalancers/inboundNatRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inrlb", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/belb" + }, + "backendPort": 80, + "enableFloatingIP": true, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/felb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "probes": [ + { + "name": "prlb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/prlb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Basic" + } + }, + { + "name": "lb3", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb3", + "location": "westus", + "properties": { + "backendAddressPools": [], + "frontendIPConfigurations": [], + "inboundNatPools": [], + "inboundNatRules": [], + "loadBalancingRules": [], + "probes": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Basic" + } + } + ] + } + } + }, + "operationId": "LoadBalancers_ListAll", + "title": "List all load balancers" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerLoadBalancingRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerLoadBalancingRuleGet.json new file mode 100644 index 000000000000..ce731402c9f3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerLoadBalancingRuleGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb1", + "loadBalancingRuleName": "rule1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "rule1", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1" + }, + "backendPort": 80, + "enableFloatingIP": false, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + } + }, + "operationId": "LoadBalancerLoadBalancingRules_Get", + "title": "LoadBalancerLoadBalancingRuleGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerLoadBalancingRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerLoadBalancingRuleList.json new file mode 100644 index 000000000000..8416e8a505b1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerLoadBalancingRuleList.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "rule1", + "type": "Microsoft.Network/loadBalancers/loadBalancingRules", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/loadBalancingRules/rule1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1" + }, + "backendPort": 80, + "enableFloatingIP": false, + "enableTcpReset": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/probes/probe1" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ] + } + } + }, + "operationId": "LoadBalancerLoadBalancingRules_List", + "title": "LoadBalancerLoadBalancingRuleList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerNetworkInterfaceListSimple.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerNetworkInterfaceListSimple.json new file mode 100644 index 000000000000..990d710e3b31 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerNetworkInterfaceListSimple.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "mynic", + "type": "Microsoft.Network/networkInterfaces", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic", + "location": "westus", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [] + }, + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/inbound1" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet" + } + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + ] + } + } + }, + "operationId": "LoadBalancerNetworkInterfaces_List", + "title": "LoadBalancerNetworkInterfaceListSimple" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerNetworkInterfaceListVmss.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerNetworkInterfaceListVmss.json new file mode 100644 index 000000000000..9d7555edfec9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerNetworkInterfaceListVmss.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vmss1Nic", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net" + }, + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "vmss1IpConfig", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.0" + } + ], + "primary": true, + "privateIPAddress": "10.0.0.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default" + } + } + } + ], + "macAddress": "00-00-00-00-00-00", + "primary": true, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualMachine": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0" + } + } + }, + { + "name": "vmss1Nic", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "aaaaaaaaaaaaaaaaaaaaaaaaaa.dx.internal.cloudapp.net" + }, + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "vmss1IpConfig", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/vmss1Nic/ipConfigurations/vmss1IpConfig", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/bepool" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/natpool.1" + } + ], + "primary": true, + "privateIPAddress": "10.0.0.5", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vmss1Vnet/subnets/default" + } + } + } + ], + "macAddress": "00-00-00-00-00-00", + "primary": true, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "virtualMachine": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1" + } + } + } + ] + } + } + }, + "operationId": "LoadBalancerNetworkInterfaces_List", + "title": "LoadBalancerNetworkInterfaceListVmss" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerOutboundRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerOutboundRuleGet.json new file mode 100644 index 000000000000..611b1071752a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerOutboundRuleGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb1", + "outboundRuleName": "rule1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "rule1", + "type": "Microsoft.Network/loadBalancers/outboundRules", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1", + "properties": { + "allocatedOutboundPorts": 64, + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1" + }, + "enableTcpReset": true, + "frontendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend" + } + ], + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + } + }, + "operationId": "LoadBalancerOutboundRules_Get", + "title": "LoadBalancerOutboundRuleGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerOutboundRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerOutboundRuleList.json new file mode 100644 index 000000000000..cd1e19fd0e22 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerOutboundRuleList.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "rule1", + "type": "Microsoft.Network/loadBalancers/outboundRules", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/outboundRules/rule1", + "properties": { + "allocatedOutboundPorts": 64, + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bepool1" + }, + "enableTcpReset": true, + "frontendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfrontend" + } + ], + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ] + } + } + }, + "operationId": "LoadBalancerOutboundRules_List", + "title": "LoadBalancerOutboundRuleList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerProbeGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerProbeGet.json new file mode 100644 index 000000000000..8c21ea84cc33 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerProbeGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "probeName": "probe1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "probe1", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/probe1", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + } + }, + "operationId": "LoadBalancerProbes_Get", + "title": "LoadBalancerProbeGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerProbeList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerProbeList.json new file mode 100644 index 000000000000..f4620ab70841 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerProbeList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "prlb", + "type": "Microsoft.Network/loadBalancers/probes", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/probes/prlb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ] + } + } + }, + "operationId": "LoadBalancerProbes_List", + "title": "LoadBalancerProbeList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerUpdateTags.json new file mode 100644 index 000000000000..396fa8480caa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancerUpdateTags.json @@ -0,0 +1,135 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loadBalancerName": "lb", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lb", + "type": "Microsoft.Network/loadBalancers", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb", + "location": "westus", + "properties": { + "backendAddressPools": [ + { + "name": "be-lb", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb", + "properties": { + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "fe-lb", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "in-nat-rule", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/inboundNatRules/in-nat-rule", + "properties": { + "backendPort": 3389, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rulelb", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/backendAddressPools/be-lb" + }, + "backendPort": 80, + "disableOutboundSnat": false, + "enableFloatingIP": true, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe-lb", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/probes/probe-lb", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/loadBalancingRules/rulelb" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "LoadBalancers_UpdateTags", + "title": "Update load balancer tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancersSwapPublicIpAddresses.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancersSwapPublicIpAddresses.json new file mode 100644 index 000000000000..2af1d2c37f78 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LoadBalancersSwapPublicIpAddresses.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "parameters": { + "frontendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/frontendIPConfigurations/lbfe1", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/pip2" + } + } + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb2/frontendIPConfigurations/lbfe2", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip1" + } + } + } + ] + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "LoadBalancers_SwapPublicIpAddresses", + "title": "Swap VIPs between two load balancers." +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LocalNetworkGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LocalNetworkGatewayCreate.json new file mode 100644 index 000000000000..75c3cc6f3212 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LocalNetworkGatewayCreate.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "localNetworkGatewayName": "localgw", + "parameters": { + "location": "Central US", + "properties": { + "fqdn": "site1.contoso.com", + "gatewayIpAddress": "11.12.13.14", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "localgw", + "type": "Microsoft.Network/localNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "location": "centralus", + "properties": { + "gatewayIpAddress": "11.12.13.14", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + }, + "201": { + "body": { + "name": "localgw", + "type": "Microsoft.Network/localNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "location": "centralus", + "properties": { + "gatewayIpAddress": "11.12.13.14", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + }, + "operationId": "LocalNetworkGateways_CreateOrUpdate", + "title": "CreateLocalNetworkGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LocalNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LocalNetworkGatewayDelete.json new file mode 100644 index 000000000000..70ce1291cae3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LocalNetworkGatewayDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "localNetworkGatewayName": "localgw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "LocalNetworkGateways_Delete", + "title": "DeleteLocalNetworkGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LocalNetworkGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LocalNetworkGatewayGet.json new file mode 100644 index 000000000000..72003395ff18 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LocalNetworkGatewayGet.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "localNetworkGatewayName": "localgw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "localgw", + "type": "Microsoft.Network/localNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "location": "centralus", + "properties": { + "gatewayIpAddress": "x.x.x.x", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + }, + "operationId": "LocalNetworkGateways_Get", + "title": "GetLocalNetworkGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LocalNetworkGatewayList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LocalNetworkGatewayList.json new file mode 100644 index 000000000000..13e617385c0d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LocalNetworkGatewayList.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "localgw1", + "type": "Microsoft.Network/localNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1", + "location": "centralus", + "properties": { + "gatewayIpAddress": "x.x.x.x", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + }, + { + "name": "localgw2", + "type": "Microsoft.Network/localNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2", + "location": "eastus", + "properties": { + "gatewayIpAddress": "x.x.x.x", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.2.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + ] + } + } + }, + "operationId": "LocalNetworkGateways_List", + "title": "ListLocalNetworkGateways" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LocalNetworkGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LocalNetworkGatewayUpdateTags.json new file mode 100644 index 000000000000..c598cd87660a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/LocalNetworkGatewayUpdateTags.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "localNetworkGatewayName": "lgw", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "lgw", + "type": "Microsoft.Network/localNetworkGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw", + "location": "westus", + "properties": { + "gatewayIpAddress": "12.0.0.1", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "LocalNetworkGateways_UpdateTags", + "title": "UpdateLocalNetworkGatewayTags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/MigrateLoadBalancerToIPBased.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/MigrateLoadBalancerToIPBased.json new file mode 100644 index 000000000000..54887e75a9b7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/MigrateLoadBalancerToIPBased.json @@ -0,0 +1,26 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "groupName": "rg1", + "loadBalancerName": "lb1", + "parameters": { + "pools": [ + "pool1", + "pool2" + ] + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "migratedPools": [ + "pool1", + "pool2" + ] + } + } + }, + "operationId": "LoadBalancers_MigrateToIpBased", + "title": "Migrate load balancer to IP Based" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayCreateOrUpdate.json new file mode 100644 index 000000000000..3cabdbffdae8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayCreateOrUpdate.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natgateway", + "parameters": { + "location": "westus", + "properties": { + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ] + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + } + }, + "202": {} + }, + "operationId": "NatGateways_CreateOrUpdate", + "title": "Create nat gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayCreateOrUpdateStandardV2Sku.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayCreateOrUpdateStandardV2Sku.json new file mode 100644 index 000000000000..de246f8a9c0b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayCreateOrUpdateStandardV2Sku.json @@ -0,0 +1,107 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natgateway", + "parameters": { + "location": "westus", + "properties": { + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ] + }, + "sku": { + "name": "StandardV2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "sourceVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + }, + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "StandardV2" + } + } + }, + "201": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpAddressesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress2" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "publicIpPrefixesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix2" + } + ], + "sourceVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + }, + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "StandardV2" + } + } + }, + "202": {} + }, + "operationId": "NatGateways_CreateOrUpdate", + "title": "Create nat gateway with StandardV2 Sku" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayDelete.json new file mode 100644 index 000000000000..f1db38ada973 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayDelete.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natGateway", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NatGateways_Delete", + "title": "Delete nat gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayGet.json new file mode 100644 index 000000000000..a5d1bd894701 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayGet.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natGateway", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "NatGateways_Get", + "title": "Get nat gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayGetStandardV2Sku.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayGetStandardV2Sku.json new file mode 100644 index 000000000000..dc936006be5c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayGetStandardV2Sku.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natGateway", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpAddressesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress2" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "publicIpPrefixesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix2" + } + ], + "sourceVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + }, + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "StandardV2" + } + } + } + }, + "operationId": "NatGateways_Get", + "title": "Get nat gateway with StandardV2 Sku" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayList.json new file mode 100644 index 000000000000..429f2ab0d2e9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayList.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateway/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + }, + { + "name": "test-natGateway2", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/natGateway/test-natGateway2", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + }, + { + "name": "test-natGateway3", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/natGateway/test-natGateway3", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpAddressesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress2" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "publicIpPrefixesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix2" + } + ], + "sourceVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + }, + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "StandardV2" + } + } + ] + } + } + }, + "operationId": "NatGateways_List", + "title": "List nat gateways in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayListAll.json new file mode 100644 index 000000000000..94efcbbe69fa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayListAll.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + }, + { + "name": "test-natGateway2", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/natGatewayes/test-natGateway2", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + }, + { + "name": "test-natGateway3", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/natGatewayes/test-natGateway3", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpAddressesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress2" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "publicIpPrefixesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix2" + } + ], + "sourceVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + }, + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "StandardV2" + } + } + ] + } + } + }, + "operationId": "NatGateways_ListAll", + "title": "List all nat gateways" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayUpdateTags.json new file mode 100644 index 000000000000..13791578ff1c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayUpdateTags.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natGateway", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "NatGateways_UpdateTags", + "title": "Update nat gateway tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayUpdateTagsStandardV2Sku.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayUpdateTagsStandardV2Sku.json new file mode 100644 index 000000000000..28f5d5d5c6e0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayUpdateTagsStandardV2Sku.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natGateway", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpAddressesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress2" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "publicIpPrefixesV6": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix2" + } + ], + "sourceVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet" + }, + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "StandardV2" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "NatGateways_UpdateTags", + "title": "Update nat gateway with StandardV2 Sku tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayWithNat64CreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayWithNat64CreateOrUpdate.json new file mode 100644 index 000000000000..18474e535af9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayWithNat64CreateOrUpdate.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natgateway", + "parameters": { + "location": "westus", + "properties": { + "nat64": "Enabled", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ] + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "nat64": "Enabled", + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "nat64": "Enabled", + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + } + }, + "202": {} + }, + "operationId": "NatGateways_CreateOrUpdate", + "title": "Create nat gateway with nat64" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayWithNat64Get.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayWithNat64Get.json new file mode 100644 index 000000000000..a2b404619e63 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayWithNat64Get.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natGateway", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "nat64": "Enabled", + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "subnets": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1" + } + ] + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "NatGateways_Get", + "title": "Get nat gateway with nat64" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayWithServiceGatewayCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayWithServiceGatewayCreateOrUpdate.json new file mode 100644 index 000000000000..8b8adc2dc3be --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayWithServiceGatewayCreateOrUpdate.json @@ -0,0 +1,90 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natgateway", + "parameters": { + "location": "westus", + "properties": { + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "serviceGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/SG1" + } + }, + "sku": { + "name": "Standard" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "serviceGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/SG1" + } + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "serviceGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/SG1" + } + }, + "sku": { + "name": "Standard" + } + } + }, + "202": {} + }, + "operationId": "NatGateways_CreateOrUpdate", + "title": "Create nat gateway with service gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayWithServiceGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayWithServiceGatewayGet.json new file mode 100644 index 000000000000..ac7975cd73cd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatGatewayWithServiceGatewayGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natGatewayName": "test-natGateway", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-natGateway", + "type": "Microsoft.Network/natGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 5, + "provisioningState": "Succeeded", + "publicIpAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "publicIpPrefixes": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/PublicIpPrefix1" + } + ], + "serviceGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/SG1" + } + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "NatGateways_Get", + "title": "Get nat gateway with service gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatRuleDelete.json new file mode 100644 index 000000000000..88b1da4347cd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatRuleDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "natRuleName": "natRule1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "NatRules_Delete", + "title": "NatRuleDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatRuleGet.json new file mode 100644 index 000000000000..023e84fc8153 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatRuleGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "natRuleName": "natRule1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "natRule1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/natRule1", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [], + "externalMappings": [], + "ingressVpnSiteLinkConnections": [], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24" + } + ], + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "NatRules_Get", + "title": "NatRuleGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatRuleList.json new file mode 100644 index 000000000000..1d18c1a4eb44 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatRuleList.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "natRule1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/natRule1", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/vpnLinkConnection1" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24" + } + ], + "ingressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/vpnLinkConnection2" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/cloudnet1-VNG/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + }, + { + "name": "natRule2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/natRule2", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/vpnLinkConnection1" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24" + } + ], + "ingressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/vpnLinkConnection2" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/cloudnet1-VNG1/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "NatRules_ListByVpnGateway", + "title": "NatRuleList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatRulePut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatRulePut.json new file mode 100644 index 000000000000..5d4ff279afc1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NatRulePut.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "NatRuleParameters": { + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/cloudnet1-VNG/ipConfigurations/default", + "mode": "EgressSnat" + } + }, + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "natRuleName": "natRule1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "natRule1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/natRule1", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/vpnLinkConnection1" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24" + } + ], + "ingressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/vpnLinkConnection2" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/cloudnet1-VNG/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "natRule1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/natRule1", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/vpnLinkConnection1" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24" + } + ], + "ingressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/vpnLinkConnection2" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/cloudnet1-VNG/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "NatRules_CreateOrUpdate", + "title": "NatRulePut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceCreate.json new file mode 100644 index 000000000000..044d638871dd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceCreate.json @@ -0,0 +1,143 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "test-nic", + "parameters": { + "location": "eastus", + "properties": { + "disableTcpStateTracking": true, + "enableAcceleratedNetworking": true, + "ipConfigurations": [ + { + "name": "ipconfig1", + "properties": { + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + }, + { + "name": "ipconfig2", + "properties": { + "privateIPAddressPrefixLength": 28 + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-nic", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "disableTcpStateTracking": true, + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + }, + { + "name": "ipconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig2", + "properties": { + "primary": false, + "privateIPAddress": "172.20.2.16/28", + "privateIPAddressPrefixLength": 28, + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "provisioningState": "Succeeded", + "vnetEncryptionSupported": false + } + } + }, + "201": { + "body": { + "name": "test-nic", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + }, + { + "name": "ipconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig2", + "properties": { + "primary": false, + "privateIPAddress": "172.20.2.16/28", + "privateIPAddressPrefixLength": 28, + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "provisioningState": "Succeeded", + "vnetEncryptionSupported": false + } + } + } + }, + "operationId": "NetworkInterfaces_CreateOrUpdate", + "title": "Create network interface" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceCreateGatewayLoadBalancerConsumer.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceCreateGatewayLoadBalancerConsumer.json new file mode 100644 index 000000000000..63c32e5df498 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceCreateGatewayLoadBalancerConsumer.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "test-nic", + "parameters": { + "location": "eastus", + "properties": { + "enableAcceleratedNetworking": true, + "ipConfigurations": [ + { + "name": "ipconfig1", + "properties": { + "gatewayLoadBalancer": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider" + }, + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-nic", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "gatewayLoadBalancer": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider" + }, + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "test-nic", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "gatewayLoadBalancer": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb-provider" + }, + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "NetworkInterfaces_CreateOrUpdate", + "title": "Create network interface with Gateway Load Balancer Consumer configured" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceDelete.json new file mode 100644 index 000000000000..5137b8b95677 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "test-nic", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "NetworkInterfaces_Delete", + "title": "Delete network interface" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceEffectiveNSGList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceEffectiveNSGList.json new file mode 100644 index 000000000000..e47b07eff5c7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceEffectiveNSGList.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "nic1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "association": { + "networkInterface": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1" + }, + "networkManager": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/nm1" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + }, + "effectiveSecurityRules": [ + { + "name": "securityRules/rule1", + "access": "Allow", + "destinationAddressPrefix": "0.0.0.0/32", + "destinationPortRange": "6579-6579", + "direction": "Inbound", + "priority": 234, + "sourceAddressPrefix": "0.0.0.0/32", + "sourcePortRange": "456-456", + "protocol": "Tcp" + }, + { + "name": "securityRules/default-allow-rdp", + "access": "Allow", + "destinationAddressPrefix": "0.0.0.0/0", + "destinationPortRange": "3389-3389", + "direction": "Inbound", + "priority": 1000, + "sourceAddressPrefix": "1.1.1.1/32", + "sourcePortRange": "0-65535", + "protocol": "Tcp" + }, + { + "name": "defaultSecurityRules/AllowInternetOutBound", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "0-65535", + "direction": "Outbound", + "expandedDestinationAddressPrefix": [ + "32.0.0.0/3", + "4.0.0.0/6", + "2.0.0.0/7", + "1.0.0.0/8" + ], + "priority": 65001, + "sourceAddressPrefix": "0.0.0.0/0", + "sourcePortRange": "0-65535", + "protocol": "All" + } + ], + "networkSecurityGroup": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/test-nsg" + } + } + ] + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com//subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/test-nsg/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkInterfaces_ListEffectiveNetworkSecurityGroups", + "title": "List network interface effective network security groups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceEffectiveRouteTableList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceEffectiveRouteTableList.json new file mode 100644 index 000000000000..3d93e12bd0cd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceEffectiveRouteTableList.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "nic1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "addressPrefix": [ + "172.20.2.0/24" + ], + "nextHopIpAddress": [], + "nextHopType": "VnetLocal", + "source": "Default", + "state": "Active" + }, + { + "addressPrefix": [ + "0.0.0.0/0" + ], + "nextHopIpAddress": [], + "nextHopType": "Internet", + "source": "Default", + "state": "Active" + }, + { + "addressPrefix": [ + "10.0.0.0/8" + ], + "nextHopIpAddress": [], + "nextHopType": "None", + "source": "Default", + "state": "Active" + }, + { + "addressPrefix": [ + "100.64.0.0/10" + ], + "nextHopIpAddress": [], + "nextHopType": "None", + "source": "Default", + "state": "Active" + }, + { + "addressPrefix": [ + "172.16.0.0/12" + ], + "nextHopIpAddress": [], + "nextHopType": "None", + "source": "Default", + "state": "Active" + }, + { + "addressPrefix": [ + "192.168.0.0/16" + ], + "nextHopIpAddress": [], + "nextHopType": "None", + "source": "Default", + "state": "Active" + } + ] + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkInterfaces_GetEffectiveRouteTable", + "title": "Show network interface effective route tables" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceGet.json new file mode 100644 index 000000000000..31a8ef5cc9bc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceGet.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "test-nic", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-nic", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "disableTcpStateTracking": true, + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "test.bx.internal.cloudapp.net" + }, + "dscpConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/dscpConfiguration/mydscpconfiguration" + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + }, + { + "name": "ipconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig2", + "properties": { + "primary": false, + "privateIPAddress": "172.20.2.16/28", + "privateIPAddressPrefixLength": 28, + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "macAddress": "00-0D-3A-1B-C7-21", + "networkSecurityGroup": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" + }, + "primary": true, + "provisioningState": "Succeeded", + "virtualMachine": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "vnetEncryptionSupported": false + } + } + } + }, + "operationId": "NetworkInterfaces_Get", + "title": "Get network interface" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceIPConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceIPConfigurationGet.json new file mode 100644 index 000000000000..5088a4d98b4a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceIPConfigurationGet.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipConfigurationName": "ipconfig1", + "networkInterfaceName": "mynic", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ipconfig1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/ipConfigurations/ipconfig1", + "properties": { + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1" + } + ], + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/myVirtualNetwork/subnets/frontendSubnet" + }, + "virtualNetworkTaps": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/vTAP1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/vTAP2" + } + ] + } + } + } + }, + "operationId": "NetworkInterfaceIPConfigurations_Get", + "title": "NetworkInterfaceIPConfigurationGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceIPConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceIPConfigurationList.json new file mode 100644 index 000000000000..5d3308cb0df0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceIPConfigurationList.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "nic1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ipconfig1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.0.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworks/vnet12/subnets/subnet12" + } + } + } + ] + } + } + }, + "operationId": "NetworkInterfaceIPConfigurations_List", + "title": "NetworkInterfaceIPConfigurationList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceList.json new file mode 100644 index 000000000000..ffcc8a8b102e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceList.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-nic", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "disableTcpStateTracking": true, + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "test.bx.internal.cloudapp.net" + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "macAddress": "00-0D-3A-1B-C7-21", + "networkSecurityGroup": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" + }, + "primary": true, + "provisioningState": "Succeeded", + "virtualMachine": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "vnetEncryptionSupported": false + } + }, + { + "name": "test-nic2", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2", + "location": "eastus", + "properties": { + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip2" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet2/subnets/default" + } + } + }, + { + "name": "ipconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig2", + "properties": { + "primary": false, + "privateIPAddress": "172.20.2.16/28", + "privateIPAddressPrefixLength": 28, + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "provisioningState": "Succeeded", + "vnetEncryptionSupported": false + } + } + ] + } + } + }, + "operationId": "NetworkInterfaces_List", + "title": "List network interfaces in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceListAll.json new file mode 100644 index 000000000000..3bcf680551b5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceListAll.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-nic", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "disableTcpStateTracking": true, + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [], + "internalDomainNameSuffix": "test.bx.internal.cloudapp.net" + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "macAddress": "00-0D-3A-1B-C7-21", + "networkSecurityGroup": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg" + }, + "primary": true, + "provisioningState": "Succeeded", + "virtualMachine": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "vnetEncryptionSupported": false + } + }, + { + "name": "test-nic2", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2", + "location": "eastus", + "properties": { + "disableTcpStateTracking": true, + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnew/providers/Microsoft.Network/networkInterfaces/test-nic2/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnew/providers/Microsoft.Network/publicIPAddresses/test-ip2" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rgnew/providers/Microsoft.Network/virtualNetworks/rgnew-vnet2/subnets/default" + } + } + } + ], + "provisioningState": "Succeeded", + "vnetEncryptionSupported": false + } + } + ] + } + } + }, + "operationId": "NetworkInterfaces_ListAll", + "title": "List all network interfaces" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceLoadBalancerList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceLoadBalancerList.json new file mode 100644 index 000000000000..5a52b40304e8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceLoadBalancerList.json @@ -0,0 +1,142 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "nic1", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "lbname1", + "type": "Microsoft.Network/loadBalancers", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1", + "location": "westus", + "properties": { + "backendAddressPools": [ + { + "name": "bepool1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1", + "properties": { + "backendIPConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "frontendIPConfigurations": [ + { + "name": "lbfrontend", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend", + "properties": { + "inboundNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1" + } + ], + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1" + } + ], + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/publicIPAddresses/myDynamicPublicIP" + } + } + } + ], + "inboundNatPools": [], + "inboundNatRules": [ + { + "name": "inbound1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/inboundNatRules/inbound1", + "properties": { + "backendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1" + }, + "backendPort": 3389, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend" + }, + "frontendPort": 3389, + "idleTimeoutInMinutes": 15, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "loadBalancingRules": [ + { + "name": "rule1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1", + "properties": { + "backendAddressPool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/backendAddressPools/bepool1" + }, + "backendPort": 80, + "enableFloatingIP": false, + "frontendIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/frontendIPConfigurations/lbfrontend" + }, + "frontendPort": 80, + "idleTimeoutInMinutes": 15, + "loadDistribution": "Default", + "probe": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1" + }, + "provisioningState": "Succeeded", + "protocol": "Tcp" + } + } + ], + "outboundRules": [], + "probes": [ + { + "name": "probe1", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/probes/probe1", + "properties": { + "intervalInSeconds": 15, + "loadBalancingRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/loadBalancers/lbname1/loadBalancingRules/rule1" + } + ], + "numberOfProbes": 2, + "port": 80, + "probeThreshold": 1, + "provisioningState": "Succeeded", + "requestPath": "healthcheck.aspx", + "protocol": "Http" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + ] + } + } + }, + "operationId": "NetworkInterfaceLoadBalancers_List", + "title": "NetworkInterfaceLoadBalancerList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceTapConfigurationCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceTapConfigurationCreate.json new file mode 100644 index 000000000000..92d3eb854fc8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceTapConfigurationCreate.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "mynic", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tapConfigurationName": "tapconfiguration1", + "tapConfigurationParameters": { + "properties": { + "virtualNetworkTap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + } + } + } + }, + "responses": { + "200": { + "body": { + "name": "tapConfiguration1", + "type": "Microsoft.Network/networkInterfaces/tapConfigurations", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", + "properties": { + "provisioningState": "Succeded", + "virtualNetworkTap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + } + } + } + }, + "201": { + "body": { + "name": "tapConfiguration1", + "type": "Microsoft.Network/networkInterfaces/tapConfigurations", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", + "properties": { + "provisioningState": "Succeded", + "virtualNetworkTap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + } + } + } + } + }, + "operationId": "NetworkInterfaceTapConfigurations_CreateOrUpdate", + "title": "Create Network Interface Tap Configurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceTapConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceTapConfigurationDelete.json new file mode 100644 index 000000000000..369e88fe5898 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceTapConfigurationDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "mynic", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tapConfigurationName": "tapconfiguration1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "NetworkInterfaceTapConfigurations_Delete", + "title": "Delete tap configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceTapConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceTapConfigurationGet.json new file mode 100644 index 000000000000..972d79b4c186 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceTapConfigurationGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "mynic", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tapConfigurationName": "tapconfiguration1" + }, + "responses": { + "200": { + "body": { + "name": "tapConfiguration1", + "type": "Microsoft.Network/networkInterfaces/tapConfigurations", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", + "properties": { + "provisioningState": "Succeded", + "virtualNetworkTap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + } + } + } + } + }, + "operationId": "NetworkInterfaceTapConfigurations_Get", + "title": "Get Network Interface Tap Configurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceTapConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceTapConfigurationList.json new file mode 100644 index 000000000000..608b9afee7cc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceTapConfigurationList.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "mynic", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "tapConfiguration1", + "type": "Microsoft.Network/networkInterfaces/tapConfigurations", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/networkInterfaces/mynic/tapConfigurations/tapConfiguration1", + "properties": { + "provisioningState": "Succeded", + "virtualNetworkTap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkTaps/testvtap" + } + } + } + ] + } + } + }, + "operationId": "NetworkInterfaceTapConfigurations_List", + "title": "List virtual network tap configurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceUpdateTags.json new file mode 100644 index 000000000000..75950e13f117 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkInterfaceUpdateTags.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkInterfaceName": "test-nic", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-nic", + "type": "Microsoft.Network/networkInterfaces", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic", + "location": "eastus", + "properties": { + "disableTcpStateTracking": true, + "dnsSettings": { + "appliedDnsServers": [], + "dnsServers": [] + }, + "enableAcceleratedNetworking": true, + "enableIPForwarding": false, + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-nic/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "172.20.2.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ], + "provisioningState": "Succeeded", + "vnetEncryptionSupported": false + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "NetworkInterfaces_UpdateTags", + "title": "Update network interface tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerActiveConnectivityConfigurationsList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerActiveConnectivityConfigurationsList.json new file mode 100644 index 000000000000..995f2cc17b28 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerActiveConnectivityConfigurationsList.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "parameters": { + "regions": [ + "westus" + ], + "skipToken": "fakeSkipTokenCode" + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "List Active Connectivity Configurations", + "responses": { + "200": { + "body": { + "skipToken": "FakeSkipTokenCode", + "value": [ + { + "commitTime": "2020-07-10T18:03:22.2578238+05:30", + "configurationGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "description": "A group for all test Virtual Networks", + "provisioningState": "Succeeded" + } + } + ], + "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "properties": { + "description": "Sample Configuration", + "appliesToGroups": [ + { + "groupConnectivity": "None", + "isGlobal": "False", + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "useHubGateway": "True" + } + ], + "connectivityTopology": "HubAndSpoke", + "deleteExistingPeering": "True", + "hubs": [ + { + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "provisioningState": "Succeeded" + }, + "region": "westus" + } + ] + } + } + }, + "operationId": "ListActiveConnectivityConfigurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerActiveSecurityAdminRulesList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerActiveSecurityAdminRulesList.json new file mode 100644 index 000000000000..78797ff44c8f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerActiveSecurityAdminRulesList.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "parameters": { + "regions": [ + "westus" + ], + "skipToken": "fakeSkipTokenCode" + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "List Active Security Admin Rules", + "responses": { + "200": { + "body": { + "skipToken": "FakeSkipTokenCode", + "value": [ + { + "commitTime": "2020-07-10T18:03:22.2578238+05:30", + "configurationDescription": "SampleDescription", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "kind": "Default", + "properties": { + "description": "Sample Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "flag": "AllowVnetInbound", + "priority": 1, + "provisioningState": "Succeeded", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "region": "westus", + "ruleCollectionAppliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" + } + ], + "ruleCollectionDescription": "SampleRuleCollectionDescription", + "ruleGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "description": "A group for all test Virtual Networks", + "provisioningState": "Succeeded" + } + } + ] + } + ] + } + } + }, + "operationId": "ListActiveSecurityAdminRules" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleCollectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleCollectionDelete.json new file mode 100644 index 000000000000..33f9d1183da4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleCollectionDelete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/TestNM/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "AdminRuleCollections_Delete", + "title": "Deletes an admin rule collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleCollectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleCollectionGet.json new file mode 100644 index 000000000000..4ea965c37b5b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleCollectionGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample rule collection", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AdminRuleCollections_Get", + "title": "Gets security admin rule collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleCollectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleCollectionList.json new file mode 100644 index 000000000000..a3ddda883eed --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleCollectionList.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample rule collection", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "AdminRuleCollections_List", + "title": "List security admin rule collections" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleCollectionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleCollectionPut.json new file mode 100644 index 000000000000..9145a97b46bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleCollectionPut.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollection": { + "properties": { + "description": "A sample policy", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + }, + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample policy", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AdminRuleCollections_CreateOrUpdate", + "title": "Create or Update an admin rule collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleDelete.json new file mode 100644 index 000000000000..dc10923f047b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleDelete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleAdminRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "AdminRules_Delete", + "title": "Deletes an admin rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleGet.json new file mode 100644 index 000000000000..0d3aa3a99cd5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleGet.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleAdminRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "priority": 1, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AdminRules_Get", + "title": "Gets security admin rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleList.json new file mode 100644 index 000000000000..200bc1c67371 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRuleList.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkManagers/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkmanagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "priority": 1, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "AdminRules_List", + "title": "List security admin rules" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRulePut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRulePut.json new file mode 100644 index 000000000000..8ffdf33e3e46 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRulePut.json @@ -0,0 +1,129 @@ +{ + "parameters": { + "adminRule": { + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "priority": 1, + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "Internet", + "addressPrefixType": "ServiceTag" + } + ], + "protocol": "Tcp" + } + }, + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleAdminRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "priority": 1, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "Internet", + "addressPrefixType": "ServiceTag" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "priority": 1, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "Internet", + "addressPrefixType": "ServiceTag" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AdminRules_CreateOrUpdate", + "title": "Create an admin rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRulePut_NetworkGroupSource.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRulePut_NetworkGroupSource.json new file mode 100644 index 000000000000..92d510a9839f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerAdminRulePut_NetworkGroupSource.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "adminRule": { + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/ng1", + "addressPrefixType": "NetworkGroup" + } + ], + "direction": "Inbound", + "priority": 1, + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "Internet", + "addressPrefixType": "ServiceTag" + } + ], + "protocol": "Tcp" + } + }, + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleAdminRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule using a network group as a source and destination.", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "priority": 1, + "provisioningState": "Succeeded", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "Internet", + "addressPrefixType": "ServiceTag" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "SampleAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "kind": "Custom", + "properties": { + "description": "This is Sample Admin Rule using a network group as a source and destination.", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "priority": 1, + "provisioningState": "Succeeded", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "Internet", + "addressPrefixType": "ServiceTag" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AdminRules_CreateOrUpdate", + "title": "Create a admin rule with network group as source or destination" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerCommitDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerCommitDelete.json new file mode 100644 index 000000000000..711923fa3b6d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerCommitDelete.json @@ -0,0 +1,19 @@ +{ + "title": "Delete Network Manager Commit", + "operationId": "Commits_Delete", + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "commitName": "myTestCommit" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/commits/myTestCommit/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerCommitGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerCommitGet.json new file mode 100644 index 000000000000..fb5b33a4fb40 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerCommitGet.json @@ -0,0 +1,44 @@ +{ + "title": "Get Network Manager Commit", + "operationId": "Commits_Get", + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "commitName": "myTestCommit" + }, + "responses": { + "200": { + "body": { + "name": "myTestCommit", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/commits/myTestCommit", + "type": "Microsoft.Network/networkManagers/commits", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2025-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-01-11T18:52:27Z" + }, + "properties": { + "description": "Sample Commit", + "targetLocations": [ + "useast" + ], + "activeLocations": [ + "useast" + ], + "configurationIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "commitType": "SecurityAdmin", + "forceUpdateTag": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerCommitList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerCommitList.json new file mode 100644 index 000000000000..3e50a5126dfd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerCommitList.json @@ -0,0 +1,48 @@ +{ + "title": "List Network Manager Commit", + "operationId": "Commits_List", + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "myTestCommit", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/commits/myTestCommit", + "type": "Microsoft.Network/networkManagers/commits", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2025-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-01-11T18:52:27Z" + }, + "properties": { + "description": "Sample Commit", + "targetLocations": [ + "useast" + ], + "activeLocations": [ + "useast" + ], + "configurationIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "commitType": "SecurityAdmin", + "forceUpdateTag": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + ], + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/commits?api-version=2025-07-01&$skipToken=10" + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerCommitPost.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerCommitPost.json new file mode 100644 index 000000000000..2a226593443d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerCommitPost.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "parameters": { + "commitType": "SecurityAdmin", + "configurationIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "targetLocations": [ + "useast" + ] + }, + "resourceGroupName": "resoureGroupSample", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkManageCommitPost", + "responses": { + "200": { + "body": { + "commitId": "testCommitId", + "commitType": "SecurityAdmin", + "configurationIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "targetLocations": [ + "useast" + ] + } + }, + "202": { + "body": { + "commitId": "testCommitId", + "commitType": "SecurityAdmin", + "configurationIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "targetLocations": [ + "useast" + ] + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/TestNM/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkManagerCommits_Post" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerCommitPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerCommitPut.json new file mode 100644 index 000000000000..92dc76edafd8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerCommitPut.json @@ -0,0 +1,88 @@ +{ + "title": "Create or Update Network Manager Commit", + "operationId": "Commits_CreateOrUpdate", + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "myResourceGroup", + "networkManagerName": "testNetworkManager", + "commitName": "myTestCommit", + "resource": { + "properties": { + "description": "Sample Commit", + "targetLocations": [ + "useast" + ], + "configurationIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "commitType": "SecurityAdmin", + "forceUpdateTag": "00000000-0000-0000-0000-000000000000" + } + } + }, + "responses": { + "200": { + "body": { + "name": "myTestCommit", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/commits/myTestCommit", + "type": "Microsoft.Network/networkManagers/commits", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2025-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-01-11T18:52:27Z" + }, + "properties": { + "description": "Sample Commit", + "targetLocations": [ + "useast" + ], + "activeLocations": [ + "useast" + ], + "configurationIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "commitType": "SecurityAdmin", + "forceUpdateTag": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + }, + "201": { + "body": { + "name": "myTestCommit", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/commits/myTestCommit", + "type": "Microsoft.Network/networkManagers/commits", + "systemData": { + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "createdAt": "2025-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User", + "lastModifiedAt": "2025-01-11T18:52:27Z" + }, + "properties": { + "description": "Sample Commit", + "targetLocations": [ + "useast" + ], + "activeLocations": [ + "useast" + ], + "configurationIds": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/resoureGroupSample/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/SampleSecurityAdminConfig" + ], + "commitType": "SecurityAdmin", + "forceUpdateTag": "00000000-0000-0000-0000-000000000000", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionManagementGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionManagementGroupDelete.json new file mode 100644 index 000000000000..f52b4c6dbcbc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionManagementGroupDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "managementGroupId": "managementGroupA", + "networkManagerConnectionName": "TestNMConnection" + }, + "title": "Delete Management Group Network Manager Connection", + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ManagementGroupNetworkManagerConnections_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionManagementGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionManagementGroupGet.json new file mode 100644 index 000000000000..fb6e2b05d698 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionManagementGroupGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "managementGroupId": "managementGroupA", + "networkManagerConnectionName": "TestNMConnection" + }, + "title": "Get Management Group Network Manager Connection", + "responses": { + "200": { + "body": { + "name": "TestNMConnection", + "type": "Microsoft.Network/networkManagerConnections", + "id": "providers/Microsoft.Management/managementGroups/managementGroupA/providers/Microsoft.Network/networkManagerConnections/TestNMConnection", + "properties": { + "description": "This is a network manager connection to testNetworkManager.", + "connectionState": "Pending", + "networkManagerId": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "ManagementGroupNetworkManagerConnections_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionManagementGroupList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionManagementGroupList.json new file mode 100644 index 000000000000..826f082f7402 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionManagementGroupList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "managementGroupId": "managementGroupA" + }, + "title": "List Management Group Network Manager Connection", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/managementGroups/managementGroupA/providers/Microsoft.Network/networkManagerConnections?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "TestNMConnection", + "type": "Microsoft.Network/networkManagerConnections", + "id": "/providers/Microsoft.Management/managementGroups/managementGroupA/providers/Microsoft.Network/networkManagerConnections/TestNMConnection", + "properties": { + "description": "This is a network manager connection to testNetworkManager.", + "connectionState": "Pending", + "networkManagerId": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "ManagementGroupNetworkManagerConnections_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionManagementGroupPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionManagementGroupPut.json new file mode 100644 index 000000000000..3b44d68a0d98 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionManagementGroupPut.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "managementGroupId": "managementGroupA", + "networkManagerConnectionName": "TestNMConnection", + "parameters": { + "properties": { + "networkManagerId": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + } + } + }, + "title": "Create or Update Management Group Network Manager Connection", + "responses": { + "200": { + "body": { + "name": "TestNMConnection", + "type": "Microsoft.Network/networkManagerConnections", + "id": "/providers/Microsoft.Management/managementGroups/managementGroupA/providers/Microsoft.Network/networkManagerConnections/TestNMConnection", + "properties": { + "description": "This is a network manager connection to testNetworkManager.", + "connectionState": "Pending", + "networkManagerId": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + }, + "201": { + "body": { + "name": "TestMConnection", + "type": "Microsoft.Network/networkManagerConnections", + "id": "/managementGroups/managementGroupA/providers/Microsoft.Network/networkManagerConnections/TestNMConnection", + "properties": { + "description": "This is a network manager connection to testNetworkManager.", + "connectionState": "Pending", + "networkManagerId": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "ManagementGroupNetworkManagerConnections_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionSubscriptionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionSubscriptionDelete.json new file mode 100644 index 000000000000..f64d3211b337 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionSubscriptionDelete.json @@ -0,0 +1,13 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerConnectionName": "TestNMConnection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Delete Subscription Network Manager Connection", + "responses": { + "200": {}, + "204": {} + }, + "operationId": "SubscriptionNetworkManagerConnections_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionSubscriptionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionSubscriptionGet.json new file mode 100644 index 000000000000..57f8837984af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionSubscriptionGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerConnectionName": "TestNMConnection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Get Subscription Network Manager Connection", + "responses": { + "200": { + "body": { + "name": "TestNMConnection", + "type": "Microsoft.Network/networkManagerConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkManagerConnections/TestNMConnection", + "properties": { + "description": "This is a network manager connection to testNetworkManager.", + "connectionState": "Pending", + "networkManagerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "SubscriptionNetworkManagerConnections_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionSubscriptionList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionSubscriptionList.json new file mode 100644 index 000000000000..8fe225afed01 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionSubscriptionList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "List Subscription Network Manager Connection", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkManagerConnections?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "TestNMConnection", + "type": "Microsoft.Network/networkManagerConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkManagerConnections/TestNMConnection", + "properties": { + "description": "This is a network manager connection to testNetworkManager.", + "connectionState": "Pending", + "networkManagerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "SubscriptionNetworkManagerConnections_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionSubscriptionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionSubscriptionPut.json new file mode 100644 index 000000000000..dfcda6ac347f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectionSubscriptionPut.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerConnectionName": "TestNMConnection", + "parameters": { + "properties": { + "networkManagerId": "/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Create or Update Subscription Network Manager Connection", + "responses": { + "200": { + "body": { + "name": "TestNMConnection", + "type": "Microsoft.Network/networkManagerConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkManagerConnections/TestNMConnection", + "properties": { + "description": "This is a network manager connection to testNetworkManager.", + "connectionState": "Pending", + "networkManagerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + }, + "201": { + "body": { + "name": "TestMConnection", + "type": "Microsoft.Network/networkManagerConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkManagerConnections/TestNMConnection", + "properties": { + "description": "This is a network manager connection to testNetworkManager.", + "connectionState": "Pending", + "networkManagerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "SubscriptionNetworkManagerConnections_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectivityConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectivityConfigurationDelete.json new file mode 100644 index 000000000000..9b5dbdc8cf81 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectivityConfigurationDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestConnectivityConfig", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "ConnectivityConfigurationsDelete", + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/TestNM/connectivityConfigurations/myTestConnectivityConfig/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ConnectivityConfigurations_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectivityConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectivityConfigurationGet.json new file mode 100644 index 000000000000..d4aac11f710d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectivityConfigurationGet.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestConnectivityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "ConnectivityConfigurationsGet", + "responses": { + "200": { + "body": { + "name": "myTestConnectivityConfig", + "type": "Microsoft.Network/networkManagers/connectivityConfigurations", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "properties": { + "description": "Sample Configuration", + "appliesToGroups": [ + { + "groupConnectivity": "None", + "isGlobal": "False", + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "useHubGateway": "True" + } + ], + "connectivityCapabilities": { + "connectedGroupAddressOverlap": "Allowed", + "connectedGroupPrivateEndpointsScale": "Standard", + "peeringEnforcement": "Unenforced" + }, + "connectivityTopology": "HubAndSpoke", + "deleteExistingPeering": "True", + "hubs": [ + { + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ConnectivityConfigurations_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectivityConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectivityConfigurationList.json new file mode 100644 index 000000000000..32a9870d2be4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectivityConfigurationList.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "ConnectivityConfigurationsList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/managedNetworks/testNetworkManager/connectivityConfigurations?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "myTestConnectivityConfig", + "type": "Microsoft.Network/networkManagers/connectivityConfigurations", + "id": "subscription/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "properties": { + "description": "Sample Configuration", + "appliesToGroups": [ + { + "groupConnectivity": "None", + "isGlobal": "False", + "networkGroupId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/netwrokGroups/group1", + "useHubGateway": "True" + } + ], + "connectivityCapabilities": { + "connectedGroupAddressOverlap": "Allowed", + "connectedGroupPrivateEndpointsScale": "Standard", + "peeringEnforcement": "Unenforced" + }, + "connectivityTopology": "HubAndSpoke", + "deleteExistingPeering": "True", + "hubs": [ + { + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ConnectivityConfigurations_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectivityConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectivityConfigurationPut.json new file mode 100644 index 000000000000..2931fb519daa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerConnectivityConfigurationPut.json @@ -0,0 +1,124 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestConnectivityConfig", + "connectivityConfiguration": { + "properties": { + "description": "Sample Configuration", + "appliesToGroups": [ + { + "groupConnectivity": "None", + "isGlobal": "False", + "networkGroupId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "useHubGateway": "True" + } + ], + "connectivityCapabilities": { + "connectedGroupAddressOverlap": "Allowed", + "connectedGroupPrivateEndpointsScale": "Standard", + "peeringEnforcement": "Unenforced" + }, + "connectivityTopology": "HubAndSpoke", + "deleteExistingPeering": "True", + "hubs": [ + { + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True" + } + }, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "ConnectivityConfigurationsPut", + "responses": { + "200": { + "body": { + "name": "myTestConnectivityConfig", + "type": "Microsoft.Network/networkManagers/connectivityConfigurations", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "properties": { + "description": "Sample Connectivity Configuration", + "appliesToGroups": [ + { + "groupConnectivity": "None", + "isGlobal": "False", + "networkGroupId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1", + "useHubGateway": "True" + } + ], + "connectivityCapabilities": { + "connectedGroupAddressOverlap": "Allowed", + "connectedGroupPrivateEndpointsScale": "Standard", + "peeringEnforcement": "Unenforced" + }, + "connectivityTopology": "HubAndSpoke", + "deleteExistingPeering": "True", + "hubs": [ + { + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "myTestConnectivityConfig", + "type": "Microsoft.Network/networkManagers/connectivityConfigurations", + "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "properties": { + "description": "Sample Configuration", + "appliesToGroups": [ + { + "groupConnectivity": "None", + "isGlobal": "False", + "networkGroupId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "useHubGateway": "True" + } + ], + "connectivityCapabilities": { + "connectedGroupAddressOverlap": "Allowed", + "connectedGroupPrivateEndpointsScale": "Standard", + "peeringEnforcement": "Unenforced" + }, + "connectivityTopology": "HubAndSpoke", + "deleteExistingPeering": "True", + "hubs": [ + { + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myTestConnectivityConfig", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ConnectivityConfigurations_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerDefaultAdminRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerDefaultAdminRuleGet.json new file mode 100644 index 000000000000..ab901842a0f3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerDefaultAdminRuleGet.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleDefaultAdminRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleDefaultAdminRule", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleDefaultAdminRule", + "kind": "Default", + "properties": { + "description": "This is Sample Default Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "flag": "AllowVnetInbound", + "priority": 1, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "AdminRules_Get", + "title": "Gets security default admin rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerDelete.json new file mode 100644 index 000000000000..e01ddfe3b0a6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkManagersDelete", + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/TestNM/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "NetworkManagers_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerDeploymentStatusList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerDeploymentStatusList.json new file mode 100644 index 000000000000..31be8d5a3f56 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerDeploymentStatusList.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "parameters": { + "deploymentTypes": [ + "Connectivity", + "AdminPolicy" + ], + "regions": [ + "eastus", + "westus" + ], + "skipToken": "FakeSkipTokenCode" + }, + "resourceGroupName": "resoureGroupSample", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkManagerDeploymentStatusList", + "responses": { + "200": { + "body": { + "skipToken": "NextFakeSkipTokenCode", + "value": [ + { + "commitTime": "2021-01-26T06:58:50.883Z", + "configurationIds": [ + "SecConfig1", + "SecConfig2" + ], + "deploymentStatus": "Deploying", + "deploymentType": "AdminPolicy", + "errorMessage": "", + "region": "eastus" + }, + { + "commitTime": "2021-01-26T06:58:50.883Z", + "configurationIds": [ + "ConnConfig1", + "ConnConfig2" + ], + "deploymentStatus": "Deployed", + "deploymentType": "Connectivity", + "errorMessage": "", + "region": "eastus" + } + ] + } + } + }, + "operationId": "NetworkManagerDeploymentStatus_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json new file mode 100644 index 000000000000..67c5ac32f49d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerEffectiveConnectivityConfigurationsList.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "skipToken": "FakeSkipTokenCode" + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "testVirtualNetwork" + }, + "title": "List effective connectivity configuration", + "responses": { + "200": { + "body": { + "skipToken": "FakeSkipTokenCode", + "value": [ + { + "configurationGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "description": "A group for all test Virtual Networks", + "provisioningState": "Succeeded" + } + } + ], + "id": "subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/connectivityConfigurations/myTestConnectivityConfig", + "properties": { + "description": "Sample Configuration", + "appliesToGroups": [ + { + "groupConnectivity": "None", + "isGlobal": "False", + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/groups/group1", + "useHubGateway": "True" + } + ], + "connectivityCapabilities": { + "connectedGroupAddressOverlap": "Allowed", + "connectedGroupPrivateEndpointsScale": "Standard", + "peeringEnforcement": "Unenforced" + }, + "connectivityTopology": "HubAndSpoke", + "deleteExistingPeering": "True", + "hubs": [ + { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/virtualNetworks/myHubVnet", + "resourceType": "Microsoft.Network/virtualNetworks" + } + ], + "isGlobal": "True", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ListNetworkManagerEffectiveConnectivityConfigurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerEffectiveSecurityAdminRulesList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerEffectiveSecurityAdminRulesList.json new file mode 100644 index 000000000000..7b83ce84a064 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerEffectiveSecurityAdminRulesList.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "skipToken": "FakeSkipTokenCode" + }, + "resourceGroupName": "myResourceGroup", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "testVirtualNetwork" + }, + "title": "List effective security admin rules", + "responses": { + "200": { + "body": { + "skipToken": "FakeSkipTokenCode", + "value": [ + { + "configurationDescription": "SampleDescription", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "kind": "Default", + "properties": { + "description": "Sample Admin Rule", + "access": "Deny", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "flag": "AllowVnetInbound", + "priority": 1, + "provisioningState": "Succeeded", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "ruleCollectionAppliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1" + } + ], + "ruleCollectionDescription": "SampleRuleCollectionDescription", + "ruleGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/group1", + "properties": { + "description": "A group for all test Virtual Networks", + "provisioningState": "Succeeded" + } + } + ] + } + ] + } + } + }, + "operationId": "ListNetworkManagerEffectiveSecurityAdminRules" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerGet.json new file mode 100644 index 000000000000..767ad2aaae7d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerGet.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkManagersGet", + "responses": { + "200": { + "body": { + "name": "testNetworkManager", + "type": "Microsoft.Network/networkManagers", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + "properties": { + "description": "My Test Network Manager", + "networkManagerScopeAccesses": [ + "SecurityUser" + ], + "networkManagerScopes": { + "managementGroups": [], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkManagers_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerGroupDelete.json new file mode 100644 index 000000000000..395aed8c56b3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerGroupDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "force": false, + "networkGroupName": "testNetworkGroup", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkGroupsDelete", + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/TestNM/networkGroups/testNetworkGroup/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "NetworkGroups_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerGroupGet.json new file mode 100644 index 000000000000..73867f2e6c0b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerGroupGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkGroupName": "testNetworkGroup", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkGroupsGet", + "responses": { + "200": { + "body": { + "name": "testNetworkGroup", + "type": "Microsoft.Network/networkManagers/networkGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup", + "properties": { + "description": "A sample group", + "memberType": "VirtualNetwork", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkGroups_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerGroupList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerGroupList.json new file mode 100644 index 000000000000..f385273b7d31 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerGroupList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkGroupsList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testNetworkGroup", + "type": "Microsoft.Network/networkManagers/networkGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup", + "properties": { + "description": "A sample group", + "memberType": "VirtualNetwork", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkGroups_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerGroupPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerGroupPut.json new file mode 100644 index 000000000000..ec221ad25e33 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerGroupPut.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkGroupName": "testNetworkGroup", + "networkManagerName": "testNetworkManager", + "parameters": { + "properties": { + "description": "A sample group", + "memberType": "VirtualNetwork" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkGroupsPut", + "responses": { + "200": { + "body": { + "name": "testNetworkGroup", + "type": "Microsoft.Network/networkManagers/networkGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup", + "properties": { + "description": "A sample group", + "memberType": "VirtualNetwork", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + }, + "201": { + "body": { + "name": "testNetworkGroup", + "type": "Microsoft.Network/networkManagers/networkGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup", + "properties": { + "description": "A sample group", + "memberType": "VirtualNetwork", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "NetworkGroups_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerList.json new file mode 100644 index 000000000000..e4c1bb410d31 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerList.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "List Network Manager", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testNetworkManager", + "type": "Microsoft.Network/networkManagers", + "etag": "sadf-asdf-asdf-asdf", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + "properties": { + "description": "My Test Network Manager", + "networkManagerScopeAccesses": [ + "Connectivity" + ], + "networkManagerScopes": { + "managementGroups": [], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkManagers_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerListAll.json new file mode 100644 index 000000000000..01ff19f08169 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerListAll.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkManagersList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkManagers?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testNetworkManager", + "type": "Microsoft.Network/networkManagers", + "etag": "sadf-asdf-asdf-asdf", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + "properties": { + "description": "My Test Network Manager", + "networkManagerScopeAccesses": [ + "SecurityUser" + ], + "networkManagerScopes": { + "managementGroups": [], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkManagers_ListBySubscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerPatch.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerPatch.json new file mode 100644 index 000000000000..08db1cfc6651 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerPatch.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkManagesPatch", + "responses": { + "200": { + "body": { + "name": "testNetworkManager", + "type": "Microsoft.Network/networkManager", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager", + "location": "westus", + "properties": { + "description": "My Test Network Manager", + "networkManagerScopeAccesses": [ + "Connectivity" + ], + "networkManagerScopes": { + "managementGroups": [], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000001" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "NetworkManagers_Patch" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerPut.json new file mode 100644 index 000000000000..71c5a811e3d6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerPut.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "parameters": { + "properties": { + "description": "My Test Network Manager", + "networkManagerScopeAccesses": [ + "Connectivity" + ], + "networkManagerScopes": { + "managementGroups": [ + "/Microsoft.Management/testmg" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Put Network Manager", + "responses": { + "200": { + "body": { + "name": "TestNetworkManager", + "type": "Microsoft.Network/networkManagers", + "etag": "sadf-asdf-asdf-asdf", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager", + "properties": { + "description": "My Test Network Manager", + "networkManagerScopeAccesses": [ + "Connectivity" + ], + "networkManagerScopes": { + "managementGroups": [ + "Microsoft.Management/managementGroups/testMg" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "TestNetworkManager", + "type": "Microsoft.Network/networkManagers", + "etag": "sadf-asdf-asdf-asdf", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager", + "properties": { + "description": "My Test Network Manager", + "networkManagerScopeAccesses": [ + "Connectivity" + ], + "networkManagerScopes": { + "managementGroups": [ + "Microsoft.Management/managementGroups/testMg" + ], + "subscriptions": [ + "/subscriptions/00000000-0000-0000-0000-000000000000" + ] + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkManagers_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingConfigurationDelete.json new file mode 100644 index 000000000000..71004bf5ab3b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingConfigurationDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "NetworkManagerRoutingConfigurations_Delete", + "title": "Delete network manager routing configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingConfigurationGet.json new file mode 100644 index 000000000000..30d23a6f80c5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingConfigurationGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestRoutingConfig", + "type": "Microsoft.Network/networkManagers/routingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig", + "properties": { + "description": "A sample policy", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routeTableUsageMode": "ManagedOnly" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkManagerRoutingConfigurations_Get", + "title": "Get routing configurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingConfigurationList.json new file mode 100644 index 000000000000..e6651a96cee5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingConfigurationList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "myTestRoutingConfig", + "type": "Microsoft.Network/networkManagers/routingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig", + "properties": { + "description": "A sample policy", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routeTableUsageMode": "ManagedOnly" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkManagerRoutingConfigurations_List", + "title": "List routing configurations in a network manager" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingConfigurationPut.json new file mode 100644 index 000000000000..41d3c9985538 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingConfigurationPut.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "routingConfiguration": { + "properties": { + "description": "A sample policy", + "routeTableUsageMode": "ManagedOnly" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestRoutingConfig", + "type": "Microsoft.Network/networkManagers/routingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/routingConfigurations/myTestRoutingConfig", + "properties": { + "description": "A sample policy", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routeTableUsageMode": "ManagedOnly" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "myTestRoutingConfig", + "type": "Microsoft.Network/networkManagers/routingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/routingConfigurations/myTestRoutingConfig", + "properties": { + "description": "A sample policy", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routeTableUsageMode": "ManagedOnly" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkManagerRoutingConfigurations_CreateOrUpdate", + "title": "Create network manager routing configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleCollectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleCollectionDelete.json new file mode 100644 index 000000000000..7c9a66aa29ab --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleCollectionDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/TestNM/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "RoutingRuleCollections_Delete", + "title": "Deletes an routing rule collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleCollectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleCollectionGet.json new file mode 100644 index 000000000000..2811b30775bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleCollectionGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample rule collection", + "appliesTo": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "disableBgpRoutePropagation": "False", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "RoutingRuleCollections_Get", + "title": "Gets routing rule collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleCollectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleCollectionList.json new file mode 100644 index 000000000000..bb5b20d9250c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleCollectionList.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections?api-version=2023-03-01-preview&$skipToken=10", + "value": [ + { + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample rule collection", + "appliesTo": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "disableBgpRoutePropagation": "False", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "RoutingRuleCollections_List", + "title": "List routing rule collections" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleCollectionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleCollectionPut.json new file mode 100644 index 000000000000..6870e9200f12 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleCollectionPut.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollection": { + "properties": { + "description": "A sample policy", + "appliesTo": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + }, + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestRoutingConfig", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample policy", + "appliesTo": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "disableBgpRoutePropagation": "False", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "myTestRoutingConfig", + "type": "Microsoft.Network/networkManagers/routingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/routingConfigurations/myTestRoutingConfig", + "properties": { + "description": "A sample policy", + "appliesTo": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "disableBgpRoutePropagation": "False", + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "RoutingRuleCollections_CreateOrUpdate", + "title": "Create or Update a routing rule collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleDelete.json new file mode 100644 index 000000000000..d429013f1e5d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleDelete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "sampleRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection/rules/sampleRule/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "RoutingRules_Delete", + "title": "Deletes a routing rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleGet.json new file mode 100644 index 000000000000..2c540e065c0c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleGet.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleRoutingRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleRoutingRule", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleRoutingRule", + "properties": { + "description": "This is a routing rule", + "destination": { + "type": "AddressPrefix", + "destinationAddress": "10.0.0.0/16" + }, + "nextHop": { + "nextHopAddress": "", + "nextHopType": "VirtualNetworkGateway" + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "RoutingRules_Get", + "title": "Gets routing rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleList.json new file mode 100644 index 000000000000..b50ed8968cad --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRuleList.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkManagers/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection/rules?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "SampleRoutingRule", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkmanagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection/rules/SampleAdminRule", + "properties": { + "description": "This is Sample Admin Rule", + "destination": { + "type": "AddressPrefix", + "destinationAddress": "10.0.0.0/16" + }, + "nextHop": { + "nextHopAddress": "", + "nextHopType": "VirtualNetworkGateway" + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "RoutingRules_List", + "title": "List routing rules" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRulePut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRulePut.json new file mode 100644 index 000000000000..8bf9000f64d1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRulePut.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "routingRule": { + "properties": { + "description": "This is Sample Routing Rule", + "destination": { + "type": "AddressPrefix", + "destinationAddress": "10.0.0.0/16" + }, + "nextHop": { + "nextHopType": "VirtualNetworkGateway" + } + } + }, + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleRoutingRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleRoutingRule", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection/rules/SampleRoutingRule", + "properties": { + "description": "This is Sample Routing Rule", + "destination": { + "type": "AddressPrefix", + "destinationAddress": "10.0.0.0/16" + }, + "nextHop": { + "nextHopAddress": "", + "nextHopType": "VirtualNetworkGateway" + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "SampleRoutingRule", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/RoutingAdminConfigurations/myTestRoutingConfig/ruleCollections/rules/SampleRoutingRule", + "properties": { + "description": "This is Sample Routing Rule", + "destination": { + "type": "AddressPrefix", + "destinationAddress": "0.0.0.0/0" + }, + "nextHop": { + "nextHopAddress": "", + "nextHopType": "VirtualNetworkGateway" + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "RoutingRules_CreateOrUpdate", + "title": "Create an routing rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRulePutEcmp.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRulePutEcmp.json new file mode 100644 index 000000000000..9384051bd345 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerRoutingRulePutEcmp.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestRoutingConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "routingRule": { + "properties": { + "description": "This is a sample ECMP routing rule with multiple next hop IP addresses", + "destination": { + "type": "AddressPrefix", + "destinationAddress": "10.0.0.0/16" + }, + "nextHop": { + "nextHopType": "VirtualAppliance", + "nextHopAddress": "10.1.0.4,10.1.0.5,10.1.0.6" + } + } + }, + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleEcmpRoutingRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleEcmpRoutingRule", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection/rules/SampleEcmpRoutingRule", + "properties": { + "description": "This is a sample ECMP routing rule with multiple next hop IP addresses", + "destination": { + "type": "AddressPrefix", + "destinationAddress": "10.0.0.0/16" + }, + "nextHop": { + "nextHopType": "VirtualAppliance", + "nextHopAddress": "10.1.0.4,10.1.0.5,10.1.0.6" + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "SampleEcmpRoutingRule", + "type": "Microsoft.Network/networkManagers/routingConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/routingConfigurations/myTestRoutingConfig/ruleCollections/testRuleCollection/rules/SampleEcmpRoutingRule", + "properties": { + "description": "This is a sample ECMP routing rule with multiple next hop IP addresses", + "destination": { + "type": "AddressPrefix", + "destinationAddress": "10.0.0.0/16" + }, + "nextHop": { + "nextHopType": "VirtualAppliance", + "nextHopAddress": "10.1.0.4,10.1.0.5,10.1.0.6" + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "RoutingRules_CreateOrUpdate", + "title": "Create an ECMP routing rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerScopeConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerScopeConnectionDelete.json new file mode 100644 index 000000000000..a5f737b6c1d3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerScopeConnectionDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "scopeConnectionName": "TestScopeConnection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Delete Network Manager Scope Connection", + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ScopeConnections_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerScopeConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerScopeConnectionGet.json new file mode 100644 index 000000000000..841de719583c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerScopeConnectionGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "scopeConnectionName": "TestScopeConnection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Get Network Manager Scope Connection", + "responses": { + "200": { + "body": { + "name": "TestScopeConnection", + "type": "Microsoft.Network/networkManagers/scopeConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/scopeConnections/TestScopeConnection", + "properties": { + "description": "This is a scope connection to a cross tenant subscription.", + "connectionState": "Pending", + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "ScopeConnections_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerScopeConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerScopeConnectionList.json new file mode 100644 index 000000000000..0a22a7b5bb58 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerScopeConnectionList.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "List Network Manager Scope Connection", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/scopeConnections?api-version=2021-02-01-preview&$skipToken=10", + "value": [ + { + "name": "TestScopeConnection", + "type": "Microsoft.Network/networkManagers/scopeConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/scopeConnections/TestScopeConnection", + "properties": { + "description": "This is a scope connection to a cross tenant subscription.", + "connectionState": "Pending", + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "ScopeConnections_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerScopeConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerScopeConnectionPut.json new file mode 100644 index 000000000000..8b235891ea53 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerScopeConnectionPut.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "parameters": { + "properties": { + "description": "This is a scope connection to a cross tenant subscription.", + "resourceId": "subscriptions/f0dc2b34-dfad-40e4-83e0-2309fed8d00b", + "tenantId": "6babcaad-604b-40ac-a9d7-9fd97c0b779f" + } + }, + "resourceGroupName": "rg1", + "scopeConnectionName": "TestScopeConnection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Create or Update Network Manager Scope Connection", + "responses": { + "200": { + "body": { + "name": "TestScopeConnection", + "type": "Microsoft.Network/networkManagers/scopeConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/scopeConnections/TestScopeConnection", + "properties": { + "description": "This is a scope connection to a cross tenant subscription.", + "connectionState": "Pending", + "resourceId": "subscriptions/00000000-0000-0000-0000-000000000000", + "tenantId": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + }, + "201": { + "body": { + "type": "Microsoft.Network/networkManagers/scopeConnections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/scopeConnections/TestScopeConnection", + "properties": { + "description": "This is a scope connection to a cross tenant subscription.", + "connectionState": "Pending", + "resourceId": "subscriptions/f0dc2b34-dfad-40e4-83e0-2309fed8d00b", + "tenantId": "6babcaad-604b-40ac-a9d7-9fd97c0b779f" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "ScopeConnections_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityAdminConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityAdminConfigurationDelete.json new file mode 100644 index 000000000000..a2876f6d2092 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityAdminConfigurationDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "SecurityAdminConfigurations_Delete", + "title": "Delete network manager security admin configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityAdminConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityAdminConfigurationGet.json new file mode 100644 index 000000000000..c47f95b78b5d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityAdminConfigurationGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "applyOnNetworkIntentPolicyBasedServices": [ + "None" + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityAdminConfigurations_Get", + "title": "Get security admin configurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityAdminConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityAdminConfigurationList.json new file mode 100644 index 000000000000..56b4d1cf28ae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityAdminConfigurationList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "applyOnNetworkIntentPolicyBasedServices": [ + "None" + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "SecurityAdminConfigurations_List", + "title": "List security admin configurations in a network manager" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityAdminConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityAdminConfigurationPut.json new file mode 100644 index 000000000000..8dc5051a817b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityAdminConfigurationPut.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "securityAdminConfiguration": { + "properties": { + "description": "A sample policy", + "applyOnNetworkIntentPolicyBasedServices": [ + "None" + ] + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "applyOnNetworkIntentPolicyBasedServices": [ + "None" + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "applyOnNetworkIntentPolicyBasedServices": [ + "None" + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityAdminConfigurations_CreateOrUpdate", + "title": "Create network manager security admin configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityAdminConfigurationPut_ManualAggregation.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityAdminConfigurationPut_ManualAggregation.json new file mode 100644 index 000000000000..b500c1781032 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityAdminConfigurationPut_ManualAggregation.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "securityAdminConfiguration": { + "properties": { + "description": "A configuration which will update any network groups ip addresses at commit times.", + "networkGroupAddressSpaceAggregationOption": "Manual" + } + }, + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "responses": { + "200": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "networkGroupAddressSpaceAggregationOption": "Manual", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityAdminConfigurations", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityAdminConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "networkGroupAddressSpaceAggregationOption": "Manual", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityAdminConfigurations_CreateOrUpdate", + "title": "Create manual-mode security admin configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserConfigurationDelete.json new file mode 100644 index 000000000000..72f340440fc7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserConfigurationDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "SecurityUserConfigurations_Delete", + "title": "Delete network manager security user configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserConfigurationGet.json new file mode 100644 index 000000000000..0c02090eccaf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserConfigurationGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "provisioningState": "Succeeded", + "resourceGuid": "f506e3ca-4d68-41f1-9099-b50bc2c1b198" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityUserConfigurations_Get", + "title": "Get security user configurations" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserConfigurationList.json new file mode 100644 index 000000000000..e1464e0a17c7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserConfigurationList.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "provisioningState": "Succeeded", + "resourceGuid": "f506e3ca-4d68-41f1-9099-b50bc2c1b198" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "SecurityUserConfigurations_List", + "title": "List security user configurations in a network manager" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserConfigurationPut.json new file mode 100644 index 000000000000..28789c482b5c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserConfigurationPut.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "securityUserConfiguration": { + "properties": { + "description": "A sample policy" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "provisioningState": "Succeeded", + "resourceGuid": "e74045ed-c817-48df-adb2-a06753ad4fff" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "provisioningState": "Succeeded", + "resourceGuid": "e74045ed-c817-48df-adb2-a06753ad4fff" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityUserConfigurations_CreateOrUpdate", + "title": "Create network manager security user configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleCollectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleCollectionDelete.json new file mode 100644 index 000000000000..62a732790b59 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleCollectionDelete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "SecurityUserRuleCollections_Delete", + "title": "Deletes a Security User Rule collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleCollectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleCollectionGet.json new file mode 100644 index 000000000000..31314a1b33e1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleCollectionGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample rule collection", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "4224a5e7-d273-43d4-9bb0-b38e9b937ded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityUserRuleCollections_Get", + "title": "Gets security user rule collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleCollectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleCollectionList.json new file mode 100644 index 000000000000..7450685f36c3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleCollectionList.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testRuleCollection", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample rule collection", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "4224a5e7-d273-43d4-9bb0-b38e9b937ded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "SecurityUserRuleCollections_List", + "title": "List rule collections in a security configuration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleCollectionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleCollectionPut.json new file mode 100644 index 000000000000..3bfe93d613f8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleCollectionPut.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "securityUserRuleCollection": { + "properties": { + "description": "A sample policy", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ] + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection", + "properties": { + "description": "A sample policy", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "4224a5e7-d273-43d4-9bb0-b38e9b937ded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "myTestSecurityConfig", + "type": "Microsoft.Network/networkManagers/securityUserConfigurations/ruleCollections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/securityUserConfigurations/myTestSecurityConfig", + "properties": { + "description": "A sample policy", + "appliesToGroups": [ + { + "networkGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testGroup" + } + ], + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityUserRuleCollections_CreateOrUpdate", + "title": "Create or Update a Security User Rule Collection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleDelete.json new file mode 100644 index 000000000000..ae392e9584a0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleDelete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "force": false, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleUserRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "SecurityUserRules_Delete", + "title": "Delete a security user rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleGet.json new file mode 100644 index 000000000000..86f7dfb206d9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleGet.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleUserRule", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleUserRule", + "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", + "properties": { + "description": "Sample User Rule", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "provisioningState": "Succeeded", + "resourceGuid": "f930553b-f78d-48c5-9445-6cf86b85e615", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityUserRules_Get", + "title": "Gets a security user rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleList.json new file mode 100644 index 000000000000..0ca381c14390 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRuleList.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/22222222-2222-2222-2222-222222222222/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "SampleUserRule", + "type": "Microsoft.Network/networkManagers/securityConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkmanagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", + "properties": { + "description": "Sample User Rule", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "provisioningState": "Succeeded", + "resourceGuid": "f930553b-f78d-48c5-9445-6cf86b85e615", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "SecurityUserRules_List", + "title": "List security user rules" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRulePut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRulePut.json new file mode 100644 index 000000000000..4f367543a155 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerSecurityUserRulePut.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "configurationName": "myTestSecurityConfig", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "ruleCollectionName": "testRuleCollection", + "ruleName": "SampleUserRule", + "securityUserRule": { + "properties": { + "description": "Sample User Rule", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "SampleUserRule", + "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/SecurityUserConfigurations/Policy1/ruleCollections/testRuleCollection/rules/SampleUserRule", + "properties": { + "description": "Sample User Rule", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "provisioningState": "Succeeded", + "resourceGuid": "f930553b-f78d-48c5-9445-6cf86b85e615", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "SampleUserRule", + "type": "Microsoft.Network/networkManagers/SecurityUserConfigurations/ruleCollections/rules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/securityUserConfigurations/myTestSecurityConfig/ruleCollections/testRuleCollection/rules/SampleUserRule", + "properties": { + "description": "Sample User Rule", + "destinationPortRanges": [ + "22" + ], + "destinations": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "direction": "Inbound", + "provisioningState": "Succeeded", + "resourceGuid": "f930553b-f78d-48c5-9445-6cf86b85e615", + "sourcePortRanges": [ + "0-65535" + ], + "sources": [ + { + "addressPrefix": "*", + "addressPrefixType": "IPPrefix" + } + ], + "protocol": "Tcp" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "SecurityUserRules_CreateOrUpdate", + "title": "Create a security user rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerStaticMemberDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerStaticMemberDelete.json new file mode 100644 index 000000000000..fe9b322f83e3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerStaticMemberDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkGroupName": "testNetworkGroup", + "networkManagerName": "TestNM", + "resourceGroupName": "SampleRG", + "staticMemberName": "testStaticMember", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "StaticMembersDelete", + "responses": { + "200": {}, + "204": {} + }, + "operationId": "StaticMembers_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerStaticMemberGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerStaticMemberGet.json new file mode 100644 index 000000000000..b5fb4612db25 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerStaticMemberGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkGroupName": "testNetworkGroup", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "staticMemberName": "testStaticMember", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "StaticMembersGet", + "responses": { + "200": { + "body": { + "name": "testStaticMember", + "type": "Microsoft.Network/networkManagers/networkGroups/staticMembers", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup/staticMembers/testStaticMember", + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "StaticMembers_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerStaticMemberList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerStaticMemberList.json new file mode 100644 index 000000000000..e76961700b1c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerStaticMemberList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkGroupName": "testNetworkGroup", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "StaticMembersList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup/staticMembers?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testStaticMember", + "type": "Microsoft.Network/networkManagers/networkGroups/staticMembers", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup/staticMembers/testStaticMember", + "properties": { + "provisioningState": "Succeeded", + "region": "useast2", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "StaticMembers_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerStaticMemberPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerStaticMemberPut.json new file mode 100644 index 000000000000..7177d35ea57c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkManagerStaticMemberPut.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkGroupName": "testNetworkGroup", + "networkManagerName": "testNetworkManager", + "parameters": { + "properties": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + } + }, + "resourceGroupName": "rg1", + "staticMemberName": "testStaticMember", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "StaticMemberPut", + "responses": { + "200": { + "body": { + "name": "testStaticMember", + "type": "Microsoft.Network/networkManagers/networkGroups/staticMembers", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup/staticMembers/testStaticMember", + "properties": { + "provisioningState": "Succeeded", + "region": "useast2", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + }, + "201": { + "body": { + "name": "testStaticMember", + "type": "Microsoft.Network/networkManagers/networkGroups/staticMembers", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/networkGroups/testNetworkGroup/staticMembers/testStaticMember", + "properties": { + "provisioningState": "Succeeded", + "region": "useast2", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualnetworks/vnet1" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "ETag": "be3cfaa2-3d02-4624-92d7-a26766306c8b" + } + } + }, + "operationId": "StaticMembers_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileCreateConfigOnly.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileCreateConfigOnly.json new file mode 100644 index 000000000000..f34b55a5f962 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileCreateConfigOnly.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkProfileName": "networkProfile1", + "parameters": { + "location": "westus", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ] + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "networkProfile1", + "type": "Microsoft.Network/networkProfiles", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "location": "westus", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [], + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf" + } + } + }, + "201": { + "body": { + "name": "networkProfile1", + "type": "Microsoft.Network/networkProfiles", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "location": "westus", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [], + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf" + } + } + } + }, + "operationId": "NetworkProfiles_CreateOrUpdate", + "title": "Create network profile defaults" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileDelete.json new file mode 100644 index 000000000000..86b0194406ae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkProfileName": "networkProfile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "NetworkProfiles_Delete", + "title": "Delete network profile" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileGetConfigOnly.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileGetConfigOnly.json new file mode 100644 index 000000000000..0beac4e2c3b5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileGetConfigOnly.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkProfileName": "networkProfile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "networkProfile1", + "type": "Microsoft.Network/networkProfiles", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "location": "centraluseuap", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + }, + { + "name": "ipconfigprofile2", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + }, + { + "name": "eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [], + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf" + } + } + } + }, + "operationId": "NetworkProfiles_Get", + "title": "Get network profile" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileGetWithContainerNic.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileGetWithContainerNic.json new file mode 100644 index 000000000000..6a9ae4c59ca0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileGetWithContainerNic.json @@ -0,0 +1,205 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkProfileName": "networkProfile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "networkProfile1", + "type": "Microsoft.Network/networkProfiles", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "location": "centraluseuap", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "properties": { + "containerNetworkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0" + } + ], + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + }, + { + "name": "ipconfigprofile2", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + }, + { + "name": "eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "properties": { + "containerNetworkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1" + } + ], + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [ + { + "name": "containerGroup1_eth0", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth0", + "properties": { + "container": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1" + }, + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0" + }, + "ipConfigurations": [], + "provisioningState": "Succeeded" + } + }, + { + "name": "containerGroup1_eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup1_eth1", + "properties": { + "container": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup1" + }, + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1" + }, + "ipConfigurations": [], + "provisioningState": "Succeeded" + } + }, + { + "name": "containerGroup2_eth0", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth0", + "properties": { + "container": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2" + }, + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0" + }, + "ipConfigurations": [], + "provisioningState": "Succeeded" + } + }, + { + "name": "containerGroup2_eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup2_eth1", + "properties": { + "container": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup2" + }, + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1" + }, + "ipConfigurations": [], + "provisioningState": "Succeeded" + } + }, + { + "name": "containerGroup3_eth0", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth0", + "properties": { + "container": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3" + }, + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0" + }, + "ipConfigurations": [], + "provisioningState": "Succeeded" + } + }, + { + "name": "containerGroup3_eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaces", + "etag": "W/\"de9b89d2-83b0-4da3-b488-6ea8b0557edd\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaces/containerGroup3_eth1", + "properties": { + "container": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/networkProfilesDemo/providers/Microsoft.ContainerInstance/containerGroups/containerGroup3" + }, + "containerNetworkInterfaceConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1" + }, + "ipConfigurations": [], + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf" + } + } + } + }, + "operationId": "NetworkProfiles_Get", + "title": "Get network profile with container network interfaces" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileList.json new file mode 100644 index 000000000000..d7c5224690dd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileList.json @@ -0,0 +1,99 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "networkProfile1", + "type": "Microsoft.Network/networkProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "location": "centraluseuap", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + }, + { + "name": "ipconfigprofile2", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile2", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [], + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf" + } + }, + { + "name": "networkProfile2", + "type": "Microsoft.Network/networkProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile2", + "location": "centraluseuap", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [] + } + } + ] + } + } + }, + "operationId": "NetworkProfiles_List", + "title": "List resource group network profiles" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileListAll.json new file mode 100644 index 000000000000..4617325e3caf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileListAll.json @@ -0,0 +1,86 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "networkProfile1", + "type": "Microsoft.Network/networkProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1", + "location": "centraluseuap", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [], + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf" + } + }, + { + "name": "networkProfile2", + "type": "Microsoft.Network/networkProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile2", + "location": "centraluseuap", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfigprofile3", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth1/ipConfigurations/ipconfigprofile3", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [] + } + } + ] + } + } + }, + "operationId": "NetworkProfiles_ListAll", + "title": "List all network profiles" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileUpdateTags.json new file mode 100644 index 000000000000..a6a161b19ff8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkProfileUpdateTags.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkProfileName": "test-np", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-np", + "type": "Microsoft.Network/networkProfiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/test-np", + "location": "centraluseuap", + "properties": { + "containerNetworkInterfaceConfigurations": [ + { + "name": "eth0", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfigprofile1", + "type": "Microsoft.Network/networkProfiles/containerNetworkInterfaceConfigurations/ipConfigurations", + "etag": "W/\"4d705a71-752f-4e0a-8057-c02b125b1c08\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/networkProfileVnet/subnets/networkProfileSubnet1" + } + } + } + ], + "provisioningState": "Succeeded" + } + } + ], + "containerNetworkInterfaces": [], + "provisioningState": "Succeeded", + "resourceGuid": "1570d8b6-ab8a-4ad2-81d6-d2799b429cbf" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "NetworkProfiles_UpdateTags", + "title": "Update network profile tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupCreate.json new file mode 100644 index 000000000000..7b6e662787d9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupCreate.json @@ -0,0 +1,237 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "parameters": { + "location": "eastus" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "location": "eastus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "flushConnection": false, + "provisioningState": "Succeeded", + "securityRules": [] + } + } + }, + "201": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "location": "eastus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "flushConnection": false, + "provisioningState": "Succeeded", + "securityRules": [] + } + } + } + }, + "operationId": "NetworkSecurityGroups_CreateOrUpdate", + "title": "Create network security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupCreateWithRule.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupCreateWithRule.json new file mode 100644 index 000000000000..a6ebafaddb6a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupCreateWithRule.json @@ -0,0 +1,284 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "parameters": { + "location": "eastus", + "properties": { + "securityRules": [ + { + "name": "rule1", + "properties": { + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "80", + "direction": "Inbound", + "priority": 130, + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "location": "eastus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "provisioningState": "Succeeded", + "securityRules": [ + { + "name": "rule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "80", + "direction": "Inbound", + "priority": 130, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "location": "eastus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "provisioningState": "Succeeded", + "securityRules": [ + { + "name": "rule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "80", + "direction": "Inbound", + "priority": 130, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ] + } + } + } + }, + "operationId": "NetworkSecurityGroups_CreateOrUpdate", + "title": "Create network security group with rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupDelete.json new file mode 100644 index 000000000000..309120dff461 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupDelete.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" + } + }, + "204": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-09-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" + } + } + }, + "operationId": "NetworkSecurityGroups_Delete", + "title": "Delete network security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupGet.json new file mode 100644 index 000000000000..1ce1779deb86 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupGet.json @@ -0,0 +1,138 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "location": "westus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "provisioningState": "Succeeded", + "securityRules": [ + { + "name": "rule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "80", + "direction": "Inbound", + "priority": 130, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ] + } + } + } + }, + "operationId": "NetworkSecurityGroups_Get", + "title": "Get network security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupList.json new file mode 100644 index 000000000000..6af5c4cd3ecd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupList.json @@ -0,0 +1,233 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nsg1", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "location": "westus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "provisioningState": "Succeeded", + "securityRules": [] + } + }, + { + "name": "nsg3", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3", + "location": "westus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "provisioningState": "Succeeded", + "securityRules": [] + } + } + ] + } + } + }, + "operationId": "NetworkSecurityGroups_List", + "title": "List network security groups in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupListAll.json new file mode 100644 index 000000000000..e5deff964042 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupListAll.json @@ -0,0 +1,232 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nsg1", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "location": "westus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "provisioningState": "Succeeded", + "securityRules": [] + } + }, + { + "name": "nsg3", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3", + "location": "westus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg3/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "provisioningState": "Succeeded", + "securityRules": [] + } + } + ] + } + } + }, + "operationId": "NetworkSecurityGroups_ListAll", + "title": "List all network security groups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupRuleCreate.json new file mode 100644 index 000000000000..ad2af2230942 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupRuleCreate.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "resourceGroupName": "rg1", + "securityRuleName": "rule1", + "securityRuleParameters": { + "properties": { + "access": "Deny", + "destinationAddressPrefix": "11.0.0.0/8", + "destinationPortRange": "8080", + "direction": "Outbound", + "priority": 100, + "sourceAddressPrefix": "10.0.0.0/8", + "sourcePortRange": "*", + "protocol": "*" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "rule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "access": "Deny", + "destinationAddressPrefix": "11.0.0.0/8", + "destinationPortRange": "8080", + "direction": "Outbound", + "priority": 100, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "10.0.0.0/8", + "sourcePortRange": "*", + "protocol": "*" + } + } + }, + "201": { + "body": { + "name": "rule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "access": "Deny", + "destinationAddressPrefix": "11.0.0.0/8", + "destinationPortRange": "8080", + "direction": "Outbound", + "priority": 100, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "10.0.0.0/8", + "sourcePortRange": "*", + "protocol": "*" + } + } + } + }, + "operationId": "SecurityRules_CreateOrUpdate", + "title": "Create security rule" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupRuleDelete.json new file mode 100644 index 000000000000..ead5a344d7d6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupRuleDelete.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "resourceGroupName": "rg1", + "securityRuleName": "rule1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2022-09-01" + } + }, + "204": {} + }, + "operationId": "SecurityRules_Delete", + "title": "Delete network security rule from network security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupRuleGet.json new file mode 100644 index 000000000000..15851ff32bdc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupRuleGet.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "resourceGroupName": "rg1", + "securityRuleName": "rule1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "rule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "80", + "direction": "Inbound", + "priority": 130, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + } + }, + "operationId": "SecurityRules_Get", + "title": "Get network security rule in network security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupRuleList.json new file mode 100644 index 000000000000..3204db704142 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupRuleList.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "rule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "80", + "direction": "Inbound", + "priority": 130, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ] + } + } + }, + "operationId": "SecurityRules_List", + "title": "List network security rules in network security group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupUpdateTags.json new file mode 100644 index 000000000000..79f9b01715f0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityGroupUpdateTags.json @@ -0,0 +1,132 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityGroupName": "testnsg", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/networkSecurityGroups", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg", + "location": "westus", + "properties": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetInBound", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowAzureLoadBalancerInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowAzureLoadBalancerInBound", + "properties": { + "description": "Allow inbound traffic from azure load balancer", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "AzureLoadBalancer", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllInBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllInBound", + "properties": { + "description": "Deny all inbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowVnetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowVnetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "AllowInternetOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/AllowInternetOutBound", + "properties": { + "description": "Allow outbound traffic from all VMs to Internet", + "access": "Allow", + "destinationAddressPrefix": "Internet", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65001, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + }, + { + "name": "DenyAllOutBound", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/defaultSecurityRules/DenyAllOutBound", + "properties": { + "description": "Deny all outbound traffic", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Outbound", + "priority": 65500, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "*", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "provisioningState": "Succeeded", + "securityRules": [] + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "NetworkSecurityGroups_UpdateTags", + "title": "Update network security group tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterDelete.json new file mode 100644 index 000000000000..47402e326d66 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "testNSP1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkSecurityPerimeterDelete", + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/networkSecurityPerimeterOperationStatuses/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "NetworkSecurityPerimeters_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterGet.json new file mode 100644 index 000000000000..461e7d9456f5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterGet.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkSecurityPerimeterGet", + "responses": { + "200": { + "body": { + "name": "nsp1", + "type": "Microsoft.Network/networkSecurityPerimeters", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "NetworkSecurityPerimeters_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterList.json new file mode 100644 index 000000000000..aefd5be05006 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "List Network Security Perimeter", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testNSP1", + "type": "Microsoft.Network/networkSecurityPerimeters", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP1", + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + }, + "tags": {} + }, + { + "name": "testNSP2", + "type": "Microsoft.Network/networkSecurityPerimeters", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP2", + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeters_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterListAll.json new file mode 100644 index 000000000000..165dd750670c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterListAll.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkSecurityPerimetersList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/networkSecurityPerimeters?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testNSP1", + "type": "Microsoft.Network/networkSecurityPerimeters", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP1", + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + }, + "tags": {} + }, + { + "name": "testNSP2", + "type": "Microsoft.Network/networkSecurityPerimeters", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/testNSP2", + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeters_ListBySubscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterPatch.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterPatch.json new file mode 100644 index 000000000000..2994646b937f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterPatch.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "tags": { + "description": "nsp1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Patch Network Security Perimeter", + "responses": { + "200": { + "body": { + "name": "TestNetworkSecurityPerimeter", + "type": "Microsoft.Network/networkSecurityPerimeters", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter", + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + }, + "tags": { + "description": "nsp1" + } + } + } + }, + "operationId": "NetworkSecurityPerimeters_Patch" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterPut.json new file mode 100644 index 000000000000..e3c84a62c7dc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkSecurityPerimeterPut.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "location": "location1", + "properties": {} + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "Put Network Security Perimeter", + "responses": { + "200": { + "body": { + "name": "TestNetworkSecurityPerimeter", + "type": "Microsoft.Network/networkSecurityPerimeters", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter", + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "TestNetworkSecurityPerimeter", + "type": "Microsoft.Network/networkSecurityPerimeters", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/TestNetworkSecurityPerimeter", + "location": "East US 2 EUAP", + "properties": { + "perimeterGuid": "guid", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + }, + "tags": {} + } + } + }, + "operationId": "NetworkSecurityPerimeters_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceBootDiagnostics.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceBootDiagnostics.json new file mode 100644 index 000000000000..feaad7c4fdc7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceBootDiagnostics.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "consoleScreenshotStorageSasUrl": "https://blobcortextesturl.blob.core.windows.net/nvaBootDiagContainer/consoleScreenshot.png?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b", + "instanceId": 0, + "serialConsoleStorageSasUrl": "https://blobcortextesturl.blob.core.windows.net/nvaBootDiagContainer/serialLogs.txt?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b" + } + }, + "responses": { + "200": { + "body": { + "instanceId": 0 + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_GetBootDiagnosticLogs", + "title": "Retrieve Boot Diagnostic logs for a given NVA VMSS instance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceConnectionDelete.json new file mode 100644 index 000000000000..eb8f86c2110b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceConnectionDelete.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connection1", + "networkVirtualApplianceName": "nva1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "description": "Request successful. Resource with the specified name does not exist." + } + }, + "operationId": "NetworkVirtualApplianceConnections_Delete", + "title": "NetworkVirtualApplianceConnectionDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceConnectionGet.json new file mode 100644 index 000000000000..086968ea3e05 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceConnectionGet.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "connection1", + "networkVirtualApplianceName": "nva1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "connection1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/NetworkVirtualAppliances/nva1/NetworkVirtualApplianceConnections/connection1", + "properties": { + "name": "connection1", + "asn": 64512, + "bgpPeerAddress": [ + "169.254.16.13", + "169.254.16.14" + ], + "provisioningState": "Succeeded", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + } + ], + "labels": [ + "label1" + ] + } + }, + "tunnelIdentifier": 0 + } + } + } + }, + "operationId": "NetworkVirtualApplianceConnections_Get", + "title": "NetworkVirtualApplianceConnectionGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceConnectionList.json new file mode 100644 index 000000000000..5c9c6174b4e2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceConnectionList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "connection1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/NetworkVirtualAppliances/nva1/NetworkVirtualApplianceConnections/connection1", + "properties": { + "name": "connection1", + "asn": 64512, + "bgpPeerAddress": [ + "169.254.16.13", + "169.254.16.14" + ], + "provisioningState": "Succeeded", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + } + ], + "labels": [ + "label1" + ] + } + }, + "tunnelIdentifier": 0 + } + } + ] + } + } + }, + "operationId": "NetworkVirtualApplianceConnections_List", + "title": "NetworkVirtualApplianceConnectionList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceConnectionPut.json new file mode 100644 index 000000000000..a717b00052ce --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceConnectionPut.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "NetworkVirtualApplianceConnectionParameters": { + "properties": { + "name": "connection1", + "asn": 64512, + "bgpPeerAddress": [ + "169.254.16.13", + "169.254.16.14" + ], + "enableInternetSecurity": false, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + } + ], + "labels": [ + "label1" + ] + } + }, + "tunnelIdentifier": 0 + } + }, + "api-version": "2025-07-01", + "connectionName": "connection1", + "networkVirtualApplianceName": "nva1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "connection1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva1/networkVirtualApplianceConnections/connection1", + "properties": { + "name": "connection1", + "asn": 64512, + "bgpPeerAddress": [ + "169.254.16.13", + "169.254.16.14" + ], + "provisioningState": "Updating", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + } + ], + "labels": [ + "label1" + ] + } + }, + "tunnelIdentifier": 0 + } + } + }, + "201": { + "body": { + "name": "connection1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva1/networkVirtualApplianceConnections/connection1", + "properties": { + "name": "connection1", + "asn": 64512, + "bgpPeerAddress": [ + "169.254.16.13", + "169.254.16.14" + ], + "provisioningState": "Updating", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + } + ], + "labels": [ + "label1" + ] + } + }, + "tunnelIdentifier": 0 + } + } + } + }, + "operationId": "NetworkVirtualApplianceConnections_CreateOrUpdate", + "title": "NetworkVirtualApplianceConnectionPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceDelete.json new file mode 100644 index 000000000000..fa32dd936d72 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceDelete.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "description": "Request successful. Resource with the specified name does not exist." + } + }, + "operationId": "NetworkVirtualAppliances_Delete", + "title": "Delete NetworkVirtualAppliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceEmptyRestart.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceEmptyRestart.json new file mode 100644 index 000000000000..86748f28c0c4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceEmptyRestart.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "instanceIds": [] + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_Restart", + "title": "Restart All NetworkVirtualAppliance VMs in VM Scale Set" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceGet.json new file mode 100644 index 000000000000..5321bd9ab00c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceGet.json @@ -0,0 +1,190 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "additionalNics": [ + { + "name": "exrsdwan", + "hasPublicIp": true + } + ], + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/{{subscriptionId}}/resourceGroups/{{rg}}/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "publicnicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "publicnicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "privatenicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "privatenicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "12.1", + "vendor": "Cisco SDWAN" + }, + "privateIpAddress": "192.168.12.11", + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/networkVirtualApplianceConnections/connection1" + } + ], + "virtualApplianceNics": [ + { + "name": "publicnicipconfig", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "publicnicipconfig-2", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "privatenicipconfig", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "privatenicipconfig-2", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + }, + { + "name": "exrsdwan", + "instanceName": "nva_0", + "nicType": "AdditionalNic", + "privateIpAddress": "192.168.12.5", + "publicIpAddress": "4.231.25.19" + }, + { + "name": "publicnicipconfig", + "instanceName": "nva_1", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.6", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "publicnicipconfig-2", + "instanceName": "nva_1", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.7", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "privatenicipconfig", + "instanceName": "nva_1", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.8", + "publicIpAddress": "" + }, + { + "name": "privatenicipconfig-2", + "instanceName": "nva_1", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.9", + "publicIpAddress": "" + }, + { + "name": "exrsdwan", + "instanceName": "nva_1", + "nicType": "AdditionalNic", + "privateIpAddress": "192.168.12.10", + "publicIpAddress": "4.231.25.19" + } + ], + "virtualApplianceSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networtkVirtualAppliances/nva/virtualApplianceSites/site1" + } + ], + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "NetworkVirtualAppliances_Get", + "title": "Get NetworkVirtualAppliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceListByResourceGroup.json new file mode 100644 index 000000000000..616839b094e5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceListByResourceGroup.json @@ -0,0 +1,152 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "additionalNics": [ + { + "name": "exrsdwan", + "hasPublicIp": true + } + ], + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/{{subscriptionId}}/resourceGroups/{{rg}}/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "publicnicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "publicnicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "privatenicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "privatenicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "12.1", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "publicnicipconfig", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "publicnicipconfig-2", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "privatenicipconfig", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "privatenicipconfig-2", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + }, + { + "name": "exrsdwan", + "instanceName": "nva_0", + "nicType": "AdditionalNic", + "privateIpAddress": "10.1.113.4", + "publicIpAddress": "4.231.25.19" + } + ], + "virtualApplianceSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networtkVirtualAppliances/nva/virtualApplianceSites/site1" + } + ], + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "NetworkVirtualAppliances_ListByResourceGroup", + "title": "List all Network Virtual Appliance for a given resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceListBySubscription.json new file mode 100644 index 000000000000..251586f2b184 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceListBySubscription.json @@ -0,0 +1,151 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "additionalNics": [ + { + "name": "exrsdwan", + "hasPublicIp": true + } + ], + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/{{subscriptionId}}/resourceGroups/{{rg}}/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "publicnicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "publicnicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "privatenicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "privatenicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "12.1", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "publicnicipconfig", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "publicnicipconfig-2", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "privatenicipconfig", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "privatenicipconfig-2", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + }, + { + "name": "exrsdwan", + "instanceName": "nva_0", + "nicType": "AdditionalNic", + "privateIpAddress": "10.1.113.4", + "publicIpAddress": "4.231.25.19" + } + ], + "virtualApplianceSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networtkVirtualAppliances/nva/virtualApplianceSites/site1" + } + ], + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "NetworkVirtualAppliances_List", + "title": "List all Network Virtual Appliances for a given subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualAppliancePut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualAppliancePut.json new file mode 100644 index 000000000000..be39cb6e5524 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualAppliancePut.json @@ -0,0 +1,334 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "additionalNics": [ + { + "name": "exrsdwan", + "hasPublicIp": true + } + ], + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/{{subscriptionId}}/resourceGroups/{{rg}}/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "publicnicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "publicnicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "privatenicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "privatenicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "12.1", + "vendor": "Cisco SDWAN" + }, + "virtualApplianceAsn": 10000, + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "additionalNics": [ + { + "name": "exrsdwan", + "hasPublicIp": true + } + ], + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/{{subscriptionId}}/resourceGroups/{{rg}}/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "publicnicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "publicnicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "privatenicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "privatenicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "12.1", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "publicnicipconfig", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "publicnicipconfig-2", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "privatenicipconfig", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "privatenicipconfig-2", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + }, + { + "name": "exrsdwan", + "instanceName": "nva_0", + "nicType": "AdditionalNic", + "privateIpAddress": "10.1.113.4", + "publicIpAddress": "4.231.25.19" + } + ], + "virtualApplianceSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networtkVirtualAppliances/nva/virtualApplianceSites/site1" + } + ], + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "additionalNics": [ + { + "name": "exrsdwan", + "hasPublicIp": true + } + ], + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/{{subscriptionId}}/resourceGroups/{{rg}}/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "publicnicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "publicnicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "privatenicipconfig", + "properties": { + "primary": true + } + }, + { + "name": "privatenicipconfig-2", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "12.1", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Updating", + "virtualApplianceAsn": 10000, + "virtualApplianceSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networtkVirtualAppliances/nva/virtualApplianceSites/site1" + } + ], + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_CreateOrUpdate", + "title": "Create NetworkVirtualAppliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSaaSPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSaaSPut.json new file mode 100644 index 000000000000..7dad997fa0b5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSaaSPut.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "location": "West US", + "properties": { + "delegation": { + "serviceName": "PaloAltoNetworks.Cloudngfw/firewalls" + }, + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "location": "West US", + "properties": { + "delegation": { + "provisioningState": "Succeeded", + "serviceName": "PaloAltoNetworks.Cloudngfw/firewalls" + }, + "deploymentType": "PartnerManaged", + "partnerManagedResource": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Lifter/firewalls/paloAltoFirewall", + "internalLoadBalancerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/trustILB", + "standardLoadBalancerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/trustSLB" + }, + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "delegation": { + "provisioningState": "Succeeded", + "serviceName": "PaloAltoNetworks.Cloudngfw/firewalls" + }, + "deploymentType": "PartnerManaged", + "partnerManagedResource": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Lifter/firewalls/paloAltoFirewall", + "internalLoadBalancerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/trustILB", + "standardLoadBalancerId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/trustSLB" + }, + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "NetworkVirtualAppliances_CreateOrUpdate", + "title": "Create SaaS NetworkVirtualAppliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSiteDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSiteDelete.json new file mode 100644 index 000000000000..345ad2fd952b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSiteDelete.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "siteName": "site1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "description": "Delete successful." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "description": "Request successful. Resource with the specified name does not exist." + } + }, + "operationId": "VirtualApplianceSites_Delete", + "title": "Delete Network Virtual Appliance Site" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSiteGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSiteGet.json new file mode 100644 index 000000000000..cde99f7c065c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSiteGet.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "siteName": "site1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "site1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/virtualApplianceSites/site1", + "properties": { + "addressPrefix": "192.168.1.0/24", + "o365Policy": { + "breakOutCategories": { + "default": true, + "allow": true, + "optimize": true + } + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "VirtualApplianceSites_Get", + "title": "GetNetwork Virtual Appliance Site" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSiteList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSiteList.json new file mode 100644 index 000000000000..4e657297f172 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSiteList.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "siteName": "site1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "site1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/virtualApplianceSites/site1", + "properties": { + "addressPrefix": "192.168.1.0/24", + "o365Policy": { + "breakOutCategories": { + "default": true, + "allow": true, + "optimize": true + } + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "VirtualApplianceSites_List", + "title": "List all Network Virtual Appliance sites for a given Network Virtual Appliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSitePut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSitePut.json new file mode 100644 index 000000000000..7d76c6e5a8c9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSitePut.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "properties": { + "addressPrefix": "192.168.1.0/24", + "o365Policy": { + "breakOutCategories": { + "default": true, + "allow": true, + "optimize": true + } + } + } + }, + "resourceGroupName": "rg1", + "siteName": "site1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "site1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/virtualApplianceSites/site1", + "properties": { + "addressPrefix": "192.168.1.0/24", + "o365Policy": { + "breakOutCategories": { + "default": true, + "allow": true, + "optimize": true + } + }, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "site1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/virtualApplianceSites/site1", + "properties": { + "addressPrefix": "192.168.1.0/24", + "o365Policy": { + "breakOutCategories": { + "default": true, + "allow": true, + "optimize": true + } + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "VirtualApplianceSites_CreateOrUpdate", + "title": "Create Network Virtual Appliance Site" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSkuGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSkuGet.json new file mode 100644 index 000000000000..28501b073825 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSkuGet.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "skuName": "ciscoSdwan", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ciscoSdwan", + "type": "Microsoft.Network/networkVirtualApplianceSkus", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualApplianceSkus/ciscoSdwan", + "properties": { + "availableScaleUnits": [ + { + "instanceCount": 2, + "scaleUnit": "1" + }, + { + "instanceCount": 2, + "scaleUnit": "2" + } + ], + "availableVersions": [ + "11.12" + ], + "vendor": "Cisco" + } + } + } + }, + "operationId": "VirtualApplianceSkus_Get", + "title": "NetworkVirtualApplianceSkuGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSkuList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSkuList.json new file mode 100644 index 000000000000..9df17bd6c852 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSkuList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ciscoSdwan", + "type": "Microsoft.Network/networkVirtualApplianceSkus", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualApplianceSkus/ciscoSdwan", + "properties": { + "availableScaleUnits": [ + { + "instanceCount": 2, + "scaleUnit": "1" + }, + { + "instanceCount": 2, + "scaleUnit": "2" + } + ], + "availableVersions": [ + "11.12" + ], + "vendor": "Cisco" + } + } + ] + } + } + }, + "operationId": "VirtualApplianceSkus_List", + "title": "NetworkVirtualApplianceSkuListResult" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSpecificReimage.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSpecificReimage.json new file mode 100644 index 000000000000..822fa4257f29 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSpecificReimage.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "instanceIds": [ + "0" + ], + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "instanceIds": [ + "0" + ] + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_Reimage", + "title": "Reimages Specific NetworkVirtualAppliance VMs in VM Scale Set" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSpecificRestart.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSpecificRestart.json new file mode 100644 index 000000000000..11617c6785cd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceSpecificRestart.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "instanceIds": [ + "0", + "1" + ], + "networkVirtualApplianceName": "nva", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "instanceIds": [ + "0", + "1" + ] + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2023-11-01" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_Restart", + "title": "Restart Specific NetworkVirtualAppliance VMs in VM Scale Set" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceUpdateTags.json new file mode 100644 index 000000000000..f8b650ff5a4b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceUpdateTags.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "12.1", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "managementNic", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "privateNic-1", + "privateIpAddress": "192.168.12.2" + } + ], + "virtualApplianceSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networtkVirtualAppliances/nva/virtualApplianceSites/site1" + } + ], + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "NetworkVirtualAppliances_UpdateTags", + "title": "Update NetworkVirtualAppliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceVnetAdditionalPrivatePut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceVnetAdditionalPrivatePut.json new file mode 100644 index 000000000000..f5a0d4020210 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceVnetAdditionalPrivatePut.json @@ -0,0 +1,250 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + }, + { + "name": "myAdditionalInterface", + "type": [ + "AdditionalPrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet3" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + }, + { + "name": "myAdditionalInterface", + "type": [ + "AdditionalPrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet3" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "privateIpAddress": "192.168.12.7", + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "managementInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "managementInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "dataInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "dataInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + }, + { + "name": "myAdditionalInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.5", + "publicIpAddress": "" + }, + { + "name": "myAdditionalInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.6", + "publicIpAddress": "" + } + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + }, + { + "name": "myAdditionalInterface", + "type": [ + "AdditionalPrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet3" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Updating", + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_CreateOrUpdate", + "title": "Create NVA in VNet with PrivateNic, PublicNic & AdditionalPrivateNic" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceVnetAdditionalPublicPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceVnetAdditionalPublicPut.json new file mode 100644 index 000000000000..f5e87c141397 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceVnetAdditionalPublicPut.json @@ -0,0 +1,250 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + }, + { + "name": "myAdditionalPublicInterface", + "type": [ + "AdditionalPublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet3" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + }, + { + "name": "myAdditionalPublicInterface", + "type": [ + "AdditionalPublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet3" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "privateIpAddress": "192.168.12.7", + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "managementInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "managementInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "dataInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "dataInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + }, + { + "name": "myAdditionalPublicInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.5", + "publicIpAddress": "40.30.2.4" + }, + { + "name": "myAdditionalPublicInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.6", + "publicIpAddress": "40.30.2.5" + } + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + }, + { + "name": "myAdditionalPublicInterface", + "type": [ + "AdditionalPublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet3" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Updating", + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_CreateOrUpdate", + "title": "Create NVA in VNet with PrivateNic, PublicNic & AdditionalPublicNic" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceVnetBasicPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceVnetBasicPut.json new file mode 100644 index 000000000000..008c0371c222 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceVnetBasicPut.json @@ -0,0 +1,209 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "privateIpAddress": "192.168.12.5", + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "managementInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "managementInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "dataInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "dataInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + } + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Updating", + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_CreateOrUpdate", + "title": "Create NVA in VNet with PrivateNic & PublicNic" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceVnetIngressPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceVnetIngressPut.json new file mode 100644 index 000000000000..38c09f712a06 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceVnetIngressPut.json @@ -0,0 +1,224 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "privateIpAddress": "192.168.12.5", + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "managementInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "managementInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "dataInterface-ipconfig", + "instanceName": "nva_0", + "nicType": "", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "dataInterface-ipconfig", + "instanceName": "nva_1", + "nicType": "", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + } + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "internetIngressPublicIps": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/slbip" + } + ], + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Updating", + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_CreateOrUpdate", + "title": "Create NVA in VNet with PrivateNic & PublicNic, including Internet-Ingress" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceVnetNetworkProfilePut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceVnetNetworkProfilePut.json new file mode 100644 index 000000000000..aa4e7f665216 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkVirtualApplianceVnetNetworkProfilePut.json @@ -0,0 +1,363 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkVirtualApplianceName": "nva", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "myPrimaryPublicIpConfig", + "properties": { + "primary": true + } + }, + { + "name": "myNonPrimaryPublicIpConfig", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "myPrimaryPrivateIpConfig", + "properties": { + "primary": true + } + }, + { + "name": "myNonPrimaryPrivateIpConfig", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "addressPrefix": "192.168.1.0/16", + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "myPrimaryPublicIpConfig", + "properties": { + "primary": true + } + }, + { + "name": "myNonPrimaryPublicIpConfig", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "myPrimaryPrivateIpConfig", + "properties": { + "primary": true + } + }, + { + "name": "myNonPrimaryPrivateIpConfig", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "privateIpAddress": "192.168.12.9", + "provisioningState": "Succeeded", + "virtualApplianceAsn": 10000, + "virtualApplianceNics": [ + { + "name": "myPrimaryPublicIpConfig", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.1", + "publicIpAddress": "40.30.2.2" + }, + { + "name": "myNonPrimaryPublicIpConfig", + "instanceName": "nva_0", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.2", + "publicIpAddress": "40.30.2.3" + }, + { + "name": "myPrimaryPrivateIpConfig", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.3", + "publicIpAddress": "" + }, + { + "name": "myNonPrimaryPrivateIpConfig", + "instanceName": "nva_0", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.4", + "publicIpAddress": "" + }, + { + "name": "myPrimaryPublicIpConfig", + "instanceName": "nva_1", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.5", + "publicIpAddress": "40.30.2.4" + }, + { + "name": "myNonPrimaryPublicIpConfig", + "instanceName": "nva_1", + "nicType": "PublicNic", + "privateIpAddress": "192.168.12.6", + "publicIpAddress": "40.30.2.5" + }, + { + "name": "myPrimaryPrivateIpConfig", + "instanceName": "nva_1", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.7", + "publicIpAddress": "" + }, + { + "name": "myNonPrimaryPrivateIpConfig", + "instanceName": "nva_1", + "nicType": "PrivateNic", + "privateIpAddress": "192.168.12.8", + "publicIpAddress": "" + } + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "nva", + "type": "Microsoft.Network/networkVirtualAppliances", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "West US", + "properties": { + "bootStrapConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrbootstrapconfig" + ], + "cloudInitConfigurationBlobs": [ + "https://csrncvhdstorage1.blob.core.windows.net/csrncvhdstoragecont/csrcloudinitconfig" + ], + "inboundSecurityRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkVirtualAppliances/nva/InboundSecurityRules/rule1" + } + ], + "networkProfile": { + "networkInterfaceConfigurations": [ + { + "type": "PublicNic", + "properties": { + "ipConfigurations": [ + { + "name": "myPrimaryPublicIpConfig", + "properties": { + "primary": true + } + }, + { + "name": "myNonPrimaryPublicIpConfig", + "properties": { + "primary": false + } + } + ] + } + }, + { + "type": "PrivateNic", + "properties": { + "ipConfigurations": [ + { + "name": "myPrimaryPrivateIpConfig", + "properties": { + "primary": true + } + }, + { + "name": "myNonPrimaryPrivateIpConfig", + "properties": { + "primary": false + } + } + ] + } + } + ] + }, + "nvaInterfaceConfigurations": [ + { + "name": "dataInterface", + "type": [ + "PrivateNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + }, + { + "name": "managementInterface", + "type": [ + "PublicNic" + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet2" + } + } + ], + "nvaSku": { + "bundledScaleUnit": "1", + "marketPlaceVersion": "latest", + "vendor": "Cisco SDWAN" + }, + "provisioningState": "Updating", + "virtualApplianceAsn": 10000 + }, + "tags": { + "key1": "value1" + } + }, + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nfvOperations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkVirtualAppliances_CreateOrUpdate", + "title": "Create NVA in VNet with PrivateNic & PublicNic, including NetworkProfile" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherAvailableProvidersListGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherAvailableProvidersListGet.json new file mode 100644 index 000000000000..a8208f3a7da7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherAvailableProvidersListGet.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "azureLocations": [ + "West US" + ], + "city": "seattle", + "country": "United States", + "state": "washington" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "countries": [ + { + "countryName": "United States", + "states": [ + { + "cities": [ + { + "cityName": "seattle", + "providers": [ + "Comcast Cable Communications, Inc. - ASN 7922", + "Comcast Cable Communications, LLC - ASN 7922", + "Level 3 Communications, Inc. (GBLX) - ASN 3549", + "Qwest Communications Company, LLC - ASN 209" + ] + } + ], + "stateName": "washington" + } + ] + } + ] + } + }, + "202": { + "body": { + "countries": [ + { + "countryName": "United States", + "states": [ + { + "cities": [ + { + "cityName": "seattle", + "providers": [ + "Comcast Cable Communications, Inc. - ASN 7922", + "Comcast Cable Communications, LLC - ASN 7922", + "Level 3 Communications, Inc. (GBLX) - ASN 3549", + "Qwest Communications Company, LLC - ASN 209" + ] + } + ], + "stateName": "washington" + } + ] + } + ] + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/availableProvidersList?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_ListAvailableProviders", + "title": "Get Available Providers List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherAzureReachabilityReportGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherAzureReachabilityReportGet.json new file mode 100644 index 000000000000..b64411c533cd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherAzureReachabilityReportGet.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "azureLocations": [ + "West US" + ], + "endTime": "2017-09-10T00:00:00Z", + "providerLocation": { + "country": "United States", + "state": "washington" + }, + "providers": [ + "Frontier Communications of America, Inc. - ASN 5650" + ], + "startTime": "2017-09-07T00:00:00Z" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "aggregationLevel": "State", + "providerLocation": { + "country": "United States", + "state": "washington" + }, + "reachabilityReport": [ + { + "azureLocation": "West US", + "latencies": [ + { + "score": 94, + "timeStamp": "2017-09-07T00:00:00Z" + }, + { + "score": 94, + "timeStamp": "2017-09-08T00:00:00Z" + }, + { + "score": 94, + "timeStamp": "2017-09-09T00:00:00Z" + } + ], + "provider": "Frontier Communications of America, Inc. - ASN 5650" + } + ] + } + }, + "202": { + "body": { + "aggregationLevel": "State", + "providerLocation": { + "country": "United States", + "state": "washington" + }, + "reachabilityReport": [ + { + "azureLocation": "West US", + "latencies": [ + { + "score": 94, + "timeStamp": "2017-09-07T00:00:00Z" + }, + { + "score": 94, + "timeStamp": "2017-09-08T00:00:00Z" + }, + { + "score": 94, + "timeStamp": "2017-09-09T00:00:00Z" + } + ], + "provider": "Frontier Communications of America, Inc. - ASN 5650" + } + ] + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/azureReachabilityReport?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_GetAzureReachabilityReport", + "title": "Get Azure Reachability Report" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorCreate.json new file mode 100644 index 000000000000..9e9e922e44b3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorCreate.json @@ -0,0 +1,144 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionMonitorName": "cm1", + "networkWatcherName": "nw1", + "parameters": { + "location": "eastus", + "properties": { + "endpoints": [ + { + "name": "source", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1" + }, + { + "name": "destination", + "address": "bing.com" + } + ], + "testConfigurations": [ + { + "name": "tcp", + "tcpConfiguration": { + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "tg", + "destinations": [ + "destination" + ], + "sources": [ + "source" + ], + "testConfigurations": [ + "tcp" + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "eastus", + "properties": { + "endpoints": [ + { + "name": "source", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1" + }, + { + "name": "destination", + "address": "bing.com" + } + ], + "provisioningState": "Updating", + "testConfigurations": [ + { + "name": "tcp", + "tcpConfiguration": { + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "tg", + "destinations": [ + "destination" + ], + "sources": [ + "source" + ], + "testConfigurations": [ + "tcp" + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "eastus", + "properties": { + "endpoints": [ + { + "name": "source", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1" + }, + { + "name": "destination", + "address": "bing.com" + } + ], + "provisioningState": "Succeeded", + "testConfigurations": [ + { + "name": "tcp", + "tcpConfiguration": { + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "tg", + "destinations": [ + "destination" + ], + "sources": [ + "source" + ], + "testConfigurations": [ + "tcp" + ] + } + ] + } + } + } + }, + "operationId": "ConnectionMonitors_CreateOrUpdate", + "title": "Create connection monitor V1" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorCreateWithArcNetwork.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorCreateWithArcNetwork.json new file mode 100644 index 000000000000..9474f1f5cb3b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorCreateWithArcNetwork.json @@ -0,0 +1,217 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionMonitorName": "cm1", + "location": "centraluseuap", + "networkWatcherName": "nw1", + "parameters": { + "properties": { + "endpoints": [ + { + "name": "vm1", + "type": "AzureVM", + "resourceId": "/subscriptions/9cece3e3-0f7d-47ca-af0e-9772773f90b7/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/TESTVM" + }, + { + "name": "bing", + "type": "ExternalAddress", + "address": "bing.com" + }, + { + "name": "google", + "type": "ExternalAddress", + "address": "google.com" + }, + { + "name": "ArcBasedNetwork", + "type": "AzureArcNetwork", + "locationDetails": { + "region": "eastus" + }, + "scope": { + "include": [ + { + "address": "172.21.128.0/20" + } + ] + }, + "subscriptionId": "9cece3e3-0f7d-47ca-af0e-9772773f90b7" + } + ], + "outputs": [], + "testConfigurations": [ + { + "name": "testConfig1", + "tcpConfiguration": { + "disableTraceRoute": false, + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "test1", + "destinations": [ + "bing", + "google" + ], + "disable": false, + "sources": [ + "vm1", + "ArcBasedNetwork" + ], + "testConfigurations": [ + "testConfig1" + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "centraluseuap", + "properties": { + "endpoints": [ + { + "name": "vm1", + "resourceId": "/subscriptions/9cece3e3-0f7d-47ca-af0e-9772773f90b7/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/TESTVM" + }, + { + "name": "ArcBasedNetwork", + "type": "AzureArcNetwork", + "locationDetails": { + "region": "eastus" + }, + "scope": { + "include": [ + { + "address": "172.21.128.0/20" + } + ] + }, + "subscriptionId": "9cece3e3-0f7d-47ca-af0e-9772773f90b7" + }, + { + "name": "bing", + "address": "bing.com" + }, + { + "name": "google", + "address": "google.com" + } + ], + "outputs": [], + "testConfigurations": [ + { + "name": "testConfig1", + "tcpConfiguration": { + "disableTraceRoute": false, + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "test1", + "destinations": [ + "bing", + "google" + ], + "disable": false, + "sources": [ + "vm1", + "ArcBasedNetwork" + ], + "testConfigurations": [ + "testConfig1" + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "centraluseuap", + "properties": { + "endpoints": [ + { + "name": "vm1", + "resourceId": "/subscriptions/9cece3e3-0f7d-47ca-af0e-9772773f90b7/resourceGroups/testRG/providers/Microsoft.Compute/virtualMachines/TESTVM" + }, + { + "name": "ArcBasedNetwork", + "type": "AzureArcNetwork", + "locationDetails": { + "region": "eastus" + }, + "scope": { + "include": [ + { + "address": "172.21.128.0/20" + } + ] + }, + "subscriptionId": "9cece3e3-0f7d-47ca-af0e-9772773f90b7" + }, + { + "name": "bing", + "address": "bing.com" + }, + { + "name": "google", + "address": "google.com" + } + ], + "outputs": [], + "testConfigurations": [ + { + "name": "testConfig1", + "tcpConfiguration": { + "disableTraceRoute": false, + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "test1", + "destinations": [ + "bing", + "google" + ], + "disable": false, + "sources": [ + "vm1", + "ArcBasedNetwork" + ], + "testConfigurations": [ + "testConfig1" + ] + } + ] + } + } + } + }, + "operationId": "ConnectionMonitors_CreateOrUpdate", + "title": "Create connection monitor with Arc Network" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorDelete.json new file mode 100644 index 000000000000..b76b4fb843f1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionMonitorName": "cm1", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/operationresults/000000000000000000000==?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ConnectionMonitors_Delete", + "title": "Delete connection monitor" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorGet.json new file mode 100644 index 000000000000..431401e7d68a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorGet.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionMonitorName": "cm1", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "eastus", + "properties": { + "endpoints": [ + { + "name": "source", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1" + }, + { + "name": "destination", + "address": "bing.com" + } + ], + "provisioningState": "Succeeded", + "testConfigurations": [ + { + "name": "tcp", + "tcpConfiguration": { + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "tg", + "destinations": [ + "destination" + ], + "sources": [ + "source" + ], + "testConfigurations": [ + "tcp" + ] + } + ] + } + } + } + }, + "operationId": "ConnectionMonitors_Get", + "title": "Get connection monitor" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorList.json new file mode 100644 index 000000000000..9ebd0862ab24 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorList.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "eastus", + "properties": { + "endpoints": [ + { + "name": "source", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct1" + }, + { + "name": "destination", + "address": "bing.com" + } + ], + "provisioningState": "Succeeded", + "testConfigurations": [ + { + "name": "tcp", + "tcpConfiguration": { + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "tg", + "destinations": [ + "destination" + ], + "sources": [ + "source" + ], + "testConfigurations": [ + "tcp" + ] + } + ] + } + }, + { + "name": "cm2", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm2", + "location": "eastus", + "properties": { + "endpoints": [ + { + "name": "source", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/ct2" + }, + { + "name": "destination", + "address": "google.com" + } + ], + "provisioningState": "Succeeded", + "testConfigurations": [ + { + "name": "tcp", + "tcpConfiguration": { + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "tg", + "destinations": [ + "destination" + ], + "sources": [ + "source" + ], + "testConfigurations": [ + "tcp" + ] + } + ] + } + } + ] + } + } + }, + "operationId": "ConnectionMonitors_List", + "title": "List connection monitors" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorStop.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorStop.json new file mode 100644 index 000000000000..ad090e7c7d1d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorStop.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionMonitorName": "cm1", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/operationresults/000000000000000000000==?api-version=2025-07-01" + } + } + }, + "operationId": "ConnectionMonitors_Stop", + "title": "Stop connection monitor" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorUpdateTags.json new file mode 100644 index 000000000000..6b883acf6538 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorUpdateTags.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionMonitorName": "cm1", + "networkWatcherName": "nw1", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/`/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "westcentralus", + "properties": { + "autoStart": true, + "destination": { + "address": "bing.com", + "port": 80 + }, + "monitoringIntervalInSeconds": 60, + "monitoringStatus": "Running", + "provisioningState": "Succeeded", + "source": { + "port": 0, + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "startTime": "2019-09-04T02:48:10.6797393Z" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "ConnectionMonitors_UpdateTags", + "title": "Update connection monitor tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorV2Create.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorV2Create.json new file mode 100644 index 000000000000..904081d08cbb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectionMonitorV2Create.json @@ -0,0 +1,208 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionMonitorName": "cm1", + "location": "centraluseuap", + "networkWatcherName": "nw1", + "parameters": { + "properties": { + "endpoints": [ + { + "name": "vm1", + "resourceId": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1" + }, + { + "name": "CanaryWorkspaceVamshi", + "filter": { + "type": "Include", + "items": [ + { + "type": "AgentAddress", + "address": "npmuser" + } + ] + }, + "resourceId": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace" + }, + { + "name": "bing", + "address": "bing.com" + }, + { + "name": "google", + "address": "google.com" + } + ], + "outputs": [], + "testConfigurations": [ + { + "name": "testConfig1", + "tcpConfiguration": { + "disableTraceRoute": false, + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "test1", + "destinations": [ + "bing", + "google" + ], + "disable": false, + "sources": [ + "vm1", + "CanaryWorkspaceVamshi" + ], + "testConfigurations": [ + "testConfig1" + ] + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "centraluseuap", + "properties": { + "endpoints": [ + { + "name": "vm1", + "resourceId": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1" + }, + { + "name": "CanaryWorkspaceVamshi", + "filter": { + "type": "Include", + "items": [ + { + "type": "AgentAddress", + "address": "npmuser" + } + ] + }, + "resourceId": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace" + }, + { + "name": "bing", + "address": "bing.com" + }, + { + "name": "google", + "address": "google.com" + } + ], + "outputs": [], + "testConfigurations": [ + { + "name": "testConfig1", + "tcpConfiguration": { + "disableTraceRoute": false, + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "test1", + "destinations": [ + "bing", + "google" + ], + "disable": false, + "sources": [ + "vm1", + "CanaryWorkspaceVamshi" + ], + "testConfigurations": [ + "testConfig1" + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "cm1", + "type": "Microsoft.Network/networkWatchers/connectionMonitors", + "etag": "W/\"e7497f26-5f09-4559-900b-fe98f3dedb6f\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectionMonitors/cm1", + "location": "centraluseuap", + "properties": { + "endpoints": [ + { + "name": "vm1", + "resourceId": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NwRgIrinaCentralUSEUAP/providers/Microsoft.Compute/virtualMachines/vm1" + }, + { + "name": "CanaryWorkspaceVamshi", + "filter": { + "type": "Include", + "items": [ + { + "type": "AgentAddress", + "address": "npmuser" + } + ] + }, + "resourceId": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/vasamudrRG/providers/Microsoft.OperationalInsights/workspaces/vasamudrWorkspace" + }, + { + "name": "bing", + "address": "bing.com" + }, + { + "name": "google", + "address": "google.com" + } + ], + "outputs": [], + "testConfigurations": [ + { + "name": "testConfig1", + "tcpConfiguration": { + "disableTraceRoute": false, + "port": 80 + }, + "testFrequencySec": 60, + "protocol": "Tcp" + } + ], + "testGroups": [ + { + "name": "test1", + "destinations": [ + "bing", + "google" + ], + "disable": false, + "sources": [ + "vm1", + "CanaryWorkspaceVamshi" + ], + "testConfigurations": [ + "testConfig1" + ] + } + ] + } + } + } + }, + "operationId": "ConnectionMonitors_CreateOrUpdate", + "title": "Create connection monitor V2" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectivityCheck.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectivityCheck.json new file mode 100644 index 000000000000..ba659307543d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherConnectivityCheck.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "destination": { + "address": "192.168.100.4", + "port": 3389 + }, + "preferredIPVersion": "IPv4", + "source": { + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "avgLatencyInMs": 1, + "connectionStatus": "Connected", + "hops": [ + { + "type": "Source", + "address": "10.1.1.4", + "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e", + "issues": [], + "nextHopIds": [ + "75c8d819-b208-4584-a311-1aa45ce753f9" + ], + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1" + }, + { + "type": "VirtualNetwork", + "address": "192.168.100.4", + "id": "75c8d819-b208-4584-a311-1aa45ce753f9", + "issues": [], + "nextHopIds": [], + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1" + } + ], + "maxLatencyInMs": 4, + "minLatencyInMs": 1, + "probesFailed": 0, + "probesSent": 100 + } + }, + "202": { + "body": { + "avgLatencyInMs": 1, + "connectionStatus": "Connected", + "hops": [ + { + "type": "Source", + "address": "10.1.1.4", + "id": "7dbbe7aa-60ba-4650-831e-63d775d38e9e", + "issues": [], + "nextHopIds": [ + "75c8d819-b208-4584-a311-1aa45ce753f9" + ], + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic0/ipConfigurations/ipconfig1" + }, + { + "type": "VirtualNetwork", + "address": "192.168.100.4", + "id": "75c8d819-b208-4584-a311-1aa45ce753f9", + "issues": [], + "nextHopIds": [], + "resourceId": "subscriptions/subid/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1/ipConfigurations/ipconfig1" + } + ], + "maxLatencyInMs": 4, + "minLatencyInMs": 1, + "probesFailed": 0, + "probesSent": 100 + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/connectivityCheck?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_CheckConnectivity", + "title": "Check connectivity" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherCreate.json new file mode 100644 index 000000000000..b450a4e0f855 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherCreate.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "location": "eastus", + "properties": {} + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nw1", + "type": "Microsoft.Network/networkWatchers", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": {} + } + }, + "201": { + "body": { + "name": "nw1", + "type": "Microsoft.Network/networkWatchers", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": {} + } + } + }, + "operationId": "NetworkWatchers_CreateOrUpdate", + "title": "Create network watcher" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherDelete.json new file mode 100644 index 000000000000..bff3ee62d96f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherDelete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/operationresults/000000000000000000000==?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "NetworkWatchers_Delete", + "title": "Delete network watcher" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogConfigure.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogConfigure.json new file mode 100644 index 000000000000..1a470e34ba79 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogConfigure.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "properties": { + "enabled": true, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1" + }, + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "properties": { + "enabled": true, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1" + }, + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + } + }, + "202": { + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "properties": { + "enabled": true, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1" + }, + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/configureFlowLog?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_SetFlowLogConfiguration", + "title": "Configure flow log" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogCreate.json new file mode 100644 index 000000000000..5e10e9cc9397 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogCreate.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "flowLogName": "fl", + "networkWatcherName": "nw1", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": {} + } + }, + "location": "centraluseuap", + "properties": { + "format": { + "type": "JSON", + "version": 1 + }, + "enabled": true, + "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "recordTypes": "B,E", + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "Microsoft.Networkdesmond-rgdesmondcentral-nsg", + "type": "Microsoft.Network/networkWatchers/FlowLogs", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw/FlowLogs/fl", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "location": "centraluseuap", + "properties": { + "format": { + "type": "JSON", + "version": 1 + }, + "enabled": true, + "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "flowAnalyticsConfiguration": {}, + "provisioningState": "Updating", + "recordTypes": "B,E", + "retentionPolicy": { + "days": 0, + "enabled": false + }, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe", + "targetResourceGuid": "00000000-0000-0000-0000-000000000000", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg" + } + } + }, + "201": { + "body": { + "name": "Microsoft.Networkdesmond-rgdesmondcentral-nsg", + "type": "Microsoft.Network/networkWatchers/FlowLogs", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw/FlowLogs/fl", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "location": "centraluseuap", + "properties": { + "format": { + "type": "JSON", + "version": 1 + }, + "enabled": true, + "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "flowAnalyticsConfiguration": {}, + "provisioningState": "Succeeded", + "recordTypes": "B,E", + "retentionPolicy": { + "days": 0, + "enabled": false + }, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe", + "targetResourceGuid": "00000000-0000-0000-0000-000000000000", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg" + } + } + } + }, + "operationId": "FlowLogs_CreateOrUpdate", + "title": "Create or update flow log" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogDelete.json new file mode 100644 index 000000000000..028db8edb539 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "flowLogName": "fl", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/operationresults/000000000000000000000==?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "FlowLogs_Delete", + "title": "Delete flow log" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogGet.json new file mode 100644 index 000000000000..c1c0a48df32a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogGet.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "flowLogName": "flowLog1", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "flowLog1", + "type": "Microsoft.Network/networkWatchers/FlowLogs", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/тц1/FlowLogs/flowLog1", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "location": "centraluseuap", + "properties": { + "format": { + "type": "JSON", + "version": 2 + }, + "enabled": true, + "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": false, + "trafficAnalyticsInterval": 60, + "workspaceId": "-", + "workspaceRegion": "-" + } + }, + "provisioningState": "Succeeded", + "recordTypes": "B,E", + "retentionPolicy": { + "days": 0, + "enabled": false + }, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/wzstorage002", + "targetResourceGuid": "00000000-0000-0000-0000-000000000000", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Network/networkSecurityGroups/vm5-nsg" + } + } + } + }, + "operationId": "FlowLogs_Get", + "title": "Get flow log" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogList.json new file mode 100644 index 000000000000..0eb094e9b99e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogList.json @@ -0,0 +1,93 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "flowLog1", + "type": "Microsoft.Network/networkWatchers/FlowLogs", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/тц1/FlowLogs/flowLog1", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "location": "centraluseuap", + "properties": { + "format": { + "type": "JSON", + "version": 2 + }, + "enabled": true, + "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "flowAnalyticsConfiguration": { + "networkWatcherFlowAnalyticsConfiguration": { + "enabled": false, + "trafficAnalyticsInterval": 60, + "workspaceId": "-", + "workspaceRegion": "-" + } + }, + "provisioningState": "Succeeded", + "recordTypes": "B,E", + "retentionPolicy": { + "days": 0, + "enabled": false + }, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/wzstorage002", + "targetResourceGuid": "00000000-0000-0000-0000-000000000000", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Network/networkSecurityGroups/vm5-nsg" + } + }, + { + "name": "flowLog2", + "type": "Microsoft.Network/networkWatchers/FlowLogs", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/96e68903-0a56-4819-9987-8d08ad6a1f99/resourceGroups/NetworkWatcherRG/providers/Microsoft.Network/networkWatchers/NetworkWatcher_centraluseuap/FlowLogs/flowLog2", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "location": "centraluseuap", + "properties": { + "format": { + "type": "JSON", + "version": 2 + }, + "enabled": true, + "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "flowAnalyticsConfiguration": {}, + "provisioningState": "Succeeded", + "recordTypes": "B,E", + "retentionPolicy": { + "days": 0, + "enabled": false + }, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Storage/storageAccounts/iraflowlogtest2diag", + "targetResourceGuid": "00000000-0000-0000-0000-000000000000", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg/providers/Microsoft.Network/networkSecurityGroups/DSCP-test-vm1-nsg" + } + } + ] + } + } + }, + "operationId": "FlowLogs_List", + "title": "List connection monitors" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogStatusQuery.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogStatusQuery.json new file mode 100644 index 000000000000..ea7bfc3003c2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogStatusQuery.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "properties": { + "enabled": true, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1" + }, + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + } + }, + "202": { + "body": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "properties": { + "enabled": true, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1" + }, + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/queryFlowLogStatus?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_GetFlowLogStatus", + "title": "Get flow log status" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogUpdateTags.json new file mode 100644 index 000000000000..5d481dcc5950 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherFlowLogUpdateTags.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "flowLogName": "fl", + "networkWatcherName": "nw", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "Microsoft.Networkdesmond-rgdesmondcentral-nsg", + "type": "Microsoft.Network/networkWatchers/FlowLogs", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw/FlowLogs/fl", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/id1": { + "clientId": "c16d15e1-f60a-40e4-8a05-df3d3f655c14", + "principalId": "e3858881-e40c-43bd-9cde-88da39c05023" + } + } + }, + "location": "centralus", + "properties": { + "format": { + "type": "JSON", + "version": 1 + }, + "enabled": true, + "enabledFilteringCriteria": "srcIP=158.255.7.8 || dstPort=56891", + "flowAnalyticsConfiguration": {}, + "provisioningState": "Succeeded", + "recordTypes": "B,E", + "retentionPolicy": { + "days": 0, + "enabled": false + }, + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/nwtest1mgvbfmqsigdxe", + "targetResourceGuid": "00000000-0000-0000-0000-000000000000", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/desmondcentral-nsg" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "FlowLogs_UpdateTags", + "title": "Update flow log tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherGet.json new file mode 100644 index 000000000000..3922fb80eb90 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nw1", + "type": "Microsoft.Network/networkWatchers", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": {} + } + } + }, + "operationId": "NetworkWatchers_Get", + "title": "Get network watcher" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherIpFlowVerify.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherIpFlowVerify.json new file mode 100644 index 000000000000..201c80ab2c2e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherIpFlowVerify.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "direction": "Outbound", + "localIPAddress": "10.2.0.4", + "localPort": "80", + "remoteIPAddress": "121.10.1.1", + "remotePort": "80", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "protocol": "TCP" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "access": "Allow", + "ruleName": "Rule1" + } + }, + "202": { + "body": { + "access": "Allow", + "ruleName": "Rule1" + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/ipFlowVerify?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_VerifyIPFlow", + "title": "Ip flow verify" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherList.json new file mode 100644 index 000000000000..708a3fece4e1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherList.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nw1", + "type": "Microsoft.Network/networkWatchers", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": {} + }, + { + "name": "nw2", + "type": "Microsoft.Network/networkWatchers", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "NetworkWatchers_List", + "title": "List network watchers" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherListAll.json new file mode 100644 index 000000000000..b26425bf03a7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherListAll.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nw1", + "type": "Microsoft.Network/networkWatchers", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": {} + }, + { + "name": "nw2", + "type": "Microsoft.Network/networkWatchers", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw2", + "location": "westus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": {} + } + ] + } + } + }, + "operationId": "NetworkWatchers_ListAll", + "title": "List all network watchers" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json new file mode 100644 index 000000000000..22ce0290b722 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherNetworkConfigurationDiagnostic.json @@ -0,0 +1,203 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "profiles": [ + { + "destination": "12.11.12.14", + "destinationPort": "12100", + "direction": "Inbound", + "source": "10.1.0.4", + "protocol": "TCP" + } + ], + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "results": [ + { + "networkSecurityGroupResult": { + "evaluatedNetworkSecurityGroups": [ + { + "appliedTo": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet", + "matchedRule": { + "action": "Allow", + "ruleName": "UserRule_fe_rule" + }, + "networkSecurityGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "rulesEvaluationResult": [ + { + "name": "UserRule_Cleanuptool-Allow-100", + "destinationMatched": true, + "destinationPortMatched": false, + "protocolMatched": true, + "sourceMatched": false, + "sourcePortMatched": true + }, + { + "name": "UserRule_Cleanuptool-Allow-101", + "destinationMatched": true, + "destinationPortMatched": false, + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true + }, + { + "name": "UserRule_Cleanuptool-Allow-102", + "destinationMatched": true, + "destinationPortMatched": false, + "protocolMatched": true, + "sourceMatched": false, + "sourcePortMatched": true + }, + { + "name": "UserRule_Cleanuptool-Deny-103", + "destinationMatched": true, + "destinationPortMatched": false, + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true + }, + { + "name": "UserRule_fe_rule", + "destinationMatched": true, + "destinationPortMatched": true, + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true + } + ] + }, + { + "appliedTo": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic", + "matchedRule": { + "action": "Allow", + "ruleName": "UserRule_fe_rule" + }, + "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG", + "rulesEvaluationResult": [ + { + "name": "UserRule_fe_rule", + "destinationMatched": true, + "destinationPortMatched": true, + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true + } + ] + } + ], + "securityRuleAccessResult": "Allow" + }, + "profile": { + "destination": "12.11.12.14", + "destinationPort": "12100", + "direction": "Inbound", + "source": "10.1.0.4", + "protocol": "TCP" + } + } + ] + } + }, + "202": { + "body": { + "results": [ + { + "networkSecurityGroupResult": { + "evaluatedNetworkSecurityGroups": [ + { + "appliedTo": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/subnets/AppSubnet", + "matchedRule": { + "action": "Allow", + "ruleName": "UserRule_fe_rule" + }, + "networkSecurityGroupId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg1", + "rulesEvaluationResult": [ + { + "name": "UserRule_Cleanuptool-Allow-100", + "destinationMatched": true, + "destinationPortMatched": false, + "protocolMatched": true, + "sourceMatched": false, + "sourcePortMatched": true + }, + { + "name": "UserRule_Cleanuptool-Allow-101", + "destinationMatched": true, + "destinationPortMatched": false, + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true + }, + { + "name": "UserRule_Cleanuptool-Allow-102", + "destinationMatched": true, + "destinationPortMatched": false, + "protocolMatched": true, + "sourceMatched": false, + "sourcePortMatched": true + }, + { + "name": "UserRule_Cleanuptool-Deny-103", + "destinationMatched": true, + "destinationPortMatched": false, + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true + }, + { + "name": "UserRule_fe_rule", + "destinationMatched": true, + "destinationPortMatched": true, + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true + } + ] + }, + { + "appliedTo": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet/networkInterfaces/nic", + "matchedRule": { + "action": "Allow", + "ruleName": "UserRule_fe_rule" + }, + "networkSecurityGroupId": "/subscriptions/61cc8a98-a8be-4bfe-a04e-0b461f93fe35/resourceGroups/NwRgCentralUSEUAP_copy/providers/Microsoft.Network/networkSecurityGroups/AppNSG", + "rulesEvaluationResult": [ + { + "name": "UserRule_fe_rule", + "destinationMatched": true, + "destinationPortMatched": true, + "protocolMatched": true, + "sourceMatched": true, + "sourcePortMatched": true + } + ] + } + ], + "securityRuleAccessResult": "Allow" + }, + "profile": { + "destination": "12.11.12.14", + "destinationPort": "12100", + "direction": "Inbound", + "source": "10.1.0.4", + "protocol": "TCP" + } + } + ] + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/networkConfigurationDiagnostic?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_GetNetworkConfigurationDiagnostic", + "title": "Network configuration diagnostic" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherNextHopGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherNextHopGet.json new file mode 100644 index 000000000000..10d9f84abe95 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherNextHopGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "destinationIPAddress": "10.0.0.10", + "sourceIPAddress": "10.0.0.5", + "targetNicResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1", + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextHopIpAddress": "10.0.0.1", + "nextHopType": "VnetLocal", + "routeTableId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1" + } + }, + "202": { + "body": { + "nextHopIpAddress": "10.0.0.1", + "nextHopType": "VnetLocal", + "routeTableId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/routeTables/rt1" + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/nextHop?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_GetNextHop", + "title": "Get next hop" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCaptureCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCaptureCreate.json new file mode 100644 index 000000000000..db539219b240 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCaptureCreate.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1", + "parameters": { + "properties": { + "bytesToCapturePerPacket": 10000, + "filters": [ + { + "localIPAddress": "10.0.0.4", + "localPort": "80", + "protocol": "TCP" + } + ], + "storageLocation": { + "filePath": "D:\\capture\\pc1.cap", + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap" + }, + "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "timeLimitInSeconds": 100, + "totalBytesPerSession": 100000 + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "201": { + "body": { + "name": "pc1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "properties": { + "bytesToCapturePerPacket": 10000, + "filters": [ + { + "localIPAddress": "10.0.0.4", + "localPort": "80", + "protocol": "TCP" + } + ], + "provisioningState": "Updating", + "storageLocation": { + "filePath": "D:\\capture\\pc1.cap", + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap" + }, + "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "timeLimitInSeconds": 100, + "totalBytesPerSession": 100000 + } + } + } + }, + "operationId": "PacketCaptures_Create", + "title": "Create packet capture" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCaptureDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCaptureDelete.json new file mode 100644 index 000000000000..a7a7b358aa2f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCaptureDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/operationresults/000000000000000000000==?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "PacketCaptures_Delete", + "title": "Delete packet capture" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCaptureGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCaptureGet.json new file mode 100644 index 000000000000..2f102fe2ecfe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCaptureGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "pc1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "properties": { + "bytesToCapturePerPacket": 10000, + "filters": [ + { + "localIPAddress": "10.0.0.4", + "localPort": "80", + "protocol": "TCP" + } + ], + "provisioningState": "Updating", + "storageLocation": { + "filePath": "D:\\capture\\pc1.cap", + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap" + }, + "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "timeLimitInSeconds": 100, + "totalBytesPerSession": 100000 + } + } + } + }, + "operationId": "PacketCaptures_Get", + "title": "Get packet capture" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCaptureQueryStatus.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCaptureQueryStatus.json new file mode 100644 index 000000000000..f1c4bd08cd52 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCaptureQueryStatus.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "pc1", + "captureStartTime": "2016-09-07T12:35:24Z", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "packetCaptureError": [], + "packetCaptureStatus": "Stopped", + "stopReason": "TimeExceeded" + } + }, + "202": { + "body": { + "name": "pc1", + "captureStartTime": "2016-09-07T12:35:24Z", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "packetCaptureError": [], + "packetCaptureStatus": "Stopped", + "stopReason": "TimeExceeded" + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/troubleshoot?api-version=2025-07-01" + } + } + }, + "operationId": "PacketCaptures_GetStatus", + "title": "Query packet capture status" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCaptureStop.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCaptureStop.json new file mode 100644 index 000000000000..be0081364c4f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCaptureStop.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "packetCaptureName": "pc1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/operationresults/000000000000000000000==?api-version=2025-07-01" + } + } + }, + "operationId": "PacketCaptures_Stop", + "title": "Stop packet capture" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCapturesList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCapturesList.json new file mode 100644 index 000000000000..f0644225c1b3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherPacketCapturesList.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "pc1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc1", + "properties": { + "bytesToCapturePerPacket": 10000, + "filters": [ + { + "localIPAddress": "10.0.0.4", + "localPort": "80", + "protocol": "TCP" + } + ], + "provisioningState": "Updating", + "storageLocation": { + "filePath": "D:\\capture\\pc1.cap", + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc1.cap" + }, + "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "timeLimitInSeconds": 100, + "totalBytesPerSession": 100000 + } + }, + { + "name": "pc2", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/packetCaptures/pc2", + "properties": { + "bytesToCapturePerPacket": 10000, + "filters": [], + "provisioningState": "Succeeded", + "storageLocation": { + "filePath": "D:\\capture\\pc2.cap", + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Storage/storageAccounts/pcstore", + "storagePath": "https://mytestaccountname.blob.core.windows.net/capture/pc2.cap" + }, + "target": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1", + "timeLimitInSeconds": 100, + "totalBytesPerSession": 100000 + } + } + ] + } + } + }, + "operationId": "PacketCaptures_List", + "title": "List packet captures" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherSecurityGroupViewGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherSecurityGroupViewGet.json new file mode 100644 index 000000000000..fa4241d56077 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherSecurityGroupViewGet.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1", + "securityRuleAssociations": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "effectiveSecurityRules": [ + { + "name": "DefaultOutboundDenyAll", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "0-65535", + "direction": "Outbound", + "priority": 65500, + "sourceAddressPrefix": "*", + "sourcePortRange": "0-65535", + "protocol": "All" + } + ], + "subnetAssociation": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "securityRules": [ + { + "name": "fe_rule", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule", + "properties": { + "description": "Allow Frontend", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 100, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "10.1.0.0/24", + "sourcePortRange": "*", + "protocol": "Tcp" + } + } + ] + } + } + } + ] + } + }, + "202": { + "body": { + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/nic1", + "securityRuleAssociations": { + "defaultSecurityRules": [ + { + "name": "AllowVnetInBound", + "id": "/subscriptions//resourceGroups//providers/Microsoft.Network/networkSecurityGroups//defaultSecurityRules/", + "properties": { + "description": "Allow inbound traffic from all VMs in VNET", + "access": "Allow", + "destinationAddressPrefix": "VirtualNetwork", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 65000, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "VirtualNetwork", + "sourcePortRange": "*", + "protocol": "*" + } + } + ], + "effectiveSecurityRules": [ + { + "name": "DefaultOutboundDenyAll", + "access": "Deny", + "destinationAddressPrefix": "*", + "destinationPortRange": "0-65535", + "direction": "Outbound", + "priority": 65500, + "sourceAddressPrefix": "*", + "sourcePortRange": "0-65535", + "protocol": "All" + } + ], + "subnetAssociation": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1", + "securityRules": [ + { + "name": "fe_rule", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/AppNSG/securityRules/fe_rule", + "properties": { + "description": "Allow Frontend", + "access": "Allow", + "destinationAddressPrefix": "*", + "destinationPortRange": "*", + "direction": "Inbound", + "priority": 100, + "provisioningState": "Succeeded", + "sourceAddressPrefix": "10.1.0.0/24", + "sourcePortRange": "*", + "protocol": "Tcp" + } + } + ] + } + } + } + ] + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/queryStatus?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_GetVMSecurityRules", + "title": "Get security group view" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherTopologyGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherTopologyGet.json new file mode 100644 index 000000000000..4c5fa5522758 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherTopologyGet.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceGroupName": "rg2" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "createdDateTime": "2017-08-02T19:31:55.9461781Z", + "id": "ce592f46-8164-4bf2-ad36-b8e4acf6fb68", + "lastModified": "2017-05-27T00:00:13.2005337Z", + "resources": [ + { + "name": "MultiTierApp0", + "associations": [ + { + "name": "appNic0", + "associationType": "Contains", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic0" + }, + { + "name": "appNic10", + "associationType": "Contains", + "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/networkInterfaces/appNic10" + } + ], + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/MultiTierApp0", + "location": "westus" + } + ] + } + } + }, + "operationId": "NetworkWatchers_GetTopology", + "title": "Get Topology" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherTroubleshootGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherTroubleshootGet.json new file mode 100644 index 000000000000..e0bdc2607d3e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherTroubleshootGet.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "properties": { + "storageId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Storage/storageAccounts/st1", + "storagePath": "https://st1.blob.core.windows.net/cn1" + }, + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "code": "UnHealthy", + "endTime": "2017-01-12T00:20:09.914Z", + "results": [ + { + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "id": "000000", + "reasonType": "VipUnResponsive", + "recommendedActions": [ + { + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", + "actionUriText": "Verify" + }, + { + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "contact support" + } + ], + "summary": "We are sorry, your VPN gateway is unreachable from the Internet" + } + ], + "startTime": "2017-01-12T00:19:47.0442834Z" + } + }, + "202": { + "body": { + "code": "UnHealthy", + "endTime": "2017-01-12T00:20:09.914Z", + "results": [ + { + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "id": "000000", + "reasonType": "VipUnResponsive", + "recommendedActions": [ + { + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", + "actionUriText": "Verify" + }, + { + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "contact support" + } + ], + "summary": "We are sorry, your VPN gateway is unreachable from the Internet" + } + ], + "startTime": "2017-01-12T00:19:47.0442834Z" + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/troubleshoot?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_GetTroubleshooting", + "title": "Get troubleshooting" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherTroubleshootResultQuery.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherTroubleshootResultQuery.json new file mode 100644 index 000000000000..0e6a80f251e7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherTroubleshootResultQuery.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "targetResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Compute/virtualMachines/vm1" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "code": "UnHealthy", + "endTime": "2017-01-12T00:20:09.914Z", + "results": [ + { + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "id": "000000", + "reasonType": "VipUnResponsive", + "recommendedActions": [ + { + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", + "actionUriText": "Verify" + }, + { + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "contact support" + } + ], + "summary": "We are sorry, your VPN gateway is unreachable from the Internet" + } + ], + "startTime": "2017-01-12T00:19:47.0442834Z" + } + }, + "202": { + "body": { + "code": "UnHealthy", + "endTime": "2017-01-12T00:20:09.914Z", + "results": [ + { + "detail": "During this time S2S VPN tunnels to on premises sites or other Azure virtual networks will be disconnected", + "id": "000000", + "reasonType": "VipUnResponsive", + "recommendedActions": [ + { + "actionText": "Verify if there is a network security group (NSG) applied to the GatewaySubnet", + "actionUri": "https://docs.microsoft.com/en-us/azure/virtual-network/virtual-networks-create-nsg-arm-pportal", + "actionUriText": "Verify" + }, + { + "actionText": "If your VPN gateway isn't up and running by the expected resolution time, contact support", + "actionUri": "http://azure.microsoft.com/support", + "actionUriText": "contact support" + } + ], + "summary": "We are sorry, your VPN gateway is unreachable from the Internet" + } + ], + "startTime": "2017-01-12T00:19:47.0442834Z" + }, + "headers": { + "Location": "https:/management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1/queryTroubleshootResult?api-version=2025-07-01" + } + } + }, + "operationId": "NetworkWatchers_GetTroubleshootingResult", + "title": "Get troubleshoot result" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherUpdateTags.json new file mode 100644 index 000000000000..f6ea5d1322f2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NetworkWatcherUpdateTags.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkWatcherName": "nw1", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "nw1", + "type": "Microsoft.Network/networkWatchers", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkWatchers/nw1", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "NetworkWatchers_UpdateTags", + "title": "Update network watcher tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAccessRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAccessRuleDelete.json new file mode 100644 index 000000000000..fb6531c502bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAccessRuleDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "accessRuleName": "accessRule1", + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAccessRulesDelete", + "responses": { + "200": {}, + "204": {} + }, + "operationId": "NetworkSecurityPerimeterAccessRules_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAccessRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAccessRuleGet.json new file mode 100644 index 000000000000..c28d603566a2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAccessRuleGet.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "accessRuleName": "accessRule1", + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAccessRuleGet", + "responses": { + "200": { + "body": { + "name": "accessRule1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1", + "properties": { + "addressPrefixes": [], + "direction": "Outbound", + "emailAddresses": [], + "fullyQualifiedDomainNames": [ + "paasrp1.contoso.org", + "paasrp2.contoso.org" + ], + "networkSecurityPerimeters": [], + "phoneNumbers": [], + "provisioningState": "Succeeded", + "serviceTags": [], + "subscriptions": [] + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterAccessRules_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAccessRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAccessRuleList.json new file mode 100644 index 000000000000..9fcf05189234 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAccessRuleList.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAccessRulesList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "accessRule1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "id": "/subscriptions/rg1/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1", + "properties": { + "addressPrefixes": [ + "10.11.0.0/16", + "10.10.1.0/24" + ], + "direction": "Inbound", + "emailAddresses": [], + "fullyQualifiedDomainNames": [], + "networkSecurityPerimeters": [], + "phoneNumbers": [], + "provisioningState": "Succeeded", + "serviceTags": [], + "subscriptions": [] + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + }, + { + "name": "accessRule2", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule2", + "properties": { + "addressPrefixes": [], + "direction": "Outbound", + "emailAddresses": [], + "fullyQualifiedDomainNames": [ + "paasrp1.contoso.org", + "paasrp2.contoso.org" + ], + "networkSecurityPerimeters": [], + "phoneNumbers": [], + "provisioningState": "Succeeded", + "serviceTags": [], + "subscriptions": [] + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterAccessRules_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAccessRulePut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAccessRulePut.json new file mode 100644 index 000000000000..5c5bd3e4f9f4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAccessRulePut.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "accessRuleName": "accessRule1", + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "properties": { + "addressPrefixes": [ + "10.11.0.0/16", + "10.10.1.0/24" + ], + "direction": "Inbound" + } + }, + "profileName": "profile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAccessRulePut", + "responses": { + "200": { + "body": { + "name": "accessRule1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1", + "properties": { + "addressPrefixes": [ + "10.11.0.0/16", + "10.10.1.0/24" + ], + "direction": "Inbound", + "emailAddresses": [], + "fullyQualifiedDomainNames": [], + "networkSecurityPerimeters": [], + "phoneNumbers": [], + "provisioningState": "Succeeded", + "serviceTags": [], + "subscriptions": [] + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "accessRule1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles/accessRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1/accessRules/accessRule1", + "properties": { + "addressPrefixes": [ + "10.11.0.0/16", + "10.10.1.0/24" + ], + "direction": "Inbound", + "emailAddresses": [], + "fullyQualifiedDomainNames": [], + "networkSecurityPerimeters": [], + "phoneNumbers": [], + "provisioningState": "Succeeded", + "serviceTags": [], + "subscriptions": [] + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterAccessRules_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAccessRuleReconcile.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAccessRuleReconcile.json new file mode 100644 index 000000000000..14550104dc9f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAccessRuleReconcile.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "accessRuleName": "accessRuleName1", + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "properties": {} + }, + "profileName": "profile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAccessRuleReconcile", + "responses": { + "200": { + "body": {} + } + }, + "operationId": "NetworkSecurityPerimeterAccessRules_Reconcile" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAssociationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAssociationDelete.json new file mode 100644 index 000000000000..4b538ca6c5c6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAssociationDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "operationId": "operationId1", + "api-version": "2025-07-01", + "associationName": "association1", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAssociationDelete", + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/networkSecurityPerimeterOperationStatuses/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "NetworkSecurityPerimeterAssociations_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAssociationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAssociationGet.json new file mode 100644 index 000000000000..556e90ffc1aa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAssociationGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "associationName": "association1", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAssociationGet", + "responses": { + "200": { + "body": { + "name": "association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "properties": { + "accessMode": "Enforced", + "hasProvisioningIssues": "no", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterAssociations_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAssociationList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAssociationList.json new file mode 100644 index 000000000000..9b2e2b8eb727 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAssociationList.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAssociationList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "properties": { + "accessMode": "Enforced", + "hasProvisioningIssues": "no", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + }, + { + "name": "association2", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association2", + "properties": { + "accessMode": "Audit", + "hasProvisioningIssues": "no", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + }, + { + "name": "association3", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association3", + "properties": { + "accessMode": "Learning", + "hasProvisioningIssues": "yes", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "provisioningState": "Failed" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterAssociations_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAssociationPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAssociationPut.json new file mode 100644 index 000000000000..daf78eac7c96 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAssociationPut.json @@ -0,0 +1,105 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "associationName": "association1", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "properties": { + "accessMode": "Enforced", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAssociationPut", + "responses": { + "200": { + "body": { + "name": "association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "properties": { + "accessMode": "Enforced", + "hasProvisioningIssues": "no", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "properties": { + "accessMode": "Enforced", + "hasProvisioningIssues": "no", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + }, + "202": { + "body": { + "name": "association1", + "type": "Microsoft.Network/networkSecurityPerimeters/resourceAssociations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/resourceAssociations/association1", + "properties": { + "accessMode": "Learning", + "hasProvisioningIssues": "no", + "privateLinkResource": { + "id": "/subscriptions/{paasSubscriptionId}/resourceGroups/{paasResourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}" + }, + "profile": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/{profileName}" + }, + "provisioningState": "Creating" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + }, + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/networkSecurityPerimeterOperationStatuses/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "NetworkSecurityPerimeterAssociations_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAssociationReconcile.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAssociationReconcile.json new file mode 100644 index 000000000000..39d4b678f9c1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspAssociationReconcile.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "associationName": "association1", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "properties": {} + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspAssociationReconcile", + "responses": { + "200": { + "body": {} + } + }, + "operationId": "NetworkSecurityPerimeterAssociations_Reconcile" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkDelete.json new file mode 100644 index 000000000000..35e846ef0ac1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "linkName": "link1", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLinkDelete", + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links/{linkName}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "NetworkSecurityPerimeterLinks_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkGet.json new file mode 100644 index 000000000000..f471ed1e0015 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkGet.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "linkName": "link1", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLinksGet", + "responses": { + "200": { + "body": { + "name": "link1", + "type": "Microsoft.Network/networkSecurityPerimeters/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links/link1", + "properties": { + "description": "Auto Approved", + "autoApprovedRemotePerimeterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "provisioningState": "Succeeded", + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "status": "Approved" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterLinks_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkList.json new file mode 100644 index 000000000000..bb72be478ace --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkList.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLinkList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "link1", + "type": "Microsoft.Network/networkSecurityPerimeters/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links/link1", + "properties": { + "description": "Auto Approved", + "autoApprovedRemotePerimeterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "provisioningState": "Succeeded", + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "status": "Approved" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterLinks_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkPut.json new file mode 100644 index 000000000000..c56b246921bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkPut.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "linkName": "link1", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "properties": { + "autoApprovedRemotePerimeterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "localInboundProfiles": [ + "*" + ], + "remoteInboundProfiles": [ + "*" + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLinksPut", + "responses": { + "200": { + "body": { + "name": "link1", + "type": "Microsoft.Network/networkSecurityPerimeters/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links/link1", + "properties": { + "description": "Auto Approved", + "autoApprovedRemotePerimeterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "provisioningState": "Succeeded", + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "status": "Approved" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "link1", + "type": "Microsoft.Network/networkSecurityPerimeters/links", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/links/link1", + "properties": { + "description": "Auto Approved", + "autoApprovedRemotePerimeterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "provisioningState": "Succeeded", + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "status": "Approved" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterLinks_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkReferenceDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkReferenceDelete.json new file mode 100644 index 000000000000..76f07f24c3f3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkReferenceDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "linkReferenceName": "link1-guid", + "networkSecurityPerimeterName": "nsp2", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLinkReferenceDelete", + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/linkreferences/{linkReferenceName}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "NetworkSecurityPerimeterLinkReferences_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkReferenceGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkReferenceGet.json new file mode 100644 index 000000000000..28d19a1e72e5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkReferenceGet.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "linkReferenceName": "link1-guid", + "networkSecurityPerimeterName": "nsp2", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLinkReferencesGet", + "responses": { + "200": { + "body": { + "name": "link1-guid", + "type": "Microsoft.Network/networkSecurityPerimeters/linkreferences", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2/linkreferences/link1-guid", + "properties": { + "description": "Auto Approved", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "provisioningState": "Succeeded", + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "remotePerimeterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "status": "Approved" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterLinkReferences_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkReferenceList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkReferenceList.json new file mode 100644 index 000000000000..6edb39836812 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLinkReferenceList.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp2", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLinkReferenceList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2/linkreferences?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "link1-guid", + "type": "Microsoft.Network/networkSecurityPerimeters/linkreferences", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp2/linkreferences/link1-guid", + "properties": { + "description": "Auto Approved", + "localInboundProfiles": [ + "*" + ], + "localOutboundProfiles": [ + "*" + ], + "provisioningState": "Succeeded", + "remoteInboundProfiles": [ + "*" + ], + "remoteOutboundProfiles": [ + "*" + ], + "remotePerimeterGuid": "guid", + "remotePerimeterLocation": "westus2", + "remotePerimeterResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1", + "status": "Approved" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterLinkReferences_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLoggingConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLoggingConfigurationDelete.json new file mode 100644 index 000000000000..a040cad142eb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLoggingConfigurationDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loggingConfigurationName": "instance", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLoggingConfigurationDelete", + "responses": { + "200": {}, + "204": {} + }, + "operationId": "NetworkSecurityPerimeterLoggingConfigurations_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLoggingConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLoggingConfigurationGet.json new file mode 100644 index 000000000000..0e47a184f33d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLoggingConfigurationGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loggingConfigurationName": "instance", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLoggingConfigurationGet", + "responses": { + "200": { + "body": { + "name": "instance", + "type": "Microsoft.Network/networkSecurityPerimeters/loggingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/loggingConfigurations/instance", + "properties": { + "enabledLogCategories": [ + "NspPublicInboundPerimeterRulesDenied", + "NspPublicOutboundPerimeterRulesDenied" + ], + "version": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterLoggingConfigurations_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLoggingConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLoggingConfigurationList.json new file mode 100644 index 000000000000..b66a9e180842 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLoggingConfigurationList.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLoggingConfigurationList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/loggingConfigurations?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "instance", + "type": "Microsoft.Network/networkSecurityPerimeters/loggingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/loggingConfigurations/instance", + "properties": { + "enabledLogCategories": [ + "NspPublicInboundPerimeterRulesDenied", + "NspPublicOutboundPerimeterRulesDenied" + ], + "version": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterLoggingConfigurations_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLoggingConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLoggingConfigurationPut.json new file mode 100644 index 000000000000..1e9cd8d90ba4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspLoggingConfigurationPut.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "loggingConfigurationName": "instance", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "properties": { + "enabledLogCategories": [ + "NspPublicInboundPerimeterRulesDenied", + "NspPublicOutboundPerimeterRulesDenied" + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspLoggingConfigurationPut", + "responses": { + "200": { + "body": { + "name": "instance", + "type": "Microsoft.Network/networkSecurityPerimeters/loggingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/loggingConfigurations/instance", + "properties": { + "enabledLogCategories": [ + "NspPublicInboundPerimeterRulesDenied", + "NspPublicOutboundPerimeterRulesDenied" + ], + "version": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "instance", + "type": "Microsoft.Network/networkSecurityPerimeters/loggingConfigurations", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/loggingConfigurations/instance", + "properties": { + "enabledLogCategories": [ + "NspPublicInboundPerimeterRulesDenied", + "NspPublicOutboundPerimeterRulesDenied" + ], + "version": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterLoggingConfigurations_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspOperationStatusGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspOperationStatusGet.json new file mode 100644 index 000000000000..6683f7d38232 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspOperationStatusGet.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "operationId": "operationId1", + "api-version": "2025-07-01", + "location": "location1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspOperationStatusGet", + "responses": { + "200": { + "body": { + "name": "operationId1", + "endTime": "2025-01-09T10:46:55.0948652Z", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/location1/networkSecurityPerimeterOperationStatuses/operationId1", + "startTime": "2025-01-09T10:46:51.0988675Z", + "status": "Succeeded" + } + } + }, + "operationId": "NetworkSecurityPerimeterOperationStatuses_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspProfileDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspProfileDelete.json new file mode 100644 index 000000000000..d2d2eb6d4bf0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspProfileDelete.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspProfilesDelete", + "responses": { + "200": {}, + "204": {} + }, + "operationId": "NetworkSecurityPerimeterProfiles_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspProfileGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspProfileGet.json new file mode 100644 index 000000000000..f55facc4c5f1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspProfileGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "profileName": "profile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspProfilesGet", + "responses": { + "200": { + "body": { + "name": "nsp1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterProfiles_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspProfileList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspProfileList.json new file mode 100644 index 000000000000..ac152fbebf57 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspProfileList.json @@ -0,0 +1,53 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspProfilesList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "profile1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + }, + { + "name": "profile2", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile2", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterProfiles_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspProfilePut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspProfilePut.json new file mode 100644 index 000000000000..e514d50e9dc4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspProfilePut.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkSecurityPerimeterName": "nsp1", + "parameters": { + "properties": {} + }, + "profileName": "profile1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NspProfilesPut", + "responses": { + "200": { + "body": { + "name": "profile1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "profile1", + "type": "Microsoft.Network/networkSecurityPerimeters/profiles", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityPerimeters/nsp1/profiles/profile1", + "properties": { + "accessRulesVersion": "0", + "diagnosticSettingsVersion": "0" + }, + "systemData": { + "createdAt": "2024-02-07T18:07:36.3446713Z", + "createdBy": "user", + "createdByType": "User", + "lastModifiedAt": "2024-02-07T18:07:36.3446713Z", + "lastModifiedBy": "user", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "NetworkSecurityPerimeterProfiles_CreateOrUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspServiceTagsList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspServiceTagsList.json new file mode 100644 index 000000000000..7436cf8ad6ae --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/NspServiceTagsList.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NSPServiceTagsList", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/nspServiceTags?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "serviceTags": [ + "ActionGroup", + "AppConfigurationInternal", + "AzureCloud", + "PRIVATE", + "ApiManagement", + "MicrosoftPublicIPSpace", + "MicrosoftPrivateIPSpace" + ] + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterServiceTags_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/OperationList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/OperationList.json new file mode 100644 index 000000000000..476e2e04dff0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/OperationList.json @@ -0,0 +1,139 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Microsoft.Network/localnetworkgateways/read", + "display": { + "description": "Gets LocalNetworkGateway", + "operation": "Get LocalNetworkGateway", + "provider": "Microsoft Network", + "resource": "LocalNetworkGateway" + } + }, + { + "name": "Microsoft.Network/localnetworkgateways/write", + "display": { + "description": "Creates or updates an existing LocalNetworkGateway", + "operation": "Create or update LocalNetworkGateway", + "provider": "Microsoft Network", + "resource": "LocalNetworkGateway" + } + }, + { + "name": "Microsoft.Network/localnetworkgateways/delete", + "display": { + "description": "Deletes LocalNetworkGateway", + "operation": "Delete LocalNetworkGateway", + "provider": "Microsoft Network", + "resource": "LocalNetworkGateway" + } + }, + { + "name": "Microsoft.Network/networkInterfaces/providers/Microsoft.Insights/metricDefinitions/read", + "display": { + "description": "Gets available metrics for the Network Interface", + "operation": "Read Network Interface metric definitions", + "provider": "Microsoft Network", + "resource": "Network Interface metric definition" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "metricSpecifications": [ + { + "name": "BytesSentRate", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "01:00:00", + "retention": "00:00:00", + "timeGrain": "00:01:00" + }, + { + "blobDuration": "1.00:00:00", + "retention": "00:00:00", + "timeGrain": "01:00:00" + } + ], + "dimensions": [], + "displayDescription": "Number of bytes the Network Interface sent", + "displayName": "Bytes Sent", + "enableRegionalMdmAccount": false, + "fillGapWithZero": false, + "isInternal": false, + "metricFilterPattern": "^__Ready__$", + "unit": "Count" + }, + { + "name": "BytesReceivedRate", + "aggregationType": "Total", + "availabilities": [ + { + "blobDuration": "01:00:00", + "retention": "00:00:00", + "timeGrain": "00:01:00" + }, + { + "blobDuration": "1.00:00:00", + "retention": "00:00:00", + "timeGrain": "01:00:00" + } + ], + "dimensions": [], + "displayDescription": "Number of bytes the Network Interface received", + "displayName": "Bytes Received", + "enableRegionalMdmAccount": false, + "fillGapWithZero": false, + "isInternal": false, + "metricFilterPattern": "^__Ready__$", + "unit": "Count" + } + ] + } + } + }, + { + "name": "Microsoft.Network/networksecuritygroups/providers/Microsoft.Insights/logDefinitions/read", + "display": { + "description": "Gets the events for network security group", + "operation": "Get Network Security Group Event Log Definitions", + "provider": "Microsoft Network", + "resource": "Network Security Groups Log Definitions" + }, + "origin": "system", + "properties": { + "serviceSpecification": { + "logSpecifications": [ + { + "name": "NetworkSecurityGroupEvent", + "blobDuration": "PT1H", + "displayName": "Network Security Group Event" + }, + { + "name": "NetworkSecurityGroupRuleCounter", + "blobDuration": "PT1H", + "displayName": "Network Security Group Rule Counter" + }, + { + "name": "NetworkSecurityGroupFlowEvent", + "blobDuration": "PT1H", + "displayName": "Network Security Group Rule Flow Event" + } + ] + } + } + } + ] + } + } + }, + "operationId": "Operations_List", + "title": "Get a list of operations for a resource provider" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayDelete.json new file mode 100644 index 000000000000..3aa3cdbbdea1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "p2sVpnGateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "P2sVpnGateways_Delete", + "title": "P2SVpnGatewayDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayGenerateVpnProfile.json new file mode 100644 index 000000000000..55e8c6a8258e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayGenerateVpnProfile.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "p2sVpnGateway1", + "parameters": { + "authenticationMethod": "EAPTLS" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "profileUrl": "aaaaaaaaaaaaaaaaaaaaaaaaaaa" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "P2sVpnGateways_GenerateVpnProfile", + "title": "GenerateP2SVpnGatewayVPNProfile" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayGet.json new file mode 100644 index 000000000000..0bfe379954ea --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayGet.json @@ -0,0 +1,108 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "p2sVpnGateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "p2sVpnGateway1", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "location": "West US", + "properties": { + "customDnsServers": [ + "3.3.3.3" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": false, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalEgressBytesTransferred": 3000, + "totalIngressBytesTransferred": 2000, + "vpnClientConnectionsCount": 2 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + } + } + }, + "operationId": "P2sVpnGateways_Get", + "title": "P2SVpnGatewayGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayGetConnectionHealth.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayGetConnectionHealth.json new file mode 100644 index 000000000000..62ee1083e0c3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayGetConnectionHealth.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "p2sVpnGateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "p2sVpnGateway1", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "location": "West US", + "properties": { + "customDnsServers": [ + "3.3.3.3" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": false, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalEgressBytesTransferred": 3000, + "totalIngressBytesTransferred": 2000, + "vpnClientConnectionsCount": 2 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "P2sVpnGateways_GetP2sVpnConnectionHealth", + "title": "P2SVpnGatewayGetConnectionHealth" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayGetConnectionHealthDetailed.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayGetConnectionHealthDetailed.json new file mode 100644 index 000000000000..fb333a28ebc4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayGetConnectionHealthDetailed.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "p2svpngateway", + "resourceGroupName": "p2s-vpn-gateway-test", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "outputBlobSasUrl": "https://blobcortextesturl.blob.core.windows.net/folderforconfig/p2sconnectionhealths?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b", + "vpnUserNamesFilter": [ + "vpnUser1", + "vpnUser2" + ] + } + }, + "responses": { + "200": { + "body": { + "sasUrl": "aaaaaaaaaaaaaaaaaa" + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "P2sVpnGateways_GetP2sVpnConnectionHealthDetailed", + "title": "P2SVpnGatewayGetConnectionHealthDetailed" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayList.json new file mode 100644 index 000000000000..823e5d95737c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayList.json @@ -0,0 +1,205 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "p2sVpnGateway1", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "location": "West US", + "properties": { + "customDnsServers": [ + "3.3.3.3" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": true, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalEgressBytesTransferred": 3000, + "totalIngressBytesTransferred": 2000, + "vpnClientConnectionsCount": 2 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + }, + { + "name": "p2sVpnGateway2", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway2", + "location": "West US", + "properties": { + "customDnsServers": [ + "4.4.4.4" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": true, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.4.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalEgressBytesTransferred": 3000, + "totalIngressBytesTransferred": 2000, + "vpnClientConnectionsCount": 2 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + } + ] + } + } + }, + "operationId": "P2sVpnGateways_List", + "title": "P2SVpnGatewayListBySubscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayListByResourceGroup.json new file mode 100644 index 000000000000..cd162b1fcddc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayListByResourceGroup.json @@ -0,0 +1,201 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "p2sVpnGateway1", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "location": "West US", + "properties": { + "customDnsServers": [ + "3.3.3.3" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": false, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalEgressBytesTransferred": 3000, + "totalIngressBytesTransferred": 2000, + "vpnClientConnectionsCount": 2 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + }, + { + "name": "p2sVpnGateway2", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway2", + "location": "West US", + "properties": { + "customDnsServers": [ + "4.4.4.4" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": false, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalEgressBytesTransferred": 3000, + "totalIngressBytesTransferred": 2000, + "vpnClientConnectionsCount": 2 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + } + ] + } + } + }, + "operationId": "P2sVpnGateways_ListByResourceGroup", + "title": "P2SVpnGatewayListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayPut.json new file mode 100644 index 000000000000..c4412344a2db --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayPut.json @@ -0,0 +1,258 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "p2sVpnGateway1", + "p2SVpnGatewayParameters": { + "location": "West US", + "properties": { + "customDnsServers": [ + "1.1.1.1", + "2.2.2.2" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "p2sVpnGateway1", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "location": "West US", + "properties": { + "customDnsServers": [ + "1.1.1.1", + "2.2.2.2" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": false, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [], + "totalEgressBytesTransferred": 0, + "totalIngressBytesTransferred": 0, + "vpnClientConnectionsCount": 0 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + } + }, + "201": { + "body": { + "name": "p2sVpnGateway1", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "location": "West US", + "properties": { + "customDnsServers": [ + "1.1.1.1", + "2.2.2.2" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": false, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [], + "totalEgressBytesTransferred": 0, + "totalIngressBytesTransferred": 0, + "vpnClientConnectionsCount": 0 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + } + } + }, + "operationId": "P2sVpnGateways_CreateOrUpdate", + "title": "P2SVpnGatewayPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayReset.json new file mode 100644 index 000000000000..0a0d17769d34 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayReset.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "p2sVpnGateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "p2sVpnGateway1", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "location": "West US", + "properties": { + "customDnsServers": [ + "3.3.3.3" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": false, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalEgressBytesTransferred": 3000, + "totalIngressBytesTransferred": 2000, + "vpnClientConnectionsCount": 2 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "P2SVpnGateways_Reset", + "title": "ResetP2SVpnGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayUpdateTags.json new file mode 100644 index 000000000000..8e5fca349037 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2SVpnGatewayUpdateTags.json @@ -0,0 +1,121 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "p2sVpnGateway1", + "p2SVpnGatewayParameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "p2sVpnGateway1", + "type": "Microsoft.Network/p2sVpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", + "location": "West US", + "properties": { + "customDnsServers": [ + "3.3.3.3" + ], + "isRoutingPreferenceInternet": false, + "p2SConnectionConfigurations": [ + { + "name": "P2SConnectionConfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1", + "properties": { + "configurationPolicyGroupAssociations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/configurationPolicyGroups/policyGroup1" + } + ], + "enableInternetSecurity": false, + "previousConfigurationPolicyGroupAssociations": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnClientAddressPool": { + "addressPrefixes": [ + "101.3.0.0/16" + ] + } + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + }, + "vpnClientConnectionHealth": { + "allocatedIpAddresses": [ + "1.1.1.1", + "2.2.2.2" + ], + "totalEgressBytesTransferred": 3000, + "totalIngressBytesTransferred": 2000, + "vpnClientConnectionsCount": 2 + }, + "vpnGatewayScaleUnit": 1, + "vpnServerConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1" + } + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "P2sVpnGateways_UpdateTags", + "title": "P2SVpnGatewayUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2sVpnGatewaysDisconnectP2sVpnConnections.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2sVpnGatewaysDisconnectP2sVpnConnections.json new file mode 100644 index 000000000000..730860245a16 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/P2sVpnGatewaysDisconnectP2sVpnConnections.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "p2sVpnGatewayName": "p2svpngateway", + "resourceGroupName": "p2s-vpn-gateway-test", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "request": { + "vpnConnectionIds": [ + "vpnconnId1", + "vpnconnId2" + ] + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "P2sVpnGateways_DisconnectP2sVpnConnections", + "title": "Disconnect VpnConnections from P2sVpn Gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PeerExpressRouteCircuitConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PeerExpressRouteCircuitConnectionGet.json new file mode 100644 index 000000000000..6b4ca8904e57 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PeerExpressRouteCircuitConnectionGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "ExpressRouteARMCircuitA", + "connectionName": "60aee347-e889-4a42-8c1b-0aae8b1e4013", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "60aee347-e889-4a42-8c1b-0aae8b1e4013", + "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013", + "properties": { + "addressPrefix": "20.0.0.0/29", + "authResourceGuid": "", + "circuitConnectionStatus": "Connected", + "connectionName": "circuitConnectionWestusEastus", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering" + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "PeerExpressRouteCircuitConnections_Get", + "title": "PeerExpressRouteCircuitConnectionGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PeerExpressRouteCircuitConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PeerExpressRouteCircuitConnectionList.json new file mode 100644 index 000000000000..18811cc7942e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PeerExpressRouteCircuitConnectionList.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "circuitName": "ExpressRouteARMCircuitA", + "peeringName": "AzurePrivatePeering", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "60aee347-e889-4a42-8c1b-0aae8b1e4013", + "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/60aee347-e889-4a42-8c1b-0aae8b1e4013", + "properties": { + "addressPrefix": "20.0.0.0/29", + "authResourceGuid": "", + "circuitConnectionStatus": "Connected", + "connectionName": "circuitConnectionWestusEastus", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitB/peerings/AzurePrivatePeering" + }, + "provisioningState": "Succeeded" + } + }, + { + "name": "c8b17193-8dd3-4f61-866d-8cdd2e2e268e", + "etag": "W/\"6ffbbb06-da20-44ca-a34f-280c4653b1e9\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering/peerConnections/c8b17193-8dd3-4f61-866d-8cdd2e2e268e", + "properties": { + "addressPrefix": "30.0.0.0/29", + "authResourceGuid": "64283012-d377-421d-8398-f6aeb2ac7ea0", + "circuitConnectionStatus": "Connected", + "connectionName": "circuitConnectionCentralusEastus", + "expressRouteCircuitPeering": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitA/peerings/AzurePrivatePeering" + }, + "peerExpressRouteCircuitPeering": { + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/ExpressRouteARMCircuitC/peerings/AzurePrivatePeering" + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "PeerExpressRouteCircuitConnections_List", + "title": "List Peer ExpressRouteCircuit Connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PerimeterAssociableResourcesList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PerimeterAssociableResourcesList.json new file mode 100644 index 000000000000..92ce5c0b018d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PerimeterAssociableResourcesList.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "title": "NetworkSecurityPerimeterAssociableResourceTypes", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/perimeterAssociableResourceTypes?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "Microsoft.Sql.servers", + "type": "Microsoft.Network/PerimeterAssociableResourceTypes", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/perimeterAssociableResourceTypes/Microsoft.Sql.servers", + "properties": { + "displayName": "Microsoft.Sql/servers", + "publicDnsZones": [ + "database.windows.net" + ], + "resourceType": "Microsoft.Sql/servers", + "serviceTags": [ + "Sql" + ], + "readinessState": "GA", + "outboundSupported": true, + "description": "" + } + }, + { + "name": "Microsoft.Storage.accounts", + "type": "Microsoft.Network/PerimeterAssociableResourceTypes", + "id": "/subscriptions/{subscriptionId}/providers/Microsoft.Network/perimeterAssociableResourceTypes/Microsoft.Storage.storageAccounts", + "properties": { + "displayName": "Microsoft.Storage/accounts", + "publicDnsZones": [ + "blob.core.windows.net", + "table.core.windows.net", + "queue.core.windows.net", + "file.core.windows.net" + ], + "resourceType": "Microsoft.Storage/accounts", + "serviceTags": [ + "Storage" + ], + "readinessState": "GA", + "outboundSupported": true, + "description": "" + } + } + ] + } + } + }, + "operationId": "NetworkSecurityPerimeterAssociableResourceTypes_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointCreate.json new file mode 100644 index 000000000000..86f8cd45c27b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointCreate.json @@ -0,0 +1,170 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "extendedLocation": { + "name": "edgeZone0", + "type": "EdgeZone" + }, + "parameters": { + "location": "eastus2euap", + "properties": { + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.6" + } + } + ], + "ipVersionType": "IPv4", + "privateLinkServiceConnections": [ + { + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + }, + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus2euap", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.6" + } + } + ], + "manualPrivateLinkServiceConnections": [], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + }, + "201": { + "body": { + "name": "testPe", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus2euap", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.6" + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + } + }, + "operationId": "PrivateEndpoints_CreateOrUpdate", + "title": "Create private endpoint" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointCreateForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointCreateForManualApproval.json new file mode 100644 index 000000000000..bd56361bd29c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointCreateForManualApproval.json @@ -0,0 +1,165 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.5" + } + } + ], + "manualPrivateLinkServiceConnections": [ + { + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please manually approve my connection." + } + } + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + }, + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.5" + } + } + ], + "manualPrivateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/manualPrivateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Awaiting approval", + "actionsRequired": "None", + "status": "Pending" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please manually approve my connection." + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + }, + "201": { + "body": { + "name": "testPe", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.5" + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + } + }, + "operationId": "PrivateEndpoints_CreateOrUpdate", + "title": "Create private endpoint with manual approval connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointCreateWithASG.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointCreateWithASG.json new file mode 100644 index 000000000000..9eb2711b9720 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointCreateWithASG.json @@ -0,0 +1,149 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "extendedLocation": { + "name": "edgeZone0", + "type": "EdgeZone" + }, + "parameters": { + "location": "eastus2euap", + "properties": { + "applicationSecurityGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/applicationSecurityGroup/asg1" + } + ], + "privateLinkServiceConnections": [ + { + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + }, + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus2euap", + "properties": { + "applicationSecurityGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/applicationSecurityGroup/asg1" + } + ], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "manualPrivateLinkServiceConnections": [], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + }, + "201": { + "body": { + "name": "testPe", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus2euap", + "properties": { + "applicationSecurityGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/applicationSecurityGroup/asg1" + } + ], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + } + }, + "operationId": "PrivateEndpoints_CreateOrUpdate", + "title": "Create private endpoint with application security groups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointDelete.json new file mode 100644 index 000000000000..aad48472d392 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointDelete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus" + }, + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "PrivateEndpoints_Delete", + "title": "Delete private endpoint" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointDnsZoneGroupCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointDnsZoneGroupCreate.json new file mode 100644 index 000000000000..07a1a3d13cdd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointDnsZoneGroupCreate.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "properties": { + "privateDnsZoneConfigs": [ + { + "properties": { + "privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone1.com" + } + } + ] + } + }, + "privateDnsZoneGroupName": "testPdnsgroup", + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPdnsgroup", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPe/privateDnsZoneGroups/testPdnsgroup", + "properties": { + "privateDnsZoneConfigs": [ + { + "properties": { + "privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone1.com", + "recordSets": [ + { + "fqdn": "abc.zone1.com", + "ipAddresses": [ + "10.0.0.4" + ], + "recordSetName": "abc", + "recordType": "A" + }, + { + "fqdn": "abc2.zone1.com", + "ipAddresses": [ + "10.0.0.5" + ], + "recordSetName": "abc2", + "recordType": "A" + } + ] + } + } + ], + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "testPdnsgroup", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPe/privateDnsZoneGroups/testPdnsgroup", + "properties": { + "privateDnsZoneConfigs": [ + { + "properties": { + "privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone1.com", + "recordSets": [ + { + "fqdn": "abc.zone1.com", + "ipAddresses": [ + "10.0.0.4" + ], + "recordSetName": "abc", + "recordType": "A" + }, + { + "fqdn": "abc2.zone1.com", + "ipAddresses": [ + "10.0.0.5" + ], + "recordSetName": "abc2", + "recordType": "A" + } + ] + } + } + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "PrivateDnsZoneGroups_CreateOrUpdate", + "title": "Create private dns zone group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointDnsZoneGroupDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointDnsZoneGroupDelete.json new file mode 100644 index 000000000000..ad05c4ef13e4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointDnsZoneGroupDelete.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus" + }, + "privateDnsZoneGroupName": "testPdnsgroup", + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "PrivateDnsZoneGroups_Delete", + "title": "Delete private dns zone group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointDnsZoneGroupGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointDnsZoneGroupGet.json new file mode 100644 index 000000000000..c3d0ff3fd07f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointDnsZoneGroupGet.json @@ -0,0 +1,70 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "privateDnsZoneGroupName": "testPdnsgroup", + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPdnsgroup", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPe/privateDnsZoneGroups/testPdnsgroup", + "properties": { + "privateDnsZoneConfigs": [ + { + "properties": { + "privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone1.com", + "recordSets": [ + { + "fqdn": "abc.zone1.com", + "ipAddresses": [ + "10.0.0.4" + ], + "recordSetName": "abc", + "recordType": "A" + }, + { + "fqdn": "abc2.zone1.com", + "ipAddresses": [ + "10.0.0.5" + ], + "recordSetName": "abc2", + "recordType": "A" + } + ] + } + }, + { + "properties": { + "privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone2.com", + "recordSets": [ + { + "fqdn": "abc.zone2.com", + "ipAddresses": [ + "10.0.0.6" + ], + "recordSetName": "abc", + "recordType": "A" + }, + { + "fqdn": "abc2.zone2.com", + "ipAddresses": [ + "10.0.0.7" + ], + "recordSetName": "abc2", + "recordType": "A" + } + ] + } + } + ], + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "PrivateDnsZoneGroups_Get", + "title": "Get private dns zone group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointDnsZoneGroupList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointDnsZoneGroupList.json new file mode 100644 index 000000000000..89259c7c8b22 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointDnsZoneGroupList.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testPdnsgroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPe/privateDnsZoneGroups/testPdnsgroup1", + "properties": { + "privateDnsZoneConfigs": [ + { + "properties": { + "privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone1.com", + "recordSets": [ + { + "fqdn": "abc.zone1.com", + "ipAddresses": [ + "10.0.0.4" + ], + "recordSetName": "abc", + "recordType": "A" + }, + { + "fqdn": "abc2.zone1.com", + "ipAddresses": [ + "10.0.0.5" + ], + "recordSetName": "abc2", + "recordType": "A" + } + ] + } + } + ], + "provisioningState": "Succeeded" + } + }, + { + "name": "testPdnsgroup2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPe/privateDnsZoneGroups/testPdnsgroup2", + "properties": { + "privateDnsZoneConfigs": [ + { + "properties": { + "privateDnsZoneId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateDnsZones/zone2.com", + "recordSets": [ + { + "fqdn": "abc3.zone2.com", + "ipAddresses": [ + "10.0.0.6" + ], + "recordSetName": "abc3", + "recordType": "A" + }, + { + "fqdn": "abc4.zone2.com", + "ipAddresses": [ + "10.0.0.7" + ], + "recordSetName": "abc4", + "recordType": "A" + } + ] + } + } + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "PrivateDnsZoneGroups_List", + "title": "List private endpoints in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointGet.json new file mode 100644 index 000000000000..0957cc7a0283 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointGet.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "type": "Microsoft.Network/privateEndpoints", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.6" + } + }, + { + "name": "pestaticconfig2", + "properties": { + "groupId": "file", + "memberName": "file2", + "privateIPAddress": "192.168.0.7" + } + } + ], + "manualPrivateLinkServiceConnections": [], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + } + }, + "operationId": "PrivateEndpoints_Get", + "title": "Get private endpoint" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointGetForManualApproval.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointGetForManualApproval.json new file mode 100644 index 000000000000..b828904e54a3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointGetForManualApproval.json @@ -0,0 +1,75 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "type": "Microsoft.Network/privateEndpoints", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.5" + } + } + ], + "manualPrivateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/manualPrivateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Awaiting approval", + "actionsRequired": "None", + "status": "Pending" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please manually approve my connection." + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + } + }, + "operationId": "PrivateEndpoints_Get", + "title": "Get private endpoint with manual approval connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointGetWithASG.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointGetWithASG.json new file mode 100644 index 000000000000..0f466cf28d16 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointGetWithASG.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "privateEndpointName": "testPe", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPe", + "type": "Microsoft.Network/privateEndpoints", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/applicationSecurityGroup/asg1" + } + ], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "manualPrivateLinkServiceConnections": [], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPe.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "requestMessage": "Please approve my connection." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + } + } + }, + "operationId": "PrivateEndpoints_Get", + "title": "Get private endpoint with application security groups" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointList.json new file mode 100644 index 000000000000..c520554669bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointList.json @@ -0,0 +1,155 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "pe1", + "type": "Microsoft.Network/privateEndpoints", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.10" + } + }, + { + "name": "pestaticconfig", + "properties": { + "groupId": "file", + "memberName": "file2", + "privateIPAddress": "192.168.0.11" + } + } + ], + "manualPrivateLinkServiceConnections": [], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", + "requestMessage": "Please approve my connection for pe1." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + }, + { + "name": "pe2", + "type": "Microsoft.Network/privateEndpoints", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe2", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc3.cosmos1.com", + "ipAddresses": [ + "192.168.0.6" + ] + }, + { + "fqdn": "abc4.cosmos1.com", + "ipAddresses": [ + "192.168.0.7" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig3", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.8" + } + }, + { + "name": "pestaticconfig4", + "properties": { + "groupId": "file", + "memberName": "file2", + "privateIPAddress": "192.168.0.9" + } + } + ], + "manualPrivateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe2/privateLinkServiceConnections/plsconnection2", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Awaiting approval", + "actionsRequired": "None", + "status": "Pending" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2", + "requestMessage": "Please manually approve my connection for pe2." + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876" + } + ], + "privateLinkServiceConnections": [], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2" + } + } + } + ] + } + } + }, + "operationId": "PrivateEndpoints_List", + "title": "List private endpoints in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointListAll.json new file mode 100644 index 000000000000..a24039d7aae1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateEndpointListAll.json @@ -0,0 +1,221 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "pe1", + "type": "Microsoft.Network/privateEndpoints", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc.cosmos.com", + "ipAddresses": [ + "192.168.0.4" + ] + }, + { + "fqdn": "abc2.cosmos.com", + "ipAddresses": [ + "192.168.0.5" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig1", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.9" + } + }, + { + "name": "pestaticconfig2", + "properties": { + "groupId": "file", + "memberName": "file2", + "privateIPAddress": "192.168.0.10" + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/pe1.nic.abcd1234" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/pe1/privateLinkServiceConnections/plsconnection1", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", + "requestMessage": "Please approve my connection for pe1." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet" + } + } + }, + { + "name": "pe2", + "type": "Microsoft.Network/privateEndpoints", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/pe2", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc3.cosmos1.com", + "ipAddresses": [ + "192.168.0.5" + ] + }, + { + "fqdn": "abc4.cosmos1.com", + "ipAddresses": [ + "192.168.0.6" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig3", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.11" + } + }, + { + "name": "pestaticconfig4", + "properties": { + "groupId": "file", + "memberName": "file2", + "privateIPAddress": "192.168.0.12" + } + } + ], + "manualPrivateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/pe2/privateLinkServiceConnections/plsconnection2", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Awaiting approval", + "actionsRequired": "None", + "status": "Pending" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/testPls2", + "requestMessage": "Please manually approve my connection for pe2." + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/pe2.nic.zyxw9876" + } + ], + "privateLinkServiceConnections": [], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet2" + } + } + }, + { + "name": "pe3", + "type": "Microsoft.Network/privateEndpoints", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/privateEndpoints/pe3", + "location": "eastus", + "properties": { + "applicationSecurityGroups": [], + "customDnsConfigs": [ + { + "fqdn": "abc5.cosmos2.com", + "ipAddresses": [ + "192.168.0.7" + ] + }, + { + "fqdn": "abc6.cosmos2.com", + "ipAddresses": [ + "192.168.0.8" + ] + } + ], + "customNetworkInterfaceName": "testPeNic", + "ipConfigurations": [ + { + "name": "pestaticconfig5", + "properties": { + "groupId": "file", + "memberName": "file", + "privateIPAddress": "192.168.0.13" + } + }, + { + "name": "pestaticconfig6", + "properties": { + "groupId": "file", + "memberName": "file2", + "privateIPAddress": "192.168.0.14" + } + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/provders/Microsoft.Network/networkInterfaces/pe3.nic.efgh5463" + } + ], + "privateLinkServiceConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/privateEndpoints/testPe/privateLinkServiceConnections/plsconnection3", + "properties": { + "groupIds": [ + "groupIdFromResource" + ], + "privateLinkServiceConnectionState": { + "description": "Auto-approved", + "actionsRequired": "None", + "status": "Approved" + }, + "privateLinkServiceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/privateLinkServices/testPls3", + "requestMessage": "Please approve my connection for pe3." + } + } + ], + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/virtualNetworks/myVnet/subnets/mySubnet3" + } + } + } + ] + } + } + }, + "operationId": "PrivateEndpoints_ListBySubscription", + "title": "List all private endpoints" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceCreate.json new file mode 100644 index 000000000000..0374b0d36b44 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceCreate.json @@ -0,0 +1,163 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "extendedLocation": { + "name": "edgeZone0", + "type": "EdgeZone" + }, + "parameters": { + "location": "eastus", + "properties": { + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "ipConfigurations": [ + { + "name": "fe-lb", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + } + } + }, + "resourceGroupName": "rg1", + "serviceName": "testPls", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPls", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "location": "eastus", + "properties": { + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls/ipConfigurations/ipconfig1", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234" + } + ], + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + } + } + } + }, + "201": { + "body": { + "name": "testPls", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "location": "eastus", + "properties": { + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls/ipConfigurations/ipconfig1", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234" + } + ], + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + } + } + } + } + }, + "operationId": "PrivateLinkServices_CreateOrUpdate", + "title": "Create private link service" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceDelete.json new file mode 100644 index 000000000000..cab48d4fa492 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceDelete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus" + }, + "resourceGroupName": "rg1", + "serviceName": "testPls", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "PrivateLinkServices_Delete", + "title": "Delete private link service" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json new file mode 100644 index 000000000000..6b36d14373a2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceDeletePrivateEndpointConnection.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "eastus", + "peConnectionName": "testPlePeConnection", + "resourceGroupName": "rg1", + "serviceName": "testPls", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "PrivateLinkServices_DeletePrivateEndpointConnection", + "title": "delete private end point connection for a private link service" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceGet.json new file mode 100644 index 000000000000..ba1b9574ca10 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceGet.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceName": "testPls", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPls", + "type": "Microsoft.Network/privateLinkServices", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls", + "location": "eastus", + "properties": { + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls/ipConfigurations/ipconfig1", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb" + } + } + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb" + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls.nic.abcd1234" + } + ], + "privateEndpointConnections": [ + { + "name": "privateEndpointConnection", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls/privateEndpointConnections/privateEndpointConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + } + ], + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + } + } + } + } + }, + "operationId": "PrivateLinkServices_Get", + "title": "Get private link service" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceGetPrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceGetPrivateEndpointConnection.json new file mode 100644 index 000000000000..138b3930cb04 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceGetPrivateEndpointConnection.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "peConnectionName": "testPlePeConnection", + "resourceGroupName": "rg1", + "serviceName": "testPls", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPlePeConnection", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls/privateEndpointConnections/testPlePeConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + } + } + }, + "operationId": "PrivateLinkServices_GetPrivateEndpointConnection", + "title": "Get private end point connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceList.json new file mode 100644 index 000000000000..59a66cae07bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceList.json @@ -0,0 +1,147 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testPls1", + "type": "Microsoft.Network/privateLinkServices", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", + "location": "eastus", + "properties": { + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "autoApproval": { + "subscriptions": [ + "subscription1" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2" + ], + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1/ipConfigurations/ipconfig1", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1" + } + } + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1" + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234" + } + ], + "privateEndpointConnections": [ + { + "name": "pec1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1/privateEndpointConnections/pec1", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + } + ], + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1" + ] + } + } + }, + { + "name": "testPls2", + "type": "Microsoft.Network/privateLinkServices", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2", + "location": "eastus", + "properties": { + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "ipConfigurations": [ + { + "name": "ipconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2/ipConfigurations/ipconfig2", + "properties": { + "privateIPAddress": "10.0.1.5", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2" + } + } + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2" + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678" + } + ], + "privateEndpointConnections": [ + { + "name": "pec2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls2/privateEndpointConnections/pec2", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe2" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + } + ], + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + } + } + } + ] + } + } + }, + "operationId": "PrivateLinkServices_List", + "title": "List private link service in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceListAll.json new file mode 100644 index 000000000000..99ba64e4ceb6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceListAll.json @@ -0,0 +1,148 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testPls1", + "type": "Microsoft.Network/privateLinkServices", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1", + "location": "eastus", + "properties": { + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2", + "fqdn3" + ], + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1/ipConfigurations/ipconfig1", + "properties": { + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb1" + } + } + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb1" + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/provders/Microsoft.Network/networkInterfaces/testPls1.nic.abcd1234" + } + ], + "privateEndpointConnections": [ + { + "name": "pec1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls1/privateEndpointConnections/pec1", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + } + ], + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2", + "subscription3" + ] + } + } + }, + { + "name": "testPls2", + "type": "Microsoft.Network/privateLinkServices", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/testPls2", + "location": "eastus", + "properties": { + "alias": "ContosoService.{guid}.azure.privatelinkservice", + "autoApproval": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + }, + "fqdns": [ + "fqdn1", + "fqdn2" + ], + "ipConfigurations": [ + { + "name": "ipconfig2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/testPls2/ipConfigurations/ipconfig2", + "properties": { + "privateIPAddress": "10.0.1.5", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnetlb/subnets/subnetlb2" + } + } + } + ], + "loadBalancerFrontendIpConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe-lb2" + } + ], + "networkInterfaces": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/provders/Microsoft.Network/networkInterfaces/testPls2.nic.efgh5678" + } + ], + "privateEndpointConnections": [ + { + "name": "pec2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/privateLinkServices/testPls2/privateEndpointConnections/pec2", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/privateEndpoints/testPe2" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + } + ], + "provisioningState": "Succeeded", + "visibility": { + "subscriptions": [ + "subscription1", + "subscription2" + ] + } + } + } + ] + } + } + }, + "operationId": "PrivateLinkServices_ListBySubscription", + "title": "List all private list service" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceListPrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceListPrivateEndpointConnection.json new file mode 100644 index 000000000000..c61b2be50f27 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceListPrivateEndpointConnection.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceName": "testPls", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testPlePeConnection1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls/privateEndpointConnections/testPlePeConnection1", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe1" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + }, + { + "name": "testPlePeConnection2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls/privateEndpointConnections/testPlePeConnection2", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe2" + }, + "privateLinkServiceConnectionState": { + "description": "rejected by some reason.", + "status": "Rejected" + } + } + } + ] + } + } + }, + "operationId": "PrivateLinkServices_ListPrivateEndpointConnections", + "title": "List private link service in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json new file mode 100644 index 000000000000..1dfc6097203d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "name": "testPlePeConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + }, + "peConnectionName": "testPlePeConnection", + "resourceGroupName": "rg1", + "serviceName": "testPls", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testPlePeConnection", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateLinkServices/testPls/privateEndpointConnections/testPlePeConnection", + "properties": { + "privateEndpoint": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/privateEndpoints/testPe" + }, + "privateLinkServiceConnectionState": { + "description": "approved it for some reason.", + "status": "Approved" + } + } + } + } + }, + "operationId": "PrivateLinkServices_UpdatePrivateEndpointConnection", + "title": "approve or reject private end point connection for a private link service" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressCreateCustomizedValues.json new file mode 100644 index 000000000000..cde2b0f150ad --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressCreateCustomizedValues.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "idleTimeoutInMinutes": 10, + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static" + }, + "sku": { + "name": "Standard", + "tier": "Global" + } + }, + "publicIpAddressName": "test-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "idleTimeoutInMinutes": 10, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static" + }, + "sku": { + "name": "Standard", + "tier": "Global" + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "idleTimeoutInMinutes": 10, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static" + }, + "sku": { + "name": "Standard", + "tier": "Global" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "PublicIPAddresses_CreateOrUpdate", + "title": "Create public IP address allocation method" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressCreateDefaults.json new file mode 100644 index 000000000000..70a165c9d10a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressCreateDefaults.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus" + }, + "publicIpAddressName": "test-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "Basic" + } + } + }, + "201": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "Basic" + } + } + } + }, + "operationId": "PublicIPAddresses_CreateOrUpdate", + "title": "Create public IP address defaults" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressCreateDefaultsStandardV2Sku.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressCreateDefaultsStandardV2Sku.json new file mode 100644 index 000000000000..70434d113315 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressCreateDefaultsStandardV2Sku.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus" + }, + "publicIpAddressName": "test-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "StandardV2" + } + } + }, + "201": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "StandardV2" + } + } + } + }, + "operationId": "PublicIPAddresses_CreateOrUpdate", + "title": "Create public IP address defaults with StandardV2 Sku" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressCreateDns.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressCreateDns.json new file mode 100644 index 000000000000..9341e496bb2c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressCreateDns.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "dnsSettings": { + "domainNameLabel": "dnslbl" + } + } + }, + "publicIpAddressName": "test-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "dnsSettings": { + "domainNameLabel": "dnslbl", + "fqdn": "dnslbl.westus.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + }, + "201": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "dnsSettings": { + "domainNameLabel": "dnslbl", + "fqdn": "dnslbl.westus.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + } + }, + "operationId": "PublicIPAddresses_CreateOrUpdate", + "title": "Create public IP address DNS" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressCreateDnsWithDomainNameLabelScope.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressCreateDnsWithDomainNameLabelScope.json new file mode 100644 index 000000000000..b28d72cec30b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressCreateDnsWithDomainNameLabelScope.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "dnsSettings": { + "domainNameLabel": "dnslbl", + "domainNameLabelScope": "TenantReuse" + } + } + }, + "publicIpAddressName": "test-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "dnsSettings": { + "domainNameLabel": "dnslbl", + "domainNameLabelScope": "TenantReuse", + "fqdn": "dnslbl.hxdwgjcdfgbhgebs.eastus.sysgen.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + }, + "201": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "dnsSettings": { + "domainNameLabel": "dnslbl", + "domainNameLabelScope": "TenantReuse", + "fqdn": "dnslbl.hxdwgjcdfgbhgebs.eastus.sysgen.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + } + }, + "operationId": "PublicIPAddresses_CreateOrUpdate", + "title": "Create public IP address DNS with Domain Name Label Scope" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressDelete.json new file mode 100644 index 000000000000..ea68b00f018b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "publicIpAddressName": "test-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/locations/tempLocation/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "PublicIPAddresses_Delete", + "title": "Delete public IP address" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressDisassociateCloudServiceReservedPublicIp.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressDisassociateCloudServiceReservedPublicIp.json new file mode 100644 index 000000000000..5e9a3dd31dcf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressDisassociateCloudServiceReservedPublicIp.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "publicIpArmId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/rg1/providers/Microsoft.Network/publicIpAddresses/pip2" + }, + "publicIpAddressName": "pip1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "pip1", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/pip1", + "location": "westus", + "properties": { + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static" + }, + "sku": { + "name": "Basic" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-01-01" + } + } + }, + "operationId": "PublicIPAddresses_DisassociateCloudServiceReservedPublicIp", + "title": "Disassociate public IP address " +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressGet.json new file mode 100644 index 000000000000..93bad025ce74 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressGet.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "publicIpAddressName": "testDNS-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", + "location": "westus", + "properties": { + "ddosSettings": { + "ddosProtectionPlan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan" + }, + "protectionMode": "Enabled" + }, + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + }, + { + "ipTagType": "FirstPartyUsage", + "tag": "Storage" + } + ], + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + } + }, + "operationId": "PublicIPAddresses_Get", + "title": "Get public IP address" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressGetDdosProtectionStatus.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressGetDdosProtectionStatus.json new file mode 100644 index 000000000000..45c60e502872 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressGetDdosProtectionStatus.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "publicIpAddressName": "test-pip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "ddosProtectionPlanId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan", + "isWorkloadProtected": "True", + "publicIpAddress": "10.0.1.5", + "publicIpAddressId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip" + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SampleRG/providers/Microsoft.Network/locations/tempLocation/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "PublicIPAddresses_DdosProtectionStatus", + "title": "Get Ddos Protection Status of a Public IP Address" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressGetStandardV2Sku.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressGetStandardV2Sku.json new file mode 100644 index 000000000000..13e29c8132cb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressGetStandardV2Sku.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "publicIpAddressName": "testDNS-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", + "location": "westus", + "properties": { + "ddosSettings": { + "ddosProtectionPlan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan" + }, + "protectionMode": "Enabled" + }, + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + }, + { + "ipTagType": "FirstPartyUsage", + "tag": "Storage" + } + ], + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + }, + "sku": { + "name": "StandardV2" + } + } + } + }, + "operationId": "PublicIPAddresses_Get", + "title": "Get public IP address with StandardV2 sku" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressList.json new file mode 100644 index 000000000000..452e27d031d6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressList.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", + "location": "westus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + }, + { + "ipTagType": "FirstPartyUsage", + "tag": "Storage" + } + ], + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + }, + { + "name": "ip03", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip03", + "location": "westus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "dnsSettings": { + "domainNameLabel": "testlbl", + "fqdn": "testlbl.westus.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 4, + "ipAddress": "40.85.154.247", + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + }, + { + "name": "ip04", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/ip04", + "location": "westus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "dnsSettings": { + "domainNameLabel": "testlbl", + "domainNameLabelScope": "TenantReuse", + "fqdn": "testlbl.hxdwgjcdfgbhgebs.eastus.sysgen.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 4, + "ipAddress": "40.85.154.248", + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + ] + } + } + }, + "operationId": "PublicIPAddresses_List", + "title": "List resource group public IP addresses" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressListAll.json new file mode 100644 index 000000000000..c162b7521430 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressListAll.json @@ -0,0 +1,81 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testDNS-ip", + "location": "westus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + }, + { + "name": "ip01", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip01", + "location": "westus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "dnsSettings": { + "domainNameLabel": "testlbl", + "fqdn": "testlbl.westus.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 4, + "ipAddress": "40.85.154.247", + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + }, + { + "name": "ip02", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPAddresses/ip02", + "location": "westus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "dnsSettings": { + "domainNameLabel": "testlbl", + "domainNameLabelScope": "TenantReuse", + "fqdn": "testlbl.hxdwgjcdfgbhgebs.eastus.sysgen.cloudapp.azure.com" + }, + "idleTimeoutInMinutes": 4, + "ipAddress": "40.85.154.248", + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/loadBalancers/testLb/frontendIPConfigurations/LoadBalancerFrontEnd" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Dynamic" + } + } + ] + } + } + }, + "operationId": "PublicIPAddresses_ListAll", + "title": "List all public IP addresses" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressReserve.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressReserve.json new file mode 100644 index 000000000000..694a9352bd23 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressReserve.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "isRollback": "false" + }, + "publicIpAddressName": "test-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "eastus", + "properties": { + "idleTimeoutInMinutes": 4, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static" + }, + "sku": { + "name": "Basic" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-01-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-01-01" + } + } + }, + "operationId": "PublicIPAddresses_ReserveCloudServicePublicIpAddress", + "title": "Reserve public IP address " +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressUpdateTags.json new file mode 100644 index 000000000000..659bdbffea59 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpAddressUpdateTags.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "publicIpAddressName": "test-ip", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDNS-ip", + "type": "Microsoft.Network/publicIPAddresses", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ip", + "location": "westus", + "properties": { + "ddosSettings": { + "protectionMode": "VirtualNetworkInherited" + }, + "idleTimeoutInMinutes": 10, + "ipConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testDNS649/ipConfigurations/ipconfig1" + }, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAllocationMethod": "Static" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "PublicIPAddresses_UpdateTags", + "title": "Update public IP address tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixCreateCustomizedValues.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixCreateCustomizedValues.json new file mode 100644 index 000000000000..5178dc412025 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixCreateCustomizedValues.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westus", + "properties": { + "prefixLength": 30, + "publicIPAddressVersion": "IPv4" + }, + "sku": { + "name": "Standard", + "tier": "Regional" + } + }, + "publicIpPrefixName": "test-ipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "zones": [ + "1" + ] + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard", + "tier": "Regional" + }, + "zones": [ + "1" + ] + } + }, + "201": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard", + "tier": "Regional" + }, + "zones": [ + "1" + ] + } + } + }, + "operationId": "PublicIPPrefixes_CreateOrUpdate", + "title": "Create public IP prefix allocation method" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixCreateDefaults.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixCreateDefaults.json new file mode 100644 index 000000000000..d87224cd4e87 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixCreateDefaults.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westus", + "properties": { + "prefixLength": 30 + }, + "sku": { + "name": "Standard" + } + }, + "publicIpPrefixName": "test-ipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + }, + "201": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "PublicIPPrefixes_CreateOrUpdate", + "title": "Create public IP prefix defaults" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixCreateDefaultsStandardV2Sku.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixCreateDefaultsStandardV2Sku.json new file mode 100644 index 000000000000..b2bcbdb1757e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixCreateDefaultsStandardV2Sku.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westus", + "properties": { + "prefixLength": 30 + }, + "sku": { + "name": "StandardV2" + } + }, + "publicIpPrefixName": "test-ipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "StandardV2" + } + } + }, + "201": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "StandardV2" + } + } + } + }, + "operationId": "PublicIPPrefixes_CreateOrUpdate", + "title": "Create public IP prefix defaults with StandardV2 Sku" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixDelete.json new file mode 100644 index 000000000000..fb4049afc8d9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "publicIpPrefixName": "test-ipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "PublicIPPrefixes_Delete", + "title": "Delete public IP prefix" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixGet.json new file mode 100644 index 000000000000..dba44ce73d21 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "publicIpPrefixName": "test-ipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + } + }, + "operationId": "PublicIPPrefixes_Get", + "title": "Get public IP prefix" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixGetStandardV2Sku.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixGetStandardV2Sku.json new file mode 100644 index 000000000000..3cc0d1bf0ea5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixGetStandardV2Sku.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "publicIpPrefixName": "test-ipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "192.168.254.2/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "StandardV2" + } + } + } + }, + "operationId": "PublicIPPrefixes_Get", + "title": "Get public IP prefix with StandardV2 sku" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixList.json new file mode 100644 index 000000000000..78eed9f387f9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixList.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "40.85.154.2/30", + "ipTags": [ + { + "ipTagType": "FirstPartyUsage", + "tag": "SQL" + } + ], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + }, + { + "name": "ipprefix03", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/ipprefix03", + "location": "westus", + "properties": { + "ipPrefix": "40.85.153.2/31", + "ipTags": [], + "prefixLength": 31, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + ] + } + } + }, + "operationId": "PublicIPPrefixes_List", + "title": "List resource group public IP prefixes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixListAll.json new file mode 100644 index 000000000000..0129d0fce1c1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixListAll.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "41.85.154.247/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "publicIPAddresses": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/PublicIpAddress1" + } + ], + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + }, + { + "name": "ipprefix01", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/publicIPPrefixes/ipprefix01", + "location": "westus", + "properties": { + "ipPrefix": "40.85.154.247/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + }, + { + "name": "pfx", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/publicIPPrefixes/pfx", + "location": "westus", + "properties": { + "ipPrefix": "25.101.84.16/30", + "ipTags": [], + "loadBalancerFrontendIpConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg3/providers/Microsoft.Network/loadBalancers/lb-pfx/frontendIPConfigurations/ipconfig1" + }, + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + } + } + ] + } + } + }, + "operationId": "PublicIPPrefixes_ListAll", + "title": "List all public IP prefixes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixUpdateTags.json new file mode 100644 index 000000000000..b5a62d783652 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/PublicIpPrefixUpdateTags.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "publicIpPrefixName": "test-ipprefix", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "test-ipprefix", + "type": "Microsoft.Network/publicIPPrefixes", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPPrefixes/test-ipprefix", + "location": "westus", + "properties": { + "ipPrefix": "40.85.154.247/30", + "ipTags": [], + "prefixLength": 30, + "provisioningState": "Succeeded", + "publicIPAddressVersion": "IPv4", + "resourceGuid": "00000000-0000-0000-0000-00000000" + }, + "sku": { + "name": "Standard" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "PublicIPPrefixes_UpdateTags", + "title": "Update public IP prefix tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/QueryInboundNatRulePortMapping.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/QueryInboundNatRulePortMapping.json new file mode 100644 index 000000000000..fdf8e520a7c9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/QueryInboundNatRulePortMapping.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "backendPoolName": "bp1", + "groupName": "rg1", + "loadBalancerName": "lb1", + "parameters": { + "ipAddress": "10.0.0.4" + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "inboundNatRulePortMappings": [ + { + "backendPort": 3389, + "frontendPort": 3389, + "inboundNatRuleName": "natRule", + "protocol": "Tcp" + } + ] + } + }, + "202": { + "body": { + "inboundNatRulePortMappings": [ + { + "backendPort": 3389, + "frontendPort": 3389, + "inboundNatRuleName": "natRule", + "protocol": "Tcp" + } + ] + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/bp1/queryInboundNatRulePortMapping?api-version=2025-07-01" + } + } + }, + "operationId": "LoadBalancers_ListInboundNatRulePortMappings", + "title": "Query inbound NAT rule port mapping" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisIntentDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisIntentDelete.json new file mode 100644 index 000000000000..fc765e90426f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisIntentDelete.json @@ -0,0 +1,16 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "reachabilityAnalysisIntentName": "testAnalysisIntent", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testWorkspace" + }, + "responses": { + "200": {}, + "204": {} + }, + "operationId": "ReachabilityAnalysisIntents_Delete", + "title": "ReachabilityAnalysisIntentDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisIntentGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisIntentGet.json new file mode 100644 index 000000000000..227ab68afc26 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisIntentGet.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "reachabilityAnalysisIntentName": "testAnalysisIntentName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testWorkspace" + }, + "responses": { + "200": { + "body": { + "name": "testAnalysisIntentName", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisIntents", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace/reachabilityAnalysisIntents/testAnalysisIntentName", + "properties": { + "description": "A sample reachability analysis intent", + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "provisioningState": "Succeeded", + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ReachabilityAnalysisIntents_Get", + "title": "ReachabilityAnalysisIntentGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisIntentList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisIntentList.json new file mode 100644 index 000000000000..e295f8f358e2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisIntentList.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testVerifierWorkspace1" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testReachabilityAnalysisIntenant1", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisIntents", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents/testReachabilityAnalysisIntenant1", + "properties": { + "description": "A sample reachability analysis intent", + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "provisioningState": "Succeeded", + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ReachabilityAnalysisIntents_List", + "title": "ReachabilityAnalysisIntentList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisIntentPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisIntentPut.json new file mode 100644 index 000000000000..d570bc4e8df4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisIntentPut.json @@ -0,0 +1,114 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "body": { + "properties": { + "description": "A sample reachability analysis intent", + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + } + }, + "networkManagerName": "testNetworkManager", + "reachabilityAnalysisIntentName": "testAnalysisIntentName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testWorkspace" + }, + "responses": { + "200": { + "body": { + "name": "testAnalysisIntentName", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisIntents", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace/reachabilityAnalysisIntents/testAnalysisIntentName", + "properties": { + "description": "A sample reachability analysis intent", + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "provisioningState": "Succeeded", + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "testAnalysisIntentName", + "type": "Microsoft.Network/networkManagers/reachabilityAnalysisIntents", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace/reachabilityAnalysisIntents/testAnalysisIntentName", + "properties": { + "description": "A sample reachability analysis intent", + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "provisioningState": "Succeeded", + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ReachabilityAnalysisIntents_Create", + "title": "ReachabilityAnalysisIntentCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisRunDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisRunDelete.json new file mode 100644 index 000000000000..1a9adfef0361 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisRunDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "reachabilityAnalysisRunName": "testAnalysisRun", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testWorkspace" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/verifierWorkspaceOperationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ReachabilityAnalysisRuns_Delete", + "title": "ReachabilityAnalysisRunDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisRunGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisRunGet.json new file mode 100644 index 000000000000..362b20188cbc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisRunGet.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "reachabilityAnalysisRunName": "testAnalysisRunName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testWorkspace" + }, + "responses": { + "200": { + "body": { + "name": "testAnalysisRunName", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace/reachabilityAnalysisRuns/testAnalysisRunName", + "properties": { + "description": "A sample reachability analysis intent", + "analysisResult": "{\"resultOutcome\":\"NoPacketsReached\",\"unreachedTrace\":\"[{\\\"name\\\":\\\"testVmSrc\\\",\\\"resourceId\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc\\\",\\\"resourceType\\\":\\\"Microsoft.Compute/virtualMachines\\\",\\\"packet\\\":{\\\"destinationAddress\\\":\\\"10.1.0.4\\\",\\\"destinationPort\\\":\\\"0\\\",\\\"sourceAddress\\\":\\\"10.5.0.4\\\",\\\"sourcePort\\\":\\\"0\\\",\\\"protocol\\\":\\\"TCP\\\"},\\\"explanation\\\":{\\\"description\\\":\\\"Packet has source IP address matching one of the network interface IPs.\\\",\\\"explanationCode\\\":\\\"MATCHED_NETWORK_INTERFACE_IP_SOURCE\\\",\\\"matchedNetworkInterfaceAddress\\\":{\\\"networkInterface\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface\\\",\\\"ipAddress\\\":\\\"10.5.0.4\\\"}}},{\\\"name\\\":\\\"testNetworkInterface\\\",\\\"resourceId\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface\\\",\\\"resourceType\\\":\\\"Microsoft.Network/networkInterfaces\\\",\\\"packet\\\":{\\\"destinationAddress\\\":\\\"10.1.0.4\\\",\\\"destinationPort\\\":\\\"0\\\",\\\"sourceAddress\\\":\\\"10.5.0.4\\\",\\\"sourcePort\\\":\\\"0\\\",\\\"protocol\\\":\\\"TCP\\\"},\\\"explanation\\\":{\\\"description\\\":\\\"Packet has source IP address matching one of the network interface IPs.\\\",\\\"explanationCode\\\":\\\"MATCHED_NETWORK_INTERFACE_IP_SOURCE\\\",\\\"matchedNetworkInterfaceAddress\\\":{\\\"networkInterface\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface\\\",\\\"ipAddress\\\":\\\"10.5.0.4\\\"}}},{\\\"name\\\":\\\"testNetworkManager\\\",\\\"resourceId\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager\\\",\\\"resourceType\\\":\\\"Microsoft.Network/networkManagers\\\",\\\"packet\\\":{\\\"destinationAddress\\\":\\\"10.1.0.4\\\",\\\"destinationPort\\\":\\\"0\\\",\\\"sourceAddress\\\":\\\"10.5.0.4\\\",\\\"sourcePort\\\":\\\"0\\\",\\\"protocol\\\":\\\"TCP\\\"},\\\"explanation\\\":{\\\"description\\\":\\\"Packet matched an admin security rule.\\\",\\\"explanationCode\\\":\\\"MATCHED_ADMIN_SECURITY_RULE\\\",\\\"matchedSecurityRule\\\":{\\\"name\\\":\\\"AllowAllOutbound\\\",\\\"action\\\":\\\"Allow\\\",\\\"destinationAddress\\\":\\\"*\\\",\\\"sourceAddress\\\":\\\"*\\\",\\\"destinationPort\\\":\\\"1-65535\\\",\\\"sourcePort\\\":\\\"1-65535\\\",\\\"protocol\\\":\\\"Any\\\"}}},{\\\"name\\\":\\\"testnsg\\\",\\\"resourceId\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg-eus2\\\",\\\"resourceType\\\":\\\"Microsoft.Network/networkSecurityGroups\\\",\\\"packet\\\":{\\\"destinationAddress\\\":\\\"10.1.0.4\\\",\\\"destinationPort\\\":\\\"0\\\",\\\"sourceAddress\\\":\\\"10.5.0.4\\\",\\\"sourcePort\\\":\\\"0\\\",\\\"protocol\\\":\\\"TCP\\\"},\\\"explanation\\\":{\\\"description\\\":\\\"Packet matched a network security rule.\\\",\\\"explanationCode\\\":\\\"MATCHED_NETWORK_SECURITY_RULE\\\",\\\"matchedSecurityRule\\\":{\\\"name\\\":\\\"defaultSecurityRules/AllowVnetOutBound\\\",\\\"action\\\":\\\"allow\\\",\\\"destinationAddress\\\":\\\"VirtualNetwork\\\",\\\"sourceAddress\\\":\\\"VirtualNetwork\\\",\\\"destinationPort\\\":\\\"0-65535\\\",\\\"sourcePort\\\":\\\"0-65535\\\",\\\"protocol\\\":\\\"All\\\"}}},{\\\"name\\\":\\\"default\\\",\\\"resourceId\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testvnet/subnets/default\\\",\\\"resourceType\\\":\\\"Microsoft.Network/virtualNetworks/subnets\\\",\\\"packet\\\":{\\\"destinationAddress\\\":\\\"10.1.0.4\\\",\\\"destinationPort\\\":\\\"0\\\",\\\"sourceAddress\\\":\\\"10.5.0.4\\\",\\\"sourcePort\\\":\\\"0\\\",\\\"protocol\\\":\\\"TCP\\\"},\\\"explanation\\\":{\\\"description\\\":\\\"Packet matched a system route.\\\",\\\"explanationCode\\\":\\\"MATCHED_SYSTEM_ROUTE\\\",\\\"matchedSubnetRoute\\\":{\\\"source\\\":\\\"Default\\\",\\\"addressPrefix\\\":\\\"10.1.0.0/16\\\",\\\"nextHopIpAddress\\\":[],\\\"nextHopType\\\":\\\"ConnectedGroup\\\"}}},{\\\"name\\\":\\\"testvnet1\\\",\\\"resourceId\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testvnet1\\\",\\\"resourceType\\\":\\\"Microsoft.Network/virtualNetworks\\\",\\\"packet\\\":{\\\"destinationAddress\\\":\\\"10.1.0.4\\\",\\\"destinationPort\\\":\\\"0\\\",\\\"sourceAddress\\\":\\\"10.5.0.4\\\",\\\"sourcePort\\\":\\\"0\\\",\\\"protocol\\\":\\\"TCP\\\"},\\\"explanation\\\":{\\\"description\\\":\\\"Packet destination IP is destined to subnet prefix.\\\",\\\"explanationCode\\\":\\\"MATCHED_SUBNET_PREFIX\\\",\\\"matchedSubnetPrefix\\\":{\\\"subnet\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testvnet-1/subnets/default\\\",\\\"subnetPrefix\\\":\\\"10.1.0.0/24\\\"}}},{\\\"name\\\":\\\"default\\\",\\\"resourceId\\\":\\\"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/testvnet1/subnets/default\\\",\\\"resourceType\\\":\\\"Microsoft.Network/virtualNetworks/subnets\\\",\\\"packet\\\":{\\\"destinationAddress\\\":\\\"10.1.0.4\\\",\\\"destinationPort\\\":\\\"443\\\",\\\"sourceAddress\\\":\\\"10.5.0.4\\\",\\\"sourcePort\\\":\\\"0\\\"\\\"protocol\\\":\\\"TCP\\\"},\\\"explanation\\\":{\\\"description\\\":\\\"Packet denied due to VM not currently running.\\\",\\\"explanationCode\\\":\\\"VM_TURNED_OFF\\\"}}]\"}", + "errorMessage": "", + "intentContent": { + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + }, + "intentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents/testReachabilityAnalysisIntenant1", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ReachabilityAnalysisRuns_Get", + "title": "ReachabilityAnalysisRunGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisRunList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisRunList.json new file mode 100644 index 000000000000..e9c39109cc59 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisRunList.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testVerifierWorkspace1" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisRuns?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "testReachabilityAnalysisRun1", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisRuns/testReachabilityAnalysisRun1", + "properties": { + "description": "A sample reachability analysis intent", + "intentContent": { + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + }, + "intentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents/testReachabilityAnalysisIntenant1", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "ReachabilityAnalysisRuns_List", + "title": "ReachabilityAnalysisRunList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisRunPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisRunPut.json new file mode 100644 index 000000000000..3bdf5f44e8b1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ReachabilityAnalysisRunPut.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "body": { + "properties": { + "description": "A sample reachability analysis run", + "intentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents/testReachabilityAnalysisIntenant1" + } + }, + "networkManagerName": "testNetworkManager", + "reachabilityAnalysisRunName": "testAnalysisRunName", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testWorkspace" + }, + "responses": { + "200": { + "body": { + "name": "testAnalysisRunName", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace/reachabilityAnalysisRuns/testAnalysisRunName", + "properties": { + "description": "A sample reachability analysis intent", + "intentContent": { + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + }, + "intentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents/testReachabilityAnalysisIntenant1", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "testAnalysisRunName", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces/reachabilityAnalysisRuns", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManager/testNetworkManager/verifierWorkspaces/testWorkspace/reachabilityAnalysisRuns/testAnalysisRunName", + "properties": { + "description": "A sample reachability analysis intent", + "intentContent": { + "destinationResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmDest", + "ipTraffic": { + "destinationIps": [ + "10.4.0.1" + ], + "destinationPorts": [ + "0" + ], + "protocols": [ + "Any" + ], + "sourceIps": [ + "10.4.0.0" + ], + "sourcePorts": [ + "0" + ] + }, + "sourceResourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachines/testVmSrc" + }, + "intentId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1/reachabilityAnalysisIntents/testReachabilityAnalysisIntenant1", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "ReachabilityAnalysisRuns_Create", + "title": "ReachabilityAnalysisRunCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterCreate.json new file mode 100644 index 000000000000..616e6bfb1022 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterCreate.json @@ -0,0 +1,97 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeFilterName": "filterName", + "routeFilterParameters": { + "location": "West US", + "properties": { + "rules": [ + { + "name": "ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "routeFilterRuleType": "Community" + } + } + ] + }, + "tags": { + "key1": "value1" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "filterName", + "type": "Microsoft.Network/routeFilters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", + "location": "West US", + "properties": { + "peerings": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "filterName", + "type": "Microsoft.Network/routeFilters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", + "location": "West US", + "properties": { + "peerings": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "RouteFilters_CreateOrUpdate", + "title": "RouteFilterCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterDelete.json new file mode 100644 index 000000000000..4e45da5cbefe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeFilterName": "filterName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "RouteFilters_Delete", + "title": "RouteFilterDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterGet.json new file mode 100644 index 000000000000..ae4365c234bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterGet.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeFilterName": "filterName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "filterName", + "type": "Microsoft.Network/routeFilters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", + "location": "West US", + "properties": { + "peerings": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "RouteFilters_Get", + "title": "RouteFilterGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterList.json new file mode 100644 index 000000000000..1a4131d6b5bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterList.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "filterName", + "type": "Microsoft.Network/routeFilters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", + "location": "West US", + "properties": { + "peerings": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "RouteFilters_List", + "title": "RouteFilterList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterListByResourceGroup.json new file mode 100644 index 000000000000..ef2a106ae639 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterListByResourceGroup.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "filterName", + "type": "Microsoft.Network/routeFilters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", + "location": "West US", + "properties": { + "peerings": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "RouteFilters_ListByResourceGroup", + "title": "RouteFilterListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterRuleCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterRuleCreate.json new file mode 100644 index 000000000000..4f9c9342b929 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterRuleCreate.json @@ -0,0 +1,55 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeFilterName": "filterName", + "routeFilterRuleParameters": { + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "routeFilterRuleType": "Community" + } + }, + "ruleName": "ruleName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + }, + "201": { + "body": { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + } + }, + "operationId": "RouteFilterRules_CreateOrUpdate", + "title": "RouteFilterRuleCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterRuleDelete.json new file mode 100644 index 000000000000..44e0b0c6974b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterRuleDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeFilterName": "filterName", + "ruleName": "ruleName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "RouteFilterRules_Delete", + "title": "RouteFilterRuleDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterRuleGet.json new file mode 100644 index 000000000000..41e3d1e9a363 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterRuleGet.json @@ -0,0 +1,29 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeFilterName": "filterName", + "ruleName": "filterName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + } + }, + "operationId": "RouteFilterRules_Get", + "title": "RouteFilterRuleGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterRuleListByRouteFilter.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterRuleListByRouteFilter.json new file mode 100644 index 000000000000..1e6a37cccc6f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterRuleListByRouteFilter.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeFilterName": "filterName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030", + "12076:5040" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + ] + } + } + }, + "operationId": "RouteFilterRules_ListByRouteFilter", + "title": "RouteFilterRuleListByRouteFilter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterUpdateTags.json new file mode 100644 index 000000000000..8b5d933d29de --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteFilterUpdateTags.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "routeFilterName": "filterName", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "filterName", + "type": "Microsoft.Network/routeFilters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName", + "location": "West US", + "properties": { + "peerings": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "ruleName", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeFilters/filterName/routeFilterRules/ruleName", + "properties": { + "access": "Allow", + "communities": [ + "12076:5030" + ], + "provisioningState": "Succeeded", + "routeFilterRuleType": "Community" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "RouteFilters_UpdateTags", + "title": "Update route filter tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteMapDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteMapDelete.json new file mode 100644 index 000000000000..5cfc4bc4a05c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteMapDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeMapName": "routeMap1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "RouteMaps_Delete", + "title": "RouteMapDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteMapGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteMapGet.json new file mode 100644 index 000000000000..bd4c04513d46 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteMapGet.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeMapName": "routeMap1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "routeMap1", + "type": "Microsoft.Network/virtualHubs/routeMaps", + "etag": "W/\"e203e953-7ba7-4302-a246-aa2ec03f6edf\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1", + "properties": { + "associatedInboundConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1" + ], + "associatedOutboundConnections": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "rule1", + "actions": [ + { + "type": "Add", + "parameters": [ + { + "asPath": [ + "22334" + ], + "community": [], + "routePrefix": [] + } + ] + } + ], + "matchCriteria": [ + { + "asPath": [], + "community": [], + "matchCondition": "Contains", + "routePrefix": [ + "10.0.0.0/8" + ] + } + ], + "nextStepIfMatched": "Continue" + } + ] + } + } + } + }, + "operationId": "RouteMaps_Get", + "title": "RouteMapGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteMapList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteMapList.json new file mode 100644 index 000000000000..788666b1f8a6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteMapList.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "routeMap1", + "type": "Microsoft.Network/virtualHubs/routeMaps", + "etag": "W/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1", + "properties": { + "associatedInboundConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1" + ], + "associatedOutboundConnections": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "rule1", + "actions": [ + { + "type": "Add", + "parameters": [ + { + "asPath": [ + "22334" + ], + "community": [], + "routePrefix": [] + } + ] + } + ], + "matchCriteria": [ + { + "asPath": [], + "community": [], + "matchCondition": "Contains", + "routePrefix": [ + "10.0.0.0/8" + ] + } + ], + "nextStepIfMatched": "Continue" + } + ] + } + } + ] + } + } + }, + "operationId": "RouteMaps_List", + "title": "RouteMapList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteMapPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteMapPut.json new file mode 100644 index 000000000000..e1462bfeb53d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteMapPut.json @@ -0,0 +1,141 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeMapName": "routeMap1", + "routeMapParameters": { + "properties": { + "associatedInboundConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1" + ], + "associatedOutboundConnections": [], + "rules": [ + { + "name": "rule1", + "actions": [ + { + "type": "Add", + "parameters": [ + { + "asPath": [ + "22334" + ], + "community": [], + "routePrefix": [] + } + ] + } + ], + "matchCriteria": [ + { + "asPath": [], + "community": [], + "matchCondition": "Contains", + "routePrefix": [ + "10.0.0.0/8" + ] + } + ], + "nextStepIfMatched": "Continue" + } + ] + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "routeMap1", + "type": "Microsoft.Network/virtualHubs/routeMaps", + "etag": "W/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1", + "properties": { + "associatedInboundConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1" + ], + "associatedOutboundConnections": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "rule1", + "actions": [ + { + "type": "Add", + "parameters": [ + { + "asPath": [ + "22334" + ], + "community": [], + "routePrefix": [] + } + ] + } + ], + "matchCriteria": [ + { + "asPath": [], + "community": [], + "matchCondition": "Contains", + "routePrefix": [ + "10.0.0.0/8" + ] + } + ], + "nextStepIfMatched": "Continue" + } + ] + } + } + }, + "201": { + "body": { + "name": "routeMap1", + "type": "Microsoft.Network/virtualHubs/routeMaps", + "etag": "W/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1", + "properties": { + "associatedInboundConnections": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/expressRouteGateways/exrGateway1/expressRouteConnections/exrConn1" + ], + "associatedOutboundConnections": [], + "provisioningState": "Succeeded", + "rules": [ + { + "name": "rule1", + "actions": [ + { + "type": "Add", + "parameters": [ + { + "asPath": [ + "22334" + ], + "community": [], + "routePrefix": [] + } + ] + } + ], + "matchCriteria": [ + { + "asPath": [], + "community": [], + "matchCondition": "Contains", + "routePrefix": [ + "10.0.0.0/8" + ] + } + ], + "nextStepIfMatched": "Continue" + } + ] + } + } + } + }, + "operationId": "RouteMaps_CreateOrUpdate", + "title": "RouteMapPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableCreate.json new file mode 100644 index 000000000000..4e1e2c18b73c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableCreate.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westus" + }, + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testrt", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "location": "westus", + "properties": { + "disableBgpRoutePropagation": true, + "provisioningState": "Succeeded", + "routes": [] + } + } + }, + "201": { + "body": { + "name": "testrt", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "location": "westus", + "properties": { + "disableBgpRoutePropagation": true, + "provisioningState": "Succeeded", + "routes": [] + } + } + } + }, + "operationId": "RouteTables_CreateOrUpdate", + "title": "Create route table" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableCreateWithDisablePeeringRoute.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableCreateWithDisablePeeringRoute.json new file mode 100644 index 000000000000..c9246a170bdb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableCreateWithDisablePeeringRoute.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "parameters": { + "location": "westus", + "properties": { + "disableBgpRoutePropagation": true, + "disablePeeringRoute": "All" + } + } + }, + "responses": { + "200": { + "body": { + "name": "testrt", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "type": "Microsoft.Network/routeTables", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "disableBgpRoutePropagation": true, + "disablePeeringRoute": "All", + "routes": [] + } + } + }, + "201": { + "body": { + "name": "testrt", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "type": "Microsoft.Network/routeTables", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "disableBgpRoutePropagation": true, + "disablePeeringRoute": "All", + "routes": [] + } + } + } + }, + "operationId": "RouteTables_CreateOrUpdate", + "title": "Create route table with disable peering route" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableCreateWithEcmpRoute.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableCreateWithEcmpRoute.json new file mode 100644 index 000000000000..5b63175084c2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableCreateWithEcmpRoute.json @@ -0,0 +1,94 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westus", + "properties": { + "disableBgpRoutePropagation": false, + "routes": [ + { + "name": "ecmp-route", + "properties": { + "addressPrefix": "10.1.0.0/16", + "nextHopType": "VirtualApplianceEcmp", + "nextHop": { + "nextHopIpAddresses": [ + "10.0.0.4", + "10.0.0.5", + "10.0.0.6" + ] + } + } + } + ] + } + }, + "resourceGroupName": "rg1", + "routeTableName": "testrt-ecmp", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testrt-ecmp", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt-ecmp", + "location": "westus", + "properties": { + "disableBgpRoutePropagation": false, + "provisioningState": "Succeeded", + "routes": [ + { + "name": "ecmp-route", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt-ecmp/routes/ecmp-route", + "properties": { + "addressPrefix": "10.1.0.0/16", + "nextHopType": "VirtualApplianceEcmp", + "nextHop": { + "nextHopIpAddresses": [ + "10.0.0.4", + "10.0.0.5", + "10.0.0.6" + ] + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "testrt-ecmp", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt-ecmp", + "location": "westus", + "properties": { + "disableBgpRoutePropagation": false, + "provisioningState": "Succeeded", + "routes": [ + { + "name": "ecmp-route", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt-ecmp/routes/ecmp-route", + "properties": { + "addressPrefix": "10.1.0.0/16", + "nextHopType": "VirtualApplianceEcmp", + "nextHop": { + "nextHopIpAddresses": [ + "10.0.0.4", + "10.0.0.5", + "10.0.0.6" + ] + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + } + }, + "operationId": "RouteTables_CreateOrUpdate", + "title": "Create route table with ECMP route" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableCreateWithRoute.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableCreateWithRoute.json new file mode 100644 index 000000000000..ab2ff4b29ad9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableCreateWithRoute.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westus", + "properties": { + "disableBgpRoutePropagation": true, + "routes": [ + { + "name": "route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway" + } + } + ] + } + }, + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testrt", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "location": "westus", + "properties": { + "disableBgpRoutePropagation": true, + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "testrt", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway", + "provisioningState": "Succeeded" + } + } + ] + } + } + } + }, + "operationId": "RouteTables_CreateOrUpdate", + "title": "Create route table with route" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableDelete.json new file mode 100644 index 000000000000..ab46c8a9186c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "RouteTables_Delete", + "title": "Delete route table" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableGet.json new file mode 100644 index 000000000000..18463f7544b0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testrt", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "location": "westus", + "properties": { + "disableBgpRoutePropagation": false, + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway", + "provisioningState": "Succeeded" + } + } + ] + } + } + } + }, + "operationId": "RouteTables_Get", + "title": "Get route table" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableList.json new file mode 100644 index 000000000000..ffc40ec588e5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableList.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testrt", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "location": "westus", + "properties": { + "disableBgpRoutePropagation": true, + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway", + "provisioningState": "Succeeded" + } + } + ] + } + }, + { + "name": "testrt2", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt2", + "location": "westus", + "properties": { + "disableBgpRoutePropagation": true, + "provisioningState": "Succeeded", + "routes": [] + } + } + ] + } + } + }, + "operationId": "RouteTables_List", + "title": "List route tables in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableListAll.json new file mode 100644 index 000000000000..f4d82fa26c9d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableListAll.json @@ -0,0 +1,46 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testrt", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "routes": [ + { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway", + "provisioningState": "Succeeded" + } + } + ] + } + }, + { + "name": "testrt3", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/routeTables/testrt3", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "routes": [] + } + } + ] + } + } + }, + "operationId": "RouteTables_ListAll", + "title": "List all route tables" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableRouteCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableRouteCreate.json new file mode 100644 index 000000000000..700c6579b079 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableRouteCreate.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeName": "route1", + "routeParameters": { + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway" + } + }, + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "VirtualNetworkGateway", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "Routes_CreateOrUpdate", + "title": "Create route" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableRouteCreateEcmp.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableRouteCreateEcmp.json new file mode 100644 index 000000000000..249da7d81e64 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableRouteCreateEcmp.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeName": "ecmp-route", + "routeParameters": { + "properties": { + "addressPrefix": "10.1.0.0/16", + "nextHopType": "VirtualApplianceEcmp", + "nextHop": { + "nextHopIpAddresses": [ + "10.0.0.4", + "10.0.0.5", + "10.0.0.6" + ] + } + } + }, + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "ecmp-route", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/ecmp-route", + "properties": { + "addressPrefix": "10.1.0.0/16", + "nextHopType": "VirtualApplianceEcmp", + "nextHop": { + "nextHopIpAddresses": [ + "10.0.0.4", + "10.0.0.5", + "10.0.0.6" + ] + }, + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "ecmp-route", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/ecmp-route", + "properties": { + "addressPrefix": "10.1.0.0/16", + "nextHopType": "VirtualApplianceEcmp", + "nextHop": { + "nextHopIpAddresses": [ + "10.0.0.4", + "10.0.0.5", + "10.0.0.6" + ] + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "Routes_CreateOrUpdate", + "title": "Create ECMP route" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableRouteDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableRouteDelete.json new file mode 100644 index 000000000000..1e17273402af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableRouteDelete.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeName": "route1", + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "Routes_Delete", + "title": "Delete route" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableRouteGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableRouteGet.json new file mode 100644 index 000000000000..eb997f6c4c3b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableRouteGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeName": "route1", + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "Internet", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "Routes_Get", + "title": "Get route" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableRouteList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableRouteList.json new file mode 100644 index 000000000000..3d6eeecf0bff --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableRouteList.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "route1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route1", + "properties": { + "addressPrefix": "10.0.3.0/24", + "nextHopType": "Internet", + "provisioningState": "Succeeded" + } + }, + { + "name": "route2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt/routes/route2", + "properties": { + "addressPrefix": "10.0.2.0/24", + "nextHopType": "VirtualNetworkGateway", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "Routes_List", + "title": "List routes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableUpdateTags.json new file mode 100644 index 000000000000..263884c15b11 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RouteTableUpdateTags.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "routeTableName": "testrt", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testrt", + "type": "Microsoft.Network/routeTables", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/routeTables/testrt", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "routes": [] + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "RouteTables_UpdateTags", + "title": "Update route table tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RoutingIntentDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RoutingIntentDelete.json new file mode 100644 index 000000000000..4d2ccbc52152 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RoutingIntentDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routingIntentName": "Intent1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "RoutingIntent_Delete", + "title": "RouteTableDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RoutingIntentGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RoutingIntentGet.json new file mode 100644 index 000000000000..cf5a4970b839 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RoutingIntentGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routingIntentName": "Intent1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "Intent1", + "type": "Microsoft.Network/virtualHubs/routingIntent", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routingIntent/Intent1", + "properties": { + "provisioningState": "Succeeded", + "routingPolicies": [ + { + "name": "InternetTraffic", + "destinations": [ + "Internet" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + }, + { + "name": "PrivateTrafficPolicy", + "destinations": [ + "PrivateTraffic" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + } + ] + } + } + } + }, + "operationId": "RoutingIntent_Get", + "title": "RouteTableGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RoutingIntentList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RoutingIntentList.json new file mode 100644 index 000000000000..d8502afb7fb9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RoutingIntentList.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Intent1", + "type": "Microsoft.Network/virtualHubs/routingIntent", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routingIntent/Intent1", + "properties": { + "provisioningState": "Succeeded", + "routingPolicies": [ + { + "name": "InternetTraffic", + "destinations": [ + "Internet" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + }, + { + "name": "PrivateTrafficPolicy", + "destinations": [ + "PrivateTraffic" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + } + ] + } + } + ] + } + } + }, + "operationId": "RoutingIntent_List", + "title": "RoutingIntentList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RoutingIntentPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RoutingIntentPut.json new file mode 100644 index 000000000000..0d7c867c719e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/RoutingIntentPut.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routingIntentName": "Intent1", + "routingIntentParameters": { + "properties": { + "routingPolicies": [ + { + "name": "InternetTraffic", + "destinations": [ + "Internet" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + }, + { + "name": "PrivateTrafficPolicy", + "destinations": [ + "PrivateTraffic" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + } + ] + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "Intent1", + "type": "Microsoft.Network/virtualHubs/routingIntent", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routingIntent/Intent1", + "properties": { + "provisioningState": "Succeeded", + "routingPolicies": [ + { + "name": "InternetTraffic", + "destinations": [ + "Internet" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + }, + { + "name": "PrivateTrafficPolicy", + "destinations": [ + "PrivateTraffic" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + } + ] + } + } + }, + "201": { + "body": { + "name": "Intent1", + "type": "Microsoft.Network/virtualHubs/routingIntent", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routingIntent/Intent1", + "properties": { + "provisioningState": "Succeeded", + "routingPolicies": [ + { + "name": "InternetTraffic", + "destinations": [ + "Internet" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + }, + { + "name": "PrivateTrafficPolicy", + "destinations": [ + "PrivateTraffic" + ], + "nextHop": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/azureFirewalls/azfw1" + } + ] + } + } + } + }, + "operationId": "RoutingIntent_CreateOrUpdate", + "title": "RouteTablePut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderDelete.json new file mode 100644 index 000000000000..4f55c5532141 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "securityPartnerProviderName": "securityPartnerProvider", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "SecurityPartnerProviders_Delete", + "title": "Delete Security Partner Provider" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderGet.json new file mode 100644 index 000000000000..123460abc3c3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "securityPartnerProviderName": "securityPartnerProvider", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "securityPartnerProvider", + "type": "Microsoft.Network/securityPartnerProviders", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "location": "West US", + "properties": { + "connectionStatus": "Unknown", + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "SecurityPartnerProviders_Get", + "title": "Get Security Partner Provider" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderListByResourceGroup.json new file mode 100644 index 000000000000..c91faa24129e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderListByResourceGroup.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "securityPartnerProvider", + "type": "Microsoft.Network/securityPartnerProviders", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "location": "West US", + "properties": { + "connectionStatus": "Unknown", + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "SecurityPartnerProviders_ListByResourceGroup", + "title": "List all Security Partner Providers for a given resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderListBySubscription.json new file mode 100644 index 000000000000..82db9f828af1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderListBySubscription.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "securityPartnerProvider", + "type": "Microsoft.Network/securityPartnerProviders", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "location": "West US", + "properties": { + "connectionStatus": "Unknown", + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "SecurityPartnerProviders_List", + "title": "List all Security Partner Providers for a given subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderPut.json new file mode 100644 index 000000000000..7a4a9a6a46ca --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderPut.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "West US", + "properties": { + "securityProviderName": "ZScaler", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "securityPartnerProviderName": "securityPartnerProvider", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "securityPartnerProvider", + "type": "Microsoft.Network/securityPartnerProviders", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "location": "West US", + "properties": { + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "securityPartnerProvider", + "type": "Microsoft.Network/securityPartnerProviders", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "location": "West US", + "properties": { + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + } + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "SecurityPartnerProviders_CreateOrUpdate", + "title": "Create Security Partner Provider" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderUpdateTags.json new file mode 100644 index 000000000000..05fb8500773b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SecurityPartnerProviderUpdateTags.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "securityPartnerProviderName": "securityPartnerProvider", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "fw1", + "type": "Microsoft.Network/securityPartnerProviders", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/azfwtest/providers/Microsoft.Network/securityPartnerProviders/securityPartnerProvider", + "location": "brazilsouth", + "properties": { + "provisioningState": "Succeeded", + "securityProviderName": "ZScaler" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "SecurityPartnerProviders_UpdateTags", + "title": "Update Security Partner Provider Tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceCommunityList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceCommunityList.json new file mode 100644 index 000000000000..e9a54a5cf6aa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceCommunityList.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "skype", + "type": "Microsoft.Network/bgpServiceCommunities", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/bgpServiceCommunities/skype", + "properties": { + "bgpCommunities": [ + { + "communityName": "Skype For Business Online", + "communityPrefixes": [ + "13.67.56.225/32", + "13.67.186.105/32" + ], + "communityValue": "12076:5030", + "isAuthorizedToUse": true, + "serviceGroup": "O365", + "serviceSupportedRegion": "Global" + } + ], + "serviceName": "skype" + } + }, + { + "name": "exchange", + "type": "Microsoft.Network/bgpServiceCommunities", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/bgpServiceCommunities/exchange", + "properties": { + "bgpCommunities": [ + { + "communityName": "Exchange Online", + "communityPrefixes": [ + "13.67.56.225/32", + "13.67.186.105/32" + ], + "communityValue": "12076:5040", + "isAuthorizedToUse": true, + "serviceGroup": "O365", + "serviceSupportedRegion": "Global" + } + ], + "serviceName": "exchange" + } + } + ] + } + } + }, + "operationId": "BgpServiceCommunities_List", + "title": "ServiceCommunityList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyCreate.json new file mode 100644 index 000000000000..26b2c6128018 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyCreate.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westus" + }, + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/ServiceEndpointPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [], + "subnets": [] + } + } + }, + "201": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/ServiceEndpointPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testpolicy", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [], + "subnets": [] + } + } + } + }, + "operationId": "ServiceEndpointPolicies_CreateOrUpdate", + "title": "Create service endpoint policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyCreateWithDefinition.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyCreateWithDefinition.json new file mode 100644 index 000000000000..a155033943af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyCreateWithDefinition.json @@ -0,0 +1,87 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westus", + "properties": { + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ] + } + }, + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/ServiceEndpointPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy/serviceEndpointPolicyDefinitions/StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [] + } + } + }, + "201": { + "body": { + "name": "testnsg", + "type": "Microsoft.Network/ServiceEndpointPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ServiceEndpointPolicies/testpolicy", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy/serviceEndpointPolicyDefinitions/StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [] + } + } + } + }, + "operationId": "ServiceEndpointPolicies_CreateOrUpdate", + "title": "Create service endpoint policy with definition" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyDefinitionCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyDefinitionCreate.json new file mode 100644 index 000000000000..3c3b325842f1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyDefinitionCreate.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "ServiceEndpointPolicyDefinitions": { + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceEndpointPolicyDefinitionName": "testDefinition", + "serviceEndpointPolicyName": "testPolicy", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDefinition", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + }, + "201": { + "body": { + "name": "rule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/testnsg/securityRules/rule1", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + } + }, + "operationId": "ServiceEndpointPolicyDefinitions_CreateOrUpdate", + "title": "Create service endpoint policy definition" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyDefinitionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyDefinitionDelete.json new file mode 100644 index 000000000000..6b401d407857 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyDefinitionDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceEndpointPolicyDefinitionName": "testDefinition", + "serviceEndpointPolicyName": "testPolicy", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ServiceEndpointPolicyDefinitions_Delete", + "title": "Delete service endpoint policy definitions from service endpoint policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyDefinitionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyDefinitionGet.json new file mode 100644 index 000000000000..719aa2eaead7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyDefinitionGet.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceEndpointPolicyDefinitionName": "testDefinition", + "serviceEndpointPolicyName": "testPolicy", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testDefinition", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + } + }, + "operationId": "ServiceEndpointPolicyDefinitions_Get", + "title": "Get service endpoint definition in service endpoint policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyDefinitionList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyDefinitionList.json new file mode 100644 index 000000000000..47b9f7e55701 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyDefinitionList.json @@ -0,0 +1,31 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testPolicy", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testDef", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/testDef", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ] + } + } + }, + "operationId": "ServiceEndpointPolicyDefinitions_ListByResourceGroup", + "title": "List service endpoint definitions in service end point policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyDelete.json new file mode 100644 index 000000000000..5350691d0326 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "serviceEndpointPolicy1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "ServiceEndpointPolicies_Delete", + "title": "Delete service endpoint policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyGet.json new file mode 100644 index 000000000000..1ba4ab9b9cbe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testServiceEndpointPolicy", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testServiceEndpointPolicy", + "type": "Microsoft.Network/serviceEndpointPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy/serviceEndpointPolicyDefinitions/StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [] + } + } + } + }, + "operationId": "ServiceEndpointPolicies_Get", + "title": "Get service endPoint Policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyList.json new file mode 100644 index 000000000000..d8f134b71451 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyList.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testServiceEndpointPolicy", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy/serviceEndpointPolicyDefinitions/StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [] + } + }, + { + "name": "testServiceEndpointPolicy1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy1", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy1/serviceEndpointPolicyDefinitions/StorageServiceEndpointPolicyDefinition1", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [] + } + } + ] + } + } + }, + "operationId": "ServiceEndpointPolicies_ListByResourceGroup", + "title": "List resource group service endpoint policies" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyListAll.json new file mode 100644 index 000000000000..a38cd920c391 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyListAll.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testPolicy", + "type": "Microsoft.Network/serviceEndpointPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy/serviceEndpointPolicyDefinitions/StorageServiceEndpointPolicyDefinition1", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [] + } + }, + { + "name": "testPolicy1", + "type": "Microsoft.Network/serviceEndpointPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy2", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F", + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testPolicy1/serviceEndpointPolicyDefinitions/StorageServiceEndpointPolicyDefinition2", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [] + } + } + ] + } + } + }, + "operationId": "ServiceEndpointPolicies_List", + "title": "List all service endpoint policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyUpdateTags.json new file mode 100644 index 000000000000..fd8c63b0723b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceEndpointPolicyUpdateTags.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "serviceEndpointPolicyName": "testServiceEndpointPolicy", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "testServiceEndpointPolicy", + "type": "Microsoft.Network/serviceEndpointPolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceEndpointPolicies/testServiceEndpointPolicy", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "serviceEndpointPolicyDefinitions": [ + { + "name": "StorageServiceEndpointPolicyDefinition", + "properties": { + "description": "Storage Service EndpointPolicy Definition", + "service": "Microsoft.Storage", + "serviceResources": [ + "/subscriptions/00000000-0000-0000-0000-000000000000", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg", + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/storageRg/providers/Microsoft.Storage/storageAccounts/stAccount" + ] + } + } + ], + "subnets": [] + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "ServiceEndpointPolicies_UpdateTags", + "title": "Update service endpoint policy tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayCreate.json new file mode 100644 index 000000000000..04a571486b02 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayCreate.json @@ -0,0 +1,73 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + } + }, + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sg", + "type": "Microsoft.Network/serviceGateways", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/sg", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + } + } + }, + "201": { + "body": { + "name": "sg", + "type": "Microsoft.Network/serviceGateways", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/sg", + "location": "eastus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + } + } + } + }, + "operationId": "ServiceGateways_CreateOrUpdate", + "title": "Create service gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayDelete.json new file mode 100644 index 000000000000..c9c0b116391d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayDelete.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus2/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ServiceGateways_Delete", + "title": "Delete service gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayFullUpdateAddressLocationsRequest.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayFullUpdateAddressLocationsRequest.json new file mode 100644 index 000000000000..e9399b6f41d4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayFullUpdateAddressLocationsRequest.json @@ -0,0 +1,54 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "action": "FullUpdate", + "addressLocations": [ + { + "addressLocation": "192.0.0.1", + "addressUpdateAction": "FullUpdate", + "addresses": [ + { + "address": "10.0.0.4", + "services": [ + "Service1" + ] + } + ] + }, + { + "addressLocation": "192.0.0.2", + "addressUpdateAction": "PartialUpdate", + "addresses": [ + { + "address": "10.0.0.5", + "services": [ + "Service2" + ] + }, + { + "address": "10.0.0.6" + } + ] + } + ] + }, + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ServiceGateways_UpdateAddressLocations", + "title": "Full Update: Create, update, or delete address locations in the service gateway." +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayGet.json new file mode 100644 index 000000000000..f4fd604b8c80 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayGet.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sg", + "type": "Microsoft.Network/serviceGateways", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/sg", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + } + } + } + }, + "operationId": "ServiceGateways_Get", + "title": "Get load balancer" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayGetAddressLocationsResponse.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayGetAddressLocationsResponse.json new file mode 100644 index 000000000000..18819759b0e1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayGetAddressLocationsResponse.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "addressLocation": "192.0.0.1", + "addresses": [ + { + "address": "10.0.0.4", + "services": [ + "Service1" + ] + } + ] + }, + { + "addressLocation": "192.0.0.2", + "addresses": [ + { + "address": "10.0.0.5", + "services": [ + "Service2" + ] + } + ] + } + ] + } + } + }, + "operationId": "ServiceGateways_GetAddressLocations", + "title": "Get address locations in service gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayGetServicesResponse.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayGetServicesResponse.json new file mode 100644 index 000000000000..a6c134c1a7f0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayGetServicesResponse.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Service1", + "properties": { + "isDefault": true, + "loadBalancerBackendPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/be1" + } + ], + "publicNatGatewayId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "serviceType": "Inbound" + } + }, + { + "name": "Service2", + "properties": { + "isDefault": false, + "loadBalancerBackendPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/be1" + } + ], + "publicNatGatewayId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "serviceType": "Outbound" + } + } + ] + } + } + }, + "operationId": "ServiceGateways_GetServices", + "title": "Get services in service gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayList.json new file mode 100644 index 000000000000..2c80884d0892 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayList.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sg", + "type": "Microsoft.Network/serviceGateways", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/sg", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + } + }, + { + "name": "sg2", + "type": "Microsoft.Network/serviceGateways", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/sg2", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + } + } + ] + } + } + }, + "operationId": "ServiceGateways_List", + "title": "List service gateway in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayListAll.json new file mode 100644 index 000000000000..88c49e244c4e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayListAll.json @@ -0,0 +1,58 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "sg", + "type": "Microsoft.Network/serviceGateways", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/sg", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + } + }, + { + "name": "sg2", + "type": "Microsoft.Network/serviceGateways", + "etag": "W/\"00000000-0000-0000-0000-00000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/sg2", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-00000000", + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + } + } + ] + } + } + }, + "operationId": "ServiceGateways_ListAll", + "title": "List all load balancers" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayPartialUpdateAddressLocationsRequest.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayPartialUpdateAddressLocationsRequest.json new file mode 100644 index 000000000000..b9487c0a69bb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayPartialUpdateAddressLocationsRequest.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "action": "PartialUpdate", + "addressLocations": [ + { + "addressLocation": "192.0.0.1", + "addressUpdateAction": "FullUpdate", + "addresses": [ + { + "address": "10.0.0.4", + "services": [ + "Service1" + ] + } + ] + }, + { + "addressLocation": "192.0.0.2", + "addressUpdateAction": "PartialUpdate", + "addresses": [ + { + "address": "10.0.0.5", + "services": [ + "Service2" + ] + }, + { + "address": "10.0.0.6" + } + ] + }, + { + "addressLocation": "192.0.0.3" + } + ] + }, + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ServiceGateways_UpdateAddressLocations", + "title": "Partial Update: Create, update, or delete address locations in the service gateway." +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayUpdateServicesRequest.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayUpdateServicesRequest.json new file mode 100644 index 000000000000..b98ba9321a9d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayUpdateServicesRequest.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "action": "FullUpdate", + "serviceRequests": [ + { + "service": { + "name": "Service1", + "properties": { + "isDefault": true, + "loadBalancerBackendPools": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/be1" + } + ], + "publicNatGatewayId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-natGateway", + "serviceType": "Inbound" + } + } + }, + { + "isDelete": true, + "service": { + "name": "Service2", + "properties": { + "isDefault": false, + "serviceType": "Outbound" + } + } + } + ] + }, + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationStatuses/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "ServiceGateways_UpdateServices", + "title": "Create or full update services in service gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayUpdateTags.json new file mode 100644 index 000000000000..59acabada58d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceGatewayUpdateTags.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "serviceGatewayName": "sg", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "sg", + "type": "Microsoft.Network/serviceGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/sg", + "location": "westus", + "properties": { + "provisioningState": "Succeeded", + "routeTargetAddress": { + "privateIPAddress": "10.0.1.4", + "privateIPAllocationMethod": "Static", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet" + } + }, + "virtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet" + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "ServiceGateways_UpdateTags", + "title": "Update service gateway tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceTagInformationListResult.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceTagInformationListResult.json new file mode 100644 index 000000000000..d0e540bc8655 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceTagInformationListResult.json @@ -0,0 +1,44 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westeurope", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ApiManagement", + "id": "ApiManagement", + "properties": { + "addressPrefixes": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "changeNumber": "7", + "region": "", + "systemService": "AzureApiManagement" + } + }, + { + "name": "ApiManagement.AustraliaCentral", + "id": "ApiManagement.AustraliaCentral", + "properties": { + "addressPrefixes": [ + "20.36.106.68/31", + "20.36.107.176/28" + ], + "changeNumber": "2", + "region": "australiacentral", + "systemService": "AzureApiManagement" + } + } + ] + } + } + }, + "operationId": "ServiceTagInformation_List", + "title": "Get list of service tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceTagInformationListResultWithNoAddressPrefixes.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceTagInformationListResultWithNoAddressPrefixes.json new file mode 100644 index 000000000000..87dc9d50c8ba --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceTagInformationListResultWithNoAddressPrefixes.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westeurope", + "noAddressPrefixes": "true", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ApiManagement", + "id": "ApiManagement", + "properties": { + "addressPrefixes": [], + "changeNumber": "7", + "region": "", + "systemService": "AzureApiManagement" + } + }, + { + "name": "ApiManagement.AustraliaCentral", + "id": "ApiManagement.AustraliaCentral", + "properties": { + "addressPrefixes": [], + "changeNumber": "2", + "region": "australiacentral", + "systemService": "AzureApiManagement" + } + } + ] + } + } + }, + "operationId": "ServiceTagInformation_List", + "title": "Get list of service tags with no address prefixes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceTagInformationListResultWithTagname.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceTagInformationListResultWithTagname.json new file mode 100644 index 000000000000..5a906f051437 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceTagInformationListResultWithTagname.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westeurope", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tagName": "ApiManagement" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ApiManagement", + "id": "ApiManagement", + "properties": { + "addressPrefixes": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "changeNumber": "7", + "region": "", + "systemService": "AzureApiManagement" + } + } + ] + } + } + }, + "operationId": "ServiceTagInformation_List", + "title": "Get list of service tags with tag name." +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceTagsList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceTagsList.json new file mode 100644 index 000000000000..4f99df08148e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/ServiceTagsList.json @@ -0,0 +1,91 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westcentralus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "public", + "type": "Microsoft.Network/serviceTags", + "changeNumber": "63", + "cloud": "Public", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/serviceTags/public", + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/serviceTags?api-version=2020-06-01&changenumber=changenumber&$skipToken={skipToken}", + "values": [ + { + "name": "ApiManagement", + "id": "ApiManagement", + "properties": { + "addressPrefixes": [ + "13.64.39.16/32", + "40.74.146.80/31", + "40.74.147.32/28" + ], + "changeNumber": "7", + "region": "", + "systemService": "AzureApiManagement" + } + }, + { + "name": "ApiManagement.AustraliaCentral", + "id": "ApiManagement.AustraliaCentral", + "properties": { + "addressPrefixes": [ + "20.36.106.68/31", + "20.36.107.176/28" + ], + "changeNumber": "2", + "region": "australiacentral", + "systemService": "AzureApiManagement" + } + }, + { + "name": "AppService", + "id": "AppService", + "properties": { + "addressPrefixes": [ + "13.64.73.110/32", + "191.235.208.12/32", + "191.235.215.184/32" + ], + "changeNumber": "13", + "region": "", + "systemService": "AzureAppService" + } + }, + { + "name": "ServiceBus", + "id": "ServiceBus", + "properties": { + "addressPrefixes": [ + "23.98.82.96/29", + "40.68.127.68/32", + "40.70.146.64/29" + ], + "changeNumber": "10", + "region": "", + "systemService": "AzureServiceBus" + } + }, + { + "name": "ServiceBus.EastUS2", + "id": "ServiceBus.EastUS2", + "properties": { + "addressPrefixes": [ + "13.68.110.36/32", + "40.70.146.64/29" + ], + "changeNumber": "1", + "region": "eastus2", + "systemService": "AzureServiceBus" + } + } + ] + } + } + }, + "operationId": "ServiceTags_List", + "title": "Get list of service tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/StaticCidrs_Create.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/StaticCidrs_Create.json new file mode 100644 index 000000000000..0819c3896ab8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/StaticCidrs_Create.json @@ -0,0 +1,66 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "parameters": { + "description": "test description", + "addressPrefixes": [ + "10.0.0.0/24" + ] + }, + "poolName": "TestPool", + "resourceGroupName": "rg1", + "staticCidrName": "TestStaticCidr", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "StaticCidrs_Create", + "responses": { + "200": { + "body": { + "name": "OnPremResources", + "type": "Microsoft.Network/networkManagers/ipamPools/TestStaticCidr", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool/staticCidrs/TestStaticCidr", + "properties": { + "description": "test description", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "numberOfIPAddressesToAllocate": "", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "OnPremResources", + "type": "Microsoft.Network/networkManagers/ipamPools/TestStaticCidr", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool/staticCidrs/TestStaticCidr", + "properties": { + "description": "test description", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "numberOfIPAddressesToAllocate": "", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "StaticCidrs_Create" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/StaticCidrs_Delete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/StaticCidrs_Delete.json new file mode 100644 index 000000000000..b85dd372313b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/StaticCidrs_Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "poolName": "TestPool", + "resourceGroupName": "rg1", + "staticCidrName": "TestStaticCidr", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "StaticCidrs_Delete", + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/SampleRG/providers/Microsoft.Network/networkManagers/TestNM/ipamPools/TestPool/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "StaticCidrs_Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/StaticCidrs_Get.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/StaticCidrs_Get.json new file mode 100644 index 000000000000..5c8233556bfc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/StaticCidrs_Get.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "poolName": "TestPool", + "resourceGroupName": "rg1", + "staticCidrName": "TestStaticCidr", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "StaticCidrs_Get", + "responses": { + "200": { + "body": { + "name": "TestStaticCidr", + "type": "Microsoft.Network/networkManagers/ipamPools/staticCidrs", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool/staticCidrs/TestStaticCidr", + "properties": { + "description": "test description", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "numberOfIPAddressesToAllocate": "", + "provisioningState": "Succeeded", + "totalNumberOfIPAddresses": "256" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "StaticCidrs_Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/StaticCidrs_List.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/StaticCidrs_List.json new file mode 100644 index 000000000000..e7702d1c4f34 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/StaticCidrs_List.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "TestNetworkManager", + "poolName": "TestPool", + "resourceGroupName": "rg1", + "subscriptionId": "11111111-1111-1111-1111-111111111111" + }, + "title": "StaticCidrs_List", + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools?api-version=2025-07-01&$skipToken=10", + "value": [ + { + "name": "TestStaticCidr", + "type": "Microsoft.Network/networkManagers/ipamPools/staticCidrs", + "id": "/subscriptions/11111111-1111-1111-1111-111111111111/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/TestNetworkManager/ipamPools/TestPool/staticCidrs/TestStaticCidr", + "properties": { + "description": "test description", + "addressPrefixes": [ + "10.0.0.0/24" + ], + "numberOfIPAddressesToAllocate": "", + "provisioningState": "Succeeded", + "totalNumberOfIPAddresses": "256" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "StaticCidrs_List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreate.json new file mode 100644 index 000000000000..58b0e1cdb890 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreate.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subnetParameters": { + "properties": { + "addressPrefix": "10.0.0.0/16" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "Subnets_CreateOrUpdate", + "title": "Create subnet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreateServiceEndpoint.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreateServiceEndpoint.json new file mode 100644 index 000000000000..74f6e000a66e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreateServiceEndpoint.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subnetParameters": { + "properties": { + "addressPrefix": "10.0.0.0/16", + "serviceEndpoints": [ + { + "service": "Microsoft.Storage" + } + ] + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "serviceEndpoints": [ + { + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded", + "service": "Microsoft.Storage" + } + ] + } + } + }, + "201": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "serviceEndpoints": [ + { + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded", + "service": "Microsoft.Storage" + } + ] + } + } + } + }, + "operationId": "Subnets_CreateOrUpdate", + "title": "Create subnet with service endpoints" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreateServiceEndpointNetworkIdentifier.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreateServiceEndpointNetworkIdentifier.json new file mode 100644 index 000000000000..5d328cd66199 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreateServiceEndpointNetworkIdentifier.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subnetParameters": { + "properties": { + "addressPrefix": "10.0.0.0/16", + "serviceEndpoints": [ + { + "networkIdentifier": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "service": "Microsoft.Storage" + } + ] + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "serviceEndpoints": [ + { + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "networkIdentifier": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "provisioningState": "Succeeded", + "service": "Microsoft.Storage" + } + ] + } + } + }, + "201": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "serviceEndpoints": [ + { + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "networkIdentifier": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/publicIPAddresses/test-ip" + }, + "provisioningState": "Succeeded", + "service": "Microsoft.Storage" + } + ] + } + } + } + }, + "operationId": "Subnets_CreateOrUpdate", + "title": "Create subnet with service endpoints with network identifier" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreateWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreateWithDelegation.json new file mode 100644 index 000000000000..e4d18ed5a7af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreateWithDelegation.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subnetParameters": { + "properties": { + "addressPrefix": "10.0.0.0/16" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1/delegations/myDelegation", + "properties": { + "actions": [], + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType" + } + } + ], + "provisioningState": "Succeeded", + "purpose": "" + } + } + }, + "201": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1/delegations/myDelegation", + "properties": { + "actions": [], + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType" + } + } + ], + "provisioningState": "Succeeded", + "purpose": "" + } + } + } + }, + "operationId": "Subnets_CreateOrUpdate", + "title": "Create subnet with a delegation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreateWithServiceGateway.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreateWithServiceGateway.json new file mode 100644 index 000000000000..7363fc1aaee2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreateWithServiceGateway.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subnetParameters": { + "properties": { + "addressPrefix": "10.0.0.0/16", + "serviceGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/SG1" + } + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "serviceGateway": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/SG1" + } + } + } + }, + "201": { + "body": { + "name": "subnet1", + "id": "/subscriptions/subid/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded", + "serviceGateway": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/serviceGateways/SG1" + } + } + } + } + }, + "operationId": "Subnets_CreateOrUpdate", + "title": "Create Subnet with service gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreateWithSharingScope.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreateWithSharingScope.json new file mode 100644 index 000000000000..97cf55a48f98 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetCreateWithSharingScope.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subnetParameters": { + "properties": { + "addressPrefix": "10.0.0.0/16" + } + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "defaultOutboundAccess": false, + "provisioningState": "Succeeded", + "sharingScope": "Tenant" + } + } + }, + "201": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "defaultOutboundAccess": false, + "provisioningState": "Succeeded", + "sharingScope": "Tenant" + } + } + } + }, + "operationId": "Subnets_CreateOrUpdate", + "title": "Create subnet with sharing scope" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetDelete.json new file mode 100644 index 000000000000..24053594ee83 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "Subnets_Delete", + "title": "Delete subnet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetGet.json new file mode 100644 index 000000000000..84a1060c5e97 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetGet.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "Subnets_Get", + "title": "Get subnet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetGetWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetGetWithDelegation.json new file mode 100644 index 000000000000..a1de847c77a6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetGetWithDelegation.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/myDelegation", + "properties": { + "actions": [], + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType" + } + } + ], + "provisioningState": "Succeeded", + "purpose": "" + } + } + } + }, + "operationId": "Subnets_Get", + "title": "Get subnet with a delegation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetGetWithSharingScope.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetGetWithSharingScope.json new file mode 100644 index 000000000000..344632c977fa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetGetWithSharingScope.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subnetName": "subnet1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "defaultOutboundAccess": false, + "provisioningState": "Succeeded", + "sharingScope": "Tenant" + } + } + } + }, + "operationId": "Subnets_Get", + "title": "Get subnet with sharing scope" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetList.json new file mode 100644 index 000000000000..a1737fff4f78 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetList.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "subnet-test", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetname" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded" + } + }, + { + "name": "subnet2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/subnet-test/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/subnet2", + "properties": { + "addressPrefix": "10.0.0.0/16", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "Subnets_List", + "title": "List subnets" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetPrepareNetworkPolicies.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetPrepareNetworkPolicies.json new file mode 100644 index 000000000000..47a592dec417 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetPrepareNetworkPolicies.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "prepareNetworkPoliciesRequestParameters": { + "serviceName": "Microsoft.Sql/managedInstances" + }, + "resourceGroupName": "rg1", + "subnetName": "subnet1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/PrepareNetworkPolicies?api-version=2025-07-01" + } + } + }, + "operationId": "Subnets_PrepareNetworkPolicies", + "title": "Prepare Network Policies" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetUnprepareNetworkPolicies.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetUnprepareNetworkPolicies.json new file mode 100644 index 000000000000..77b85b01d124 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/SubnetUnprepareNetworkPolicies.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subnetName": "subnet1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "unprepareNetworkPoliciesRequestParameters": { + "serviceName": "Microsoft.Sql/managedInstances" + }, + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/UnprepareNetworkPolicies?api-version=2025-07-01" + } + } + }, + "operationId": "Subnets_UnprepareNetworkPolicies", + "title": "Unprepare Network Policies" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/UsageList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/UsageList.json new file mode 100644 index 000000000000..a22b4cb69d75 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/UsageList.json @@ -0,0 +1,267 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Virtual Networks", + "value": "VirtualNetworks" + }, + "currentValue": 8, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/VirtualNetworks", + "limit": 50, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Static Public IP Addresses", + "value": "StaticPublicIPAddresses" + }, + "currentValue": 3, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/StaticPublicIPAddresses", + "limit": 20, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Network Security Groups", + "value": "NetworkSecurityGroups" + }, + "currentValue": 1, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/NetworkSecurityGroups", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Public IP Addresses", + "value": "PublicIPAddresses" + }, + "currentValue": 8, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/PublicIPAddresses", + "limit": 60, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Network Interfaces", + "value": "NetworkInterfaces" + }, + "currentValue": 2, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/NetworkInterfaces", + "limit": 350, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Load Balancers", + "value": "LoadBalancers" + }, + "currentValue": 2, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/LoadBalancers", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Application Gateways", + "value": "ApplicationGateways" + }, + "currentValue": 1, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/ApplicationGateways", + "limit": 50, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Route Tables", + "value": "RouteTables" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/RouteTables", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Route Filters", + "value": "RouteFilters" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/RouteFilters", + "limit": 1000, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Network Watchers", + "value": "NetworkWatchers" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/NetworkWatchers", + "limit": 1, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Packet Captures", + "value": "PacketCaptures" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/PacketCaptures", + "limit": 10, + "unit": "Count" + }, + { + "name": { + "localizedValue": "DNS servers per Virtual Network", + "value": "DnsServersPerVirtualNetwork" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/DnsServersPerVirtualNetwork", + "limit": 9, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Subnets per Virtual Network", + "value": "SubnetsPerVirtualNetwork" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/SubnetsPerVirtualNetwork", + "limit": 1000, + "unit": "Count" + }, + { + "name": { + "localizedValue": "IP Configurations per Virtual Network", + "value": "IPConfigurationsPerVirtualNetwork" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/IPConfigurationsPerVirtualNetwork", + "limit": 4096, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Peerings per Virtual Network", + "value": "PeeringsPerVirtualNetwork" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/PeeringsPerVirtualNetwork", + "limit": 10, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Security rules per Network Security Group", + "value": "SecurityRulesPerNetworkSecurityGroup" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/SecurityRulesPerNetworkSecurityGroup", + "limit": 200, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Security rules addresses or ports per Network Security Group", + "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/SecurityRuleAddressesOrPortsPerNetworkSecurityGroup", + "limit": 2000, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Inbound Rules per Load Balancer", + "value": "InboundRulesPerLoadBalancer" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/InboundRulesPerLoadBalancer", + "limit": 150, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Frontend IP Configurations per Load Balancer", + "value": "FrontendIPConfigurationPerLoadBalancer" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/FrontendIPConfigurationPerLoadBalancer", + "limit": 10, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Outbound Rules per Load Balancer", + "value": "outboundRulesPerLoadBalancer" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/outboundRulesPerLoadBalancer", + "limit": 5, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Routes per Route Table", + "value": "RoutesPerRouteTable" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/RoutesPerRouteTable", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Secondary IP Configurations per Network Interface", + "value": "SecondaryIPConfigurationsPerNetworkInterface" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/SecondaryIPConfigurationsPerNetworkInterface", + "limit": 256, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Inbound rules per Network Interface", + "value": "InboundRulesPerNetworkInterface" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/InboundRulesPerNetworkInterface", + "limit": 500, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Route filter rules per Route Filter", + "value": "RouteFilterRulesPerRouteFilter" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/RouteFilterRulesPerRouteFilter", + "limit": 1, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Route filters per Express route BGP Peering", + "value": "RouteFiltersPerExpressRouteBgpPeering" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/westus/usages/RouteFiltersPerExpressRouteBgpPeering", + "limit": 1, + "unit": "Count" + } + ] + } + } + }, + "operationId": "Usages_List", + "title": "List usages" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/UsageListSpacedLocation.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/UsageListSpacedLocation.json new file mode 100644 index 000000000000..05d628d8766a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/UsageListSpacedLocation.json @@ -0,0 +1,337 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "West US", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Virtual Networks", + "value": "VirtualNetworks" + }, + "currentValue": 12, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/VirtualNetworks", + "limit": 50, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Static Public IP Addresses", + "value": "StaticPublicIPAddresses" + }, + "currentValue": 1, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/StaticPublicIPAddresses", + "limit": 20, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Network Security Groups", + "value": "NetworkSecurityGroups" + }, + "currentValue": 3, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/NetworkSecurityGroups", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Public IP Addresses", + "value": "PublicIPAddresses" + }, + "currentValue": 12, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/PublicIPAddresses", + "limit": 60, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Public Ip Prefixes", + "value": "PublicIpPrefixes" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/PublicIpPrefixes", + "limit": 2147483647, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Network Interfaces", + "value": "NetworkInterfaces" + }, + "currentValue": 2, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/NetworkInterfaces", + "limit": 24000, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Load Balancers", + "value": "LoadBalancers" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/LoadBalancers", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Application Gateways", + "value": "ApplicationGateways" + }, + "currentValue": 3, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/ApplicationGateways", + "limit": 50, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Route Tables", + "value": "RouteTables" + }, + "currentValue": 5, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/RouteTables", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Route Filters", + "value": "RouteFilters" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/RouteFilters", + "limit": 1000, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Network Watchers", + "value": "NetworkWatchers" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/NetworkWatchers", + "limit": 1, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Packet Captures", + "value": "PacketCaptures" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/PacketCaptures", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Application Security Groups.", + "value": "ApplicationSecurityGroups" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/ApplicationSecurityGroups", + "limit": 500, + "unit": "Count" + }, + { + "name": { + "localizedValue": "DDoS Protection Plans.", + "value": "DdosProtectionPlans" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/DdosProtectionPlans", + "limit": 1, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Service Endpoint Policies", + "value": "ServiceEndpointPolicies" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/ServiceEndpointPolicies", + "limit": 200, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Network Intent Policies", + "value": "NetworkIntentPolicies" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/NetworkIntentPolicies", + "limit": 200, + "unit": "Count" + }, + { + "name": { + "localizedValue": "DNS servers per Virtual Network", + "value": "DnsServersPerVirtualNetwork" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/DnsServersPerVirtualNetwork", + "limit": 9, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Subnets per Virtual Network", + "value": "SubnetsPerVirtualNetwork" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/SubnetsPerVirtualNetwork", + "limit": 1000, + "unit": "Count" + }, + { + "name": { + "localizedValue": "IP Configurations per Virtual Network", + "value": "IPConfigurationsPerVirtualNetwork" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/IPConfigurationsPerVirtualNetwork", + "limit": 16384, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Peerings per Virtual Network", + "value": "PeeringsPerVirtualNetwork" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/PeeringsPerVirtualNetwork", + "limit": 50, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Security rules per Network Security Group", + "value": "SecurityRulesPerNetworkSecurityGroup" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/SecurityRulesPerNetworkSecurityGroup", + "limit": 1000, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Security rules per Network Intent Policy", + "value": "SecurityRulesPerNetworkIntentPolicy" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/SecurityRulesPerNetworkIntentPolicy", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Routes per Network Intent Policy", + "value": "RoutesPerNetworkIntentPolicy" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/RoutesPerNetworkIntentPolicy", + "limit": 100, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Security rules addresses or ports per Network Security Group", + "value": "SecurityRuleAddressesOrPortsPerNetworkSecurityGroup" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/SecurityRuleAddressesOrPortsPerNetworkSecurityGroup", + "limit": 2000, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Inbound Rules per Load Balancer", + "value": "InboundRulesPerLoadBalancer" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/InboundRulesPerLoadBalancer", + "limit": 150, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Frontend IP Configurations per Load Balancer", + "value": "FrontendIPConfigurationPerLoadBalancer" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/FrontendIPConfigurationPerLoadBalancer", + "limit": 10, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Outbound Rules per Load Balancer", + "value": "OutboundRulesPerLoadBalancer" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/OutboundRulesPerLoadBalancer", + "limit": 5, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Routes per Route Table", + "value": "RoutesPerRouteTable" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/RoutesPerRouteTable", + "limit": 400, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Secondary IP Configurations per Network Interface", + "value": "SecondaryIPConfigurationsPerNetworkInterface" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/SecondaryIPConfigurationsPerNetworkInterface", + "limit": 256, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Inbound rules per Network Interface", + "value": "InboundRulesPerNetworkInterface" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/InboundRulesPerNetworkInterface", + "limit": 500, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Route filter rules per Route Filter", + "value": "RouteFilterRulesPerRouteFilter" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/RouteFilterRulesPerRouteFilter", + "limit": 1, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Route filters per Express route BGP Peering", + "value": "RouteFiltersPerExpressRouteBgpPeering" + }, + "currentValue": 0, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/West US/usages/RouteFiltersPerExpressRouteBgpPeering", + "limit": 1, + "unit": "Count" + } + ] + } + } + }, + "operationId": "Usages_List", + "title": "List usages spaced location" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VerifierWorkspaceDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VerifierWorkspaceDelete.json new file mode 100644 index 000000000000..2bc3aeff7433 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VerifierWorkspaceDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testWorkspace" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/eastus/verifierWorkspaceOperationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VerifierWorkspaces_Delete", + "title": "VerifierWorkspaceDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VerifierWorkspaceGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VerifierWorkspaceGet.json new file mode 100644 index 000000000000..3a7769fa0215 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VerifierWorkspaceGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "verifierWorkspace": { + "properties": { + "description": "A sample workspace" + } + }, + "workspaceName": "testWorkspace" + }, + "responses": { + "200": { + "body": { + "name": "testWorkspace", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace", + "location": "eastus", + "properties": { + "description": "A sample workspace", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + } + }, + "operationId": "VerifierWorkspaces_Get", + "title": "VerifierWorkspaceGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VerifierWorkspaceList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VerifierWorkspaceList.json new file mode 100644 index 000000000000..c33a3bec5b9e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VerifierWorkspaceList.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "nextLink": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces?api-version=2024-04-01-preview&$skipToken=10", + "value": [ + { + "name": "testVerifierWorkspace1", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testVerifierWorkspace1", + "location": "eastus", + "properties": { + "description": "A sample verfier workspace", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + ] + } + } + }, + "operationId": "VerifierWorkspaces_List", + "title": "VerifierWorkspaceList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VerifierWorkspacePatch.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VerifierWorkspacePatch.json new file mode 100644 index 000000000000..1bfbc045867d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VerifierWorkspacePatch.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "verifierWorkspace": { + "properties": { + "description": "A sample workspace" + }, + "tags": { + "color": "blue" + } + }, + "workspaceName": "testWorkspace" + }, + "responses": { + "200": { + "body": { + "name": "testWorkspace", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace", + "location": "eastus", + "properties": { + "description": "A sample workspace", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + }, + "tags": { + "color": "blue" + } + } + } + }, + "operationId": "VerifierWorkspaces_Update", + "title": "VerifierWorkspacePatch" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VerifierWorkspacePut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VerifierWorkspacePut.json new file mode 100644 index 000000000000..b098520d480c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VerifierWorkspacePut.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "body": { + "location": "eastus", + "properties": { + "description": "A sample workspace" + } + }, + "networkManagerName": "testNetworkManager", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "workspaceName": "testWorkspace" + }, + "responses": { + "200": { + "body": { + "name": "testWorkspace", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace", + "location": "eastus", + "properties": { + "description": "A sample workspace", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + } + }, + "201": { + "body": { + "name": "testWorkspace", + "type": "Microsoft.Network/networkManagers/verifierWorkspaces", + "etag": "\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace", + "location": "eastus", + "properties": { + "description": "A sample workspace", + "provisioningState": "Succeeded" + }, + "systemData": { + "createdAt": "2021-01-11T18:52:27Z", + "createdBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "createdByType": "User", + "lastModifiedAt": "2021-01-11T18:52:27Z", + "lastModifiedBy": "b69a9388-9488-4534-b470-7ec6d41beef5", + "lastModifiedByType": "User" + } + }, + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/testNetworkManager/verifierWorkspaces/testWorkspace?api-version=2025-07-01" + } + } + }, + "operationId": "VerifierWorkspaces_Create", + "title": "VerifierWorkspaceCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubBgpConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubBgpConnectionDelete.json new file mode 100644 index 000000000000..9ae3849304e1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubBgpConnectionDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "conn1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "hub1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VirtualHubBgpConnection_Delete", + "title": "VirtualHubRouteTableV2Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubBgpConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubBgpConnectionGet.json new file mode 100644 index 000000000000..6f315ef0f854 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubBgpConnectionGet.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "conn1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "hub1" + }, + "responses": { + "200": { + "body": { + "name": "conn1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/bgpConnections/conn1", + "properties": { + "connectionState": "Connected", + "hubVirtualNetworkConnection": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubVirtualNetworkConnections/hubVnetConn1" + }, + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "provisioningState": "Succeeded", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap2" + } + } + } + } + } + }, + "operationId": "VirtualHubBgpConnection_Get", + "title": "VirtualHubVirtualHubRouteTableV2Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubBgpConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubBgpConnectionList.json new file mode 100644 index 000000000000..7ce173511d7b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubBgpConnectionList.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "hub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "conn1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/bgpConnections/conn1", + "properties": { + "connectionState": "Connected", + "hubVirtualNetworkConnection": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubVirtualNetworkConnections/hubVnetConn1" + }, + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "provisioningState": "Succeeded", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap2" + } + } + } + } + ] + } + } + }, + "operationId": "VirtualHubBgpConnections_List", + "title": "VirtualHubRouteTableV2List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubBgpConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubBgpConnectionPut.json new file mode 100644 index 000000000000..dd7bfc798346 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubBgpConnectionPut.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "conn1", + "parameters": { + "properties": { + "hubVirtualNetworkConnection": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubVirtualNetworkConnections/hubVnetConn1" + }, + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap2" + } + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "hub1" + }, + "responses": { + "200": { + "body": { + "name": "conn1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/bgpConnections/conn1", + "properties": { + "connectionState": "Connected", + "hubVirtualNetworkConnection": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubVirtualNetworkConnections/hubVnetConn1" + }, + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "provisioningState": "Succeeded", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap2" + } + } + } + } + }, + "201": { + "body": { + "name": "conn1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/bgpConnections/conn1", + "properties": { + "connectionState": "Connected", + "hubVirtualNetworkConnection": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubVirtualNetworkConnections/hubVnetConn1" + }, + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "provisioningState": "Succeeded", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/routeMaps/routeMap2" + } + } + } + } + } + }, + "operationId": "VirtualHubBgpConnection_CreateOrUpdate", + "title": "VirtualHubRouteTableV2Put" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubDelete.json new file mode 100644 index 000000000000..dfc777400702 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VirtualHubs_Delete", + "title": "VirtualHubDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubGet.json new file mode 100644 index 000000000000..772953ee3196 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubGet.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "virtualHub1", + "type": "Microsoft.Network/virtualHubs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", + "location": "West US", + "properties": { + "addressPrefix": "10.10.1.0/24", + "allowBranchToBranchTraffic": false, + "hubRoutingPreference": "ExpressRoute", + "preferredRoutingGateway": "ExpressRoute", + "provisioningState": "Succeeded", + "routingState": "Provisioned", + "sku": "Basic", + "virtualHubRouteTableV2s": [], + "virtualRouterAsn": 65515, + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + }, + "virtualRouterIps": [ + "10.10.1.12", + "10.10.1.13" + ], + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + } + } + } + }, + "operationId": "VirtualHubs_Get", + "title": "VirtualHubGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubIpConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubIpConfigurationDelete.json new file mode 100644 index 000000000000..1d63a627353b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubIpConfigurationDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipConfigName": "ipconfig1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "hub1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VirtualHubIpConfiguration_Delete", + "title": "VirtualHubIpConfigurationDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubIpConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubIpConfigurationGet.json new file mode 100644 index 000000000000..fd13b25f2429 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubIpConfigurationGet.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipConfigName": "ipconfig1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "hub1" + }, + "responses": { + "200": { + "body": { + "name": "ipconfig1", + "type": "Microsoft.Network/virtualHubs/ipConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + } + } + }, + "operationId": "VirtualHubIpConfiguration_Get", + "title": "VirtualHubVirtualHubRouteTableV2Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubIpConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubIpConfigurationList.json new file mode 100644 index 000000000000..b5b49d19b49b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubIpConfigurationList.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "hub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ipconfig1", + "type": "Microsoft.Network/virtualHubs/ipConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + } + ] + } + } + }, + "operationId": "VirtualHubIpConfiguration_List", + "title": "VirtualHubRouteTableV2List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubIpConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubIpConfigurationPut.json new file mode 100644 index 000000000000..6088a9e587f1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubIpConfigurationPut.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipConfigName": "ipconfig1", + "parameters": { + "properties": { + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "hub1" + }, + "responses": { + "200": { + "body": { + "name": "ipconfig1", + "type": "Microsoft.Network/virtualHubs/ipConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + } + }, + "201": { + "body": { + "name": "ipconfig1", + "type": "Microsoft.Network/virtualHubs/ipConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/ipConfigurations/ipconfig1", + "properties": { + "provisioningState": "Succeeded", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + } + } + } + } + }, + "operationId": "VirtualHubIpConfiguration_CreateOrUpdate", + "title": "VirtualHubIpConfigurationPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubList.json new file mode 100644 index 000000000000..1b070bfe7aa1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubList.json @@ -0,0 +1,142 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "virtualHub1", + "type": "Microsoft.Network/virtualHubs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", + "location": "West US", + "properties": { + "addressPrefix": "10.10.1.0/24", + "allowBranchToBranchTraffic": false, + "hubRoutingPreference": "ExpressRoute", + "preferredRoutingGateway": "ExpressRoute", + "provisioningState": "Succeeded", + "routingState": "Provisioned", + "sku": "Basic", + "virtualHubRouteTableV2s": [ + { + "name": "rt2a", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1", + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + ], + "virtualRouterAsn": 65515, + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + }, + "virtualRouterIps": [ + "10.10.1.12", + "10.10.1.13" + ], + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + } + }, + { + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "location": "East US", + "properties": { + "addressPrefix": "210.10.1.0/24", + "allowBranchToBranchTraffic": false, + "hubRoutingPreference": "ExpressRoute", + "preferredRoutingGateway": "ExpressRoute", + "provisioningState": "Succeeded", + "routingState": "Provisioned", + "sku": "Basic", + "virtualHubRouteTableV2s": [ + { + "name": "rt2a", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/routeTables/virtualHubRouteTable2", + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + ], + "virtualRouterAsn": 65515, + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + }, + "virtualRouterIps": [ + "10.10.1.12", + "10.10.1.13" + ], + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + } + } + ] + } + } + }, + "operationId": "VirtualHubs_List", + "title": "VirtualHubList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubListByResourceGroup.json new file mode 100644 index 000000000000..914ed7aa3a85 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubListByResourceGroup.json @@ -0,0 +1,143 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "virtualHub1", + "type": "Microsoft.Network/virtualHubs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1", + "location": "West US", + "properties": { + "addressPrefix": "10.10.1.0/24", + "allowBranchToBranchTraffic": false, + "hubRoutingPreference": "ExpressRoute", + "preferredRoutingGateway": "ExpressRoute", + "provisioningState": "Succeeded", + "routingState": "Provisioned", + "sku": "Basic", + "virtualHubRouteTableV2s": [ + { + "name": "rt2a", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/routeTables/virtualHubRouteTable2", + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + ], + "virtualRouterAsn": 65515, + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + }, + "virtualRouterIps": [ + "10.10.1.12", + "10.10.1.13" + ], + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + } + }, + { + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "location": "East US", + "properties": { + "addressPrefix": "210.10.1.0/24", + "allowBranchToBranchTraffic": false, + "hubRoutingPreference": "ExpressRoute", + "preferredRoutingGateway": "ExpressRoute", + "provisioningState": "Succeeded", + "routingState": "Provisioned", + "sku": "Basic", + "virtualHubRouteTableV2s": [ + { + "name": "rt2a", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2/routeTables/virtualHubRouteTable2", + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + ], + "virtualRouterAsn": 65515, + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + }, + "virtualRouterIps": [ + "10.10.1.12", + "10.10.1.13" + ], + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + } + } + ] + } + } + }, + "operationId": "VirtualHubs_ListByResourceGroup", + "title": "VirtualHubListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubPut.json new file mode 100644 index 000000000000..70bf5a168c1f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubPut.json @@ -0,0 +1,85 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub2", + "virtualHubParameters": { + "location": "West US", + "properties": { + "addressPrefix": "10.168.0.0/24", + "sku": "Basic", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + }, + "tags": { + "key1": "value1" + } + } + }, + "responses": { + "200": { + "body": { + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "location": "West US", + "properties": { + "addressPrefix": "10.168.0.0/24", + "allowBranchToBranchTraffic": false, + "hubRoutingPreference": "ExpressRoute", + "preferredRoutingGateway": "ExpressRoute", + "provisioningState": "Succeeded", + "routingState": "Provisioned", + "sku": "Basic", + "virtualHubRouteTableV2s": [], + "virtualRouterAsn": 65515, + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + }, + "virtualRouterIps": [ + "10.10.1.12", + "10.10.1.13" + ], + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + } + } + }, + "201": { + "body": { + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "location": "West US", + "properties": { + "addressPrefix": "10.168.0.0/24", + "allowBranchToBranchTraffic": false, + "hubRoutingPreference": "ExpressRoute", + "preferredRoutingGateway": "ExpressRoute", + "provisioningState": "Succeeded", + "routingState": "Provisioned", + "sku": "Basic", + "virtualHubRouteTableV2s": [], + "virtualRouterAsn": 65515, + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + }, + "virtualRouterIps": [ + "10.10.1.12", + "10.10.1.13" + ], + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + } + } + } + }, + "operationId": "VirtualHubs_CreateOrUpdate", + "title": "VirtualHubPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubRouteTableV2Delete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubRouteTableV2Delete.json new file mode 100644 index 000000000000..0c8b28698ac7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubRouteTableV2Delete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "virtualHubRouteTable1a", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VirtualHubRouteTableV2s_Delete", + "title": "VirtualHubRouteTableV2Delete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubRouteTableV2Get.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubRouteTableV2Get.json new file mode 100644 index 000000000000..1759aed08c3f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubRouteTableV2Get.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "virtualHubRouteTable1a", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "name": "virtualHubRouteTable1a", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1a", + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + } + }, + "operationId": "VirtualHubRouteTableV2s_Get", + "title": "VirtualHubVirtualHubRouteTableV2Get" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubRouteTableV2List.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubRouteTableV2List.json new file mode 100644 index 000000000000..cdc6df3ffa5f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubRouteTableV2List.json @@ -0,0 +1,76 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "virtualHubRouteTable1a", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1a", + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + }, + { + "name": "virtualHubRouteTable1b", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1b", + "properties": { + "attachedConnections": [ + "All_Branches" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.30.0.0/16", + "20.40.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + ] + } + } + }, + "operationId": "VirtualHubRouteTableV2s_List", + "title": "VirtualHubRouteTableV2List" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubRouteTableV2Put.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubRouteTableV2Put.json new file mode 100644 index 000000000000..0a6919687b46 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubRouteTableV2Put.json @@ -0,0 +1,115 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "routeTableName": "virtualHubRouteTable1a", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub1", + "virtualHubRouteTableV2Parameters": { + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "name": "virtualHubRouteTable1a", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1a", + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + }, + "201": { + "body": { + "name": "virtualHubRouteTable1a", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeTables/virtualHubRouteTable1a", + "properties": { + "attachedConnections": [ + "All_Vnets" + ], + "provisioningState": "Succeeded", + "routes": [ + { + "destinationType": "CIDR", + "destinations": [ + "20.10.0.0/16", + "20.20.0.0/16" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + }, + { + "destinationType": "CIDR", + "destinations": [ + "0.0.0.0/0" + ], + "nextHopType": "IPAddress", + "nextHops": [ + "10.0.0.68" + ] + } + ] + } + } + } + }, + "operationId": "VirtualHubRouteTableV2s_CreateOrUpdate", + "title": "VirtualHubRouteTableV2Put" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubUpdateTags.json new file mode 100644 index 000000000000..d348a33e11a1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualHubUpdateTags.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualHubName": "virtualHub2", + "virtualHubParameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "virtualHub2", + "type": "Microsoft.Network/virtualHubs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub2", + "location": "West US", + "properties": { + "addressPrefix": "10.168.0.0/24", + "allowBranchToBranchTraffic": false, + "hubRoutingPreference": "ExpressRoute", + "provisioningState": "Succeeded", + "sku": "Basic", + "virtualHubRouteTableV2s": [], + "virtualRouterAsn": 65515, + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + }, + "virtualRouterIps": [ + "10.10.1.12", + "10.10.1.13" + ], + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1" + } + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "VirtualHubs_UpdateTags", + "title": "VirtualHubUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_CreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_CreateOrUpdate.json new file mode 100644 index 000000000000..2ab5e0f617f3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_CreateOrUpdate.json @@ -0,0 +1,77 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "bandwidthInGbps": 100, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkApplianceName": "test-vna" + }, + "responses": { + "200": { + "body": { + "name": "test-vna", + "type": "Microsoft.Network/virtualNetworkAppliances", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna", + "location": "eastus", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c9b1f5f4-5d6e-4f0a-89c1-6b3d3e3c3e3c", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + }, + "201": { + "body": { + "name": "test-vna", + "type": "Microsoft.Network/virtualNetworkAppliances", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna", + "location": "eastus", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c9b1f5f4-5d6e-4f0a-89c1-6b3d3e3c3e3c", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + } + }, + "operationId": "VirtualNetworkAppliances_CreateOrUpdate", + "title": "Create virtual network appliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_Delete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_Delete.json new file mode 100644 index 000000000000..10dea18804a5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_Delete.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkApplianceName": "test-vna" + }, + "responses": { + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualNetworkAppliances_Delete", + "title": "Delete virtual network appliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_Get.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_Get.json new file mode 100644 index 000000000000..d4e5c5ac3529 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_Get.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkApplianceName": "test-vna" + }, + "responses": { + "200": { + "body": { + "name": "test-vna", + "type": "Microsoft.Network/virtualNetworkAppliances", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna", + "location": "eastus", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c9b1f5f4-5d6e-4f0a-89c1-6b3d3e3c3e3c", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + } + }, + "operationId": "VirtualNetworkAppliances_Get", + "title": "Get virtual network appliance" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_List.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_List.json new file mode 100644 index 000000000000..183125e439ac --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_List.json @@ -0,0 +1,69 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-vna", + "type": "Microsoft.Network/virtualNetworkAppliances", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna", + "location": "eastus", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c9b1f5f4-5d6e-4f0a-89c1-6b3d3e3c3e3c", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + }, + { + "name": "test-vna2", + "type": "Microsoft.Network/virtualNetworkAppliances", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna2", + "location": "eastus", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c9b1f5f4-5d6e-4f0a-89c1-6b3d3e3c3e3d", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ] + } + } + }, + "operationId": "VirtualNetworkAppliances_List", + "title": "List virtual network appliances in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_ListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_ListBySubscription.json new file mode 100644 index 000000000000..b0b948a5313b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_ListBySubscription.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-vna", + "type": "Microsoft.Network/virtualNetworkAppliances", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna", + "location": "eastus", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c9b1f5f4-5d6e-4f0a-89c1-6b3d3e3c3e3c", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + }, + { + "name": "test-vna2", + "type": "Microsoft.Network/virtualNetworkAppliances", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna2", + "location": "eastus", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c9b1f5f4-5d6e-4f0a-89c1-6b3d3e3c3e3d", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + } + } + ] + } + } + }, + "operationId": "VirtualNetworkAppliances_ListAll", + "title": "List all virtual network appliances" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_UpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_UpdateTags.json new file mode 100644 index 000000000000..948cd2eb4b3c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkAppliances_UpdateTags.json @@ -0,0 +1,50 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkApplianceName": "test-vna" + }, + "responses": { + "200": { + "body": { + "name": "test-vna", + "type": "Microsoft.Network/virtualNetworkAppliances", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna", + "location": "eastus", + "properties": { + "ipConfigurations": [ + { + "name": "ipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkAppliances/test-vna/ipConfigurations/ipconfig1", + "properties": { + "primary": true, + "privateIPAddress": "10.0.1.4", + "privateIPAddressVersion": "IPv4", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "c9b1f5f4-5d6e-4f0a-89c1-6b3d3e3c3e3c", + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/rg1-vnet/subnets/default" + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "VirtualNetworkAppliances_UpdateTags", + "title": "Update virtual network appliance tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCheckIPAddressAvailability.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCheckIPAddressAvailability.json new file mode 100644 index 000000000000..bd0619d8d860 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCheckIPAddressAvailability.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "ipAddress": "10.0.1.4", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "available": false, + "availableIPAddresses": [ + "10.0.1.5", + "10.0.1.6", + "10.0.1.7", + "10.0.1.8", + "10.0.1.9" + ] + } + } + }, + "operationId": "VirtualNetworks_CheckIPAddressAvailability", + "title": "Check IP address availability" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreate.json new file mode 100644 index 000000000000..a0a56a1e4b2f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreate.json @@ -0,0 +1,61 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "flowTimeoutInMinutes": 10 + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "flowTimeoutInMinutes": 10, + "provisioningState": "Succeeded", + "subnets": [], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "flowTimeoutInMinutes": 10, + "provisioningState": "Succeeded", + "subnets": [], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json new file mode 100644 index 000000000000..57499e44f880 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateServiceEndpointPolicy.json @@ -0,0 +1,128 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus2euap", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "serviceEndpointPolicies": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1" + } + ], + "serviceEndpoints": [ + { + "service": "Microsoft.Storage" + } + ] + } + } + ] + } + }, + "resourceGroupName": "vnetTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1" + }, + "responses": { + "200": { + "body": { + "name": "vnet1", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "location": "eastus2euap", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "ipConfigurations": [], + "provisioningState": "Succeeded", + "resourceNavigationLinks": [], + "serviceEndpointPolicies": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1" + } + ], + "serviceEndpoints": [ + { + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded", + "service": "Microsoft.Storage" + } + ] + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "vnet1", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "location": "eastus2euap", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "ipConfigurations": [], + "provisioningState": "Succeeded", + "resourceNavigationLinks": [], + "serviceEndpointPolicies": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/serviceEndpointPolicies/ServiceEndpointPolicy1" + } + ], + "serviceEndpoints": [ + { + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded", + "service": "Microsoft.Storage" + } + ] + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network with service endpoints and service endpoint policy" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateServiceEndpoints.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateServiceEndpoints.json new file mode 100644 index 000000000000..c75daaad1cd3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateServiceEndpoints.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "serviceEndpoints": [ + { + "service": "Microsoft.Storage" + } + ] + } + } + ] + } + }, + "resourceGroupName": "vnetTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1" + }, + "responses": { + "200": { + "body": { + "name": "vnet1", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "ipConfigurations": [], + "provisioningState": "Succeeded", + "resourceNavigationLinks": [], + "serviceEndpoints": [ + { + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded", + "service": "Microsoft.Storage" + } + ] + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "vnet1", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/vnetTest/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/16", + "ipConfigurations": [], + "provisioningState": "Succeeded", + "resourceNavigationLinks": [], + "serviceEndpoints": [ + { + "locations": [ + "eastus2(stage)", + "usnorth(stage)" + ], + "provisioningState": "Succeeded", + "service": "Microsoft.Storage" + } + ] + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network with service endpoints" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateSubnet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateSubnet.json new file mode 100644 index 000000000000..eb0b8520e90e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateSubnet.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24" + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network with subnet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json new file mode 100644 index 000000000000..34a4e80cc680 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json @@ -0,0 +1,93 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-2", + "properties": { + "addressPrefixes": [ + "10.0.0.0/28", + "10.0.1.0/28" + ] + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-2", + "properties": { + "addressPrefixes": [ + "10.0.0.0/28", + "10.1.0.0/28" + ], + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-2", + "properties": { + "addressPrefixes": [ + "10.0.0.0/28", + "10.0.1.0/28" + ], + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network with subnet containing address prefixes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateSubnetWithDelegation.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateSubnetWithDelegation.json new file mode 100644 index 000000000000..d76456414655 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateSubnetWithDelegation.json @@ -0,0 +1,116 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "westcentralus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "delegations": [ + { + "name": "myDelegation", + "properties": { + "serviceName": "Microsoft.Sql/managedInstances" + } + } + ] + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "westcentralus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1/delegations/myDelegation", + "properties": { + "actions": [], + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Sql/managedInstances" + } + } + ], + "provisioningState": "Succeeded", + "purpose": "" + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "westcentralus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1/delegations/myDelegation", + "properties": { + "actions": [], + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Sql/managedInstances" + } + } + ], + "provisioningState": "Succeeded", + "purpose": "" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network with delegated subnets" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateWithBgpCommunities.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateWithBgpCommunities.json new file mode 100644 index 000000000000..5e9ed0b4ba1f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateWithBgpCommunities.json @@ -0,0 +1,95 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpCommunities": { + "virtualNetworkCommunity": "12076:20000" + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24" + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20000" + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20000" + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network with Bgp Communities" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateWithEncryption.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateWithEncryption.json new file mode 100644 index 000000000000..7c5b26899e55 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateWithEncryption.json @@ -0,0 +1,96 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "encryption": { + "enabled": true, + "enforcement": "AllowUnencrypted" + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "addressPrefix": "10.0.0.0/24" + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "encryption": { + "enabled": true, + "enforcement": "AllowUnencrypted" + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "encryption": { + "enabled": true, + "enforcement": "AllowUnencrypted" + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network with encryption" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateWithIpamPool.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateWithIpamPool.json new file mode 100644 index 000000000000..86bf1592b5cc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkCreateWithIpamPool.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "eastus", + "properties": { + "addressSpace": { + "ipamPoolPrefixAllocations": [ + { + "numberOfIpAddresses": "65536", + "pool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/nm1/ipamPools/testIpamPool" + } + } + ] + }, + "subnets": [ + { + "name": "test-1", + "properties": { + "ipamPoolPrefixAllocations": [ + { + "numberOfIpAddresses": "80", + "pool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/nm1/ipamPools/testIpamPool" + } + } + ] + } + } + ] + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus2euap", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/22" + ], + "ipamPoolPrefixAllocations": [ + { + "allocatedAddressPrefixes": [ + "10.0.0.0/22" + ], + "numberOfIpAddresses": "800", + "pool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/nm1/ipamPools/testIpamPool" + } + } + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "properties": { + "addressPrefixes": [ + "10.0.0.0/26", + "10.0.0.64/28" + ], + "ipamPoolPrefixAllocations": [ + { + "allocatedAddressPrefixes": [ + "10.0.0.0/26", + "10.0.0.64/28" + ], + "numberOfIpAddresses": "80", + "pool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/nm1/ipamPools/testIpamPool" + } + } + ], + "provisioningState": "Updating" + } + } + ] + } + } + }, + "201": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "eastus2euap", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/22" + ], + "ipamPoolPrefixAllocations": [ + { + "allocatedAddressPrefixes": [ + "10.0.0.0/22" + ], + "numberOfIpAddresses": "800", + "pool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/nm1/ipamPools/testIpamPool" + } + } + ] + }, + "provisioningState": "Updating", + "subnets": [ + { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "properties": { + "addressPrefixes": [ + "10.0.0.0/26", + "10.0.0.64/28" + ], + "ipamPoolPrefixAllocations": [ + { + "allocatedAddressPrefixes": [ + "10.0.0.0/26", + "10.0.0.64/28" + ], + "numberOfIpAddresses": "80", + "pool": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkManagers/nm1/ipamPools/testIpamPool" + } + } + ], + "provisioningState": "Updating" + } + } + ] + } + } + } + }, + "operationId": "VirtualNetworks_CreateOrUpdate", + "title": "Create virtual network with ipamPool" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkDelete.json new file mode 100644 index 000000000000..21289e04b25e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualNetworks_Delete", + "title": "Delete virtual network" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayAbortMigration.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayAbortMigration.json new file mode 100644 index 000000000000..ef6bd5bb6db7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayAbortMigration.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_InvokeAbortMigration", + "title": "VirtualNetworkGatewayAbortMigration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayCommitMigration.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayCommitMigration.json new file mode 100644 index 000000000000..582933ba786a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayCommitMigration.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_InvokeCommitMigration", + "title": "VirtualNetworkGatewayCommitMigration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionCreate.json new file mode 100644 index 000000000000..884c7a35c8f4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionCreate.json @@ -0,0 +1,270 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "centralus", + "properties": { + "authenticationType": "Certificate", + "certificateAuthentication": { + "inboundAuthCertificateChain": [ + "MIIC+TCCAeGgAwIBAgIQFOJUqDaxV5xJcKpTKO...", + "MIIC+TCCAeGgAwIBAgIQPJerInitNblK7yBgkqh..." + ], + "inboundAuthCertificateSubjectName": "CN=rootCert.com", + "outboundAuthCertificate": "https://customerKv.vault.azure.net/Certificates/outBoundcert/Version" + }, + "connectionMode": "Default", + "connectionProtocol": "IKEv2", + "connectionType": "IPsec", + "dpdTimeoutSeconds": 30, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2" + } + ], + "enableBgp": false, + "gatewayCustomBgpIpAddresses": [ + { + "customBgpIpAddress": "169.254.21.1", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default" + }, + { + "customBgpIpAddress": "169.254.21.3", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive" + } + ], + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1" + } + ], + "ipsecPolicies": [], + "localNetworkGateway2": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "location": "centralus", + "properties": { + "gatewayIpAddress": "x.x.x.x", + "localNetworkAddressSpace": { + "addressPrefixes": [ + "10.1.0.0/16" + ] + } + }, + "tags": {} + }, + "routingWeight": 0, + "sharedKey": "Abc123", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + } + }, + "trafficSelectorPolicies": [], + "tunnelProperties": [ + { + "bgpPeeringAddress": "10.78.1.17", + "tunnelIpAddress": "10.78.1.5" + }, + { + "bgpPeeringAddress": "10.78.1.20", + "tunnelIpAddress": "10.78.1.7" + } + ], + "usePolicyBasedTrafficSelectors": false, + "virtualNetworkGateway1": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "location": "centralus", + "properties": { + "activeActive": false, + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "enableBgp": false, + "gatewayType": "Vpn", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1" + }, + "vpnType": "RouteBased" + }, + "tags": {} + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "connS2S" + }, + "responses": { + "200": { + "body": { + "name": "connS2S", + "type": "Microsoft.Network/connections", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", + "location": "centralus", + "properties": { + "authenticationType": "Certificate", + "certificateAuthentication": { + "inboundAuthCertificateChain": [ + "MIIC+TCCAeGgAwIBAgIQFOJUqDaxV5xJcKpTKO...", + "MIIC+TCCAeGgAwIBAgIQPJerInitNblK7yBgkqh..." + ], + "inboundAuthCertificateSubjectName": "CN=rootCert.com", + "outboundAuthCertificate": "https://customerKv.vault.azure.net/Certificates/outBoundcert/Version" + }, + "connectionMode": "Default", + "connectionProtocol": "IKEv2", + "connectionType": "IPsec", + "dpdTimeoutSeconds": 30, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2" + } + ], + "enableBgp": false, + "gatewayCustomBgpIpAddresses": [ + { + "customBgpIpAddress": "169.254.21.1", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default" + }, + { + "customBgpIpAddress": "169.254.21.3", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive" + } + ], + "ingressBytesTransferred": 0, + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1" + } + ], + "ipsecPolicies": [], + "localNetworkGateway2": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} + }, + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + } + }, + "routingWeight": 0, + "tunnelProperties": [ + { + "bgpPeeringAddress": "10.78.1.17", + "tunnelIpAddress": "10.78.1.5" + }, + { + "bgpPeeringAddress": "10.78.1.20", + "tunnelIpAddress": "10.78.1.7" + } + ], + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "virtualNetworkGateway1": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + } + } + } + }, + "201": { + "body": { + "name": "connS2S", + "type": "Microsoft.Network/connections", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", + "location": "centralus", + "properties": { + "authenticationType": "Certificate", + "certificateAuthentication": { + "inboundAuthCertificateChain": [ + "MIIC+TCCAeGgAwIBAgIQFOJUqDaxV5xJcKpTKO...", + "MIIC+TCCAeGgAwIBAgIQPJerInitNblK7yBgkqh..." + ], + "inboundAuthCertificateSubjectName": "CN=rootCert.com", + "outboundAuthCertificate": "https://customerKv.vault.azure.net/Certificates/outBoundcert/Version" + }, + "connectionMode": "Default", + "connectionProtocol": "IKEv2", + "connectionType": "IPsec", + "dpdTimeoutSeconds": 30, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2" + } + ], + "enableBgp": false, + "ingressBytesTransferred": 0, + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1" + } + ], + "ipsecPolicies": [], + "localNetworkGateway2": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} + }, + "provisioningState": "Updating", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + } + }, + "routingWeight": 0, + "tunnelProperties": [ + { + "bgpPeeringAddress": "10.78.1.17", + "tunnelIpAddress": "10.78.1.5" + }, + { + "bgpPeeringAddress": "10.78.1.20", + "tunnelIpAddress": "10.78.1.7" + } + ], + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "virtualNetworkGateway1": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + } + } + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_CreateOrUpdate", + "title": "CreateVirtualNetworkGatewayConnection_S2S" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionDelete.json new file mode 100644 index 000000000000..8ea0efeec7bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "conn1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualNetworkGatewayConnections_Delete", + "title": "DeleteVirtualNetworkGatewayConnection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionGet.json new file mode 100644 index 000000000000..f3c7fd91dab7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionGet.json @@ -0,0 +1,93 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "connS2S" + }, + "responses": { + "200": { + "body": { + "name": "connS2S", + "type": "Microsoft.Network/connections", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/connections/connS2S", + "location": "centralus", + "properties": { + "authenticationType": "Certificate", + "certificateAuthentication": { + "inboundAuthCertificateChain": [ + "MIIC+TCCAeGgAwIBAgIQFOJUqDaxV5xJcKpTKO...", + "MIIC+TCCAeGgAwIBAgIQPJerInitNblK7yBgkqh..." + ], + "inboundAuthCertificateSubjectName": "CN=rootCert.com", + "outboundAuthCertificate": "https://customerKv.vault.azure.net/Certificates/outBoundcert/Version" + }, + "connectionMode": "Default", + "connectionProtocol": "IKEv2", + "connectionStatus": "Connecting", + "connectionType": "IPsec", + "dpdTimeoutSeconds": 30, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2" + } + ], + "enableBgp": false, + "gatewayCustomBgpIpAddresses": [ + { + "customBgpIpAddress": "169.254.21.1", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default" + }, + { + "customBgpIpAddress": "169.254.21.3", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive" + } + ], + "ingressBytesTransferred": 0, + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1" + } + ], + "ipsecPolicies": [], + "localNetworkGateway2": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw", + "properties": {} + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + } + }, + "routingWeight": 0, + "trafficSelectorPolicies": [], + "tunnelProperties": [ + { + "bgpPeeringAddress": "10.78.1.17", + "tunnelIpAddress": "10.78.1.5" + }, + { + "bgpPeeringAddress": "10.78.1.20", + "tunnelIpAddress": "10.78.1.7" + } + ], + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "virtualNetworkGateway1": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + } + } + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_Get", + "title": "GetVirtualNetworkGatewayConnection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionGetIkeSas.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionGetIkeSas.json new file mode 100644 index 000000000000..27591ff9b00e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionGetIkeSas.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "vpngwcn1" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/westus/operationResults/{operationId}?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_GetIkeSas", + "title": "GetVirtualNetworkGatewayConnectionIkeSa" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json new file mode 100644 index 000000000000..5d2a739b4e79 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionGetSharedKey.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "connS2S" + }, + "responses": { + "200": { + "body": { + "id": "", + "value": "AzureAbc123" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_GetSharedKey", + "title": "GetVirtualNetworkGatewayConnectionSharedKey" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionReset.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionReset.json new file mode 100644 index 000000000000..567a29a66809 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionReset.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "conn1" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_ResetConnection", + "title": "ResetVirtualNetworkGatewayConnection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json new file mode 100644 index 000000000000..9944c445dd9e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionResetSharedKey.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "keyLength": 128 + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "conn1" + }, + "responses": { + "200": { + "body": { + "keyLength": 128 + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_ResetSharedKey", + "title": "ResetVirtualNetworkGatewayConnectionSharedKey" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json new file mode 100644 index 000000000000..74473a6f72bd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionSetSharedKey.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "value": "AzureAbc123" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "connS2S" + }, + "responses": { + "200": { + "body": { + "id": "", + "value": "AzureAbc123" + } + }, + "201": { + "body": { + "id": "", + "value": "AzureAbc123" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_SetSharedKey", + "title": "SetVirtualNetworkGatewayConnectionSharedKey" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionStartPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionStartPacketCapture.json new file mode 100644 index 000000000000..783953889ae4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionStartPacketCapture.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "vpngwcn1" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_StartPacketCapture", + "title": "Start packet capture on virtual network gateway connection without filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json new file mode 100644 index 000000000000..3eddf80d8ebc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "filterData": "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "vpngwcn1" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_StartPacketCapture", + "title": "Start packet capture on virtual network gateway connection with filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionStopPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionStopPacketCapture.json new file mode 100644 index 000000000000..9d5a32c7e7fa --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionStopPacketCapture.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "sasUrl": "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "vpngwcn1" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_StopPacketCapture", + "title": "Stop packet capture on virtual network gateway connection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json new file mode 100644 index 000000000000..17b43b82040d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionUpdateTags.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "test" + }, + "responses": { + "200": { + "body": { + "name": "test", + "type": "Microsoft.Network/connections", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/connections/test", + "location": "westus", + "properties": { + "connectionStatus": "Unknown", + "connectionType": "IPsec", + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2" + } + ], + "enableBgp": false, + "gatewayCustomBgpIpAddresses": [ + { + "customBgpIpAddress": "169.254.21.1", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default" + }, + { + "customBgpIpAddress": "169.254.21.3", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive" + } + ], + "ingressBytesTransferred": 0, + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1" + } + ], + "ipsecPolicies": [], + "localNetworkGateway2": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/lgw", + "properties": {} + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + } + }, + "routingWeight": 0, + "trafficSelectorPolicies": [], + "usePolicyBasedTrafficSelectors": false, + "virtualNetworkGateway1": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "properties": {} + } + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_UpdateTags", + "title": "UpdateVirtualNetworkGatewayConnectionTags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionsList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionsList.json new file mode 100644 index 000000000000..ddb3718c25f9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayConnectionsList.json @@ -0,0 +1,135 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "conn1", + "type": "Microsoft.Network/connections", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/connections/conn1", + "location": "centralus", + "properties": { + "connectionMode": "Default", + "connectionProtocol": "IKEv1", + "connectionType": "IPsec", + "dpdTimeoutSeconds": 30, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1/natRules/natRule2" + } + ], + "enableBgp": false, + "gatewayCustomBgpIpAddresses": [ + { + "customBgpIpAddress": "169.254.21.1", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default" + }, + { + "customBgpIpAddress": "169.254.21.3", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/ActiveActive" + } + ], + "ingressBytesTransferred": 0, + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1/natRules/natRule1" + } + ], + "ipsecPolicies": [], + "localNetworkGateway2": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw1", + "properties": {} + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + } + }, + "routingWeight": 0, + "trafficSelectorPolicies": [], + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "virtualNetworkGateway1": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1", + "properties": {} + } + } + }, + { + "name": "conn2", + "type": "Microsoft.Network/connections", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/connections/conn2", + "location": "eastus", + "properties": { + "connectionMode": "Default", + "connectionProtocol": "IKEv2", + "connectionType": "IPsec", + "dpdTimeoutSeconds": 20, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/natRules/natRule2" + } + ], + "enableBgp": false, + "gatewayCustomBgpIpAddresses": [ + { + "customBgpIpAddress": "169.254.21.4", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/ipConfigurations/default" + }, + { + "customBgpIpAddress": "169.254.21.6", + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/ipConfigurations/ActiveActive" + } + ], + "ingressBytesTransferred": 0, + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/natRules/natRule1" + } + ], + "ipsecPolicies": [], + "localNetworkGateway2": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/localNetworkGateways/localgw2", + "properties": {} + }, + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routingConfiguration": { + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + } + }, + "routingWeight": 0, + "trafficSelectorPolicies": [], + "useLocalAzureIpAddress": true, + "usePolicyBasedTrafficSelectors": false, + "virtualNetworkGateway1": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2", + "properties": {} + } + } + } + ] + } + } + }, + "operationId": "VirtualNetworkGatewayConnections_List", + "title": "ListVirtualNetworkGatewayConnectionsinResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayDelete.json new file mode 100644 index 000000000000..f1971a1d4e46 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myResourceGroup/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualNetworkGateways_Delete", + "title": "DeleteVirtualNetworkGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayExecuteMigration.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayExecuteMigration.json new file mode 100644 index 000000000000..bb8ef5c8c431 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayExecuteMigration.json @@ -0,0 +1,17 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_InvokeExecuteMigration", + "title": "VirtualNetworkGatewayExecuteMigration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json new file mode 100644 index 000000000000..742eca412819 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGenerateVpnClientPackage.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": {}, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_Generatevpnclientpackage", + "title": "GenerateVPNClientPackage" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json new file mode 100644 index 000000000000..b8e04cc5b1dc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGenerateVpnProfile.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": {}, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GenerateVpnProfile", + "title": "GenerateVirtualNetworkGatewayVPNProfile" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGet.json new file mode 100644 index 000000000000..034a22e789f9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGet.json @@ -0,0 +1,148 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": { + "name": "vpngw", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "centralus", + "properties": { + "activeActive": false, + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.3.1.254" + ], + "ipconfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "tunnelIpAddresses": [ + "52.161.10.135" + ] + } + ], + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "enableHighBandwidthVpnGateway": false, + "enablePrivateIpAddress": false, + "gatewayType": "Vpn", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [ + { + "name": "natRule1", + "etag": "W/\"00ae2b69-88e7-4b3a-b66a-cfa2244e0801\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "50.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.10.0.0/24" + } + ], + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + }, + { + "name": "natRule2", + "etag": "W/\"00ae2b69-88e7-4b3a-b66a-cfa2244e0801\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "30.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "20.10.0.0/24" + } + ], + "mode": "IngressSnat", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "VpnGw1", + "capacity": 0, + "tier": "VpnGw1" + }, + "virtualNetworkGatewayMigrationStatus": { + "errorMessage": "", + "phase": "", + "state": "" + }, + "vpnClientConfiguration": { + "radiusServers": [ + { + "radiusServerAddress": "10.1.0.0", + "radiusServerScore": 20 + } + ], + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRevokedCertificates": [], + "vpnClientRootCertificates": [] + }, + "vpnGatewayGeneration": "None", + "vpnType": "RouteBased" + } + } + } + }, + "operationId": "VirtualNetworkGateways_Get", + "title": "GetVirtualNetworkGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json new file mode 100644 index 000000000000..ebeea4b72d09 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetAdvertisedRoutes.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "peer": "test", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetAdvertisedRoutes", + "title": "GetVirtualNetworkGatewayAdvertisedRoutes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json new file mode 100644 index 000000000000..6af98aa85b55 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetBGPPeerStatus.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetBgpPeerStatus", + "title": "GetVirtualNetworkGatewayBGPPeerStatus" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetFailoverAllTestsDetails.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetFailoverAllTestsDetails.json new file mode 100644 index 000000000000..8e19012481d2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetFailoverAllTestsDetails.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "type": "SingleSiteFailover", + "api-version": "2025-07-01", + "fetchLatest": "true", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "ergw" + }, + "responses": { + "200": { + "body": [] + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetFailoverAllTestDetails", + "title": "VirtualNetworkGatewayGetFailoverAllTestsDetails" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetFailoverSingleTestDetails.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetFailoverSingleTestDetails.json new file mode 100644 index 000000000000..e07e14988439 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetFailoverSingleTestDetails.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "failoverTestId": "fe458ae8-d2ae-4520-a104-44bc233bde7e", + "peeringLocation": "Vancouver", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "ergw" + }, + "responses": { + "200": { + "body": [] + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetFailoverSingleTestDetails", + "title": "VirtualNetworkGatewayGetFailoverSingleTestDetails" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetResiliencyInformation.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetResiliencyInformation.json new file mode 100644 index 000000000000..e7380ddd3c09 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetResiliencyInformation.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "attemptRefresh": true, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetResiliencyInformation", + "title": "GetVirtualNetworkGatewayResiliencyInformation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetRoutesInformation.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetRoutesInformation.json new file mode 100644 index 000000000000..322328cb9dc7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetRoutesInformation.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "attemptRefresh": false, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetRoutesInformation", + "title": "GetVirtualNetworkGatewayRoutesInformation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json new file mode 100644 index 000000000000..495c30ebaf0d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": { + "dhGroup": "DHGroup2", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS2", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86473 + } + } + }, + "operationId": "VirtualNetworkGateways_GetVpnclientIpsecParameters", + "title": "Get VirtualNetworkGateway VpnClientIpsecParameters" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json new file mode 100644 index 000000000000..f32171ede030 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetVpnProfilePackageUrl", + "title": "GetVirtualNetworkGatewayVPNProfilePackageURL" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json new file mode 100644 index 000000000000..b95faf6f6744 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json @@ -0,0 +1,51 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "p2s-vnet-test", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpnp2sgw" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "egressBytesTransferred": 33420, + "egressPacketsTransferred": 557, + "ingressBytesTransferred": 33420, + "ingressPacketsTransferred": 557, + "maxBandwidth": 240000000, + "maxPacketsPerSecond": 4, + "privateIpAddress": "192.168.210.2", + "publicIpAddress": "167.220.2.232:45522", + "vpnConnectionDuration": 900, + "vpnConnectionId": "IKEv2_1e1cfe59-5c7c-4315-a876-b11fbfdfeed4", + "vpnConnectionTime": "2019-05-02T22:26:22", + "vpnUserName": "gwp2schildcert" + }, + { + "egressBytesTransferred": 23420, + "egressPacketsTransferred": 357, + "ingressBytesTransferred": 23420, + "ingressPacketsTransferred": 357, + "maxBandwidth": 220000000, + "maxPacketsPerSecond": 4, + "privateIpAddress": "192.168.210.1", + "publicIpAddress": "167.220.2.232:45213", + "vpnConnectionDuration": 800, + "vpnConnectionId": "IKEv2_571cfe59-2c7d-1415-e813-c51fbfdfea16", + "vpnConnectionTime": "2019-05-01T21:06:12", + "vpnUserName": "gwp2schildcert" + } + ] + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetVpnclientConnectionHealth", + "title": "GetVirtualNetworkGatewayVpnclientConnectionHealth" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayLearnedRoutes.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayLearnedRoutes.json new file mode 100644 index 000000000000..17496d9b03fc --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayLearnedRoutes.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": {} + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_GetLearnedRoutes", + "title": "GetVirtualNetworkGatewayLearnedRoutes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayList.json new file mode 100644 index 000000000000..bc7284e1b239 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayList.json @@ -0,0 +1,236 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpngw1", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1", + "location": "loc1", + "properties": { + "activeActive": false, + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.0.14", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "enablePrivateIpAddress": false, + "gatewayType": "Vpn", + "ipConfigurations": [ + { + "name": "default", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1/ipConfigurations/default", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw1-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [ + { + "name": "natRule1", + "etag": "W/\"00ae2b69-88e7-4b3a-b66a-cfa2244e0801\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "50.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.10.0.0/24" + } + ], + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + }, + { + "name": "natRule2", + "etag": "W/\"00ae2b69-88e7-4b3a-b66a-cfa2244e0801\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw1/natRules/natRule2", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "30.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "20.10.0.0/24" + } + ], + "mode": "IngressSnat", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "VpnGw1", + "capacity": 2, + "tier": "VpnGw1" + }, + "virtualNetworkGatewayMigrationStatus": { + "errorMessage": "", + "phase": "", + "state": "" + }, + "vpnClientConfiguration": { + "vpnClientProtocols": [], + "vpnClientRevokedCertificates": [], + "vpnClientRootCertificates": [] + }, + "vpnGatewayGeneration": "None", + "vpnType": "RouteBased" + } + }, + { + "name": "vpngw2", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2", + "location": "loc2", + "properties": { + "activeActive": false, + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.1.0.46", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "enablePrivateIpAddress": true, + "gatewayType": "Vpn", + "ipConfigurations": [ + { + "name": "default", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/ipConfigurations/default", + "properties": { + "privateIPAddress": "10.1.0.7", + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/vpngw2-ip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [ + { + "name": "natRule1", + "etag": "W/\"00ae2b69-88e7-4b3a-b66a-cfa2244e0801\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "50.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.10.0.0/24" + } + ], + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + }, + { + "name": "natRule2", + "etag": "W/\"00ae2b69-88e7-4b3a-b66a-cfa2244e0801\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw2/natRules/natRule2", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "30.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "20.10.0.0/24" + } + ], + "mode": "IngressSnat", + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "VpnGw1", + "capacity": 2, + "tier": "VpnGw1" + }, + "virtualNetworkGatewayMigrationStatus": { + "errorMessage": "", + "phase": "", + "state": "" + }, + "vpnClientConfiguration": { + "radiusServers": [ + { + "radiusServerAddress": "10.2.0.0", + "radiusServerScore": 20 + } + ], + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRevokedCertificates": [], + "vpnClientRootCertificates": [] + }, + "vpnGatewayGeneration": "None", + "vpnType": "RouteBased" + } + } + ] + } + } + }, + "operationId": "VirtualNetworkGateways_List", + "title": "ListVirtualNetworkGatewaysinResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayNatRuleDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayNatRuleDelete.json new file mode 100644 index 000000000000..0a509dc9d4ff --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayNatRuleDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natRuleName": "natRule1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "gateway1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualNetworkGatewayNatRules_Delete", + "title": "VirtualNetworkGatewayNatRuleDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayNatRuleGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayNatRuleGet.json new file mode 100644 index 000000000000..b2b6cb3067f7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayNatRuleGet.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "natRuleName": "natRule1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "gateway1" + }, + "responses": { + "200": { + "body": { + "name": "natRule1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "50.4.0.0/24", + "portRange": "200-200" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24", + "portRange": "100-100" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "VirtualNetworkGatewayNatRules_Get", + "title": "VirtualNetworkGatewayNatRuleGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayNatRuleList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayNatRuleList.json new file mode 100644 index 000000000000..511a4cdcbc48 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayNatRuleList.json @@ -0,0 +1,60 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "gateway1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "natRule1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + }, + { + "name": "natRule2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/natRules/natRule2", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "VirtualNetworkGatewayNatRules_ListByVirtualNetworkGateway", + "title": "VirtualNetworkGatewayNatRuleList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayNatRulePut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayNatRulePut.json new file mode 100644 index 000000000000..2e233b019c36 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayNatRulePut.json @@ -0,0 +1,82 @@ +{ + "parameters": { + "NatRuleParameters": { + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24", + "portRange": "300-400" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24", + "portRange": "200-300" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/ipConfigurations/default", + "mode": "EgressSnat" + } + }, + "api-version": "2025-07-01", + "natRuleName": "natRule1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "gateway1" + }, + "responses": { + "200": { + "body": { + "name": "natRule1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24", + "portRange": "300-400" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24", + "portRange": "200-300" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "natRule1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "192.168.21.0/24", + "portRange": "300-400" + } + ], + "internalMappings": [ + { + "addressSpace": "10.4.0.0/24", + "portRange": "200-300" + } + ], + "ipConfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/gateway1/ipConfigurations/default", + "mode": "EgressSnat", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "VirtualNetworkGatewayNatRules_CreateOrUpdate", + "title": "VirtualNetworkGatewayNatRulePut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayPrepareMigration.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayPrepareMigration.json new file mode 100644 index 000000000000..6a207fe91e8a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayPrepareMigration.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "migrationParams": { + "migrationType": "UpgradeDeploymentToStandardIP", + "resourceUrl": "testUrl" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_InvokePrepareMigration", + "title": "VirtualNetworkGatewayPrepareMigration" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayReset.json new file mode 100644 index 000000000000..61a597101b64 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayReset.json @@ -0,0 +1,83 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": { + "name": "vpngw", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "location": "centralus", + "properties": { + "activeActive": false, + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.3.1.254" + ], + "ipconfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "tunnelIpAddresses": [ + "52.161.10.135" + ] + } + ], + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "gatewayType": "Vpn", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "VpnGw1", + "capacity": 0, + "tier": "VpnGw1" + }, + "vpnType": "RouteBased" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_Reset", + "title": "ResetVirtualNetworkGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json new file mode 100644 index 000000000000..ae2e60997963 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayResetVpnClientSharedKey.json @@ -0,0 +1,18 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_ResetVpnClientSharedKey", + "title": "ResetVpnClientSharedKey" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json new file mode 100644 index 000000000000..f3343313edb2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw", + "vpnclientIpsecParams": { + "dhGroup": "DHGroup2", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS2", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86473 + } + }, + "responses": { + "200": { + "body": { + "dhGroup": "DHGroup2", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS2", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86473 + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_SetVpnclientIpsecParameters", + "title": "Set VirtualNetworkGateway VpnClientIpsecParameters" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayStartPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayStartPacketCapture.json new file mode 100644 index 000000000000..92c2bd5e0b2a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayStartPacketCapture.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_StartPacketCapture", + "title": "Start packet capture on virtual network gateway without filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayStartPacketCaptureFilterData.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayStartPacketCaptureFilterData.json new file mode 100644 index 000000000000..c9d378c38afd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayStartPacketCaptureFilterData.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "filterData": "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_StartPacketCapture", + "title": "Start packet capture on virtual network gateway with filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayStartSiteFailoverSimulation.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayStartSiteFailoverSimulation.json new file mode 100644 index 000000000000..21cd415c68c5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayStartSiteFailoverSimulation.json @@ -0,0 +1,21 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "peeringLocation": "Vancouver", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "ergw" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_StartExpressRouteSiteFailoverSimulation", + "title": "VirtualNetworkGatewayStartSiteFailoverSimulation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayStopPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayStopPacketCapture.json new file mode 100644 index 000000000000..1bb9325f0165 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayStopPacketCapture.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "sasUrl": "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_StopPacketCapture", + "title": "Stop packet capture on virtual network gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayStopSiteFailoverSimulation.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayStopSiteFailoverSimulation.json new file mode 100644 index 000000000000..1eadb6ae604d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayStopSiteFailoverSimulation.json @@ -0,0 +1,36 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "stopParameters": { + "peeringLocation": "Vancouver", + "wasSimulationSuccessful": true, + "details": [ + { + "failoverConnectionName": "conn1", + "failoverLocation": "Denver", + "isVerified": false + }, + { + "failoverConnectionName": "conn2", + "failoverLocation": "Amsterdam", + "isVerified": true + } + ] + }, + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "ergw" + }, + "responses": { + "200": { + "body": "" + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_StopExpressRouteSiteFailoverSimulation", + "title": "VirtualNetworkGatewayStopSiteFailoverSimulation" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json new file mode 100644 index 000000000000..dcb7f1b17544 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewaySupportedVpnDevice.json @@ -0,0 +1,15 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": "" + } + }, + "operationId": "VirtualNetworkGateways_SupportedVpnDevices", + "title": "ListVirtualNetworkGatewaySupportedVPNDevices" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayUpdate.json new file mode 100644 index 000000000000..4a2ee5a9de83 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayUpdate.json @@ -0,0 +1,375 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "centralus", + "properties": { + "activeActive": false, + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "enableDnsForwarding": true, + "enableHighBandwidthVpnGateway": false, + "gatewayType": "Vpn", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [ + { + "name": "natRule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "50.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.10.0.0/24" + } + ], + "ipConfigurationId": "", + "mode": "EgressSnat" + } + }, + { + "name": "natRule2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "30.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "20.10.0.0/24" + } + ], + "ipConfigurationId": "", + "mode": "IngressSnat" + } + } + ], + "sku": { + "name": "VpnGw1", + "tier": "VpnGw1" + }, + "vpnClientConfiguration": { + "radiusServers": [ + { + "radiusServerAddress": "10.2.0.0", + "radiusServerScore": 20, + "radiusServerSecret": "radiusServerSecret" + } + ], + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRevokedCertificates": [], + "vpnClientRootCertificates": [] + }, + "vpnType": "RouteBased" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": { + "name": "vpngw", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "centralus", + "properties": { + "activeActive": false, + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.3.1.254" + ], + "ipconfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "tunnelIpAddresses": [ + "52.161.10.135" + ] + } + ], + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "enableDnsForwarding": true, + "enableHighBandwidthVpnGateway": false, + "gatewayType": "Vpn", + "inboundDnsForwardingEndpoint": "10.0.1.14", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [ + { + "name": "natRule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "50.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.10.0.0/24" + } + ], + "ipConfigurationId": "", + "mode": "EgressSnat" + } + }, + { + "name": "natRule2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "30.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "20.10.0.0/24" + } + ], + "ipConfigurationId": "", + "mode": "IngressSnat" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "VpnGw1", + "capacity": 0, + "tier": "VpnGw1" + }, + "vpnClientConfiguration": { + "radiusServers": [ + { + "radiusServerAddress": "10.2.0.0", + "radiusServerScore": 20 + } + ], + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRevokedCertificates": [], + "vpnClientRootCertificates": [] + }, + "vpnGatewayGeneration": "None", + "vpnType": "RouteBased" + } + } + }, + "201": { + "body": { + "name": "vpngw", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "centralus", + "properties": { + "activeActive": false, + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.3.1.254" + ], + "ipconfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "tunnelIpAddresses": [ + "52.161.10.135" + ] + } + ], + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "enableDnsForwarding": true, + "enableHighBandwidthVpnGateway": false, + "enablePrivateIpAddress": false, + "gatewayType": "Vpn", + "inboundDnsForwardingEndpoint": "10.0.1.14", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [ + { + "name": "natRule1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule1", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "50.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "10.10.0.0/24" + } + ], + "ipConfigurationId": "", + "mode": "EgressSnat" + } + }, + { + "name": "natRule2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/natRules/natRule2", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "30.0.0.0/24" + } + ], + "internalMappings": [ + { + "addressSpace": "20.10.0.0/24" + } + ], + "ipConfigurationId": "", + "mode": "IngressSnat" + } + } + ], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "VpnGw1", + "capacity": 0, + "tier": "VpnGw1" + }, + "vpnClientConfiguration": { + "radiusServers": [ + { + "radiusServerAddress": "10.2.0.0", + "radiusServerScore": 20 + } + ], + "vpnClientProtocols": [ + "OpenVPN" + ], + "vpnClientRevokedCertificates": [], + "vpnClientRootCertificates": [] + }, + "vpnType": "RouteBased" + } + } + } + }, + "operationId": "VirtualNetworkGateways_CreateOrUpdate", + "title": "UpdateVirtualNetworkGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayUpdateTags.json new file mode 100644 index 000000000000..c7ef546b42a6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayUpdateTags.json @@ -0,0 +1,100 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngw" + }, + "responses": { + "200": { + "body": { + "name": "vpngw", + "type": "Microsoft.Network/virtualNetworkGateways", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw", + "identity": { + "type": "UserAssigned", + "userAssignedIdentities": { + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ManagedIdentity/userAssignedIdentities/identity1": {} + } + }, + "location": "westus", + "properties": { + "activeActive": false, + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.0.254", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.3.1.254" + ], + "ipconfigurationId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/gwipconfig1", + "tunnelIpAddresses": [ + "52.161.10.135" + ] + } + ], + "peerWeight": 0 + }, + "customRoutes": { + "addressPrefixes": [ + "101.168.0.6/32" + ] + }, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "gatewayType": "Vpn", + "ipConfigurations": [ + { + "name": "default", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vpngw/ipConfigurations/default", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/testpub1" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "VpnGw1", + "capacity": 2, + "tier": "VpnGw1" + }, + "vpnGatewayGeneration": "None", + "vpnType": "RouteBased" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_UpdateTags", + "title": "UpdateVirtualNetworkGatewayTags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json new file mode 100644 index 000000000000..f47caf95955b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "deviceFamily": "ISR", + "firmwareVersion": "IOS 15.1 (Preview)", + "vendor": "Cisco" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayConnectionName": "vpngw" + }, + "responses": { + "200": { + "body": "! Microsoft Corporation\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Sample VPN tunnel configuration template for IOS-based devices\r\n!\r\n! This configuration template applies to Cisco VPN devices running IOS 15.1 or beyond (ISR or ASR)\r\n!\r\n\r\n\r\n\t\t\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! ACL rules\r\n!\r\n! Some VPN devices require explicit ACL rules to allow cross-premises traffic:\r\n!\r\n! 1. Allow traffic between on premises address ranges and VNet address ranges\r\n! 2. Allow IKE traffic (UDP:500) between on premises VPN devices and Azure VPN gateway\r\n! 3. Allow IPsec traffic (Proto:ESP) between on premises VPN devices and Azure VPN gateway\r\n!\r\n\t\t\r\naccess-list 101 permit ip 10.1.0.0 0.0.255.255 10.0.0.0 0.0.255.255\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Internet Key Exchange (IKE) configuration\r\n!\r\n! This section specifies the authentication, encryption, hashing, and Diffie-Hellman group parameters for IKE\r\n! main mode or phase 1\r\n!\r\n\r\ncrypto ikev2 proposal SwaggerS2S-proposal\r\n encryption DES3\r\n integrity SHA384\r\n group DHGroup24\r\n lifetime 3600\r\n exit\r\n\r\ncrypto ikev2 policy SwaggerS2S-policy\r\n proposal SwaggerS2S-proposal\r\n exit\r\n\r\ncrypto ikev2 keyring SwaggerBranch-keyring\r\n\t\t\r\n\t\tpeer 52.173.199.254\r\n\t\taddress 52.173.199.254\r\n\t\tpre-shared-key lALEHuppeopJmA94exRNiRr2QzuZ6lOsvzu5IlJUEA6LthbTc8g5MTT86MCsGNMzGkTAaLuLnEJoD1Cn4cIlr94qKZm9drsgllzWvsPNezS71stAkaW1Bb7h6GBnDlDP\r\n exit\r\n\r\ncrypto ikev2 profile SwaggerS2S-profile\r\n match address local 10.3.0.0\r\n\tmatch identity remote address 52.173.199.254 255.255.255.255\r\n\t\t\r\n authentication remote pre-share\r\n authentication local pre-share\r\n keyring SwaggerBranch-keyring\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! IPsec configuration\r\n!\r\n! This section specifies encryption, authentication, tunnel mode properties for the Phase 2 negotiation\r\n!\r\ncrypto ipsec transform-set SwaggerS2S-TransformSet DES3 DES3\r\n mode tunnel\r\n exit\r\n\r\n! ---------------------------------------------------------------------------------------------------------------------\r\n! Crypto map configuration\r\n!\r\n! This section defines a crypto profile that binds the cross-premises network traffic to the IPsec and IKE\r\n! policy profiles for this connection. Then defines the VTI (virtual tunnel interface) with the crypto\r\n! profile. A random interface number (tunnel 1) was used with a random link local address (169.254.0.1/28)\r\n! for the tunnel interface. If either selection is already used in the VPN device, please select another\r\n! interface number or address. The only requirement is that they must not overlap with another interface\r\n! on the same VPN device.\r\n!\r\ncrypto ipsec profile SwaggerS2S-IPsecProfile\r\n set transform-set SwaggerS2S-TransformSet\r\n set ikev2-profile SwaggerS2S-profile\r\n set pfs None\r\n set security-association lifetime 3600\r\n exit\r\n\r\n\r\nint tunnel 52.173.199.254\r\n ip address 169.254.0.1 255.255.255.252\r\n ip tcp adjust-mss 1350\r\n tunnel source 10.3.0.0\r\n tunnel mode ipsec ipv4\r\n tunnel destination 52.173.199.254\r\n tunnel protection ipsec profile SwaggerS2S-IPsecProfile\r\n exit\r\n\r\n\tip route 10.0.0.0 255.255.0.0 tunnel 52.173.199.254 " + } + }, + "operationId": "VirtualNetworkGateways_VpnDeviceConfigurationScript", + "title": "GetVPNDeviceConfigurationScript" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewaysDisconnectP2sVpnConnections.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewaysDisconnectP2sVpnConnections.json new file mode 100644 index 000000000000..6d5fb9772656 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewaysDisconnectP2sVpnConnections.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "vpn-gateway-test", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "vpngateway", + "request": { + "vpnConnectionIds": [ + "vpnconnId1", + "vpnconnId2" + ] + } + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/locations/eastus/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworkGateways_DisconnectVirtualNetworkGatewayVpnConnections", + "title": "Disconnect VpnConnections from Virtual Network Gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewaysListConnections.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewaysListConnections.json new file mode 100644 index 000000000000..d1e47a38f683 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGatewaysListConnections.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "testrg", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "test-vpn-gateway-1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "test-vpn-connection", + "type": "Microsoft.Network/connections", + "etag": "W/\\\"00000000-0000-0000-0000-000000000000\\\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/connections/test-vpn-connection", + "location": "eastus", + "properties": { + "connectionType": "Vnet2Vnet", + "egressBytesTransferred": 0, + "enableBgp": true, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "routingWeight": 22, + "trafficSelectorPolicies": [], + "usePolicyBasedTrafficSelectors": false, + "virtualNetworkGateway1": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg/providers/Microsoft.Network/virtualNetworkGateways/test-vpn-gateway-1" + }, + "virtualNetworkGateway2": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testrg-2/providers/Microsoft.Network/virtualNetworkGateways/test-vpn-gateway-2" + } + } + } + ] + } + } + }, + "operationId": "VirtualNetworkGateways_ListConnections", + "title": "VirtualNetworkGatewaysListConnections" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGet.json new file mode 100644 index 000000000000..58b9cf4e61b5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGet.json @@ -0,0 +1,47 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "defaultPublicNatGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-ngw" + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.1.0/24", + "ipConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe" + } + ], + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_Get", + "title": "Get virtual network" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGetDdosProtectionStatus.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGetDdosProtectionStatus.json new file mode 100644 index 000000000000..791176888550 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGetDdosProtectionStatus.json @@ -0,0 +1,35 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "top": 75, + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "ddosProtectionPlanId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ddosProtectionPlans/test-plan", + "isWorkloadProtected": "True", + "publicIpAddress": "10.0.1.5", + "publicIpAddressId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip" + }, + { + "isWorkloadProtected": "False", + "publicIpAddress": "10.0.1.6", + "publicIpAddressId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/test-pip2" + } + ] + } + }, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/ddosProtectionStatus?api-version=2025-07-01" + } + } + }, + "operationId": "VirtualNetworks_ListDdosProtectionStatus", + "title": "Get Ddos Protection Status of a Virtual Network" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGetResourceNavigationLinks.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGetResourceNavigationLinks.json new file mode 100644 index 000000000000..381a88bca52c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGetResourceNavigationLinks.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subnetName": "subnet", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "redisCache_redis-tester", + "type": "Microsoft.Network/virtualNetworks/subnets/resourceNavigationLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet/resourceNavigationLinks/redisCache_redis-tester", + "properties": { + "link": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/another-rg/providers/Microsoft.Cache/Redis/redis-tester", + "linkedResourceType": "Microsoft.Cache/redis", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ResourceNavigationLinks_List", + "title": "Get Resource Navigation Links" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGetServiceAssociationLinks.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGetServiceAssociationLinks.json new file mode 100644 index 000000000000..e3473b627422 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGetServiceAssociationLinks.json @@ -0,0 +1,33 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subnetName": "subnet", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "acisal", + "type": "Microsoft.Network/virtualNetworks/subnets/serviceAssociationLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet/subnets/subnet/serviceAssociationLinks/acisal", + "properties": { + "allowDelete": true, + "linkedResourceType": "Microsoft.ContainerInstance/containerGroups", + "locations": [ + "westus" + ], + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "ServiceAssociationLinks_List", + "title": "Get Service Association Links" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGetWithServiceAssociationLink.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGetWithServiceAssociationLink.json new file mode 100644 index 000000000000..658d8fd29d1a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGetWithServiceAssociationLink.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "subnet1", + "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.214.0/24", + "delegations": [ + { + "name": "aciDelegation", + "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/aciDelegation", + "properties": { + "actions": [ + "Microsoft.Network/virtualNetworks/subnets/action" + ], + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType" + } + } + ], + "ipConfigurationProfiles": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkProfiles/networkProfile1/containerNetworkInterfaceConfigurations/eth0/ipConfigurations/ipconfigprofile1" + } + ], + "provisioningState": "Succeeded", + "serviceAssociationLinks": [ + { + "name": "serviceAssociationLink1", + "etag": "W/\"4d3e91b4-f67f-48be-880b-e4a8abdd019e\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/serviceAssociationLinks/serviceAssociationLink1", + "properties": { + "linkedResourceType": "Microsoft.Provider/resourceType", + "provisioningState": "Succeeded" + } + } + ], + "serviceEndpoints": [] + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_Get", + "title": "Get virtual network with service association links" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGetWithSubnetDelegation.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGetWithSubnetDelegation.json new file mode 100644 index 000000000000..47a22ab8b3db --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkGetWithSubnetDelegation.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "subnet1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1", + "properties": { + "addressPrefix": "10.0.1.0/24", + "delegations": [ + { + "name": "myDelegation", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet/subnets/subnet1/delegations/myDelegation", + "properties": { + "actions": [], + "provisioningState": "Succeeded", + "serviceName": "Microsoft.Provider/resourceType" + } + } + ], + "ipConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb/frontendIPConfigurations/fe" + } + ], + "provisioningState": "Succeeded", + "purpose": "" + } + } + ], + "virtualNetworkPeerings": [] + } + } + } + }, + "operationId": "VirtualNetworks_Get", + "title": "Get virtual network with a delegated subnet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkList.json new file mode 100644 index 000000000000..c10ec84c772b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkList.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vnet1", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/8" + ] + }, + "defaultPublicNatGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-ngw" + }, + "dhcpOptions": { + "dnsServers": [] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + }, + { + "name": "vnet2", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet2", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "defaultPublicNatGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-ngw" + }, + "dhcpOptions": { + "dnsServers": [ + "8.8.8.8" + ] + }, + "provisioningState": "Succeeded", + "subnets": [], + "virtualNetworkPeerings": [] + } + } + ] + } + } + }, + "operationId": "VirtualNetworks_List", + "title": "List virtual networks in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkListAll.json new file mode 100644 index 000000000000..4bffb59a5597 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkListAll.json @@ -0,0 +1,71 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vnet1", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/8" + ] + }, + "defaultPublicNatGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-ngw" + }, + "dhcpOptions": { + "dnsServers": [] + }, + "provisioningState": "Succeeded", + "subnets": [ + { + "name": "test-1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/test-1", + "properties": { + "addressPrefix": "10.0.0.0/24", + "provisioningState": "Succeeded" + } + } + ], + "virtualNetworkPeerings": [] + } + }, + { + "name": "vnet2", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualNetworks/vnet2", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "defaultPublicNatGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/natGateways/test-ngw" + }, + "dhcpOptions": { + "dnsServers": [ + "8.8.8.8" + ] + }, + "provisioningState": "Succeeded", + "subnets": [], + "virtualNetworkPeerings": [] + } + } + ] + } + } + }, + "operationId": "VirtualNetworks_ListAll", + "title": "List all virtual networks" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkListUsage.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkListUsage.json new file mode 100644 index 000000000000..8da4aefe285e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkListUsage.json @@ -0,0 +1,38 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnetName" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": { + "localizedValue": "Subnet size and usage", + "value": "SubnetSpace" + }, + "currentValue": -1, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetName/subnets/GatewaySubnet", + "limit": -1, + "unit": "Count" + }, + { + "name": { + "localizedValue": "Subnet size and usage", + "value": "SubnetSpace" + }, + "currentValue": 2, + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnetName/subnets/newSubnet", + "limit": 3, + "unit": "Count" + } + ] + } + } + }, + "operationId": "VirtualNetworks_ListUsage", + "title": "VnetGetUsage" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringCreate.json new file mode 100644 index 000000000000..9134342de31c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringCreate.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "VirtualNetworkPeeringParameters": { + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "useRemoteGateways": false + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "useRemoteGateways": false + } + } + }, + "201": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_CreateOrUpdate", + "title": "Create peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringCreateWithRemoteVirtualNetworkEncryption.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringCreateWithRemoteVirtualNetworkEncryption.json new file mode 100644 index 000000000000..22fc9193c8ab --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringCreateWithRemoteVirtualNetworkEncryption.json @@ -0,0 +1,84 @@ +{ + "parameters": { + "VirtualNetworkPeeringParameters": { + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "useRemoteGateways": false + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkEncryption": { + "enabled": true, + "enforcement": "AllowUnencrypted" + }, + "useRemoteGateways": false + } + } + }, + "201": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkEncryption": { + "enabled": true, + "enforcement": "AllowUnencrypted" + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_CreateOrUpdate", + "title": "Create peering with remote virtual network encryption" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringDelete.json new file mode 100644 index 000000000000..114fe75f2569 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualNetworkPeerings_Delete", + "title": "Delete peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringGet.json new file mode 100644 index 000000000000..2e431b42f233 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringGet.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_Get", + "title": "Get peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json new file mode 100644 index 000000000000..b4a779ea819f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkEncryption": { + "enabled": true, + "enforcement": "AllowUnencrypted" + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_Get", + "title": "Get peering with remote virtual network encryption" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringList.json new file mode 100644 index 000000000000..e47f269eaa07 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringList.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "useRemoteGateways": false + } + }, + { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer2", + "properties": { + "allowForwardedTraffic": false, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "13.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20003" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet3" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "13.0.0.0/8" + ] + }, + "useRemoteGateways": false + } + } + ] + } + } + }, + "operationId": "VirtualNetworkPeerings_List", + "title": "List peerings" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringListWithRemoteVirtualNetworkEncryption.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringListWithRemoteVirtualNetworkEncryption.json new file mode 100644 index 000000000000..8a8caf986418 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringListWithRemoteVirtualNetworkEncryption.json @@ -0,0 +1,74 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkEncryption": { + "enabled": true, + "enforcement": "AllowUnencrypted" + }, + "useRemoteGateways": false + } + }, + { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer2", + "properties": { + "allowForwardedTraffic": false, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "13.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20003" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet3" + }, + "remoteVirtualNetworkEncryption": { + "enabled": true, + "enforcement": "AllowUnencrypted" + }, + "useRemoteGateways": false + } + } + ] + } + } + }, + "operationId": "VirtualNetworkPeerings_List", + "title": "List peerings with remote virtual network encryption" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringSync.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringSync.json new file mode 100644 index 000000000000..0424edaa5d0c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkPeeringSync.json @@ -0,0 +1,89 @@ +{ + "parameters": { + "VirtualNetworkPeeringParameters": { + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "useRemoteGateways": false + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "syncRemoteAddressSpace": "true", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "useRemoteGateways": false + } + } + }, + "201": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_CreateOrUpdate", + "title": "Sync Peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkScalableGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkScalableGatewayGet.json new file mode 100644 index 000000000000..c48092a1d589 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkScalableGatewayGet.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "ergw" + }, + "responses": { + "200": { + "body": { + "name": "ergw", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw", + "location": "centralus", + "properties": { + "activeActive": false, + "adminState": "Enabled", + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "max": 3, + "min": 2 + } + }, + "bgpSettings": null, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "gatewayType": "ExpressRoute", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/ipConfigurations/default", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "ErGwScale", + "tier": "ErGwScale" + }, + "virtualNetworkGatewayPolicyGroups": [], + "vpnClientConfiguration": null, + "vpnType": "PolicyBased" + } + } + } + }, + "operationId": "VirtualNetworkGateways_Get", + "title": "GetVirtualNetworkScalableGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkScalableGatewayUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkScalableGatewayUpdate.json new file mode 100644 index 000000000000..e3eb78c1af94 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkScalableGatewayUpdate.json @@ -0,0 +1,160 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "centralus", + "properties": { + "activeActive": false, + "adminState": "Enabled", + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "max": 3, + "min": 2 + } + }, + "bgpSettings": null, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "gatewayType": "ExpressRoute", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [], + "sku": { + "name": "ErGwScale", + "tier": "ErGwScale" + }, + "virtualNetworkGatewayPolicyGroups": [], + "vpnClientConfiguration": null, + "vpnType": "PolicyBased" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkGatewayName": "ergw" + }, + "responses": { + "200": { + "body": { + "name": "ergw", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw", + "location": "centralus", + "properties": { + "activeActive": false, + "adminState": "Enabled", + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "max": 3, + "min": 2 + } + }, + "bgpSettings": null, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "gatewayType": "ExpressRoute", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/ipConfigurations/default", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "ErGwScale", + "tier": "ErGwScale" + }, + "virtualNetworkGatewayPolicyGroups": [], + "vpnClientConfiguration": null, + "vpnType": "PolicyBased" + } + } + }, + "201": { + "body": { + "name": "ergw", + "type": "Microsoft.Network/virtualNetworkGateways", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw", + "location": "centralus", + "properties": { + "activeActive": false, + "adminState": "Enabled", + "allowRemoteVnetTraffic": false, + "allowVirtualWanTraffic": false, + "autoScaleConfiguration": { + "bounds": { + "max": 3, + "min": 2 + } + }, + "bgpSettings": null, + "disableIPSecReplayProtection": false, + "enableBgp": false, + "enableBgpRouteTranslationForNat": false, + "gatewayType": "ExpressRoute", + "ipConfigurations": [ + { + "name": "gwipconfig1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/ergw/ipConfigurations/default", + "properties": { + "privateIPAllocationMethod": "Dynamic", + "provisioningState": "Succeeded", + "publicIPAddress": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/publicIPAddresses/gwpip" + }, + "subnet": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/GatewaySubnet" + } + } + } + ], + "natRules": [], + "provisioningState": "Succeeded", + "resourceGuid": "00000000-0000-0000-0000-000000000000", + "sku": { + "name": "ErGwScale", + "tier": "ErGwScale" + }, + "virtualNetworkGatewayPolicyGroups": [], + "vpnClientConfiguration": null, + "vpnType": "PolicyBased" + } + } + } + }, + "operationId": "VirtualNetworkGateways_CreateOrUpdate", + "title": "UpdateVirtualNetworkScalableGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkSubnetPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkSubnetPeeringCreate.json new file mode 100644 index 000000000000..3a4039109387 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkSubnetPeeringCreate.json @@ -0,0 +1,147 @@ +{ + "parameters": { + "VirtualNetworkPeeringParameters": { + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": false, + "localSubnetNames": [ + "Subnet1", + "Subnet4" + ], + "peerCompleteVnets": false, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "useRemoteGateways": false + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": false, + "localAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "13.0.0.0/8", + "2002:2002::/64" + ] + }, + "localSubnetNames": [ + "Subnet1", + "Subnet4" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "13.0.0.0/8", + "2002:2002::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "useRemoteGateways": false + } + } + }, + "201": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": false, + "localAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "13.0.0.0/8", + "2002:2002::/64" + ] + }, + "localSubnetNames": [ + "Subnet1", + "Subnet4" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "13.0.0.0/8", + "2002:2002::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_CreateOrUpdate", + "title": "Create subnet peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkSubnetPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkSubnetPeeringGet.json new file mode 100644 index 000000000000..f6ad44f1747b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkSubnetPeeringGet.json @@ -0,0 +1,67 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": false, + "localAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "2002:2002::/64" + ] + }, + "localSubnetNames": [ + "Subnet1" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "2002:2002::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_Get", + "title": "Get subnet peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkSubnetPeeringSync.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkSubnetPeeringSync.json new file mode 100644 index 000000000000..caf86b4959c2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkSubnetPeeringSync.json @@ -0,0 +1,135 @@ +{ + "parameters": { + "VirtualNetworkPeeringParameters": { + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": false, + "peerCompleteVnets": false, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "useRemoteGateways": false + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "syncRemoteAddressSpace": "true", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": false, + "localAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "2002:2002::/64" + ] + }, + "localSubnetNames": [ + "Subnet1" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "2002:2002::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "useRemoteGateways": false + } + } + }, + "201": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": false, + "localAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "2002:2002::/64" + ] + }, + "localSubnetNames": [ + "Subnet1" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "212.0.0.0/16", + "2002:2002::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8", + "2001:2001::/64" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_CreateOrUpdate", + "title": "Sync subnet Peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapCreate.json new file mode 100644 index 000000000000..a5cb2f264881 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapCreate.json @@ -0,0 +1,64 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/ipconfig1" + } + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tapName": "test-vtap" + }, + "responses": { + "200": { + "body": { + "name": "testvtap", + "type": "Microsoft.Network/virtualNetworkTaps", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ], + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + }, + "201": { + "body": { + "name": "testvtap", + "type": "Microsoft.Network/virtualNetworkTaps", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ], + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + } + }, + "operationId": "VirtualNetworkTaps_CreateOrUpdate", + "title": "Create Virtual Network Tap" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapDelete.json new file mode 100644 index 000000000000..65fd7c04adb1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tapName": "test-vtap" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operations/00000000-0000-0000-0000-000000000000?api-version=2025-07-01", + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/locations/centraluseuap/operationResults/00000000-0000-0000-0000-000000000000?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualNetworkTaps_Delete", + "title": "Delete Virtual Network Tap resource" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapGet.json new file mode 100644 index 000000000000..bb86bd66e2a1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tapName": "testvtap" + }, + "responses": { + "200": { + "body": { + "name": "testvtap", + "type": "Microsoft.Network/virtualNetworkTaps", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ], + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + } + }, + "operationId": "VirtualNetworkTaps_Get", + "title": "Get Virtual Network Tap" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapList.json new file mode 100644 index 000000000000..4a1e5ab48746 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapList.json @@ -0,0 +1,57 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testvtap", + "type": "Microsoft.Network/virtualNetworkTaps", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ], + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + }, + { + "name": "testvtap2", + "type": "Microsoft.Network/virtualNetworkTaps", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap2", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration" + } + ], + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + ] + } + } + }, + "operationId": "VirtualNetworkTaps_ListByResourceGroup", + "title": "List virtual network taps in resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapListAll.json new file mode 100644 index 000000000000..75f76ac34ee1 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapListAll.json @@ -0,0 +1,56 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "testvtap", + "type": "Microsoft.Network/virtualNetworkTaps", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ], + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + }, + { + "name": "testvtap2", + "type": "Microsoft.Network/virtualNetworkTaps", + "etag": "etag", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/testvtap2", + "location": "centraluseuap", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface3/tapConfigurations/testtapConfiguration" + } + ], + "provisioningState": "Succeded", + "resourceGuid": "6A7C139D-8B8D-499B-B7CB-4F3F02A8A44F" + } + } + ] + } + } + }, + "operationId": "VirtualNetworkTaps_ListAll", + "title": "List all virtual network taps" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapUpdateTags.json new file mode 100644 index 000000000000..0ae3c1578e54 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkTapUpdateTags.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "tapName": "test-vtap", + "tapParameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "test-vtap", + "type": "Microsoft.Network/virtualNetworkTaps", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkTaps/test-vtap", + "location": "eastus", + "properties": { + "destinationNetworkInterfaceIPConfiguration": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface/ipConfigurations/testIPConfig1" + }, + "destinationPort": 4789, + "networkInterfaceTapConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/networkInterfaces/testNetworkInterface2/tapConfigurations/testtapConfiguration" + } + ], + "provisioningState": "Succeded" + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "VirtualNetworkTaps_UpdateTags", + "title": "Update virtual network tap tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkUpdateTags.json new file mode 100644 index 000000000000..e1d2055e41a3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkUpdateTags.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "location": "westus", + "parameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "test-vnet" + }, + "responses": { + "200": { + "body": { + "name": "test-vnet", + "type": "Microsoft.Network/virtualNetworks", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/test-vnet", + "location": "westus", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "provisioningState": "Succeeded", + "subnets": [], + "virtualNetworkPeerings": [] + }, + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + } + }, + "operationId": "VirtualNetworks_UpdateTags", + "title": "Update virtual network tags" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkV6SubnetPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkV6SubnetPeeringCreate.json new file mode 100644 index 000000000000..8e7a3a60409e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkV6SubnetPeeringCreate.json @@ -0,0 +1,139 @@ +{ + "parameters": { + "VirtualNetworkPeeringParameters": { + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": true, + "localSubnetNames": [ + "Subnet1", + "Subnet4" + ], + "peerCompleteVnets": false, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "useRemoteGateways": false + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": true, + "localAddressSpace": { + "addressPrefixes": [ + "2002::/64", + "2003::/64" + ] + }, + "localSubnetNames": [ + "Subnet1", + "Subnet4" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2002::/64", + "2003::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2001::/64" + ] + }, + "useRemoteGateways": false + } + } + }, + "201": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": true, + "localAddressSpace": { + "addressPrefixes": [ + "2002::/64", + "2003::/64" + ] + }, + "localSubnetNames": [ + "Subnet1", + "Subnet4" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2002::/64", + "2003::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2001::/64" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_CreateOrUpdate", + "title": "Create V6 Subnet peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkV6SubnetPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkV6SubnetPeeringGet.json new file mode 100644 index 000000000000..cfd656bbca9d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkV6SubnetPeeringGet.json @@ -0,0 +1,63 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": true, + "localAddressSpace": { + "addressPrefixes": [ + "2002:2002::/64" + ] + }, + "localSubnetNames": [ + "Subnet1" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2002:2002::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "2001:2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2001:2001::/64" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_Get", + "title": "Get V6 subnet peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkV6SubnetPeeringSync.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkV6SubnetPeeringSync.json new file mode 100644 index 000000000000..218dc94851bd --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualNetworkV6SubnetPeeringSync.json @@ -0,0 +1,127 @@ +{ + "parameters": { + "VirtualNetworkPeeringParameters": { + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": true, + "peerCompleteVnets": false, + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "useRemoteGateways": false + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "peerTest", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "syncRemoteAddressSpace": "true", + "virtualNetworkName": "vnet1", + "virtualNetworkPeeringName": "peer" + }, + "responses": { + "200": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": true, + "localAddressSpace": { + "addressPrefixes": [ + "2002:2002::/64" + ] + }, + "localSubnetNames": [ + "Subnet1" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2002:2002::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "2001:2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2001:2001::/64" + ] + }, + "useRemoteGateways": false + } + } + }, + "201": { + "body": { + "name": "peer", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet1/virtualNetworkPeerings/peer", + "properties": { + "allowForwardedTraffic": true, + "allowGatewayTransit": false, + "allowVirtualNetworkAccess": true, + "enableOnlyIPv6Peering": true, + "localAddressSpace": { + "addressPrefixes": [ + "2002:2002::/64" + ] + }, + "localSubnetNames": [ + "Subnet1" + ], + "localVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2002:2002::/64" + ] + }, + "peerCompleteVnets": false, + "peeringState": "Initiated", + "peeringSyncLevel": "FullyInSync", + "provisioningState": "Succeeded", + "remoteAddressSpace": { + "addressPrefixes": [ + "2001:2001::/64" + ] + }, + "remoteBgpCommunities": { + "regionalCommunity": "12076:50004", + "virtualNetworkCommunity": "12076:20002" + }, + "remoteSubnetNames": [ + "Subnet2" + ], + "remoteVirtualNetwork": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" + }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "2001:2001::/64" + ] + }, + "useRemoteGateways": false + } + } + } + }, + "operationId": "VirtualNetworkPeerings_CreateOrUpdate", + "title": "Sync V6 Subnet Peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterDelete.json new file mode 100644 index 000000000000..b2bcde021f1f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualRouterName": "virtualRouter" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualRouters_Delete", + "title": "Delete VirtualRouter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterGet.json new file mode 100644 index 000000000000..27297eb9b7c9 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterGet.json @@ -0,0 +1,40 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualRouterName": "virtualRouter" + }, + "responses": { + "200": { + "body": { + "name": "virtualRouter", + "type": "Microsoft.Network/virtualRouters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter", + "location": "West US", + "properties": { + "hostedGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway" + }, + "peerings": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1" + } + ], + "provisioningState": "Succeeded", + "virtualRouterAsn": 10000, + "virtualRouterIps": [ + "192.168.1.1", + "192.168.1.2" + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "VirtualRouters_Get", + "title": "Get VirtualRouter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterListByResourceGroup.json new file mode 100644 index 000000000000..1e6cf872139c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterListByResourceGroup.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "virtualRouter", + "type": "Microsoft.Network/virtualRouters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter", + "location": "West US", + "properties": { + "hostedGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway" + }, + "peerings": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1" + } + ], + "provisioningState": "Succeeded", + "virtualRouterAsn": 10000, + "virtualRouterIps": [ + "192.168.1.1", + "192.168.1.2" + ] + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "VirtualRouters_ListByResourceGroup", + "title": "List all Virtual Router for a given resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterListBySubscription.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterListBySubscription.json new file mode 100644 index 000000000000..62d199b15c0c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterListBySubscription.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "virtualRouter", + "type": "Microsoft.Network/virtualRouters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter", + "location": "West US", + "properties": { + "hostedGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway" + }, + "peerings": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1" + } + ], + "provisioningState": "Succeeded", + "virtualRouterAsn": 10000, + "virtualRouterIps": [ + "192.168.1.1", + "192.168.1.2" + ] + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "VirtualRouters_List", + "title": "List all Virtual Routers for a given subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeerListAdvertisedRoute.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeerListAdvertisedRoute.json new file mode 100644 index 000000000000..226d2769dda0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeerListAdvertisedRoute.json @@ -0,0 +1,80 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "peer1", + "hubName": "virtualRouter1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "RouteServiceRole_IN_0": [ + { + "asPath": "65515", + "localAddress": "10.85.3.4", + "network": "10.45.0.0/16", + "nextHop": "10.85.3.4", + "origin": "Igp", + "sourcePeer": "10.85.3.4", + "weight": 0 + }, + { + "asPath": "65515", + "localAddress": "10.85.3.4", + "network": "10.85.0.0/16", + "nextHop": "10.85.3.4", + "origin": "Igp", + "sourcePeer": "10.85.3.4", + "weight": 0 + }, + { + "asPath": "65515", + "localAddress": "10.85.3.4", + "network": "10.100.0.0/16", + "nextHop": "10.85.3.4", + "origin": "Igp", + "sourcePeer": "10.85.3.4", + "weight": 0 + } + ], + "RouteServiceRole_IN_1": [ + { + "asPath": "65515", + "localAddress": "10.85.3.4", + "network": "10.45.0.0/16", + "nextHop": "10.85.3.4", + "origin": "Igp", + "sourcePeer": "10.85.3.4", + "weight": 0 + }, + { + "asPath": "65515", + "localAddress": "10.85.3.4", + "network": "10.85.0.0/16", + "nextHop": "10.85.3.4", + "origin": "Igp", + "sourcePeer": "10.85.3.4", + "weight": 0 + }, + { + "asPath": "65515", + "localAddress": "10.85.3.4", + "network": "10.100.0.0/16", + "nextHop": "10.85.3.4", + "origin": "Igp", + "sourcePeer": "10.85.3.4", + "weight": 0 + } + ] + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VirtualHubBgpConnections_ListAdvertisedRoutes", + "title": "VirtualRouterPeerListAdvertisedRoutes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeerListLearnedRoute.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeerListLearnedRoute.json new file mode 100644 index 000000000000..c91ece3673e2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeerListLearnedRoute.json @@ -0,0 +1,62 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "peer1", + "hubName": "virtualRouter1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "RouteServiceRole_IN_0": [ + { + "asPath": "65002-65001", + "localAddress": "10.85.3.4", + "network": "10.101.0.0/16", + "nextHop": "10.85.4.4", + "origin": "EBgp", + "sourcePeer": "10.85.4.4", + "weight": 32768 + }, + { + "asPath": "65002-65001", + "localAddress": "10.85.3.5", + "network": "10.101.0.0/16", + "nextHop": "10.85.4.4", + "origin": "EBgp", + "sourcePeer": "10.85.4.4", + "weight": 32768 + } + ], + "RouteServiceRole_IN_1": [ + { + "asPath": "65002-65001", + "localAddress": "10.85.3.4", + "network": "10.101.0.0/16", + "nextHop": "10.85.4.4", + "origin": "EBgp", + "sourcePeer": "10.85.4.4", + "weight": 32768 + }, + { + "asPath": "65002-65001", + "localAddress": "10.85.3.5", + "network": "10.101.0.0/16", + "nextHop": "10.85.4.4", + "origin": "EBgp", + "sourcePeer": "10.85.4.4", + "weight": 32768 + } + ] + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VirtualHubBgpConnections_ListLearnedRoutes", + "title": "VirtualRouterPeerListLearnedRoutes" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeeringDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeeringDelete.json new file mode 100644 index 000000000000..847b2d6e930e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeeringDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "peeringName": "peering1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualRouterName": "virtualRouter" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "VirtualRouterPeerings_Delete", + "title": "Delete VirtualRouterPeering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeeringGet.json new file mode 100644 index 000000000000..445878a5dd23 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeeringGet.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "peeringName": "peering1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualRouterName": "virtualRouter" + }, + "responses": { + "200": { + "body": { + "name": "peering1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1", + "properties": { + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "VirtualRouterPeerings_Get", + "title": "Get Virtual Router Peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeeringList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeeringList.json new file mode 100644 index 000000000000..7f4ae94848da --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeeringList.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualRouterName": "virtualRouter" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "peering1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1", + "properties": { + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "VirtualRouterPeerings_List", + "title": "List all Virtual Router Peerings for a given Virtual Router" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeeringPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeeringPut.json new file mode 100644 index 000000000000..b6bfce469720 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPeeringPut.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "properties": { + "peerAsn": 20000, + "peerIp": "192.168.1.5" + } + }, + "peeringName": "peering1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualRouterName": "virtualRouter" + }, + "responses": { + "200": { + "body": { + "name": "peering1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1", + "properties": { + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "provisioningState": "Succeeded" + } + } + }, + "201": { + "body": { + "name": "peering1", + "etag": "W/\"72090554-7e3b-43f2-80ad-99a9020dcb11\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1", + "properties": { + "peerAsn": 20000, + "peerIp": "192.168.1.5", + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "VirtualRouterPeerings_CreateOrUpdate", + "title": "Create Virtual Router Peering" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPut.json new file mode 100644 index 000000000000..665bed17ae08 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualRouterPut.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "West US", + "properties": { + "hostedGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway" + } + }, + "tags": { + "key1": "value1" + } + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualRouterName": "virtualRouter" + }, + "responses": { + "200": { + "body": { + "name": "virtualRouter", + "type": "Microsoft.Network/virtualRouters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter", + "location": "West US", + "properties": { + "hostedGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway" + }, + "peerings": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1" + } + ], + "provisioningState": "Succeeded", + "virtualRouterAsn": 10000, + "virtualRouterIps": [ + "192.168.1.1", + "192.168.1.2" + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "virtualRouter", + "type": "Microsoft.Network/virtualRouters", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter", + "location": "West US", + "properties": { + "hostedGateway": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworkGateways/vnetGateway" + }, + "peerings": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualRouters/virtualRouter/peerings/peering1" + } + ], + "provisioningState": "Succeeded", + "virtualRouterAsn": 10000, + "virtualRouterIps": [ + "192.168.1.1", + "192.168.1.2" + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "VirtualRouters_CreateOrUpdate", + "title": "Create VirtualRouter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANDelete.json new file mode 100644 index 000000000000..28633c9944ac --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "VirtualWANName": "virtualWan1", + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWANs/{virtualWanName}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VirtualWans_Delete", + "title": "VirtualWANDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANGet.json new file mode 100644 index 000000000000..592eae378f84 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANGet.json @@ -0,0 +1,45 @@ +{ + "parameters": { + "VirtualWANName": "wan1", + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "location": "West US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false, + "provisioningState": "Succeeded", + "virtualHubs": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + } + ], + "vpnSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + } + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "VirtualWans_Get", + "title": "VirtualWANGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANList.json new file mode 100644 index 000000000000..e518577d645a --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANList.json @@ -0,0 +1,78 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "location": "West US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false, + "provisioningState": "Succeeded", + "virtualHubs": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + } + ], + "vpnSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + } + ] + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "wan2", + "type": "Microsoft.Network/virtualWANs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualWANs/wan2", + "location": "East US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false, + "provisioningState": "Succeeded", + "virtualHubs": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/hub1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/hub2" + } + ], + "vpnSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2" + } + ] + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "VirtualWans_List", + "title": "VirtualWANList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANListByResourceGroup.json new file mode 100644 index 000000000000..abffe2c54c06 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANListByResourceGroup.json @@ -0,0 +1,79 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "location": "West US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false, + "provisioningState": "Succeeded", + "virtualHubs": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + } + ], + "vpnSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + } + ] + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "wan2", + "type": "Microsoft.Network/virtualWANs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan2", + "location": "East US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false, + "provisioningState": "Succeeded", + "virtualHubs": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub3" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub4" + } + ], + "vpnSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite3" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite4" + } + ] + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "VirtualWans_ListByResourceGroup", + "title": "VirtualWANListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANPut.json new file mode 100644 index 000000000000..6a9a9e0391ce --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANPut.json @@ -0,0 +1,88 @@ +{ + "parameters": { + "VirtualWANName": "wan1", + "WANParameters": { + "location": "West US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false + }, + "tags": { + "key1": "value1" + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "location": "West US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false, + "provisioningState": "Succeeded", + "virtualHubs": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + } + ], + "vpnSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + } + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "location": "West US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false, + "provisioningState": "Succeeded", + "virtualHubs": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + } + ], + "vpnSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + } + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "VirtualWans_CreateOrUpdate", + "title": "VirtualWANCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANUpdateTags.json new file mode 100644 index 000000000000..13ee571b150c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWANUpdateTags.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "VirtualWANName": "wan1", + "WANParameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "wan1", + "type": "Microsoft.Network/virtualWANs", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1", + "location": "West US", + "properties": { + "type": "Basic", + "disableVpnEncryption": false, + "provisioningState": "Succeeded", + "virtualHubs": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub2" + } + ], + "vpnSites": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2" + } + ] + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "VirtualWans_UpdateTags", + "title": "VirtualWANUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWanSupportedSecurityProviders.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWanSupportedSecurityProviders.json new file mode 100644 index 000000000000..f2e429fbf188 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VirtualWanSupportedSecurityProviders.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualWANName": "wan1" + }, + "responses": { + "200": { + "description": "Request successful.", + "body": { + "supportedProviders": [ + { + "name": "AzureFirewall", + "type": "Native", + "url": "" + } + ] + } + } + }, + "operationId": "SupportedSecurityProviders", + "title": "supportedSecurityProviders" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssNetworkInterfaceGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssNetworkInterfaceGet.json new file mode 100644 index 000000000000..146f80e3d7f4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssNetworkInterfaceGet.json @@ -0,0 +1,65 @@ +{ + "parameters": { + "api-version": "2018-10-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "networkInterfaceName": "nic1", + "virtualMachineScaleSetName": "vmss1", + "virtualmachineIndex": "1" + }, + "responses": { + "200": { + "body": { + "name": "nic1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ip1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.5", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + }, + "primary": true, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1" + } + ] + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "dns.cdmx.internal.cloudapp.net" + }, + "macAddress": "00-00-00-00-00-00", + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1" + } + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssNetworkInterfaceIpConfigGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssNetworkInterfaceIpConfigGet.json new file mode 100644 index 000000000000..5b7c23b7b56b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssNetworkInterfaceIpConfigGet.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "api-version": "2018-10-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualMachineScaleSetName": "vmss1", + "virtualmachineIndex": "2", + "networkInterfaceName": "nic1", + "ipConfigurationName": "ip1" + }, + "responses": { + "200": { + "body": { + "name": "ip1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/2/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.6", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + }, + "primary": true, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.2" + } + ] + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssNetworkInterfaceIpConfigList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssNetworkInterfaceIpConfigList.json new file mode 100644 index 000000000000..e14de4e82a72 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssNetworkInterfaceIpConfigList.json @@ -0,0 +1,42 @@ +{ + "parameters": { + "api-version": "2018-10-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualMachineScaleSetName": "vmss1", + "virtualmachineIndex": "2", + "networkInterfaceName": "nic1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "ip1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/2/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.6", + "privateIPAllocationMethod": "Dynamic", + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + }, + "primary": true, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.2" + } + ] + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssNetworkInterfaceList.json new file mode 100644 index 000000000000..0ec937148391 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssNetworkInterfaceList.json @@ -0,0 +1,118 @@ +{ + "parameters": { + "api-version": "2018-10-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualMachineScaleSetName": "vmss1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nic1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/nic1", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ip1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.4", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + }, + "primary": true, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.0" + } + ] + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "ruw4wz3grewudjsyzrxj44pxod.cdmx.internal.cloudapp.net" + }, + "macAddress": "00-00-00-00-00-00", + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/0" + } + } + }, + { + "name": "nic1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ip1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.5", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + }, + "primary": true, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1" + } + ] + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "ruw4wz3grewudjsyzrxj44pxod.cdmx.internal.cloudapp.net" + }, + "macAddress": "00-00-00-00-00-00", + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1" + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssPublicIpGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssPublicIpGet.json new file mode 100644 index 000000000000..229c15712a0d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssPublicIpGet.json @@ -0,0 +1,34 @@ +{ + "parameters": { + "virtualMachineScaleSetName": "vmss1", + "resourceGroupName": "vmss-tester", + "api-version": "2018-10-01", + "subscriptionId": "subid", + "virtualmachineIndex": 1, + "networkInterfaceName": "nic1", + "ipConfigurationName": "ip1", + "publicIpAddressName": "pub1" + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1", + "name": "pub1", + "properties": { + "publicIPAllocationMethod": "Dynamic", + "publicIPAddressVersion": "IPv4", + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "dnsSettings": { + "domainNameLabel": "vm1.testvmssacc", + "fqdn": "vm1.testvmssacc.southeastasia.cloudapp.azure.com" + }, + "ipAddress": "13.67.119.72", + "idleTimeoutInMinutes": 10, + "provisioningState": "Succeeded" + } + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssPublicIpListAll.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssPublicIpListAll.json new file mode 100644 index 000000000000..605e0b831869 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssPublicIpListAll.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "virtualMachineScaleSetName": "vmss1", + "resourceGroupName": "vmss-tester", + "api-version": "2018-10-01", + "subscriptionId": "subid" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1", + "name": "pub1", + "properties": { + "publicIPAllocationMethod": "Dynamic", + "publicIPAddressVersion": "IPv4", + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "dnsSettings": { + "domainNameLabel": "vm1.testvmssacc", + "fqdn": "vm1.testvmssacc.southeastasia.cloudapp.azure.com" + }, + "ipAddress": "13.67.119.72", + "idleTimeoutInMinutes": 10, + "provisioningState": "Succeeded" + } + }, + { + "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1", + "name": "pub1", + "properties": { + "publicIPAllocationMethod": "Dynamic", + "publicIPAddressVersion": "IPv4", + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/3/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "dnsSettings": { + "domainNameLabel": "vm3.testvmssacc", + "fqdn": "vm3.testvmssacc.southeastasia.cloudapp.azure.com" + }, + "ipAddress": "13.67.118.216", + "idleTimeoutInMinutes": 10, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssVmNetworkInterfaceList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssVmNetworkInterfaceList.json new file mode 100644 index 000000000000..e4f1cbf14ebf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssVmNetworkInterfaceList.json @@ -0,0 +1,68 @@ +{ + "parameters": { + "api-version": "2018-10-01", + "subscriptionId": "subid", + "resourceGroupName": "rg1", + "virtualMachineScaleSetName": "vmss1", + "virtualmachineIndex": "1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "nic1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1", + "properties": { + "provisioningState": "Succeeded", + "ipConfigurations": [ + { + "name": "ip1", + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1", + "properties": { + "provisioningState": "Succeeded", + "privateIPAddress": "10.0.0.5", + "privateIPAllocationMethod": "Dynamic", + "publicIPAddress": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1" + }, + "subnet": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualNetworks/vnet1/subnets/subnet1" + }, + "primary": true, + "privateIPAddressVersion": "IPv4", + "loadBalancerBackendAddressPools": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/backendAddressPools/addressPool1" + } + ], + "loadBalancerInboundNatRules": [ + { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/loadBalancers/lb1/inboundNatRules/natPool1.1" + } + ] + } + } + ], + "dnsSettings": { + "dnsServers": [], + "appliedDnsServers": [], + "internalDomainNameSuffix": "ruw4wz3grewudjsyzrxj44pxod.cdmx.internal.cloudapp.net" + }, + "macAddress": "00-00-00-00-00-00", + "enableAcceleratedNetworking": false, + "enableIPForwarding": false, + "networkSecurityGroup": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1" + }, + "primary": true, + "virtualMachine": { + "id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1" + } + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssVmPublicIpList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssVmPublicIpList.json new file mode 100644 index 000000000000..d21f5d40ed03 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VmssVmPublicIpList.json @@ -0,0 +1,37 @@ +{ + "parameters": { + "virtualMachineScaleSetName": "vmss1", + "resourceGroupName": "vmss-tester", + "api-version": "2018-10-01", + "subscriptionId": "subid", + "virtualmachineIndex": 1, + "networkInterfaceName": "nic1", + "ipConfigurationName": "ip1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1/publicIPAddresses/pub1", + "name": "pub1", + "properties": { + "publicIPAllocationMethod": "Dynamic", + "publicIPAddressVersion": "IPv4", + "ipConfiguration": { + "id": "/subscriptions/subid/resourceGroups/vmss-tester/providers/Microsoft.Compute/virtualMachineScaleSets/vmss1/virtualMachines/1/networkInterfaces/nic1/ipConfigurations/ip1" + }, + "dnsSettings": { + "domainNameLabel": "vm1.testvmssacc", + "fqdn": "vm1.testvmssacc.southeastasia.cloudapp.azure.com" + }, + "ipAddress": "13.67.119.72", + "idleTimeoutInMinutes": 10, + "provisioningState": "Succeeded" + } + } + ] + } + } + } +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionDelete.json new file mode 100644 index 000000000000..72c6c54d9d23 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VpnConnections_Delete", + "title": "VpnConnectionDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionGet.json new file mode 100644 index 000000000000..b8dacf309a3f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionGet.json @@ -0,0 +1,106 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "trafficSelectorPolicies": [], + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnLinkConnectionMode": "ResponderOnly", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + }, + { + "name": "Connection-Link2", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnLinkConnectionMode": "InitiatorOnly", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2" + } + } + } + ] + } + } + } + }, + "operationId": "VpnConnections_Get", + "title": "VpnConnectionGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionList.json new file mode 100644 index 000000000000..b1cc8922ca57 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionList.json @@ -0,0 +1,109 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "trafficSelectorPolicies": [], + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnLinkConnectionMode": "Default", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + }, + { + "name": "Connection-Link2", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnLinkConnectionMode": "Default", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2" + } + } + } + ] + } + } + ] + } + } + }, + "operationId": "VpnConnections_ListByVpnGateway", + "title": "VpnConnectionList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionPut.json new file mode 100644 index 000000000000..3d352f996830 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionPut.json @@ -0,0 +1,203 @@ +{ + "parameters": { + "VpnConnectionParameters": { + "properties": { + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "trafficSelectorPolicies": [], + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "sharedKey": "key", + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnLinkConnectionMode": "Default", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + } + ] + } + }, + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "trafficSelectorPolicies": [], + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnLinkConnectionMode": "Default", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + } + ] + } + } + }, + "201": { + "body": { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + "inboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap1" + }, + "outboundRouteMap": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/routeMaps/routeMap2" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/hub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + } + }, + "trafficSelectorPolicies": [], + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnLinkConnectionMode": "Default", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + } + ] + } + } + } + }, + "operationId": "VpnConnections_CreateOrUpdate", + "title": "VpnConnectionPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionStartPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionStartPacketCapture.json new file mode 100644 index 000000000000..643b9499f694 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionStartPacketCapture.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "parameters": { + "linkConnectionNames": [ + "siteLink1", + "siteLink2" + ] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnConnectionName": "vpnConnection1" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnConnections_StartPacketCapture", + "title": "Start packet capture on vpn connection without filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionStartPacketCaptureFilterData.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionStartPacketCaptureFilterData.json new file mode 100644 index 000000000000..62e75d2a5f0c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionStartPacketCaptureFilterData.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "parameters": { + "filterData": "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}", + "linkConnectionNames": [ + "siteLink1", + "siteLink2" + ] + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnConnectionName": "vpnConnection1" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnConnections_StartPacketCapture", + "title": "Start packet capture on vpn connection with filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionStopPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionStopPacketCapture.json new file mode 100644 index 000000000000..30df680f0aa6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnConnectionStopPacketCapture.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "parameters": { + "linkConnectionNames": [ + "vpnSiteLink1", + "vpnSiteLink2" + ], + "sasUrl": "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnConnectionName": "vpnConnection1" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnConnections_StopPacketCapture", + "title": "Start packet capture on vpn connection without filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayDelete.json new file mode 100644 index 000000000000..6eff84b162a0 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VpnGateways_Delete", + "title": "VpnGatewayDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayGet.json new file mode 100644 index 000000000000..5bc2d59ec1ea --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayGet.json @@ -0,0 +1,207 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "gateway1", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03" + } + ], + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + }, + { + "name": "Connection-Link2", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat04" + } + ], + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2" + } + } + } + ] + } + } + ], + "enableBgpRouteTranslationForNat": false, + "isRoutingPreferenceInternet": false, + "natRules": [ + { + "name": "nat03", + "type": "Microsoft.Network/vpnGateways/natRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03", + "properties": { + "type": "Dynamic", + "externalMappings": [ + { + "addressSpace": "192.168.0.0/26" + } + ], + "ingressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1" + } + ], + "internalMappings": [ + { + "addressSpace": "0.0.0.0/26" + } + ], + "mode": "IgressSnat" + } + }, + { + "name": "nat04", + "type": "Microsoft.Network/vpnGateways/natRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat04", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link2" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.0.0/26" + } + ], + "internalMappings": [ + { + "addressSpace": "0.0.0.0/26" + } + ], + "mode": "EgressSnat" + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + } + } + } + } + }, + "operationId": "VpnGateways_Get", + "title": "VpnGatewayGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayList.json new file mode 100644 index 000000000000..fabfbefaa6bf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayList.json @@ -0,0 +1,303 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "gateway1", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ingressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03" + } + ], + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + }, + { + "name": "Connection-Link2", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat04" + } + ], + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2" + } + } + } + ] + } + } + ], + "enableBgpRouteTranslationForNat": false, + "isRoutingPreferenceInternet": false, + "natRules": [ + { + "name": "nat03", + "type": "Microsoft.Network/vpnGateways/natRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03", + "properties": { + "type": "Dynamic", + "externalMappings": [ + { + "addressSpace": "192.168.0.0/26" + } + ], + "ingressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1" + } + ], + "internalMappings": [ + { + "addressSpace": "0.0.0.0/26" + } + ], + "mode": "IgressSnat" + } + }, + { + "name": "nat04", + "type": "Microsoft.Network/vpnGateways/natRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat04", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link2" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.0.0/26" + } + ], + "internalMappings": [ + { + "addressSpace": "0.0.0.0/26" + } + ], + "mode": "EgressSnat" + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + } + } + }, + { + "name": "gateway2", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnGateways/gateway2", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnGateways/gateway2/vpnConnections/vpnConnection2", + "properties": { + "connectionBandwidth": 100, + "connectionStatus": "Connected", + "egressBytesTransferred": 0, + "enableBgp": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "routingWeight": 0, + "useLocalAzureIpAddress": false + } + } + ], + "enableBgpRouteTranslationForNat": false, + "isRoutingPreferenceInternet": false, + "natRules": [], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2" + } + } + } + ] + } + } + }, + "operationId": "VpnGateways_List", + "title": "VpnGatewayListBySubscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayListByResourceGroup.json new file mode 100644 index 000000000000..1d90e2329cf6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayListByResourceGroup.json @@ -0,0 +1,279 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "gateway1", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03" + } + ], + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + }, + { + "name": "Connection-Link2", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link2", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03" + } + ], + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink2" + } + } + } + ] + } + } + ], + "enableBgpRouteTranslationForNat": false, + "isRoutingPreferenceInternet": false, + "natRules": [ + { + "name": "nat03", + "type": "Microsoft.Network/vpnGateways/natRules", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.0.0/26" + } + ], + "internalMappings": [ + { + "addressSpace": "0.0.0.0/26" + } + ], + "mode": "EgressSnat" + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + } + } + }, + { + "name": "gateway2", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnGateways/gateway2", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnGateways/gateway2/vpnConnections/vpnConnection2", + "properties": { + "connectionBandwidth": 100, + "connectionStatus": "Connected", + "egressBytesTransferred": 0, + "enableBgp": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "routingWeight": 0, + "useLocalAzureIpAddress": false + } + } + ], + "enableBgpRouteTranslationForNat": false, + "isRoutingPreferenceInternet": false, + "natRules": [], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualHubs/virtualHub2" + } + } + } + ] + } + } + }, + "operationId": "VpnGateways_ListByResourceGroup", + "title": "VpnGatewayListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayPut.json new file mode 100644 index 000000000000..f94880ace62f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayPut.json @@ -0,0 +1,377 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnGatewayParameters": { + "location": "westcentralus", + "properties": { + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "ipconfigurationId": "Instance0" + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "ipconfigurationId": "Instance1" + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "properties": { + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03" + } + ], + "sharedKey": "key", + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + } + ] + } + } + ], + "enableBgpRouteTranslationForNat": false, + "isRoutingPreferenceInternet": false, + "natRules": [ + { + "name": "nat03", + "properties": { + "type": "Static", + "externalMappings": [ + { + "addressSpace": "192.168.0.0/26" + } + ], + "internalMappings": [ + { + "addressSpace": "0.0.0.0/26" + } + ], + "ipConfigurationId": "", + "mode": "EgressSnat" + } + } + ], + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + } + }, + "tags": { + "key1": "value1" + } + } + }, + "responses": { + "200": { + "body": { + "name": "gateway1", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03" + } + ], + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + } + ] + } + } + ], + "isRoutingPreferenceInternet": false, + "natRules": [ + { + "name": "nat03", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.0.0/26" + } + ], + "internalMappings": [ + { + "addressSpace": "0.0.0.0/26" + } + ], + "mode": "EgressSnat" + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + } + } + } + }, + "201": { + "body": { + "name": "gateway1", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "egressBytesTransferred": 0, + "enableInternetSecurity": false, + "ingressBytesTransferred": 0, + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "vpnLinkConnections": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "egressBytesTransferred": 0, + "egressNatRules": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03" + } + ], + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + } + ] + } + } + ], + "isRoutingPreferenceInternet": false, + "natRules": [ + { + "name": "nat03", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/natRules/nat03", + "properties": { + "type": "Static", + "egressVpnSiteLinkConnections": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1" + } + ], + "externalMappings": [ + { + "addressSpace": "192.168.0.0/26" + } + ], + "internalMappings": [ + { + "addressSpace": "0.0.0.0/26" + } + ], + "mode": "EgressSnat" + } + } + ], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + } + } + } + } + }, + "operationId": "VpnGateways_CreateOrUpdate", + "title": "VpnGatewayPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayReset.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayReset.json new file mode 100644 index 000000000000..74b0abf1fe34 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayReset.json @@ -0,0 +1,112 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "vpngw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "vpngw", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65514, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw/vpnConnections/vpnConnection1", + "properties": { + "connectionBandwidth": 100, + "connectionStatus": "Connected", + "egressBytesTransferred": 0, + "enableBgp": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "routingWeight": 0, + "useLocalAzureIpAddress": false + } + } + ], + "enableBgpRouteTranslationForNat": false, + "isRoutingPreferenceInternet": false, + "natRules": [], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + } + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnGateways_Reset", + "title": "ResetVpnGateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayStartPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayStartPacketCapture.json new file mode 100644 index 000000000000..f67818b4874e --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayStartPacketCapture.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "vpngw", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnGateways_StartPacketCapture", + "title": "Start packet capture on vpn gateway without filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayStartPacketCaptureFilterData.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayStartPacketCaptureFilterData.json new file mode 100644 index 000000000000..a8a1ea4206d2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayStartPacketCaptureFilterData.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "vpngw", + "parameters": { + "filterData": "{'TracingFlags': 11,'MaxPacketBufferSize': 120,'MaxFileSize': 200,'Filters': [{'SourceSubnets': ['20.1.1.0/24'],'DestinationSubnets': ['10.1.1.0/24'],'SourcePort': [500],'DestinationPort': [4500],'Protocol': 6,'TcpFlags': 16,'CaptureSingleDirectionTrafficOnly': true}]}" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnGateways_StartPacketCapture", + "title": "Start packet capture on vpn gateway with filter" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayStopPacketCapture.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayStopPacketCapture.json new file mode 100644 index 000000000000..d1562fbc5b56 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayStopPacketCapture.json @@ -0,0 +1,23 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "vpngw", + "parameters": { + "sasUrl": "https://teststorage.blob.core.windows.net/?sv=2018-03-28&ss=bfqt&srt=sco&sp=rwdlacup&se=2019-09-13T07:44:05Z&st=2019-09-06T23:44:05Z&spr=https&sig=V1h9D1riltvZMI69d6ihENnFo%2FrCvTqGgjO2lf%2FVBhE%3D" + }, + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnGateways_StopPacketCapture", + "title": "Stop packet capture on vpn gateway" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayUpdateTags.json new file mode 100644 index 000000000000..436f018af3cf --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnGatewayUpdateTags.json @@ -0,0 +1,120 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnGatewayParameters": { + "tags": { + "tag1": "value1", + "tag2": "value2" + } + } + }, + "responses": { + "200": { + "body": { + "name": "gateway1", + "type": "Microsoft.Network/vpnGateways", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1", + "location": "West US", + "properties": { + "bgpSettings": { + "asn": 65515, + "bgpPeeringAddress": "10.0.1.30", + "bgpPeeringAddresses": [ + { + "customBgpIpAddresses": [ + "169.254.21.5" + ], + "defaultBgpIpAddresses": [ + "10.30.0.4" + ], + "ipconfigurationId": "Instance0", + "tunnelIpAddresses": [ + "104.208.48.178" + ] + }, + { + "customBgpIpAddresses": [ + "169.254.21.10" + ], + "defaultBgpIpAddresses": [ + "10.30.0.5" + ], + "ipconfigurationId": "Instance1", + "tunnelIpAddresses": [ + "104.208.48.179" + ] + } + ], + "peerWeight": 0 + }, + "connections": [ + { + "name": "vpnConnection1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1", + "properties": { + "connectionStatus": "Connected", + "egressBytesTransferred": 0, + "enableBgp": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "remoteVpnSite": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" + }, + "routingConfiguration": { + "associatedRouteTable": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + "propagatedRouteTables": { + "ids": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable1" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable2" + }, + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1/hubRouteTables/hubRouteTable3" + } + ], + "labels": [ + "label1", + "label2" + ] + }, + "vnetRoutes": { + "staticRoutes": [] + } + }, + "routingWeight": 0 + } + } + ], + "enableBgpRouteTranslationForNat": false, + "isRoutingPreferenceInternet": false, + "natRules": [], + "provisioningState": "Succeeded", + "virtualHub": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" + } + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnGateways_UpdateTags", + "title": "VpnGatewayUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationDelete.json new file mode 100644 index 000000000000..f1a653f89d23 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationDelete.json @@ -0,0 +1,20 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnServerConfigurationName": "vpnServerConfiguration1" + }, + "responses": { + "200": {}, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VpnServerConfigurations_Delete", + "title": "VpnServerConfigurationDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationGet.json new file mode 100644 index 000000000000..53a1ceb902d2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationGet.json @@ -0,0 +1,116 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnServerConfigurationName": "vpnServerConfiguration1" + }, + "responses": { + "200": { + "body": { + "name": "vpnServerConfiguration1", + "type": "Microsoft.Network/vpnServerConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1", + "location": "West US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "radiusServers": [ + { + "radiusServerAddress": "10.0.0.0", + "radiusServerScore": 25 + } + ], + "vpnAuthenticationTypes": [ + "Certificate" + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "VpnServerConfigurations_Get", + "title": "VpnServerConfigurationGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationList.json new file mode 100644 index 000000000000..fb6ffafa2bec --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationList.json @@ -0,0 +1,215 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpnServerConfiguration1", + "type": "Microsoft.Network/vpnServerConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1", + "location": "West US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "vpnAuthenticationTypes": [ + "Certificate" + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "vpnServerConfiguration2", + "type": "Microsoft.Network/vpnServerConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration2", + "location": "East US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "radiusServers": [ + { + "radiusServerAddress": "10.0.0.0", + "radiusServerScore": 25 + } + ], + "vpnAuthenticationTypes": [ + "Certificate" + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "VpnServerConfigurations_List", + "title": "VpnServerConfigurationList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationListByResourceGroup.json new file mode 100644 index 000000000000..bf362ffc3520 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationListByResourceGroup.json @@ -0,0 +1,211 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpnServerConfiguration1", + "type": "Microsoft.Network/vpnServerConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1", + "location": "West US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "vpnAuthenticationTypes": [ + "Certificate" + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "vpnServerConfiguration2", + "type": "Microsoft.Network/vpnServerConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration2", + "location": "West US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "vpnAuthenticationTypes": [ + "Certificate" + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "VpnServerConfigurations_ListByResourceGroup", + "title": "VpnServerConfigurationListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationPut.json new file mode 100644 index 000000000000..fe4a69f862a4 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationPut.json @@ -0,0 +1,306 @@ +{ + "parameters": { + "VpnServerConfigurationParameters": { + "location": "West US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0 + } + }, + { + "name": "policyGroup2", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0 + } + } + ], + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "radiusServers": [ + { + "radiusServerAddress": "10.0.0.0", + "radiusServerScore": 25, + "radiusServerSecret": "radiusServerSecret" + } + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1" + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnServerConfigurationName": "vpnServerConfiguration1" + }, + "responses": { + "200": { + "body": { + "name": "vpnServerConfiguration1", + "type": "Microsoft.Network/vpnServerConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1", + "location": "West US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "radiusServers": [ + { + "radiusServerAddress": "10.0.0.0", + "radiusServerScore": 25 + } + ], + "vpnAuthenticationTypes": [ + "Certificate" + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "vpnServerConfiguration1", + "type": "Microsoft.Network/vpnServerConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1", + "location": "West US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0, + "provisioningState": "Succeeded" + } + } + ], + "provisioningState": "Succeeded", + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "radiusServers": [ + { + "radiusServerAddress": "10.0.0.0", + "radiusServerScore": 25 + } + ], + "vpnAuthenticationTypes": [ + "Certificate" + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "VpnServerConfigurations_CreateOrUpdate", + "title": "VpnServerConfigurationCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationUpdateTags.json new file mode 100644 index 000000000000..a5b2b3a67b17 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnServerConfigurationUpdateTags.json @@ -0,0 +1,113 @@ +{ + "parameters": { + "VpnServerConfigurationParameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnServerConfigurationName": "vpnServerConfiguration1" + }, + "responses": { + "200": { + "body": { + "name": "vpnServerConfiguration1", + "type": "Microsoft.Network/vpnServerConfigurations", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1", + "location": "West US", + "properties": { + "configurationPolicyGroups": [ + { + "name": "policyGroup1", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup1", + "properties": { + "isDefault": true, + "p2SConnectionConfigurations": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/p2sVpnGateways/p2sVpnGateway1/p2sConnectionConfigurations/P2SConnectionConfig1" + } + ], + "policyMembers": [ + { + "name": "policy1", + "attributeType": "RadiusAzureGroupId", + "attributeValue": "6ad1bd08" + } + ], + "priority": 0 + } + }, + { + "name": "policyGroup2", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnServerConfigurations/vpnServerConfiguration1/vpnServerConfigurationPolicyGroups/policyGroup2", + "properties": { + "isDefault": true, + "policyMembers": [ + { + "name": "policy2", + "attributeType": "CertificateGroupId", + "attributeValue": "red.com" + } + ], + "priority": 0 + } + } + ], + "provisioningState": "Succeeded", + "radiusClientRootCertificates": [ + { + "name": "vpnServerConfigRadiusClientRootCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "radiusServerAddress": "8.9.9.9", + "radiusServerRootCertificates": [ + { + "name": "vpnServerConfigRadiusServerRootCer1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuM" + } + ], + "vpnClientIpsecPolicies": [ + { + "dhGroup": "DHGroup14", + "ikeEncryption": "AES256", + "ikeIntegrity": "SHA384", + "ipsecEncryption": "AES256", + "ipsecIntegrity": "SHA256", + "pfsGroup": "PFS14", + "saDataSizeKilobytes": 429497, + "saLifeTimeSeconds": 86472 + } + ], + "vpnClientRevokedCertificates": [ + { + "name": "vpnServerConfigVpnClientRevokedCert1", + "thumbprint": "83FFBFC8848B5A5836C94D0112367E16148A286F" + } + ], + "vpnClientRootCertificates": [ + { + "name": "vpnServerConfigVpnClientRootCert1", + "publicCertData": "MIIC5zCCAc+gAwIBAgIQErQ0Hk4aDJxIA+Q5RagB+jANBgkqhkiG9w0BAQsFADAWMRQwEgYDVQQDDAtQMlNSb290Q2VydDAeFw0xNzEyMTQyMTA3MzhaFw0xODEyMTQyMTI3MzhaMBYxFDASBgNVBAMMC1AyU1Jvb3RDZXJ0MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArP7/NQXmW7cQ/ZR1mv3Y3I29Lt7HTOqzo/1KUOoVH3NItbQIRAQbwKy3UWrOFz4eGNX2GWtNRMdCyWsKeqy9Ltsdfcm1IbKXkl84DFeU/ZacXu4Dl3xX3gV5du4TLZjEowJELyur11Ea2YcjPRQ/FzAF9/hGuboS1HZQEPLx4FdUs9OxCYOtc0MxBCwLfVTTRqarb0Ne+arNYd4kCzIhAke1nOyKAJBda5ZL+VHy3S5S8qGlD46jm8HXugmAkUygS4oIIXOmj/1O9sNAi3LN60zufSzCmP8Rm/iUGX+DHAGGiXxwZOKQLEDaZXKqoHjMPP0XudmSWwOIbyeQVrLhkwIDAQABozEwLzAOBgNVHQ8BAf8EBAMCAgQwHQYDVR0OBBYEFEfeNU2trYxNLF9ONmuJUsT13pKDMA0GCSqGSIb3DQEBCwUAA4IBAQBmM6RJzsGGipxyMhimHKN2xlkejhVsgBoTAhOU0llW9aUSwINJ9zFUGgI8IzUFy1VG776fchHp0LMRmPSIUYk5btEPxbsrPtumPuMH8EQGrS+Rt4pD+78c8H1fEPkq5CmDl/PKu4JoFGv+aFcE+Od0hlILstIF10Qysf++QXDolKfzJa/56bgMeYKFiju73loiRM57ns8ddXpfLl792UVpRkFU62LNns6Y1LKTwapmUF4IvIuAIzd6LZNOQng64LAKXtKnViJ1JQiXwf4CEzhgvAti3/ejpb3U90hsrUcyZi6wBv9bZLcAJRWpz61JNYliM1d1grSwQDKGXNQE4xuN" + } + ], + "vpnProtocols": [ + "IkeV2" + ] + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "VpnServerConfigurations_UpdateTags", + "title": "VpnServerConfigurationUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteDelete.json new file mode 100644 index 000000000000..4c09416c9f7c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnSiteName": "vpnSite1" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{siteName}/operationResults/{operationId}?api-version={api-version}" + } + }, + "204": {} + }, + "operationId": "VpnSites_Delete", + "title": "VpnSiteDelete" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteGet.json new file mode 100644 index 000000000000..459929f79980 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteGet.json @@ -0,0 +1,59 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnSiteName": "vpnSite1" + }, + "responses": { + "200": { + "body": { + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "location": "West US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "deviceProperties": { + "linkSpeedInMbps": 0 + }, + "isSecuritySite": false, + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkProviderName": "vendor1", + "linkSpeedInMbps": 0 + }, + "provisioningState": "Succeeded" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "VpnSites_Get", + "title": "VpnSiteGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionDefaultSharedKeyGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionDefaultSharedKeyGet.json new file mode 100644 index 000000000000..d58eb8d3b064 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionDefaultSharedKeyGet.json @@ -0,0 +1,24 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "linkConnectionName": "Connection-Link1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/vpnGateways/vpnConnections/vpnLinkConnections/sharedKeys", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1/sharedKeys/default", + "properties": { + "sharedKeyLength": 16 + } + } + } + }, + "operationId": "VpnLinkConnections_GetDefaultSharedKey", + "title": "VpnSiteLinkConnectionDefaultSharedKeyGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionDefaultSharedKeyList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionDefaultSharedKeyList.json new file mode 100644 index 000000000000..cd04dc6a2cde --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionDefaultSharedKeyList.json @@ -0,0 +1,25 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "linkConnectionName": "Connection-Link1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/vpnGateways/vpnConnections/vpnLinkConnections/sharedKeys", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1/sharedKeys/default", + "properties": { + "sharedKey": "AzureAbc1234", + "sharedKeyLength": 12 + } + } + } + }, + "operationId": "VpnLinkConnections_ListDefaultSharedKey", + "title": "VpnSiteLinkConnectionDefaultSharedKeyList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionDefaultSharedKeyPut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionDefaultSharedKeyPut.json new file mode 100644 index 000000000000..db007c6bc746 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionDefaultSharedKeyPut.json @@ -0,0 +1,39 @@ +{ + "parameters": { + "ConnectionSharedKeyParameters": { + "properties": { + "sharedKey": "ABCDEF123456" + } + }, + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "linkConnectionName": "Connection-Link1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "default", + "type": "Microsoft.Network/vpnGateways/vpnConnections/vpnLinkConnections/sharedKeys", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1/sharedKeys/default", + "properties": { + "sharedKeyLength": 12 + } + } + }, + "201": { + "body": { + "name": "default", + "type": "Microsoft.Network/vpnGateways/vpnConnections/vpnLinkConnections/sharedKeys", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1/sharedKeys/default", + "properties": { + "sharedKeyLength": 12 + } + } + } + }, + "operationId": "VpnLinkConnections_SetOrInitDefaultSharedKey", + "title": "VpnSiteLinkConnectionDefaultSharedKeyPut" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionGet.json new file mode 100644 index 000000000000..29b3e79edcf7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionGet.json @@ -0,0 +1,49 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "linkConnectionName": "Connection-Link1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "dpdTimeoutSeconds": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnGatewayCustomBgpAddresses": [ + { + "customBgpIpAddress": "169.254.21.1", + "ipConfigurationId": "Instance0" + }, + { + "customBgpIpAddress": "169.254.21.3", + "ipConfigurationId": "Instance1" + } + ], + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + } + } + }, + "operationId": "VpnSiteLinkConnections_Get", + "title": "VpnSiteLinkConnectionGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionGetIkeSas.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionGetIkeSas.json new file mode 100644 index 000000000000..f67b1a55828f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionGetIkeSas.json @@ -0,0 +1,22 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "linkConnectionName": "Connection-Link1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": "\"{\"Status\":\"Successful\",\"Data\":null}\"" + }, + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/westus/operationResults/{operationId}?api-version=2025-07-01" + } + } + }, + "operationId": "VpnLinkConnections_GetIkeSas", + "title": "GetVpnLinkConnectionIkeSa" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionList.json new file mode 100644 index 000000000000..3016d74f7483 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionList.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Connection-Link1", + "type": "Microsoft.Network/vpnGateways/vpnConnections/VpnSiteLinkConnections", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/VpnSiteLinkConnections/Connection-Link1", + "properties": { + "connectionBandwidth": 200, + "dpdTimeoutSeconds": 0, + "egressBytesTransferred": 0, + "enableBgp": false, + "enableRateLimiting": false, + "ingressBytesTransferred": 0, + "ipsecPolicies": [], + "provisioningState": "Succeeded", + "routingWeight": 0, + "useLocalAzureIpAddress": false, + "usePolicyBasedTrafficSelectors": false, + "vpnConnectionProtocolType": "IKEv2", + "vpnGatewayCustomBgpAddresses": [ + { + "customBgpIpAddress": "169.254.21.1", + "ipConfigurationId": "Instance0" + }, + { + "customBgpIpAddress": "169.254.21.3", + "ipConfigurationId": "Instance1" + } + ], + "vpnSiteLink": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/siteLink1" + } + } + } + ] + } + } + }, + "operationId": "VpnLinkConnections_ListByVpnConnection", + "title": "VpnSiteLinkConnectionList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionReset.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionReset.json new file mode 100644 index 000000000000..f24b3ce36e18 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionReset.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "linkConnectionName": "Connection-Link1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "202": { + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnLinkConnections_ResetConnection", + "title": "ResetVpnLinkConnection" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionSharedKeysGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionSharedKeysGet.json new file mode 100644 index 000000000000..c9dd1741f0c8 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkConnectionSharedKeysGet.json @@ -0,0 +1,28 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "connectionName": "vpnConnection1", + "gatewayName": "gateway1", + "linkConnectionName": "Connection-Link1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "default", + "type": "Microsoft.Network/vpnGateways/vpnConnections/vpnLinkConnections/sharedKeys", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/gateway1/vpnConnections/vpnConnection1/vpnLinkConnections/Connection-Link1/sharedKeys/default", + "properties": { + "sharedKeyLength": 16 + } + } + ] + } + } + }, + "operationId": "VpnLinkConnections_GetAllSharedKeys", + "title": "VpnSiteLinkConnectionSharedKeysGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkGet.json new file mode 100644 index 000000000000..3261fdc84391 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkGet.json @@ -0,0 +1,32 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnSiteLinkName": "vpnSiteLink1", + "vpnSiteName": "vpnSite1" + }, + "responses": { + "200": { + "body": { + "name": "vpnSiteLink1", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkSpeedInMbps": 0 + }, + "provisioningState": "Succeeded" + } + } + } + }, + "operationId": "VpnSiteLinks_Get", + "title": "VpnSiteGet" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkListByVpnSite.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkListByVpnSite.json new file mode 100644 index 000000000000..a33ea2db71af --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteLinkListByVpnSite.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnSiteName": "vpnSite1" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpnSiteLink1", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkSpeedInMbps": 200 + }, + "provisioningState": "Succeeded" + } + }, + { + "name": "vpnSiteLink2", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink2", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.1" + }, + "ipAddress": "40.40.40.46", + "linkProperties": { + "linkSpeedInMbps": 200 + }, + "provisioningState": "Succeeded" + } + } + ] + } + } + }, + "operationId": "VpnSiteLinks_ListByVpnSite", + "title": "VpnSiteLinkListByVpnSite" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteList.json new file mode 100644 index 000000000000..8e4b61f141f6 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteList.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "location": "West US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "deviceProperties": { + "linkSpeedInMbps": 0 + }, + "isSecuritySite": false, + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkSpeedInMbps": 0 + }, + "provisioningState": "Succeeded" + } + } + ] + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "vpnSite2", + "type": "Microsoft.Network/vpnSites", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/vpnSites/vpnSite2", + "location": "East US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "deviceProperties": { + "deviceModel": "model01", + "deviceVendor": "vendor1", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.1.0.0", + "isSecuritySite": false, + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg2/providers/Microsoft.Network/virtualWANs/wan1" + } + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "VpnSites_List", + "title": "VpnSiteList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteListByResourceGroup.json new file mode 100644 index 000000000000..2c31b47d218d --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteListByResourceGroup.json @@ -0,0 +1,92 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "location": "West US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "deviceProperties": { + "linkSpeedInMbps": 0 + }, + "isSecuritySite": false, + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkSpeedInMbps": 0 + }, + "provisioningState": "Succeeded" + } + } + ] + }, + "tags": { + "key1": "value1" + } + }, + { + "name": "vpnSite2", + "type": "Microsoft.Network/vpnSites", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite2", + "location": "West US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "deviceProperties": { + "deviceModel": "model01", + "deviceVendor": "vendor1", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.1.0.0", + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + } + }, + "tags": { + "key1": "value1" + } + } + ] + } + } + }, + "operationId": "VpnSites_ListByResourceGroup", + "title": "VpnSiteListByResourceGroup" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSitePut.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSitePut.json new file mode 100644 index 000000000000..1cc96d187a1c --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSitePut.json @@ -0,0 +1,146 @@ +{ + "parameters": { + "VpnSiteParameters": { + "location": "West US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "isSecuritySite": false, + "o365Policy": { + "breakOutCategories": { + "default": false, + "allow": true, + "optimize": true + } + }, + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "fqdn": "link1.vpnsite1.contoso.com", + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkProviderName": "vendor1", + "linkSpeedInMbps": 0 + } + } + } + ] + }, + "tags": { + "key1": "value1" + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnSiteName": "vpnSite1" + }, + "responses": { + "200": { + "body": { + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "location": "West US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "deviceProperties": { + "linkSpeedInMbps": 0 + }, + "isSecuritySite": false, + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "type": "Microsoft.Network/vpnSites/vpnSiteLinks", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkProviderName": "vendor1", + "linkSpeedInMbps": 0 + }, + "provisioningState": "Succeeded" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + }, + "201": { + "body": { + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "location": "West US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "deviceProperties": { + "linkSpeedInMbps": 0 + }, + "isSecuritySite": false, + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + }, + "vpnSiteLinks": [ + { + "name": "vpnSiteLink1", + "etag": "W/\"00000000-0000-0000-0000-000000000000\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1/vpnSiteLinks/vpnSiteLink1", + "properties": { + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "ipAddress": "50.50.50.56", + "linkProperties": { + "linkProviderName": "vendor1", + "linkSpeedInMbps": 0 + }, + "provisioningState": "Succeeded" + } + } + ] + }, + "tags": { + "key1": "value1" + } + } + } + }, + "operationId": "VpnSites_CreateOrUpdate", + "title": "VpnSiteCreate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteUpdateTags.json new file mode 100644 index 000000000000..0dccfc735f88 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSiteUpdateTags.json @@ -0,0 +1,52 @@ +{ + "parameters": { + "VpnSiteParameters": { + "tags": { + "key1": "value1", + "key2": "value2" + } + }, + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "vpnSiteName": "vpnSite1" + }, + "responses": { + "200": { + "body": { + "name": "vpnSite1", + "type": "Microsoft.Network/vpnSites", + "etag": "w/\\00000000-0000-0000-0000-000000000000\\", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1", + "location": "West US", + "properties": { + "addressSpace": { + "addressPrefixes": [ + "10.0.0.0/16" + ] + }, + "bgpProperties": { + "asn": 1234, + "bgpPeeringAddress": "192.168.0.0" + }, + "deviceProperties": { + "deviceModel": "model01", + "deviceVendor": "vendor1", + "linkSpeedInMbps": 200 + }, + "ipAddress": "10.0.0.0", + "provisioningState": "Succeeded", + "virtualWan": { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/virtualWANs/wan1" + } + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "VpnSites_UpdateTags", + "title": "VpnSiteUpdate" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSitesConfigurationDownload.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSitesConfigurationDownload.json new file mode 100644 index 000000000000..8dc021518523 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/VpnSitesConfigurationDownload.json @@ -0,0 +1,27 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000", + "virtualWANName": "wan1", + "request": { + "outputBlobSasUrl": "https://blobcortextesturl.blob.core.windows.net/folderforconfig/vpnFile?sp=rw&se=2018-01-10T03%3A42%3A04Z&sv=2017-04-17&sig=WvXrT5bDmDFfgHs%2Brz%2BjAu123eRCNE9BO0eQYcPDT7pY%3D&sr=b", + "vpnSites": [ + "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/abc" + ] + } + }, + "responses": { + "200": { + "description": "Request successful. Follow the location header for sas-url to output blob." + }, + "202": { + "description": "Accepted and the operation will complete asynchronously.", + "headers": { + "location": "https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/operationResults/{operationId}?api-version={api-version}" + } + } + }, + "operationId": "VpnSitesConfiguration_Download", + "title": "VpnSitesConfigurationDownload" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/WafListAllPolicies.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/WafListAllPolicies.json new file mode 100644 index 000000000000..8e2ab5d33e15 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/WafListAllPolicies.json @@ -0,0 +1,231 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Policy1", + "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1", + "location": "WestUs", + "properties": { + "customRules": [ + { + "name": "Rule1", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch", + "transforms": [] + } + ], + "priority": 1, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "Rule2", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch" + }, + { + "matchValues": [ + "Windows" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeader" + } + ], + "negationConditon": false, + "operator": "Contains" + } + ], + "priority": 2, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "RateLimitRule3", + "action": "Block", + "groupByUserSession": [ + { + "groupByVariables": [ + { + "variableName": "ClientAddr" + } + ] + } + ], + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": true, + "operator": "IPMatch" + } + ], + "priority": 3, + "rateLimitDuration": "OneMin", + "rateLimitThreshold": 10, + "ruleType": "RateLimitRule" + } + ], + "managedRules": { + "managedRuleSets": [ + { + "computedDisabledRules": [ + { + "ruleGroupName": "General", + "rules": [ + "200003" + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "exceptions": [ + { + "exceptionManagedRuleSets": [ + { + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestURI", + "valueMatchOperator": "Contains", + "values": [ + "health", + "account/images", + "default.aspx" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestHeader", + "selector": "User-Agent", + "selectorMatchOperator": "StartsWith", + "valueMatchOperator": "Contains", + "values": [ + "Mozilla/5.0", + "Chrome/122.0.0.0" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "BadBots", + "rules": [ + { + "ruleId": "100100" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + } + ], + "matchVariable": "RemoteAddr", + "valueMatchOperator": "IPMatch", + "values": [ + "1.2.3.4", + "10.0.0.1/6" + ] + } + ] + }, + "policySettings": { + "customBlockResponseBody": "SGVsbG8=", + "customBlockResponseStatusCode": 405, + "fileUploadEnforcement": true, + "fileUploadLimitInMb": 4000, + "logScrubbing": { + "scrubbingRules": [ + { + "matchVariable": "RequestArgNames", + "selector": "test", + "selectorMatchOperator": "Equals", + "state": "Enabled" + }, + { + "matchVariable": "RequestIPAddress", + "selector": "*", + "selectorMatchOperator": "EqualsAny", + "state": "Enabled" + } + ], + "state": "Enabled" + }, + "maxRequestBodySizeInKb": 2000, + "mode": "Prevention", + "requestBodyCheck": true, + "requestBodyEnforcement": true, + "requestBodyInspectLimitInKB": 2000, + "state": "Enabled" + }, + "provisioningState": "Succeeded", + "resourceState": "Enabled" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + ] + } + } + }, + "operationId": "WebApplicationFirewallPolicies_ListAll", + "title": "Lists all WAF policies in a subscription" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/WafListPolicies.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/WafListPolicies.json new file mode 100644 index 000000000000..1698f3746159 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/WafListPolicies.json @@ -0,0 +1,231 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "name": "Policy1", + "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1", + "location": "WestUs", + "properties": { + "customRules": [ + { + "name": "Rule1", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch", + "transforms": [] + } + ], + "priority": 1, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "Rule2", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch" + }, + { + "matchValues": [ + "Windows" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeader" + } + ], + "negationConditon": false, + "operator": "Contains" + } + ], + "priority": 2, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "RateLimitRule3", + "action": "Block", + "groupByUserSession": [ + { + "groupByVariables": [ + { + "variableName": "ClientAddr" + } + ] + } + ], + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": true, + "operator": "IPMatch" + } + ], + "priority": 3, + "rateLimitDuration": "OneMin", + "rateLimitThreshold": 10, + "ruleType": "RateLimitRule" + } + ], + "managedRules": { + "managedRuleSets": [ + { + "computedDisabledRules": [ + { + "ruleGroupName": "General", + "rules": [ + "200003" + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "exceptions": [ + { + "exceptionManagedRuleSets": [ + { + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestURI", + "valueMatchOperator": "Contains", + "values": [ + "health", + "account/images", + "default.aspx" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestHeader", + "selector": "User-Agent", + "selectorMatchOperator": "StartsWith", + "valueMatchOperator": "Contains", + "values": [ + "Mozilla/5.0", + "Chrome/122.0.0.0" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "BadBots", + "rules": [ + { + "ruleId": "100100" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + } + ], + "matchVariable": "RemoteAddr", + "valueMatchOperator": "IPMatch", + "values": [ + "1.2.3.4", + "10.0.0.1/6" + ] + } + ] + }, + "policySettings": { + "customBlockResponseBody": "SGVsbG8=", + "customBlockResponseStatusCode": 405, + "fileUploadEnforcement": true, + "fileUploadLimitInMb": 4000, + "logScrubbing": { + "scrubbingRules": [ + { + "matchVariable": "RequestArgNames", + "selector": "test", + "selectorMatchOperator": "Equals", + "state": "Enabled" + }, + { + "matchVariable": "RequestIPAddress", + "selectorMatchOperator": "EqualsAny", + "state": "Enabled" + } + ], + "state": "Enabled" + }, + "maxRequestBodySizeInKb": 2000, + "mode": "Detection", + "requestBodyCheck": true, + "requestBodyEnforcement": true, + "requestBodyInspectLimitInKB": 2000, + "state": "Enabled" + }, + "provisioningState": "Succeeded", + "resourceState": "Enabled" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + ] + } + } + }, + "operationId": "WebApplicationFirewallPolicies_List", + "title": "Lists all WAF policies in a resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/WafPolicyCreateOrUpdate.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/WafPolicyCreateOrUpdate.json new file mode 100644 index 000000000000..6e6c395b10e3 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/WafPolicyCreateOrUpdate.json @@ -0,0 +1,992 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "parameters": { + "location": "WestUs", + "properties": { + "customRules": [ + { + "name": "Rule1", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "operator": "IPMatch" + } + ], + "priority": 1, + "ruleType": "MatchRule" + }, + { + "name": "Rule2", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "operator": "IPMatch" + }, + { + "matchValues": [ + "Windows" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeaders" + } + ], + "operator": "Contains" + } + ], + "priority": 2, + "ruleType": "MatchRule" + }, + { + "name": "RateLimitRule3", + "action": "Block", + "groupByUserSession": [ + { + "groupByVariables": [ + { + "variableName": "ClientAddr" + } + ] + } + ], + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": true, + "operator": "IPMatch" + } + ], + "priority": 3, + "rateLimitDuration": "OneMin", + "rateLimitThreshold": 10, + "ruleType": "RateLimitRule" + }, + { + "name": "Rule4", + "action": "JSChallenge", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "operator": "IPMatch" + }, + { + "matchValues": [ + "Bot" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeaders" + } + ], + "operator": "Contains" + } + ], + "priority": 4, + "ruleType": "MatchRule" + } + ], + "managedRules": { + "exclusions": [ + { + "exclusionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-930-APPLICATION-ATTACK-LFI", + "rules": [ + { + "ruleId": "930120" + } + ] + }, + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestArgNames", + "selector": "hello", + "selectorMatchOperator": "StartsWith" + }, + { + "exclusionManagedRuleSets": [ + { + "ruleGroups": [], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.1" + } + ], + "matchVariable": "RequestArgNames", + "selector": "hello", + "selectorMatchOperator": "EndsWith" + }, + { + "matchVariable": "RequestArgNames", + "selector": "test", + "selectorMatchOperator": "StartsWith" + }, + { + "matchVariable": "RequestArgValues", + "selector": "test", + "selectorMatchOperator": "StartsWith" + } + ], + "managedRuleSets": [ + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "REQUEST-931-APPLICATION-ATTACK-RFI", + "rules": [ + { + "action": "Log", + "ruleId": "931120", + "state": "Enabled" + }, + { + "action": "AnomalyScoring", + "ruleId": "931130", + "state": "Disabled" + } + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + }, + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "UnknownBots", + "rules": [ + { + "action": "JSChallenge", + "ruleId": "300700", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + }, + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "ExcessiveRequests", + "rules": [ + { + "action": "Block", + "ruleId": "500100", + "sensitivity": "High", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "Microsoft_HTTPDDoSRuleSet", + "ruleSetVersion": "1.0" + } + ], + "exceptions": [ + { + "exceptionManagedRuleSets": [ + { + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestURI", + "valueMatchOperator": "Contains", + "values": [ + "health", + "account/images", + "default.aspx" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestHeader", + "selector": "User-Agent", + "selectorMatchOperator": "StartsWith", + "valueMatchOperator": "Contains", + "values": [ + "Mozilla/5.0", + "Chrome/122.0.0.0" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "BadBots", + "rules": [ + { + "ruleId": "100100" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + } + ], + "matchVariable": "RemoteAddr", + "valueMatchOperator": "IPMatch", + "values": [ + "1.2.3.4", + "10.0.0.1/6" + ] + } + ] + }, + "policySettings": { + "jsChallengeCookieExpirationInMins": 100, + "logScrubbing": { + "scrubbingRules": [ + { + "matchVariable": "RequestArgNames", + "selector": "test", + "selectorMatchOperator": "Equals", + "state": "Enabled" + }, + { + "matchVariable": "RequestIPAddress", + "selectorMatchOperator": "EqualsAny", + "state": "Enabled" + } + ], + "state": "Enabled" + } + } + } + }, + "policyName": "Policy1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "Policy1", + "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1", + "location": "WestUs", + "properties": { + "customRules": [ + { + "name": "Rule1", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch", + "transforms": [] + } + ], + "priority": 1, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "Rule2", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch" + }, + { + "matchValues": [ + "Windows" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeader" + } + ], + "negationConditon": false, + "operator": "Contains" + } + ], + "priority": 2, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "RateLimitRule3", + "action": "Block", + "groupByUserSession": [ + { + "groupByVariables": [ + { + "variableName": "ClientAddr" + } + ] + } + ], + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": true, + "operator": "IPMatch" + } + ], + "priority": 3, + "rateLimitDuration": "OneMin", + "rateLimitThreshold": 10, + "ruleType": "RateLimitRule" + }, + { + "name": "Rule4", + "action": "JSChallenge", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch" + }, + { + "matchValues": [ + "Bot" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeaders" + } + ], + "negationConditon": false, + "operator": "Contains" + } + ], + "priority": 4, + "ruleType": "MatchRule", + "state": "Enabled" + } + ], + "managedRules": { + "exclusions": [ + { + "exclusionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-930-APPLICATION-ATTACK-LFI", + "rules": [ + { + "ruleId": "930120" + } + ] + }, + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestArgNames", + "selector": "hello", + "selectorMatchOperator": "StartsWith" + }, + { + "exclusionManagedRuleSets": [ + { + "ruleGroups": [], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.1" + } + ], + "matchVariable": "RequestArgNames", + "selector": "hello", + "selectorMatchOperator": "EndsWith" + }, + { + "matchVariable": "RequestArgNames", + "selector": "test", + "selectorMatchOperator": "StartsWith" + }, + { + "matchVariable": "RequestArgValues", + "selector": "test", + "selectorMatchOperator": "StartsWith" + } + ], + "managedRuleSets": [ + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "REQUEST-931-APPLICATION-ATTACK-RFI", + "rules": [ + { + "action": "Log", + "ruleId": "931120", + "state": "Enabled" + }, + { + "action": "AnomalyScoring", + "ruleId": "931130", + "state": "Disabled" + } + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + }, + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "UnknownBots", + "rules": [ + { + "action": "JSChallenge", + "ruleId": "300700", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + }, + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "ExcessiveRequests", + "rules": [ + { + "action": "Block", + "ruleId": "500100", + "sensitivity": "High", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "Microsoft_HTTPDDoSRuleSet", + "ruleSetVersion": "1.0" + } + ], + "exceptions": [ + { + "exceptionManagedRuleSets": [ + { + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestURI", + "valueMatchOperator": "Contains", + "values": [ + "health", + "account/images", + "default.aspx" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestHeader", + "selector": "User-Agent", + "selectorMatchOperator": "StartsWith", + "valueMatchOperator": "Contains", + "values": [ + "Mozilla/5.0", + "Chrome/122.0.0.0" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "BadBots", + "rules": [ + { + "ruleId": "100100" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + } + ], + "matchVariable": "RemoteAddr", + "valueMatchOperator": "IPMatch", + "values": [ + "1.2.3.4", + "10.0.0.1/6" + ] + } + ] + }, + "policySettings": { + "customBlockResponseBody": "SGVsbG8=", + "customBlockResponseStatusCode": 405, + "fileUploadEnforcement": true, + "fileUploadLimitInMb": 4000, + "jsChallengeCookieExpirationInMins": 100, + "logScrubbing": { + "scrubbingRules": [ + { + "matchVariable": "RequestArgNames", + "selector": "test", + "selectorMatchOperator": "Equals", + "state": "Enabled" + }, + { + "matchVariable": "RequestIPAddress", + "selectorMatchOperator": "EqualsAny", + "state": "Enabled" + } + ], + "state": "Enabled" + }, + "maxRequestBodySizeInKb": 2000, + "mode": "Detection", + "requestBodyCheck": true, + "requestBodyEnforcement": true, + "requestBodyInspectLimitInKB": 2000, + "state": "Enabled" + }, + "provisioningState": "Succeeded", + "resourceState": "Enabled" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + }, + "201": { + "body": { + "name": "Policy1", + "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1", + "location": "WestUs", + "properties": { + "customRules": [ + { + "name": "Rule1", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch", + "transforms": [] + } + ], + "priority": 1, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "Rule2", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch" + }, + { + "matchValues": [ + "Windows" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeader" + } + ], + "negationConditon": false, + "operator": "Contains" + } + ], + "priority": 2, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "RateLimitRule3", + "action": "Block", + "groupByUserSession": [ + { + "groupByVariables": [ + { + "variableName": "ClientAddr" + } + ] + } + ], + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": true, + "operator": "IPMatch" + } + ], + "priority": 3, + "rateLimitDuration": "OneMin", + "rateLimitThreshold": 10, + "ruleType": "RateLimitRule" + }, + { + "name": "Rule4", + "action": "JSChallenge", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch" + }, + { + "matchValues": [ + "Bot" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeaders" + } + ], + "negationConditon": false, + "operator": "Contains" + } + ], + "priority": 4, + "ruleType": "MatchRule", + "state": "Enabled" + } + ], + "managedRules": { + "exclusions": [ + { + "exclusionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-930-APPLICATION-ATTACK-LFI", + "rules": [ + { + "ruleId": "930120" + } + ] + }, + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestArgNames", + "selector": "hello", + "selectorMatchOperator": "StartsWith" + }, + { + "exclusionManagedRuleSets": [ + { + "ruleGroups": [], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.1" + } + ], + "matchVariable": "RequestArgNames", + "selector": "hello", + "selectorMatchOperator": "EndsWith" + }, + { + "matchVariable": "RequestArgNames", + "selector": "test", + "selectorMatchOperator": "StartsWith" + }, + { + "matchVariable": "RequestArgValues", + "selector": "test", + "selectorMatchOperator": "StartsWith" + } + ], + "managedRuleSets": [ + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "REQUEST-931-APPLICATION-ATTACK-RFI", + "rules": [ + { + "action": "Log", + "ruleId": "931120", + "state": "Enabled" + }, + { + "action": "AnomalyScoring", + "ruleId": "931130", + "state": "Disabled" + } + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + }, + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "UnknownBots", + "rules": [ + { + "action": "JSChallenge", + "ruleId": "300700", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + }, + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "ExcessiveRequests", + "rules": [ + { + "action": "Block", + "ruleId": "500100", + "sensitivity": "High", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "Microsoft_HTTPDDoSRuleSet", + "ruleSetVersion": "1.0" + } + ], + "exceptions": [ + { + "exceptionManagedRuleSets": [ + { + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestURI", + "valueMatchOperator": "Contains", + "values": [ + "health", + "account/images", + "default.aspx" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestHeader", + "selector": "User-Agent", + "selectorMatchOperator": "StartsWith", + "valueMatchOperator": "Contains", + "values": [ + "Mozilla/5.0", + "Chrome/122.0.0.0" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "BadBots", + "rules": [ + { + "ruleId": "100100" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + } + ], + "matchVariable": "RemoteAddr", + "valueMatchOperator": "IPMatch", + "values": [ + "1.2.3.4", + "10.0.0.1/6" + ] + } + ] + }, + "policySettings": { + "customBlockResponseBody": "SGVsbG8=", + "customBlockResponseStatusCode": 405, + "fileUploadEnforcement": true, + "fileUploadLimitInMb": 4000, + "jsChallengeCookieExpirationInMins": 100, + "maxRequestBodySizeInKb": 2000, + "mode": "Detection", + "requestBodyCheck": true, + "requestBodyEnforcement": true, + "requestBodyInspectLimitInKB": 2000, + "state": "Enabled" + }, + "provisioningState": "Succeeded", + "resourceState": "Enabled" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "WebApplicationFirewallPolicies_CreateOrUpdate", + "title": "Creates or updates a WAF policy within a resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/WafPolicyDelete.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/WafPolicyDelete.json new file mode 100644 index 000000000000..f8d03843f929 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/WafPolicyDelete.json @@ -0,0 +1,19 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "policyName": "Policy1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": {}, + "202": { + "headers": { + "Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1?api-version=2025-07-01" + } + }, + "204": {} + }, + "operationId": "WebApplicationFirewallPolicies_Delete", + "title": "Deletes a WAF policy within a resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/WafPolicyGet.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/WafPolicyGet.json new file mode 100644 index 000000000000..b14406faebe5 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/WafPolicyGet.json @@ -0,0 +1,411 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "policyName": "Policy1", + "resourceGroupName": "rg1", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "name": "Policy1", + "type": "Microsoft.Network/applicationgatewaywebapplicationfirewallpolicies", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.Network/ApplicationGatewayWebApplicationFirewallPolicies/Policy1", + "location": "WestUs", + "properties": { + "applicationGatewayForContainers": [ + { + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.ServiceNetworking/trafficControllers/agc1" + } + ], + "customRules": [ + { + "name": "Rule1", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch", + "transforms": [] + } + ], + "priority": 1, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "Rule2", + "action": "Block", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch" + }, + { + "matchValues": [ + "Windows" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeader" + } + ], + "negationConditon": false, + "operator": "Contains" + } + ], + "priority": 2, + "ruleType": "MatchRule", + "state": "Enabled" + }, + { + "name": "RateLimitRule3", + "action": "Block", + "groupByUserSession": [ + { + "groupByVariables": [ + { + "variableName": "ClientAddr" + } + ] + } + ], + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24", + "10.0.0.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": true, + "operator": "IPMatch" + } + ], + "priority": 3, + "rateLimitDuration": "OneMin", + "rateLimitThreshold": 10, + "ruleType": "RateLimitRule" + }, + { + "name": "Rule4", + "action": "JSChallenge", + "matchConditions": [ + { + "matchValues": [ + "192.168.1.0/24" + ], + "matchVariables": [ + { + "selector": null, + "variableName": "RemoteAddr" + } + ], + "negationConditon": false, + "operator": "IPMatch" + }, + { + "matchValues": [ + "Bot" + ], + "matchVariables": [ + { + "selector": "UserAgent", + "variableName": "RequestHeaders" + } + ], + "negationConditon": false, + "operator": "Contains" + } + ], + "priority": 4, + "ruleType": "MatchRule", + "state": "Enabled" + } + ], + "managedRules": { + "exclusions": [ + { + "matchVariable": "RequestHeaderNames", + "selector": "testHeader1", + "selectorMatchOperator": "Equals" + }, + { + "matchVariable": "RequestHeaderNames", + "selector": "testHeader2", + "selectorMatchOperator": "StartsWith" + }, + { + "matchVariable": "RequestArgValues", + "selector": "hello", + "selectorMatchOperator": "StartsWith" + }, + { + "exclusionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-930-APPLICATION-ATTACK-LFI", + "rules": [ + { + "ruleId": "930120" + } + ] + }, + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestArgNames", + "selector": "hello", + "selectorMatchOperator": "StartsWith" + }, + { + "exclusionManagedRuleSets": [ + { + "ruleGroups": [], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.1" + } + ], + "matchVariable": "RequestArgNames", + "selector": "hello", + "selectorMatchOperator": "EndsWith" + } + ], + "managedRuleSets": [ + { + "computedDisabledRules": [ + { + "ruleGroupName": "REQUEST-942-APPLICATION-ATTACK-SQLI", + "rules": [ + "942130", + "942110" + ] + }, + { + "ruleGroupName": "REQUEST-920-PROTOCOL-ENFORCEMENT", + "rules": [ + "920100", + "920120" + ] + }, + { + "ruleGroupName": "General", + "rules": [ + "200003" + ] + } + ], + "ruleGroupOverrides": [ + { + "ruleGroupName": "REQUEST-942-APPLICATION-ATTACK-SQLI", + "rules": [ + { + "action": "AnomalyScoring", + "ruleId": "942130", + "state": "Disabled" + }, + { + "action": "AnomalyScoring", + "ruleId": "942110", + "state": "Disabled" + }, + { + "action": "Log", + "ruleId": "942140", + "state": "Enabled" + } + ] + }, + { + "ruleGroupName": "REQUEST-920-PROTOCOL-ENFORCEMENT", + "rules": [ + { + "action": "AnomalyScoring", + "ruleId": "920100", + "state": "Disabled" + }, + { + "action": "AnomalyScoring", + "ruleId": "920120", + "state": "Disabled" + }, + { + "action": "Block", + "ruleId": "920130", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + }, + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "UnknownBots", + "rules": [ + { + "action": "JSChallenge", + "ruleId": "300700", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + }, + { + "ruleGroupOverrides": [ + { + "ruleGroupName": "ExcessiveRequests", + "rules": [ + { + "action": "Block", + "ruleId": "500100", + "sensitivity": "High", + "state": "Enabled" + } + ] + } + ], + "ruleSetType": "Microsoft_HTTPDDoSRuleSet", + "ruleSetVersion": "1.0" + } + ], + "exceptions": [ + { + "exceptionManagedRuleSets": [ + { + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestURI", + "valueMatchOperator": "Contains", + "values": [ + "health", + "account/images", + "default.aspx" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "REQUEST-932-APPLICATION-ATTACK-RCE" + } + ], + "ruleSetType": "OWASP", + "ruleSetVersion": "3.2" + } + ], + "matchVariable": "RequestHeader", + "selector": "User-Agent", + "selectorMatchOperator": "StartsWith", + "valueMatchOperator": "Contains", + "values": [ + "Mozilla/5.0", + "Chrome/122.0.0.0" + ] + }, + { + "exceptionManagedRuleSets": [ + { + "ruleGroups": [ + { + "ruleGroupName": "BadBots", + "rules": [ + { + "ruleId": "100100" + } + ] + } + ], + "ruleSetType": "Microsoft_BotManagerRuleSet", + "ruleSetVersion": "1.0" + } + ], + "matchVariable": "RemoteAddr", + "valueMatchOperator": "IPMatch", + "values": [ + "1.2.3.4", + "10.0.0.1/6" + ] + } + ] + }, + "policySettings": { + "customBlockResponseBody": "SGVsbG8=", + "customBlockResponseStatusCode": 405, + "fileUploadEnforcement": true, + "fileUploadLimitInMb": 4000, + "jsChallengeCookieExpirationInMins": 100, + "logScrubbing": { + "scrubbingRules": [ + { + "matchVariable": "RequestArgNames", + "selector": "test", + "selectorMatchOperator": "Equals", + "state": "Enabled" + }, + { + "matchVariable": "RequestIPAddress", + "selectorMatchOperator": "EqualsAny", + "state": "Enabled" + } + ], + "state": "Enabled" + }, + "maxRequestBodySizeInKb": 2000, + "mode": "Prevention", + "requestBodyCheck": true, + "requestBodyEnforcement": true, + "requestBodyInspectLimitInKB": 2000, + "state": "Enabled" + }, + "provisioningState": "Succeeded", + "resourceState": "Enabled" + }, + "tags": { + "key1": "value1", + "key2": "value2" + } + } + } + }, + "operationId": "WebApplicationFirewallPolicies_Get", + "title": "Gets a WAF policy within a resource group" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/expressRouteProviderPort.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/expressRouteProviderPort.json new file mode 100644 index 000000000000..eb298594c4fe --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/expressRouteProviderPort.json @@ -0,0 +1,30 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "locationName": "SiliconValley", + "providerport": "abc", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "type": "Microsoft.Network/expressRouteProviderPort", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair1", + "location": "uswest", + "properties": { + "overprovisionFactor": 4, + "peeringLocation": "SiliconValley", + "portBandwidthInMbps": 4000, + "portPairDescriptor": "bvtazureixpportpair1", + "primaryAzurePort": "bvtazureixp01", + "remainingBandwidthInMbps": 1500, + "secondaryAzurePort": "bvtazureixp01", + "usedBandwidthInMbps": 2500 + } + } + } + }, + "operationId": "ExpressRouteProviderPort", + "title": "ExpressRouteProviderPort" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/expressRouteProviderPortList.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/expressRouteProviderPortList.json new file mode 100644 index 000000000000..c75734937897 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/examples/expressRouteProviderPortList.json @@ -0,0 +1,48 @@ +{ + "parameters": { + "api-version": "2025-07-01", + "subscriptionId": "00000000-0000-0000-0000-000000000000" + }, + "responses": { + "200": { + "body": { + "value": [ + { + "type": "Microsoft.Network/expressRouteProviderPort", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair1", + "location": "uswest", + "properties": { + "overprovisionFactor": 4, + "peeringLocation": "SiliconValley", + "portBandwidthInMbps": 4000, + "portPairDescriptor": "bvtazureixpportpair1", + "primaryAzurePort": "bvtazureixp01", + "remainingBandwidthInMbps": 1500, + "secondaryAzurePort": "bvtazureixp01", + "usedBandwidthInMbps": 2500 + } + }, + { + "type": "Microsoft.Network/expressRouteProviderPort", + "etag": "W/\"c0e6477e-8150-4d4f-9bf6-bb10e6acb63a\"", + "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Network/ExpressRoutePortsLocations/SiliconValley/bvtazureixpportpair2", + "location": "uswest", + "properties": { + "overprovisionFactor": 4, + "peeringLocation": "seattle", + "portBandwidthInMbps": 4000, + "portPairDescriptor": "bvtazureixpportpair2", + "primaryAzurePort": "bvtazureixp02", + "remainingBandwidthInMbps": 1800, + "secondaryAzurePort": "bvtazureixp02", + "usedBandwidthInMbps": 1200 + } + } + ] + } + } + }, + "operationId": "ExpressRouteProviderPortsLocation_List", + "title": "ExpressRouteProviderPortList" +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/expressRoute.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/expressRoute.json new file mode 100644 index 000000000000..62a1e78bc5ee --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/expressRoute.json @@ -0,0 +1,7238 @@ +{ + "swagger": "2.0", + "info": { + "title": "WebApplicationFirewallManagement", + "version": "2025-07-01", + "description": "APIs to manage web application firewall rules.", + "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": "ExpressRouteProviderPorts" + }, + { + "name": "ExpressRouteCircuitAuthorizations" + }, + { + "name": "ExpressRouteCircuits" + }, + { + "name": "ExpressRouteCircuitStats" + }, + { + "name": "ExpressRouteCircuitPeerings" + }, + { + "name": "ExpressRouteCircuitArpTable" + }, + { + "name": "ExpressRouteCircuitRoutesTable" + }, + { + "name": "ExpressRouteCircuitRoutesTableSummary" + }, + { + "name": "ExpressRouteCircuitConnections" + }, + { + "name": "PeerExpressRouteCircuitConnections" + }, + { + "name": "ExpressRouteCrossConnections" + }, + { + "name": "ExpressRouteCrossConnectionArpTable" + }, + { + "name": "ExpressRouteCrossConnectionRouteTableSummary" + }, + { + "name": "ExpressRouteCrossConnectionRouteTable" + }, + { + "name": "ExpressRouteCrossConnectionPeerings" + }, + { + "name": "ExpressRoutePortsLocations" + }, + { + "name": "ExpressRoutePorts" + }, + { + "name": "ExpressRouteLinks" + }, + { + "name": "ExpressRoutePortAuthorizations" + }, + { + "name": "RouteFilters" + }, + { + "name": "RouteFilterRules" + }, + { + "name": "ServiceEndpointPolicies" + }, + { + "name": "serviceEndpointPolicyDefinitions" + }, + { + "name": "ServiceEndpointPolicyDefinitions" + }, + { + "name": "ExpressRouteServiceProviders" + }, + { + "name": "BgpServiceCommunities" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePorts": { + "get": { + "operationId": "ExpressRoutePorts_List", + "tags": [ + "ExpressRoutePorts" + ], + "description": "List all the ExpressRoutePort resources in the specified subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRoutePortList": { + "$ref": "./examples/ExpressRoutePortList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations": { + "get": { + "operationId": "ExpressRoutePortsLocations_List", + "tags": [ + "ExpressRoutePortsLocations" + ], + "description": "Retrieves all ExpressRoutePort peering locations. Does not return available bandwidths for each location. Available bandwidths can only be obtained when retrieving a specific peering location.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortsLocationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRoutePortsLocationList": { + "$ref": "./examples/ExpressRoutePortsLocationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ExpressRoutePortsLocations/{locationName}": { + "get": { + "operationId": "ExpressRoutePortsLocations_Get", + "tags": [ + "ExpressRoutePortsLocations" + ], + "description": "Retrieves a single ExpressRoutePort peering location, including the list of available bandwidths available at said peering location.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "locationName", + "in": "path", + "description": "Name of the requested ExpressRoutePort peering location.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortsLocation" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRoutePortsLocationGet": { + "$ref": "./examples/ExpressRoutePortsLocationGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/bgpServiceCommunities": { + "get": { + "operationId": "BgpServiceCommunities_List", + "tags": [ + "BgpServiceCommunities" + ], + "description": "Gets all the available bgp service communities.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/BgpServiceCommunityListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ServiceCommunityList": { + "$ref": "./examples/ServiceCommunityList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCircuits": { + "get": { + "operationId": "ExpressRouteCircuits_ListAll", + "tags": [ + "ExpressRouteCircuits" + ], + "description": "Gets all the express route circuits in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List ExpressRouteCircuits in a subscription": { + "$ref": "./examples/ExpressRouteCircuitListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteCrossConnections": { + "get": { + "operationId": "ExpressRouteCrossConnections_List", + "tags": [ + "ExpressRouteCrossConnections" + ], + "description": "Retrieves all the ExpressRouteCrossConnections in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$filter", + "in": "query", + "description": "The filter to apply on the operation. For example, you can use $filter=name eq '{circuitServiceKey}'.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteCrossConnectionList": { + "$ref": "./examples/ExpressRouteCrossConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { + "get": { + "operationId": "ExpressRouteProviderPortsLocation_List", + "tags": [ + "ExpressRouteProviderPorts" + ], + "description": "Retrieves all the ExpressRouteProviderPorts in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "$filter", + "in": "query", + "description": "The filter to apply on the operation. For example, you can use $filter=location eq '{state}'.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ExpressRouteProviderPortListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteProviderPortList": { + "$ref": "./examples/expressRouteProviderPortList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{providerport}": { + "get": { + "operationId": "ExpressRouteProviderPort", + "tags": [ + "ExpressRouteProviderPorts" + ], + "description": "Retrieves detail of a provider port.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "providerport", + "in": "path", + "description": "The name of the provider port.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteProviderPort" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteProviderPort": { + "$ref": "./examples/expressRouteProviderPort.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteServiceProviders": { + "get": { + "operationId": "ExpressRouteServiceProviders_List", + "tags": [ + "ExpressRouteServiceProviders" + ], + "description": "Gets all the available express route service providers.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ExpressRouteServiceProviderListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List ExpressRoute providers": { + "$ref": "./examples/ExpressRouteProviderList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeFilters": { + "get": { + "operationId": "RouteFilters_List", + "tags": [ + "RouteFilters" + ], + "description": "Gets all route filters in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RouteFilterListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteFilterList": { + "$ref": "./examples/RouteFilterList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/serviceEndpointPolicies": { + "get": { + "operationId": "ServiceEndpointPolicies_List", + "tags": [ + "ServiceEndpointPolicies" + ], + "description": "Gets all the service endpoint policies in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ServiceEndpointPolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts": { + "get": { + "operationId": "ExpressRoutePorts_ListByResourceGroup", + "tags": [ + "ExpressRoutePorts" + ], + "description": "List all the ExpressRoutePort resources in the specified 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" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRoutePortListByResourceGroup": { + "$ref": "./examples/ExpressRoutePortListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}": { + "get": { + "operationId": "ExpressRoutePorts_Get", + "tags": [ + "ExpressRoutePorts" + ], + "description": "Retrieves the requested ExpressRoutePort resource.", + "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": "expressRoutePortName", + "in": "path", + "description": "The name of ExpressRoutePort.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRoutePort" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRoutePortGet": { + "$ref": "./examples/ExpressRoutePortGet.json" + } + } + }, + "put": { + "operationId": "ExpressRoutePorts_CreateOrUpdate", + "tags": [ + "ExpressRoutePorts" + ], + "description": "Creates or updates the specified ExpressRoutePort resource.", + "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": "expressRoutePortName", + "in": "path", + "description": "The name of ExpressRoutePort.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create ExpressRoutePort operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRoutePort" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExpressRoutePort' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRoutePort" + } + }, + "201": { + "description": "Resource 'ExpressRoutePort' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRoutePort" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRoutePortCreate": { + "$ref": "./examples/ExpressRoutePortCreate.json" + }, + "ExpressRoutePortUpdateLink": { + "$ref": "./examples/ExpressRoutePortUpdateLink.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ExpressRoutePort" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ExpressRoutePorts_UpdateTags", + "tags": [ + "ExpressRoutePorts" + ], + "description": "Update ExpressRoutePort tags.", + "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": "expressRoutePortName", + "in": "path", + "description": "The name of ExpressRoutePort.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update ExpressRoutePort resource tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRoutePort" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRoutePortUpdateTags": { + "$ref": "./examples/ExpressRoutePortUpdateTags.json" + } + } + }, + "delete": { + "operationId": "ExpressRoutePorts_Delete", + "tags": [ + "ExpressRoutePorts" + ], + "description": "Deletes the specified ExpressRoutePort resource.", + "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": "expressRoutePortName", + "in": "path", + "description": "The name of ExpressRoutePort.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRoutePortDelete": { + "$ref": "./examples/ExpressRoutePortDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/generateLoa": { + "post": { + "operationId": "ExpressRoutePorts_GenerateLOA", + "tags": [ + "ExpressRoutePorts" + ], + "description": "Generate a letter of authorization for the requested ExpressRoutePort resource.", + "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": "expressRoutePortName", + "in": "path", + "description": "The name of ExpressRoutePort.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "Request parameters supplied to generate a letter of authorization.", + "required": true, + "schema": { + "$ref": "#/definitions/GenerateExpressRoutePortsLOARequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GenerateExpressRoutePortsLOAResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GenerateExpressRoutePortLOA": { + "$ref": "./examples/GenerateExpressRoutePortsLOA.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links": { + "get": { + "operationId": "ExpressRouteLinks_List", + "tags": [ + "ExpressRouteLinks" + ], + "description": "Retrieve the ExpressRouteLink sub-resources of the specified ExpressRoutePort resource.", + "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": "expressRoutePortName", + "in": "path", + "description": "The name of ExpressRoutePort.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteLinkListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteLinkGet": { + "$ref": "./examples/ExpressRouteLinkList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ExpressRoutePorts/{expressRoutePortName}/links/{linkName}": { + "get": { + "operationId": "ExpressRouteLinks_Get", + "tags": [ + "ExpressRouteLinks" + ], + "description": "Retrieves the specified ExpressRouteLink resource.", + "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": "expressRoutePortName", + "in": "path", + "description": "The name of the express route port.", + "required": true, + "type": "string" + }, + { + "name": "linkName", + "in": "path", + "description": "The name of the express route link.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteLink" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteLinkGet": { + "$ref": "./examples/ExpressRouteLinkGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits": { + "get": { + "operationId": "ExpressRouteCircuits_List", + "tags": [ + "ExpressRouteCircuits" + ], + "description": "Gets all the express route circuits in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List ExpressRouteCircuits in a resource group": { + "$ref": "./examples/ExpressRouteCircuitListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}": { + "get": { + "operationId": "ExpressRouteCircuits_Get", + "tags": [ + "ExpressRouteCircuits" + ], + "description": "Gets information about the specified express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuit" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitGet.json" + } + } + }, + "put": { + "operationId": "ExpressRouteCircuits_CreateOrUpdate", + "tags": [ + "ExpressRouteCircuits" + ], + "description": "Creates or updates an express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update express route circuit operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteCircuit" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExpressRouteCircuit' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuit" + } + }, + "201": { + "description": "Resource 'ExpressRouteCircuit' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuit" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitCreate.json" + }, + "Create ExpressRouteCircuit on ExpressRoutePort": { + "$ref": "./examples/ExpressRouteCircuitCreateOnExpressRoutePort.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ExpressRouteCircuit" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ExpressRouteCircuits_UpdateTags", + "tags": [ + "ExpressRouteCircuits" + ], + "description": "Updates an express route circuit tags.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update express route circuit tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuit" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update Express Route Circuit Tags": { + "$ref": "./examples/ExpressRouteCircuitUpdateTags.json" + } + } + }, + "delete": { + "operationId": "ExpressRouteCircuits_Delete", + "tags": [ + "ExpressRouteCircuits" + ], + "description": "Deletes the specified express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations": { + "get": { + "operationId": "ExpressRouteCircuitAuthorizations_List", + "tags": [ + "ExpressRouteCircuitAuthorizations" + ], + "description": "Gets all authorizations in an express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AuthorizationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/authorizations/{authorizationName}": { + "get": { + "operationId": "ExpressRouteCircuitAuthorizations_Get", + "tags": [ + "ExpressRouteCircuitAuthorizations" + ], + "description": "Gets the specified authorization from the specified express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "authorizationName", + "in": "path", + "description": "The name of the authorization.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationGet.json" + } + } + }, + "put": { + "operationId": "ExpressRouteCircuitAuthorizations_CreateOrUpdate", + "tags": [ + "ExpressRouteCircuitAuthorizations" + ], + "description": "Creates or updates an authorization in the specified express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "authorizationName", + "in": "path", + "description": "The name of the authorization.", + "required": true, + "type": "string" + }, + { + "name": "authorizationParameters", + "in": "body", + "description": "Parameters supplied to the create or update express route circuit authorization operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExpressRouteCircuitAuthorization' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + } + }, + "201": { + "description": "Resource 'ExpressRouteCircuitAuthorization' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ExpressRouteCircuitAuthorization" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExpressRouteCircuitAuthorizations_Delete", + "tags": [ + "ExpressRouteCircuitAuthorizations" + ], + "description": "Deletes the specified authorization from the specified express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "authorizationName", + "in": "path", + "description": "The name of the authorization.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete ExpressRouteCircuit Authorization": { + "$ref": "./examples/ExpressRouteCircuitAuthorizationDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/getCircuitLinkFailoverAllTestsDetails": { + "post": { + "operationId": "ExpressRouteCircuits_GetCircuitLinkFailoverAllTestsDetails", + "tags": [ + "ExpressRouteCircuits" + ], + "description": "Retrieves the details of all the link failover tests performed on the express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "failoverTestType", + "in": "query", + "description": "The type of failover test.", + "required": false, + "type": "string" + }, + { + "name": "fetchLatest", + "in": "query", + "description": "Fetch only the latest tests.", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteLinkFailoverAllTestsDetails" + } + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteCircuitGetCircuitLinkFailoverAllTestsDetails": { + "$ref": "./examples/ExpressRouteCircuitGetCircuitLinkFailoverAllTestsDetails.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ExpressRouteLinkFailoverAllTestsDetailsArray" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/getCircuitLinkFailoverSingleTestDetails": { + "post": { + "operationId": "ExpressRouteCircuits_GetCircuitLinkFailoverSingleTestDetails", + "tags": [ + "ExpressRouteCircuits" + ], + "description": "Retrieves the details of a particular link failover test performed on the express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "linkType", + "in": "query", + "description": "The link type.", + "required": true, + "type": "string" + }, + { + "name": "circuitTestCategory", + "in": "query", + "description": "The circuit test category.", + "required": true, + "type": "string" + }, + { + "name": "failoverTestId", + "in": "query", + "description": "The unique Guid value which identifies the test.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteLinkFailoverSingleTestDetails" + } + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteCircuitGetCircuitLinkFailoverSingleTestDetails": { + "$ref": "./examples/ExpressRouteCircuitGetCircuitLinkFailoverSingleTestDetails.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ExpressRouteLinkFailoverSingleTestDetailsArray" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings": { + "get": { + "operationId": "ExpressRouteCircuitPeerings_List", + "tags": [ + "ExpressRouteCircuitPeerings" + ], + "description": "Gets all peerings in a specified express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitPeeringListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List ExpressRouteCircuit Peerings": { + "$ref": "./examples/ExpressRouteCircuitPeeringList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}": { + "get": { + "operationId": "ExpressRouteCircuitPeerings_Get", + "tags": [ + "ExpressRouteCircuitPeerings" + ], + "description": "Gets the specified peering for the express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get ExpressRouteCircuit Peering": { + "$ref": "./examples/ExpressRouteCircuitPeeringGet.json" + } + } + }, + "put": { + "operationId": "ExpressRouteCircuitPeerings_CreateOrUpdate", + "tags": [ + "ExpressRouteCircuitPeerings" + ], + "description": "Creates or updates a peering in the specified express route circuits.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "name": "peeringParameters", + "in": "body", + "description": "Parameters supplied to the create or update express route circuit peering operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExpressRouteCircuitPeering' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + } + }, + "201": { + "description": "Resource 'ExpressRouteCircuitPeering' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create ExpressRouteCircuit Peerings": { + "$ref": "./examples/ExpressRouteCircuitPeeringCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ExpressRouteCircuitPeering" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExpressRouteCircuitPeerings_Delete", + "tags": [ + "ExpressRouteCircuitPeerings" + ], + "description": "Deletes the specified peering from the specified express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete ExpressRouteCircuit Peerings": { + "$ref": "./examples/ExpressRouteCircuitPeeringDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/arpTables/{devicePath}": { + "post": { + "operationId": "ExpressRouteCircuits_ListArpTable", + "tags": [ + "ExpressRouteCircuitArpTable" + ], + "description": "Gets the currently advertised ARP table associated with the express route circuit in 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": "circuitName", + "in": "path", + "description": "The name of the express route port.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "name": "devicePath", + "in": "path", + "description": "The name of the arpTables.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitsArpTableListResult" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List ARP Table": { + "$ref": "./examples/ExpressRouteCircuitARPTableList.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ExpressRouteCircuitsArpTableListResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections": { + "get": { + "operationId": "ExpressRouteCircuitConnections_List", + "tags": [ + "ExpressRouteCircuitConnections" + ], + "description": "Gets all global reach connections associated with a private peering in an express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List ExpressRouteCircuit Connection": { + "$ref": "./examples/ExpressRouteCircuitConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/connections/{connectionName}": { + "get": { + "operationId": "ExpressRouteCircuitConnections_Get", + "tags": [ + "ExpressRouteCircuitConnections" + ], + "description": "Gets the specified Express Route Circuit Connection from the specified express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the express route circuit connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteCircuitConnectionGet": { + "$ref": "./examples/ExpressRouteCircuitConnectionGet.json" + } + } + }, + "put": { + "operationId": "ExpressRouteCircuitConnections_CreateOrUpdate", + "tags": [ + "ExpressRouteCircuitConnections" + ], + "description": "Creates or updates a Express Route Circuit Connection in the specified express route circuits.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the express route circuit connection.", + "required": true, + "type": "string" + }, + { + "name": "expressRouteCircuitConnectionParameters", + "in": "body", + "description": "Parameters supplied to the create or update express route circuit connection operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExpressRouteCircuitConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitConnection" + } + }, + "201": { + "description": "Resource 'ExpressRouteCircuitConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteCircuitConnectionCreate": { + "$ref": "./examples/ExpressRouteCircuitConnectionCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ExpressRouteCircuitConnection" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExpressRouteCircuitConnections_Delete", + "tags": [ + "ExpressRouteCircuitConnections" + ], + "description": "Deletes the specified Express Route Circuit Connection from the specified express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the express route circuit connection.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete ExpressRouteCircuit": { + "$ref": "./examples/ExpressRouteCircuitConnectionDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections": { + "get": { + "operationId": "PeerExpressRouteCircuitConnections_List", + "tags": [ + "PeerExpressRouteCircuitConnections" + ], + "description": "Gets all global reach peer connections associated with a private peering in an express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PeerExpressRouteCircuitConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List Peer ExpressRouteCircuit Connection": { + "$ref": "./examples/PeerExpressRouteCircuitConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/peerConnections/{connectionName}": { + "get": { + "operationId": "PeerExpressRouteCircuitConnections_Get", + "tags": [ + "PeerExpressRouteCircuitConnections" + ], + "description": "Gets the specified Peer Express Route Circuit Connection from the specified express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PeerExpressRouteCircuitConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "PeerExpressRouteCircuitConnectionGet": { + "$ref": "./examples/PeerExpressRouteCircuitConnectionGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTables/{devicePath}": { + "post": { + "operationId": "ExpressRouteCircuits_ListRoutesTable", + "tags": [ + "ExpressRouteCircuitRoutesTable" + ], + "description": "Gets the currently advertised routes table associated with the express route circuit in 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": "circuitName", + "in": "path", + "description": "The name of the express route port.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "name": "devicePath", + "in": "path", + "description": "The name of the routeTables.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitsRoutesTableListResult" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List Route Tables": { + "$ref": "./examples/ExpressRouteCircuitRouteTableList.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ExpressRouteCircuitsRoutesTableListResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/routeTablesSummary/{devicePath}": { + "post": { + "operationId": "ExpressRouteCircuits_ListRoutesTableSummary", + "tags": [ + "ExpressRouteCircuitRoutesTableSummary" + ], + "description": "Gets the currently advertised routes table summary associated with the express route circuit in 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": "circuitName", + "in": "path", + "description": "The name of the express route port.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "name": "devicePath", + "in": "path", + "description": "The name of the routeTablesSummary.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List Route Table Summary": { + "$ref": "./examples/ExpressRouteCircuitRouteTableSummaryList.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ExpressRouteCircuitsRoutesTableSummaryListResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/peerings/{peeringName}/stats": { + "get": { + "operationId": "ExpressRouteCircuits_GetPeeringStats", + "tags": [ + "ExpressRouteCircuitStats" + ], + "description": "Gets all stats from an express route circuit in 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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitStats" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get ExpressRoute Circuit Peering Traffic Stats": { + "$ref": "./examples/ExpressRouteCircuitPeeringStats.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/startCircuitLinkFailoverTest": { + "post": { + "operationId": "ExpressRouteCircuits_StartCircuitLinkFailoverTest", + "tags": [ + "ExpressRouteCircuits" + ], + "description": "Starts link failover simulation on the express route circuit for the specified link type and test category.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "linkType", + "in": "query", + "description": "The link type.", + "required": true, + "type": "string" + }, + { + "name": "circuitTestCategory", + "in": "query", + "description": "The circuit test category.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteCircuitStartCircuitLinkFailoverTest": { + "$ref": "./examples/ExpressRouteCircuitStartCircuitLinkFailoverTest.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stats": { + "get": { + "operationId": "ExpressRouteCircuits_GetStats", + "tags": [ + "ExpressRouteCircuitStats" + ], + "description": "Gets all the stats from an express route circuit in 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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitStats" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get ExpressRoute Circuit Traffic Stats": { + "$ref": "./examples/ExpressRouteCircuitStats.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCircuits/{circuitName}/stopCircuitLinkFailoverTest": { + "post": { + "operationId": "ExpressRouteCircuits_StopCircuitLinkFailoverTest", + "tags": [ + "ExpressRouteCircuits" + ], + "description": "Stops link failover simulation on the express route circuit.", + "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": "circuitName", + "in": "path", + "description": "The name of express route circuit.", + "required": true, + "type": "string" + }, + { + "name": "stopParameters", + "in": "body", + "description": "Parameters supplied to stop the link failover simulation on the express route circuit.", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteLinkFailoverStopApiParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteCircuitStopCircuitLinkFailoverTest": { + "$ref": "./examples/ExpressRouteCircuitStopCircuitLinkFailoverTest.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections": { + "get": { + "operationId": "ExpressRouteCrossConnections_ListByResourceGroup", + "tags": [ + "ExpressRouteCrossConnections" + ], + "description": "Retrieves all the ExpressRouteCrossConnections in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteCrossConnectionListByResourceGroup": { + "$ref": "./examples/ExpressRouteCrossConnectionListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}": { + "get": { + "operationId": "ExpressRouteCrossConnections_Get", + "tags": [ + "ExpressRouteCrossConnections" + ], + "description": "Gets details about the specified ExpressRouteCrossConnection.", + "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": "crossConnectionName", + "in": "path", + "description": "The name of the ExpressRouteCrossConnection (service key of the circuit).", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetExpressRouteCrossConnection": { + "$ref": "./examples/ExpressRouteCrossConnectionGet.json" + } + } + }, + "put": { + "operationId": "ExpressRouteCrossConnections_CreateOrUpdate", + "tags": [ + "ExpressRouteCrossConnections" + ], + "description": "Update the specified ExpressRouteCrossConnection.", + "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": "crossConnectionName", + "in": "path", + "description": "The name of the ExpressRouteCrossConnection (service key of the circuit).", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the update express route crossConnection operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnection" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "UpdateExpressRouteCrossConnection": { + "$ref": "./examples/ExpressRouteCrossConnectionUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ExpressRouteCrossConnection" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ExpressRouteCrossConnections_UpdateTags", + "tags": [ + "ExpressRouteCrossConnections" + ], + "description": "Updates an express route cross connection tags.", + "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": "crossConnectionName", + "in": "path", + "description": "The name of the ExpressRouteCrossConnection (service key of the circuit).", + "required": true, + "type": "string" + }, + { + "name": "crossConnectionParameters", + "in": "body", + "description": "Parameters supplied to update express route cross connection tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "UpdateExpressRouteCrossConnectionTags": { + "$ref": "./examples/ExpressRouteCrossConnectionUpdateTags.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings": { + "get": { + "operationId": "ExpressRouteCrossConnectionPeerings_List", + "tags": [ + "ExpressRouteCrossConnectionPeerings" + ], + "description": "Gets all peerings in a specified ExpressRouteCrossConnection.", + "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": "crossConnectionName", + "in": "path", + "description": "The name of the ExpressRouteCrossConnection (service key of the circuit).", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnectionPeeringList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteCrossConnectionBgpPeeringList": { + "$ref": "./examples/ExpressRouteCrossConnectionBgpPeeringList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}": { + "get": { + "operationId": "ExpressRouteCrossConnectionPeerings_Get", + "tags": [ + "ExpressRouteCrossConnectionPeerings" + ], + "description": "Gets the specified peering for the ExpressRouteCrossConnection.", + "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": "crossConnectionName", + "in": "path", + "description": "Name for the express route cross connection.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnectionPeering" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetExpressRouteCrossConnectionBgpPeering": { + "$ref": "./examples/ExpressRouteCrossConnectionBgpPeeringGet.json" + } + } + }, + "put": { + "operationId": "ExpressRouteCrossConnectionPeerings_CreateOrUpdate", + "tags": [ + "ExpressRouteCrossConnectionPeerings" + ], + "description": "Creates or updates a peering in the specified ExpressRouteCrossConnection.", + "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": "crossConnectionName", + "in": "path", + "description": "Name for the express route cross connection.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "name": "peeringParameters", + "in": "body", + "description": "Parameters supplied to the create or update ExpressRouteCrossConnection peering operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnectionPeering" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnectionPeering" + } + }, + "201": { + "description": "Resource 'ExpressRouteCrossConnectionPeering' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnectionPeering" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteCrossConnectionBgpPeeringCreate": { + "$ref": "./examples/ExpressRouteCrossConnectionBgpPeeringCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ExpressRouteCrossConnectionPeering" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExpressRouteCrossConnectionPeerings_Delete", + "tags": [ + "ExpressRouteCrossConnectionPeerings" + ], + "description": "Deletes the specified peering from the ExpressRouteCrossConnection.", + "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": "crossConnectionName", + "in": "path", + "description": "Name for the express route cross connection.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "DeleteExpressRouteCrossConnectionBgpPeering": { + "$ref": "./examples/ExpressRouteCrossConnectionBgpPeeringDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/arpTables/{devicePath}": { + "post": { + "operationId": "ExpressRouteCrossConnections_ListArpTable", + "tags": [ + "ExpressRouteCrossConnectionArpTable" + ], + "description": "Gets the currently advertised ARP table associated with the express route cross connection in 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": "crossConnectionName", + "in": "path", + "description": "The name of the ExpressRouteCrossConnection (service key of the circuit).", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "name": "devicePath", + "in": "path", + "description": "The path of the device.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitsArpTableListResult" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetExpressRouteCrossConnectionsArpTable": { + "$ref": "./examples/ExpressRouteCrossConnectionsArpTable.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ExpressRouteCircuitsArpTableListResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTables/{devicePath}": { + "post": { + "operationId": "ExpressRouteCrossConnections_ListRoutesTable", + "tags": [ + "ExpressRouteCrossConnectionRouteTable" + ], + "description": "Gets the currently advertised routes table associated with the express route cross connection in 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": "crossConnectionName", + "in": "path", + "description": "The name of the ExpressRouteCrossConnection (service key of the circuit).", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "name": "devicePath", + "in": "path", + "description": "The path of the device.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCircuitsRoutesTableListResult" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetExpressRouteCrossConnectionsRouteTable": { + "$ref": "./examples/ExpressRouteCrossConnectionsRouteTable.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ExpressRouteCircuitsRoutesTableListResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteCrossConnections/{crossConnectionName}/peerings/{peeringName}/routeTablesSummary/{devicePath}": { + "post": { + "operationId": "ExpressRouteCrossConnections_ListRoutesTableSummary", + "tags": [ + "ExpressRouteCrossConnectionRouteTableSummary" + ], + "description": "Gets the route table summary associated with the express route cross connection in 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": "crossConnectionName", + "in": "path", + "description": "The name of the ExpressRouteCrossConnection (service key of the circuit).", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the peering.", + "required": true, + "type": "string" + }, + { + "name": "devicePath", + "in": "path", + "description": "The path of the device.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteCrossConnectionsRoutesTableSummaryListResult" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetExpressRouteCrossConnectionsRouteTableSummary": { + "$ref": "./examples/ExpressRouteCrossConnectionsRouteTableSummary.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ExpressRouteCrossConnectionsRoutesTableSummaryListResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations": { + "get": { + "operationId": "ExpressRoutePortAuthorizations_List", + "tags": [ + "ExpressRoutePortAuthorizations" + ], + "description": "Gets all authorizations in an express route port.", + "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": "expressRoutePortName", + "in": "path", + "description": "The name of the express route port.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortAuthorizationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List ExpressRoutePort Authorization": { + "$ref": "./examples/ExpressRoutePortAuthorizationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRoutePorts/{expressRoutePortName}/authorizations/{authorizationName}": { + "get": { + "operationId": "ExpressRoutePortAuthorizations_Get", + "tags": [ + "ExpressRoutePortAuthorizations" + ], + "description": "Gets the specified authorization from the specified express route port.", + "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": "expressRoutePortName", + "in": "path", + "description": "The name of the express route port.", + "required": true, + "type": "string" + }, + { + "name": "authorizationName", + "in": "path", + "description": "The name of the authorization.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRoutePortAuthorization" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get ExpressRoutePort Authorization": { + "$ref": "./examples/ExpressRoutePortAuthorizationGet.json" + } + } + }, + "put": { + "operationId": "ExpressRoutePortAuthorizations_CreateOrUpdate", + "tags": [ + "ExpressRoutePortAuthorizations" + ], + "description": "Creates or updates an authorization in the specified express route port.", + "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": "expressRoutePortName", + "in": "path", + "description": "The name of the express route port.", + "required": true, + "type": "string" + }, + { + "name": "authorizationName", + "in": "path", + "description": "The name of the authorization.", + "required": true, + "type": "string" + }, + { + "name": "authorizationParameters", + "in": "body", + "description": "Parameters supplied to the create or update express route port authorization operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRoutePortAuthorization" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExpressRoutePortAuthorization' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRoutePortAuthorization" + } + }, + "201": { + "description": "Resource 'ExpressRoutePortAuthorization' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRoutePortAuthorization" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create ExpressRoutePort Authorization": { + "$ref": "./examples/ExpressRoutePortAuthorizationCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ExpressRoutePortAuthorization" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExpressRoutePortAuthorizations_Delete", + "tags": [ + "ExpressRoutePortAuthorizations" + ], + "description": "Deletes the specified authorization from the specified express route port.", + "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": "expressRoutePortName", + "in": "path", + "description": "The name of the express route port.", + "required": true, + "type": "string" + }, + { + "name": "authorizationName", + "in": "path", + "description": "The name of the authorization.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete ExpressRoutePort Authorization": { + "$ref": "./examples/ExpressRoutePortAuthorizationDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters": { + "get": { + "operationId": "RouteFilters_ListByResourceGroup", + "tags": [ + "RouteFilters" + ], + "description": "Gets all route filters in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RouteFilterListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteFilterListByResourceGroup": { + "$ref": "./examples/RouteFilterListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}": { + "get": { + "operationId": "RouteFilters_Get", + "tags": [ + "RouteFilters" + ], + "description": "Gets the specified route filter.", + "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": "routeFilterName", + "in": "path", + "description": "The name of the route filter.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced express route bgp peering resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RouteFilter" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteFilterGet": { + "$ref": "./examples/RouteFilterGet.json" + } + } + }, + "put": { + "operationId": "RouteFilters_CreateOrUpdate", + "tags": [ + "RouteFilters" + ], + "description": "Creates or updates a route filter in a specified 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": "routeFilterName", + "in": "path", + "description": "The name of the route filter.", + "required": true, + "type": "string" + }, + { + "name": "routeFilterParameters", + "in": "body", + "description": "Parameters supplied to the create or update route filter operation.", + "required": true, + "schema": { + "$ref": "#/definitions/RouteFilter" + } + } + ], + "responses": { + "200": { + "description": "Resource 'RouteFilter' update operation succeeded", + "schema": { + "$ref": "#/definitions/RouteFilter" + } + }, + "201": { + "description": "Resource 'RouteFilter' create operation succeeded", + "schema": { + "$ref": "#/definitions/RouteFilter" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteFilterCreate": { + "$ref": "./examples/RouteFilterCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/RouteFilter" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "RouteFilters_UpdateTags", + "tags": [ + "RouteFilters" + ], + "description": "Updates tags of a route filter.", + "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": "routeFilterName", + "in": "path", + "description": "The name of the route filter.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update route filter tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RouteFilter" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update route filter tags": { + "$ref": "./examples/RouteFilterUpdateTags.json" + } + } + }, + "delete": { + "operationId": "RouteFilters_Delete", + "tags": [ + "RouteFilters" + ], + "description": "Deletes the specified route filter.", + "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": "routeFilterName", + "in": "path", + "description": "The name of the route filter.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteFilterDelete": { + "$ref": "./examples/RouteFilterDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules": { + "get": { + "operationId": "RouteFilterRules_ListByRouteFilter", + "tags": [ + "RouteFilterRules" + ], + "description": "Gets all RouteFilterRules in a route filter.", + "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": "routeFilterName", + "in": "path", + "description": "The name of the route filter.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RouteFilterRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteFilterRuleListByRouteFilter": { + "$ref": "./examples/RouteFilterRuleListByRouteFilter.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeFilters/{routeFilterName}/routeFilterRules/{ruleName}": { + "get": { + "operationId": "RouteFilterRules_Get", + "tags": [ + "RouteFilterRules" + ], + "description": "Gets the specified rule from a route filter.", + "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": "routeFilterName", + "in": "path", + "description": "The name of the route filter.", + "required": true, + "type": "string" + }, + { + "name": "ruleName", + "in": "path", + "description": "The name of the route filter rule.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RouteFilterRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteFilterRuleGet": { + "$ref": "./examples/RouteFilterRuleGet.json" + } + } + }, + "put": { + "operationId": "RouteFilterRules_CreateOrUpdate", + "tags": [ + "RouteFilterRules" + ], + "description": "Creates or updates a route in the specified route filter.", + "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": "routeFilterName", + "in": "path", + "description": "The name of the route filter.", + "required": true, + "type": "string" + }, + { + "name": "ruleName", + "in": "path", + "description": "The name of the route filter rule.", + "required": true, + "type": "string" + }, + { + "name": "routeFilterRuleParameters", + "in": "body", + "description": "Parameters supplied to the create or update route filter rule operation.", + "required": true, + "schema": { + "$ref": "#/definitions/RouteFilterRule" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RouteFilterRule" + } + }, + "201": { + "description": "Resource 'RouteFilterRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/RouteFilterRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteFilterRuleCreate": { + "$ref": "./examples/RouteFilterRuleCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/RouteFilterRule" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "RouteFilterRules_Delete", + "tags": [ + "RouteFilterRules" + ], + "description": "Deletes the specified rule from a route filter.", + "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": "routeFilterName", + "in": "path", + "description": "The name of the route filter.", + "required": true, + "type": "string" + }, + { + "name": "ruleName", + "in": "path", + "description": "The name of the route filter rule.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "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": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteFilterRuleDelete": { + "$ref": "./examples/RouteFilterRuleDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies": { + "get": { + "operationId": "ServiceEndpointPolicies_ListByResourceGroup", + "tags": [ + "ServiceEndpointPolicies" + ], + "description": "Gets all service endpoint Policies in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ServiceEndpointPolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List resource group service endpoint policies": { + "$ref": "./examples/ServiceEndpointPolicyList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}": { + "get": { + "operationId": "ServiceEndpointPolicies_Get", + "tags": [ + "ServiceEndpointPolicies" + ], + "description": "Gets the specified service Endpoint Policies in a specified 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": "serviceEndpointPolicyName", + "in": "path", + "description": "The name of the service endpoint policy.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.ServiceEndpointPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get service endPoint Policy": { + "$ref": "./examples/ServiceEndpointPolicyGet.json" + } + } + }, + "put": { + "operationId": "ServiceEndpointPolicies_CreateOrUpdate", + "tags": [ + "ServiceEndpointPolicies" + ], + "description": "Creates or updates a service Endpoint Policies.", + "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": "serviceEndpointPolicyName", + "in": "path", + "description": "The name of the service endpoint policy.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update service endpoint policy operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.ServiceEndpointPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ServiceEndpointPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.ServiceEndpointPolicy" + } + }, + "201": { + "description": "Resource 'ServiceEndpointPolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.ServiceEndpointPolicy" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyCreate.json" + }, + "Create service endpoint policy with definition": { + "$ref": "./examples/ServiceEndpointPolicyCreateWithDefinition.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.ServiceEndpointPolicy" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ServiceEndpointPolicies_UpdateTags", + "tags": [ + "ServiceEndpointPolicies" + ], + "description": "Updates tags of a service endpoint 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": "serviceEndpointPolicyName", + "in": "path", + "description": "The name of the service endpoint policy.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update service endpoint policy tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.ServiceEndpointPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update service endpoint policy tags": { + "$ref": "./examples/ServiceEndpointPolicyUpdateTags.json" + } + } + }, + "delete": { + "operationId": "ServiceEndpointPolicies_Delete", + "tags": [ + "ServiceEndpointPolicies" + ], + "description": "Deletes the specified service endpoint 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": "serviceEndpointPolicyName", + "in": "path", + "description": "The name of the service endpoint policy.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions": { + "get": { + "operationId": "ServiceEndpointPolicyDefinitions_ListByResourceGroup", + "tags": [ + "ServiceEndpointPolicyDefinitions" + ], + "description": "Gets all service endpoint policy definitions in a service end point 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": "serviceEndpointPolicyName", + "in": "path", + "description": "The name of the service endpoint policy.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ServiceEndpointPolicyDefinitionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List service endpoint definitions in service end point policy": { + "$ref": "./examples/ServiceEndpointPolicyDefinitionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceEndpointPolicies/{serviceEndpointPolicyName}/serviceEndpointPolicyDefinitions/{serviceEndpointPolicyDefinitionName}": { + "get": { + "operationId": "ServiceEndpointPolicyDefinitions_Get", + "tags": [ + "serviceEndpointPolicyDefinitions" + ], + "description": "Get a ServiceEndpointPolicyDefinition", + "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": "serviceEndpointPolicyName", + "in": "path", + "description": "The name of the service endpoint policy.", + "required": true, + "type": "string" + }, + { + "name": "serviceEndpointPolicyDefinitionName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.ServiceEndpointPolicyDefinition" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get service endpoint definition in service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyDefinitionGet.json" + } + } + }, + "put": { + "operationId": "ServiceEndpointPolicyDefinitions_CreateOrUpdate", + "tags": [ + "serviceEndpointPolicyDefinitions" + ], + "description": "Creates or updates a service endpoint policy definition in the specified service endpoint 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": "serviceEndpointPolicyName", + "in": "path", + "description": "The name of the service endpoint policy.", + "required": true, + "type": "string" + }, + { + "name": "serviceEndpointPolicyDefinitionName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "ServiceEndpointPolicyDefinitions", + "in": "body", + "description": "Parameters supplied to the create or update service endpoint policy operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.ServiceEndpointPolicyDefinition" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ServiceEndpointPolicyDefinition' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.ServiceEndpointPolicyDefinition" + } + }, + "201": { + "description": "Resource 'ServiceEndpointPolicyDefinition' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.ServiceEndpointPolicyDefinition" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create service endpoint policy definition": { + "$ref": "./examples/ServiceEndpointPolicyDefinitionCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.ServiceEndpointPolicyDefinition" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ServiceEndpointPolicyDefinitions_Delete", + "tags": [ + "ServiceEndpointPolicyDefinitions" + ], + "description": "Deletes the specified ServiceEndpoint policy definitions.", + "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": "serviceEndpointPolicyName", + "in": "path", + "description": "The name of the service endpoint policy.", + "required": true, + "type": "string" + }, + { + "name": "serviceEndpointPolicyDefinitionName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete service endpoint policy definitions from service endpoint policy": { + "$ref": "./examples/ServiceEndpointPolicyDefinitionDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "AdvertisedPublicPrefixProperties": { + "type": "object", + "description": "Prefix properties required to perform validation using openssl signature.", + "properties": { + "prefix": { + "type": "string", + "description": "Advertised Public Prefix." + }, + "validationId": { + "type": "string", + "description": "Validation string that contains circuit peering info." + }, + "signature": { + "type": "string", + "description": "Signed string generated by encrypting validationId with a private key." + }, + "validationState": { + "$ref": "./common.json#/definitions/AdvertisedPublicPrefixPropertiesValidationState", + "description": "Advertised Public Prefix State that denotes if the prefix is validated or not.", + "readOnly": true + } + } + }, + "AuthorizationListResult": { + "type": "object", + "description": "Paged collection of ExpressRouteCircuitAuthorization items", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRouteCircuitAuthorization items on this page", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AuthorizationPropertiesFormat": { + "type": "object", + "description": "Properties of ExpressRouteCircuitAuthorization.", + "properties": { + "authorizationKey": { + "type": "string", + "description": "The authorization key." + }, + "authorizationUseStatus": { + "$ref": "./common.json#/definitions/AuthorizationUseStatus", + "description": "The authorization use status." + }, + "connectionResourceUri": { + "type": "string", + "description": "The reference to the ExpressRoute connection resource using the authorization.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the authorization resource.", + "readOnly": true + } + } + }, + "BGPCommunity": { + "type": "object", + "description": "Contains bgp community information offered in Service Community resources.", + "properties": { + "serviceSupportedRegion": { + "type": "string", + "description": "The region which the service support. e.g. For O365, region is Global." + }, + "communityName": { + "type": "string", + "description": "The name of the bgp community. e.g. Skype." + }, + "communityValue": { + "type": "string", + "description": "The value of the bgp community. For more information: https://docs.microsoft.com/en-us/azure/expressroute/expressroute-routing." + }, + "communityPrefixes": { + "type": "array", + "description": "The prefixes that the bgp community contains.", + "items": { + "type": "string" + } + }, + "isAuthorizedToUse": { + "type": "boolean", + "description": "Customer is authorized to use bgp community or not." + }, + "serviceGroup": { + "type": "string", + "description": "The service group of the bgp community contains." + } + } + }, + "BgpServiceCommunity": { + "type": "object", + "description": "Service Community Properties.", + "properties": { + "properties": { + "$ref": "#/definitions/BgpServiceCommunityPropertiesFormat", + "description": "Properties of the BGP service community.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "BgpServiceCommunityListResult": { + "type": "object", + "description": "The response of a BgpServiceCommunity list operation.", + "properties": { + "value": { + "type": "array", + "description": "The BgpServiceCommunity items on this page", + "items": { + "$ref": "#/definitions/BgpServiceCommunity" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BgpServiceCommunityPropertiesFormat": { + "type": "object", + "description": "Properties of Service Community.", + "properties": { + "serviceName": { + "type": "string", + "description": "The name of the bgp community. e.g. Skype." + }, + "bgpCommunities": { + "type": "array", + "description": "A list of bgp communities.", + "items": { + "$ref": "#/definitions/BGPCommunity" + } + } + } + }, + "Common.ServiceEndpointPolicy": { + "type": "object", + "description": "Service End point policy resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.ServiceEndpointPolicyPropertiesFormat", + "description": "Properties of the service end point policy.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "kind": { + "type": "string", + "description": "Kind of service endpoint policy. This is metadata used for the Azure portal experience.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "Common.ServiceEndpointPolicyDefinition": { + "type": "object", + "description": "Service Endpoint policy definitions.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.ServiceEndpointPolicyDefinitionPropertiesFormat", + "description": "Properties of the service endpoint policy definition.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "Common.ServiceEndpointPolicyDefinitionPropertiesFormat": { + "type": "object", + "description": "Service Endpoint policy definition resource.", + "properties": { + "description": { + "type": "string", + "description": "A description for this rule. Restricted to 140 chars." + }, + "service": { + "type": "string", + "description": "Service endpoint name." + }, + "serviceResources": { + "type": "array", + "description": "A list of service resources.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the service endpoint policy definition resource.", + "readOnly": true + } + } + }, + "Common.ServiceEndpointPolicyPropertiesFormat": { + "type": "object", + "description": "Service Endpoint Policy resource.", + "properties": { + "serviceEndpointPolicyDefinitions": { + "type": "array", + "description": "A collection of service endpoint policy definitions of the service endpoint policy.", + "items": { + "$ref": "#/definitions/Common.ServiceEndpointPolicyDefinition" + } + }, + "subnets": { + "type": "array", + "description": "A collection of references to subnets.", + "items": { + "$ref": "./virtualNetwork.json#/definitions/Common.Subnet" + }, + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the service endpoint policy resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the service endpoint policy resource.", + "readOnly": true + }, + "serviceAlias": { + "type": "string", + "description": "The alias indicating if the policy belongs to a service" + }, + "contextualServiceEndpointPolicies": { + "type": "array", + "description": "A collection of contextual service endpoint policy.", + "items": { + "type": "string" + } + } + } + }, + "ExpressRouteCircuit": { + "type": "object", + "description": "ExpressRouteCircuit resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ExpressRouteCircuitPropertiesFormat", + "description": "Properties of the express route circuit.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "sku": { + "$ref": "#/definitions/ExpressRouteCircuitSku", + "description": "The SKU." + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "ExpressRouteCircuitArpTable": { + "type": "object", + "description": "The ARP table associated with the ExpressRouteCircuit.", + "properties": { + "age": { + "type": "integer", + "format": "int32", + "description": "Entry age in minutes." + }, + "interface": { + "type": "string", + "description": "Interface address." + }, + "ipAddress": { + "type": "string", + "description": "The IP address." + }, + "macAddress": { + "type": "string", + "description": "The MAC address." + } + } + }, + "ExpressRouteCircuitAuthorization": { + "type": "object", + "description": "Authorization in an ExpressRouteCircuit resource.", + "properties": { + "properties": { + "$ref": "#/definitions/AuthorizationPropertiesFormat", + "description": "Properties of the express route circuit authorization.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "ExpressRouteCircuitConnection": { + "type": "object", + "description": "Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ExpressRouteCircuitConnectionPropertiesFormat", + "description": "Properties of the express route circuit connection.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "ExpressRouteCircuitConnectionListResult": { + "type": "object", + "description": "The response of a ExpressRouteCircuitConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRouteCircuitConnection items on this page", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExpressRouteCircuitConnectionPropertiesFormat": { + "type": "object", + "description": "Properties of the express route circuit connection.", + "properties": { + "expressRouteCircuitPeering": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to Express Route Circuit Private Peering Resource of the circuit initiating connection." + }, + "peerExpressRouteCircuitPeering": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to Express Route Circuit Private Peering Resource of the peered circuit." + }, + "addressPrefix": { + "type": "string", + "description": "/29 IP address space to carve out Customer addresses for tunnels." + }, + "authorizationKey": { + "type": "string", + "description": "The authorization key." + }, + "ipv6CircuitConnectionConfig": { + "$ref": "#/definitions/Ipv6CircuitConnectionConfig", + "description": "IPv6 Address PrefixProperties of the express route circuit connection." + }, + "circuitConnectionStatus": { + "$ref": "./common.json#/definitions/CircuitConnectionStatus", + "description": "Express Route Circuit connection state.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the express route circuit connection resource.", + "readOnly": true + } + } + }, + "ExpressRouteCircuitListResult": { + "type": "object", + "description": "The response of a ExpressRouteCircuit list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRouteCircuit items on this page", + "items": { + "$ref": "#/definitions/ExpressRouteCircuit" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExpressRouteCircuitPeering": { + "type": "object", + "description": "Peering in an ExpressRouteCircuit resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ExpressRouteCircuitPeeringPropertiesFormat", + "description": "Properties of the express route circuit peering.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "ExpressRouteCircuitPeeringConfig": { + "type": "object", + "description": "Specifies the peering configuration.", + "properties": { + "advertisedPublicPrefixes": { + "type": "array", + "description": "The reference to AdvertisedPublicPrefixes.", + "items": { + "type": "string" + } + }, + "advertisedCommunities": { + "type": "array", + "description": "The communities of bgp peering. Specified for microsoft peering.", + "items": { + "type": "string" + } + }, + "advertisedPublicPrefixesState": { + "$ref": "./common.json#/definitions/ExpressRouteCircuitPeeringAdvertisedPublicPrefixState", + "description": "The advertised public prefix state of the Peering resource.", + "readOnly": true + }, + "legacyMode": { + "type": "integer", + "format": "int32", + "description": "The legacy mode of the peering." + }, + "customerASN": { + "type": "integer", + "format": "int32", + "description": "The CustomerASN of the peering." + }, + "routingRegistryName": { + "type": "string", + "description": "The RoutingRegistryName of the configuration." + }, + "advertisedPublicPrefixInfo": { + "type": "array", + "description": "List of Prefix information required to perform validation.", + "items": { + "$ref": "#/definitions/AdvertisedPublicPrefixProperties" + }, + "x-ms-identifiers": [] + } + } + }, + "ExpressRouteCircuitPeeringListResult": { + "type": "object", + "description": "The response of a ExpressRouteCircuitPeering list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRouteCircuitPeering items on this page", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExpressRouteCircuitPeeringPropertiesFormat": { + "type": "object", + "description": "Properties of the express route circuit peering.", + "properties": { + "peeringType": { + "$ref": "./common.json#/definitions/ExpressRoutePeeringType", + "description": "The peering type." + }, + "state": { + "$ref": "./common.json#/definitions/ExpressRoutePeeringState", + "description": "The peering state." + }, + "azureASN": { + "type": "integer", + "format": "int32", + "description": "The Azure ASN." + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "The peer ASN.", + "minimum": 1, + "maximum": 4294967295 + }, + "primaryPeerAddressPrefix": { + "type": "string", + "description": "The primary address prefix." + }, + "secondaryPeerAddressPrefix": { + "type": "string", + "description": "The secondary address prefix." + }, + "primaryAzurePort": { + "type": "string", + "description": "The primary port." + }, + "secondaryAzurePort": { + "type": "string", + "description": "The secondary port." + }, + "sharedKey": { + "type": "string", + "description": "The shared key." + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "The VLAN ID." + }, + "microsoftPeeringConfig": { + "$ref": "#/definitions/ExpressRouteCircuitPeeringConfig", + "description": "The Microsoft peering configuration." + }, + "stats": { + "$ref": "#/definitions/ExpressRouteCircuitStats", + "description": "The peering stats of express route circuit." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the express route circuit peering resource.", + "readOnly": true + }, + "gatewayManagerEtag": { + "type": "string", + "description": "The GatewayManager Etag." + }, + "lastModifiedBy": { + "type": "string", + "description": "Who was the last to modify the peering.", + "readOnly": true + }, + "routeFilter": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to the RouteFilter resource." + }, + "ipv6PeeringConfig": { + "$ref": "#/definitions/Ipv6ExpressRouteCircuitPeeringConfig", + "description": "The IPv6 peering configuration." + }, + "expressRouteConnection": { + "$ref": "./virtualWan.json#/definitions/ExpressRouteConnectionId", + "description": "The ExpressRoute connection." + }, + "connections": { + "type": "array", + "description": "The list of circuit connections associated with Azure Private Peering for this circuit.", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitConnection" + } + }, + "peeredConnections": { + "type": "array", + "description": "The list of peered circuit connections associated with Azure Private Peering for this circuit.", + "items": { + "$ref": "#/definitions/PeerExpressRouteCircuitConnection" + }, + "readOnly": true + } + } + }, + "ExpressRouteCircuitPropertiesFormat": { + "type": "object", + "description": "Properties of ExpressRouteCircuit.", + "properties": { + "allowClassicOperations": { + "type": "boolean", + "description": "Allow classic operations." + }, + "circuitProvisioningState": { + "type": "string", + "description": "The CircuitProvisioningState state of the resource." + }, + "serviceProviderProvisioningState": { + "$ref": "./common.json#/definitions/ServiceProviderProvisioningState", + "description": "The ServiceProviderProvisioningState state of the resource." + }, + "authorizations": { + "type": "array", + "description": "The list of authorizations.", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitAuthorization" + } + }, + "peerings": { + "type": "array", + "description": "The list of peerings.", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + } + }, + "serviceKey": { + "type": "string", + "description": "The ServiceKey." + }, + "serviceProviderNotes": { + "type": "string", + "description": "The ServiceProviderNotes." + }, + "serviceProviderProperties": { + "$ref": "#/definitions/ExpressRouteCircuitServiceProviderProperties", + "description": "The ServiceProviderProperties." + }, + "expressRoutePort": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to the ExpressRoutePort resource when the circuit is provisioned on an ExpressRoutePort resource." + }, + "bandwidthInGbps": { + "type": "number", + "format": "float", + "description": "The bandwidth of the circuit when the circuit is provisioned on an ExpressRoutePort resource." + }, + "stag": { + "type": "integer", + "format": "int32", + "description": "The identifier of the circuit traffic. Outer tag for QinQ encapsulation.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the express route circuit resource.", + "readOnly": true + }, + "gatewayManagerEtag": { + "type": "string", + "description": "The GatewayManager Etag." + }, + "globalReachEnabled": { + "type": "boolean", + "description": "Flag denoting global reach status." + }, + "authorizationKey": { + "type": "string", + "description": "The authorizationKey." + }, + "authorizationStatus": { + "type": "string", + "description": "The authorization status of the Circuit.", + "readOnly": true + }, + "enableDirectPortRateLimit": { + "type": "boolean", + "description": "Flag denoting rate-limiting status of the ExpressRoute direct-port circuit." + } + } + }, + "ExpressRouteCircuitReference": { + "type": "object", + "description": "Reference to an express route circuit.", + "properties": { + "id": { + "type": "string", + "description": "Corresponding Express Route Circuit Id." + } + } + }, + "ExpressRouteCircuitRoutesTable": { + "type": "object", + "description": "The routes table associated with the ExpressRouteCircuit.", + "properties": { + "network": { + "type": "string", + "description": "IP address of a network entity." + }, + "nextHop": { + "type": "string", + "description": "NextHop address." + }, + "locPrf": { + "type": "string", + "description": "Local preference value as set with the set local-preference route-map configuration command." + }, + "weight": { + "type": "integer", + "format": "int32", + "description": "Route Weight." + }, + "path": { + "type": "string", + "description": "Autonomous system paths to the destination network." + } + } + }, + "ExpressRouteCircuitRoutesTableSummary": { + "type": "object", + "description": "The routes table associated with the ExpressRouteCircuit.", + "properties": { + "neighbor": { + "type": "string", + "description": "IP address of the neighbor." + }, + "v": { + "type": "integer", + "format": "int32", + "description": "BGP version number spoken to the neighbor." + }, + "as": { + "type": "integer", + "format": "int32", + "description": "Autonomous system number." + }, + "upDown": { + "type": "string", + "description": "The length of time that the BGP session has been in the Established state, or the current status if not in the Established state." + }, + "statePfxRcd": { + "type": "string", + "description": "Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group." + } + } + }, + "ExpressRouteCircuitServiceProviderProperties": { + "type": "object", + "description": "Contains ServiceProviderProperties in an ExpressRouteCircuit.", + "properties": { + "serviceProviderName": { + "type": "string", + "description": "The serviceProviderName." + }, + "peeringLocation": { + "type": "string", + "description": "The peering location." + }, + "bandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "The BandwidthInMbps." + } + } + }, + "ExpressRouteCircuitSku": { + "type": "object", + "description": "Contains SKU in an ExpressRouteCircuit.", + "properties": { + "name": { + "type": "string", + "description": "The name of the SKU." + }, + "tier": { + "$ref": "./common.json#/definitions/ExpressRouteCircuitSkuTier", + "description": "The tier of the SKU." + }, + "family": { + "$ref": "./common.json#/definitions/ExpressRouteCircuitSkuFamily", + "description": "The family of the SKU." + } + } + }, + "ExpressRouteCircuitStats": { + "type": "object", + "description": "Contains stats associated with the peering.", + "properties": { + "primarybytesIn": { + "type": "integer", + "format": "int64", + "description": "The Primary BytesIn of the peering." + }, + "primarybytesOut": { + "type": "integer", + "format": "int64", + "description": "The primary BytesOut of the peering." + }, + "secondarybytesIn": { + "type": "integer", + "format": "int64", + "description": "The secondary BytesIn of the peering." + }, + "secondarybytesOut": { + "type": "integer", + "format": "int64", + "description": "The secondary BytesOut of the peering." + } + } + }, + "ExpressRouteCircuitsArpTableListResult": { + "type": "object", + "description": "Response for ListArpTable associated with the Express Route Circuits API.", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRouteCircuitArpTable items on this page", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitArpTable" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExpressRouteCircuitsRoutesTableListResult": { + "type": "object", + "description": "Response for ListRoutesTable associated with the Express Route Circuits API.", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRouteCircuitRoutesTable items on this page", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitRoutesTable" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExpressRouteCircuitsRoutesTableSummaryListResult": { + "type": "object", + "description": "Response for ListRoutesTable associated with the Express Route Circuits API.", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRouteCircuitRoutesTableSummary items on this page", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitRoutesTableSummary" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExpressRouteCrossConnection": { + "type": "object", + "description": "ExpressRouteCrossConnection resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ExpressRouteCrossConnectionProperties", + "description": "Properties of the express route cross connection.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "ExpressRouteCrossConnectionListResult": { + "type": "object", + "description": "The response of a ExpressRouteCrossConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRouteCrossConnection items on this page", + "items": { + "$ref": "#/definitions/ExpressRouteCrossConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExpressRouteCrossConnectionPeering": { + "type": "object", + "description": "Peering in an ExpressRoute Cross Connection resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ExpressRouteCrossConnectionPeeringProperties", + "description": "Properties of the express route cross connection peering.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ExpressRouteCrossConnectionPeeringList": { + "type": "object", + "description": "Response for ListPeering API service call retrieves all peerings that belong to an ExpressRouteCrossConnection.", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRouteCrossConnectionPeering items on this page", + "items": { + "$ref": "#/definitions/ExpressRouteCrossConnectionPeering" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExpressRouteCrossConnectionPeeringProperties": { + "type": "object", + "description": "Properties of express route cross connection peering.", + "properties": { + "peeringType": { + "$ref": "./common.json#/definitions/ExpressRoutePeeringType", + "description": "The peering type." + }, + "state": { + "$ref": "./common.json#/definitions/ExpressRoutePeeringState", + "description": "The peering state." + }, + "azureASN": { + "type": "integer", + "format": "int32", + "description": "The Azure ASN.", + "readOnly": true + }, + "peerASN": { + "type": "integer", + "format": "int64", + "description": "The peer ASN.", + "minimum": 1, + "maximum": 4294967295 + }, + "primaryPeerAddressPrefix": { + "type": "string", + "description": "The primary address prefix." + }, + "secondaryPeerAddressPrefix": { + "type": "string", + "description": "The secondary address prefix." + }, + "primaryAzurePort": { + "type": "string", + "description": "The primary port.", + "readOnly": true + }, + "secondaryAzurePort": { + "type": "string", + "description": "The secondary port.", + "readOnly": true + }, + "sharedKey": { + "type": "string", + "description": "The shared key." + }, + "vlanId": { + "type": "integer", + "format": "int32", + "description": "The VLAN ID." + }, + "microsoftPeeringConfig": { + "$ref": "#/definitions/ExpressRouteCircuitPeeringConfig", + "description": "The Microsoft peering configuration." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the express route cross connection peering resource.", + "readOnly": true + }, + "gatewayManagerEtag": { + "type": "string", + "description": "The GatewayManager Etag." + }, + "lastModifiedBy": { + "type": "string", + "description": "Who was the last to modify the peering.", + "readOnly": true + }, + "ipv6PeeringConfig": { + "$ref": "#/definitions/Ipv6ExpressRouteCircuitPeeringConfig", + "description": "The IPv6 peering configuration." + } + } + }, + "ExpressRouteCrossConnectionProperties": { + "type": "object", + "description": "Properties of ExpressRouteCrossConnection.", + "properties": { + "primaryAzurePort": { + "type": "string", + "description": "The name of the primary port.", + "readOnly": true + }, + "secondaryAzurePort": { + "type": "string", + "description": "The name of the secondary port.", + "readOnly": true + }, + "sTag": { + "type": "integer", + "format": "int32", + "description": "The identifier of the circuit traffic.", + "readOnly": true + }, + "peeringLocation": { + "type": "string", + "description": "The peering location of the ExpressRoute circuit.", + "readOnly": true + }, + "bandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "The circuit bandwidth In Mbps.", + "readOnly": true + }, + "expressRouteCircuit": { + "$ref": "#/definitions/ExpressRouteCircuitReference", + "description": "The ExpressRouteCircuit." + }, + "serviceProviderProvisioningState": { + "$ref": "./common.json#/definitions/ServiceProviderProvisioningState", + "description": "The provisioning state of the circuit in the connectivity provider system." + }, + "serviceProviderNotes": { + "type": "string", + "description": "Additional read only notes set by the connectivity provider." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the express route cross connection resource.", + "readOnly": true + }, + "peerings": { + "type": "array", + "description": "The list of peerings.", + "items": { + "$ref": "#/definitions/ExpressRouteCrossConnectionPeering" + } + } + } + }, + "ExpressRouteCrossConnectionRoutesTableSummary": { + "type": "object", + "description": "The routes table associated with the ExpressRouteCircuit.", + "properties": { + "neighbor": { + "type": "string", + "description": "IP address of Neighbor router." + }, + "asn": { + "type": "integer", + "format": "int32", + "description": "Autonomous system number." + }, + "upDown": { + "type": "string", + "description": "The length of time that the BGP session has been in the Established state, or the current status if not in the Established state." + }, + "stateOrPrefixesReceived": { + "type": "string", + "description": "Current state of the BGP session, and the number of prefixes that have been received from a neighbor or peer group." + } + } + }, + "ExpressRouteCrossConnectionsRoutesTableSummaryListResult": { + "type": "object", + "description": "Response for ListRoutesTable associated with the Express Route Cross Connections.", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRouteCrossConnectionRoutesTableSummary items on this page", + "items": { + "$ref": "#/definitions/ExpressRouteCrossConnectionRoutesTableSummary" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "ExpressRouteLink": { + "type": "object", + "title": "ExpressRouteLink", + "description": "ExpressRouteLink child resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/ExpressRouteLinkPropertiesFormat", + "description": "ExpressRouteLink properties.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of child port resource that is unique among child port resources of the parent." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ExpressRouteLinkFailoverAllTestsDetails": { + "type": "object", + "description": "ExpressRoute circuit link failover test details for all tests.", + "properties": { + "status": { + "$ref": "./common.json#/definitions/FailoverTestStatus", + "description": "The current status of the test." + }, + "startTime": { + "type": "string", + "description": "Time when the test was started." + }, + "endTime": { + "type": "string", + "description": "Time when the test was completed." + }, + "testGuid": { + "type": "string", + "description": "The unique GUID associated with the test." + }, + "testType": { + "$ref": "./common.json#/definitions/FailoverTestType", + "description": "The type of failover test." + }, + "issues": { + "type": "array", + "description": "A list of all issues with the test.", + "items": { + "type": "string" + } + }, + "wasSimulationSuccessful": { + "type": "boolean", + "description": "Whether the failover simulation was successful or not." + }, + "circuitTestCategory": { + "$ref": "./common.json#/definitions/MaintenanceTestCategory", + "description": "The maintenance test category." + }, + "linkType": { + "$ref": "./common.json#/definitions/ExpressRouteFailoverLinkType", + "description": "The link type." + }, + "bgpStatus": { + "type": "array", + "description": "The BGP status details.", + "items": { + "$ref": "#/definitions/ExpressRouteLinkFailoverTestBgpStatus" + } + } + } + }, + "ExpressRouteLinkFailoverAllTestsDetailsArray": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteLinkFailoverAllTestsDetails" + } + }, + "ExpressRouteLinkFailoverRoute": { + "type": "object", + "description": "Represents a failover route for an ExpressRoute link.", + "properties": { + "route": { + "type": "string", + "description": "The route." + }, + "nextHop": { + "type": "string", + "description": "The next hop." + }, + "primaryASPath": { + "type": "string", + "description": "The AS path for primary link." + }, + "secondaryASPath": { + "type": "string", + "description": "The AS path for secondary link." + } + } + }, + "ExpressRouteLinkFailoverRouteList": { + "type": "object", + "description": "Represents a list of failover routes for an ExpressRoute link.", + "properties": { + "beforeSimulation": { + "type": "array", + "description": "The routes before the simulation.", + "items": { + "$ref": "#/definitions/ExpressRouteLinkFailoverRoute" + } + }, + "duringSimulation": { + "type": "array", + "description": "The routes during the simulation.", + "items": { + "$ref": "#/definitions/ExpressRouteLinkFailoverRoute" + } + } + } + }, + "ExpressRouteLinkFailoverSingleTestDetails": { + "type": "object", + "description": "ExpressRoute circuit link failover single test details.", + "properties": { + "startTimeUtc": { + "type": "string", + "description": "Time when the test was started in UTC." + }, + "endTimeUtc": { + "type": "string", + "description": "Time when the test was completed in UTC." + }, + "status": { + "$ref": "./common.json#/definitions/FailoverTestStatus", + "description": "The current status of the test." + }, + "wasSimulationSuccessful": { + "type": "boolean", + "description": "Whether the failover simulation was successful or not." + }, + "linkType": { + "$ref": "./common.json#/definitions/ExpressRouteFailoverLinkType", + "description": "The link type." + }, + "circuitTestCategory": { + "$ref": "./common.json#/definitions/MaintenanceTestCategory", + "description": "The circuit test category." + }, + "isSimulationVerified": { + "type": "boolean", + "description": "Whether the simulation was verified." + }, + "redundantRoutes": { + "$ref": "#/definitions/ExpressRouteLinkFailoverRouteList", + "description": "The redundant routes for link failover tests." + }, + "nonRedundantRoutes": { + "$ref": "#/definitions/ExpressRouteLinkFailoverRouteList", + "description": "The non-redundant routes for link failover tests." + }, + "bgpStatus": { + "type": "array", + "description": "The BGP status details.", + "items": { + "$ref": "#/definitions/ExpressRouteLinkFailoverTestBgpStatus" + } + } + } + }, + "ExpressRouteLinkFailoverSingleTestDetailsArray": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteLinkFailoverSingleTestDetails" + } + }, + "ExpressRouteLinkFailoverStopApiParameters": { + "type": "object", + "description": "Parameters for stopping an ExpressRoute circuit link failover test.", + "properties": { + "circuitTestCategory": { + "type": "string", + "description": "The category of the circuit test." + }, + "linkType": { + "type": "string", + "description": "The type of the link." + }, + "wasSimulationSuccessful": { + "type": "boolean", + "description": "Whether the simulation was successful." + }, + "isVerified": { + "type": "boolean", + "description": "Whether the link is verified." + } + } + }, + "ExpressRouteLinkFailoverTestBgpStatus": { + "type": "object", + "description": "Represents the BGP status of an ExpressRoute link failover test.", + "properties": { + "type": { + "$ref": "./common.json#/definitions/ExpressRouteFailoverBgpStatusAddressFamily", + "description": "The address family type." + }, + "link": { + "$ref": "./common.json#/definitions/ExpressRouteFailoverLinkType", + "description": "The link type." + }, + "status": { + "$ref": "./common.json#/definitions/ExpressRouteLinkFailoverBgpStatus", + "description": "The BGP status." + }, + "checkTimeUtc": { + "type": "string", + "description": "The check time in UTC." + } + } + }, + "ExpressRouteLinkListResult": { + "type": "object", + "title": "ExpressRouteLink List Result", + "description": "Response for ListExpressRouteLinks API service call.", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRouteLink items on this page", + "items": { + "$ref": "#/definitions/ExpressRouteLink" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExpressRouteLinkMacSecConfig": { + "type": "object", + "title": "Definition of ExpressRouteLink Mac Security configuration.", + "description": "ExpressRouteLink Mac Security Configuration.", + "properties": { + "cknSecretIdentifier": { + "type": "string", + "description": "Keyvault Secret Identifier URL containing Mac security CKN key." + }, + "cakSecretIdentifier": { + "type": "string", + "description": "Keyvault Secret Identifier URL containing Mac security CAK key." + }, + "cipher": { + "$ref": "./common.json#/definitions/ExpressRouteLinkMacSecCipher", + "description": "Mac security cipher." + }, + "sciState": { + "$ref": "./common.json#/definitions/ExpressRouteLinkMacSecSciState", + "description": "Sci mode enabled/disabled." + } + } + }, + "ExpressRouteLinkPropertiesFormat": { + "type": "object", + "title": "ExpressRouteLink Resource Properties", + "description": "Properties specific to ExpressRouteLink resources.", + "properties": { + "routerName": { + "type": "string", + "description": "Name of Azure router associated with physical port.", + "readOnly": true + }, + "interfaceName": { + "type": "string", + "description": "Name of Azure router interface.", + "readOnly": true + }, + "patchPanelId": { + "type": "string", + "description": "Mapping between physical port to patch panel port.", + "readOnly": true + }, + "rackId": { + "type": "string", + "description": "Mapping of physical patch panel to rack.", + "readOnly": true + }, + "coloLocation": { + "type": "string", + "description": "Cololocation for ExpressRoute Hybrid Direct.", + "readOnly": true + }, + "connectorType": { + "$ref": "./common.json#/definitions/ExpressRouteLinkConnectorType", + "description": "Physical fiber port type.", + "readOnly": true + }, + "adminState": { + "$ref": "./common.json#/definitions/ExpressRouteLinkAdminState", + "description": "Administrative state of the physical port." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the express route link resource.", + "readOnly": true + }, + "macSecConfig": { + "$ref": "#/definitions/ExpressRouteLinkMacSecConfig", + "description": "MacSec configuration." + } + } + }, + "ExpressRoutePort": { + "type": "object", + "title": "ExpressRoute Port", + "description": "ExpressRoutePort resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/ExpressRoutePortPropertiesFormat", + "description": "ExpressRoutePort properties.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "identity": { + "$ref": "./common.json#/definitions/Common.ManagedServiceIdentity", + "description": "The identity of ExpressRoutePort, if configured." + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "ExpressRoutePortAuthorization": { + "type": "object", + "title": "ExpressRoute Port Authorization", + "description": "ExpressRoutePort Authorization resource definition.", + "properties": { + "properties": { + "$ref": "#/definitions/ExpressRoutePortAuthorizationPropertiesFormat", + "description": "ExpressRoutePort properties.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "ExpressRoutePortAuthorizationListResult": { + "type": "object", + "title": "ExpressRoute Port Authorization List Result", + "description": "Paged collection of ExpressRoutePortAuthorization items", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRoutePortAuthorization items on this page", + "items": { + "$ref": "#/definitions/ExpressRoutePortAuthorization" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExpressRoutePortAuthorizationPropertiesFormat": { + "type": "object", + "title": "ExpressRoute Port Authorization Properties", + "description": "Properties of ExpressRoutePort Authorization.", + "properties": { + "authorizationKey": { + "type": "string", + "description": "The authorization key.", + "readOnly": true + }, + "authorizationUseStatus": { + "$ref": "./common.json#/definitions/ExpressRoutePortAuthorizationUseStatus", + "description": "The authorization use status.", + "readOnly": true + }, + "circuitResourceUri": { + "type": "string", + "description": "The reference to the ExpressRoute circuit resource using the authorization.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the authorization resource.", + "readOnly": true + } + } + }, + "ExpressRoutePortListResult": { + "type": "object", + "title": "ExpressRoute Port List Result", + "description": "Paged collection of ExpressRoutePort items", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRoutePort items on this page", + "items": { + "$ref": "#/definitions/ExpressRoutePort" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExpressRoutePortPropertiesFormat": { + "type": "object", + "title": "ExpressRoutePort Properties", + "description": "Properties specific to ExpressRoutePort resources.", + "properties": { + "peeringLocation": { + "type": "string", + "description": "The name of the peering location that the ExpressRoutePort is mapped to physically." + }, + "bandwidthInGbps": { + "type": "integer", + "format": "int32", + "description": "Bandwidth of procured ports in Gbps." + }, + "provisionedBandwidthInGbps": { + "type": "number", + "format": "float", + "description": "Aggregate Gbps of associated circuit bandwidths.", + "readOnly": true + }, + "mtu": { + "type": "string", + "description": "Maximum transmission unit of the physical port pair(s).", + "readOnly": true + }, + "encapsulation": { + "$ref": "./common.json#/definitions/ExpressRoutePortsEncapsulation", + "description": "Encapsulation method on physical ports." + }, + "etherType": { + "type": "string", + "description": "Ether type of the physical port.", + "readOnly": true + }, + "allocationDate": { + "type": "string", + "description": "Date of the physical port allocation to be used in Letter of Authorization.", + "readOnly": true + }, + "links": { + "type": "array", + "title": "ExpressRouteLink Sub-Resources", + "description": "The set of physical links of the ExpressRoutePort resource.", + "items": { + "$ref": "#/definitions/ExpressRouteLink" + } + }, + "circuits": { + "type": "array", + "description": "Reference the ExpressRoute circuit(s) that are provisioned on this ExpressRoutePort resource.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the express route port resource.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the express route port resource.", + "readOnly": true + }, + "billingType": { + "$ref": "./common.json#/definitions/ExpressRoutePortsBillingType", + "description": "The billing type of the ExpressRoutePort resource." + } + } + }, + "ExpressRoutePortsLocation": { + "type": "object", + "title": "ExpressRoutePorts Peering Location", + "description": "Definition of the ExpressRoutePorts peering location resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ExpressRoutePortsLocationPropertiesFormat", + "description": "ExpressRoutePort peering location properties.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "ExpressRoutePortsLocationBandwidths": { + "type": "object", + "title": "ExpressRoutePorts Location Bandwidths", + "description": "Real-time inventory of available ExpressRoute port bandwidths.", + "properties": { + "offerName": { + "type": "string", + "description": "Bandwidth descriptive name.", + "readOnly": true + }, + "valueInGbps": { + "type": "integer", + "format": "int32", + "description": "Bandwidth value in Gbps.", + "readOnly": true + } + } + }, + "ExpressRoutePortsLocationListResult": { + "type": "object", + "title": "ExpressRoutePorts Location List Result", + "description": "Paged collection of ExpressRoutePortsLocation items", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRoutePortsLocation items on this page", + "items": { + "$ref": "#/definitions/ExpressRoutePortsLocation" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExpressRoutePortsLocationPropertiesFormat": { + "type": "object", + "title": "ExpressRoutePorts Location Properties", + "description": "Properties specific to ExpressRoutePorts peering location resources.", + "properties": { + "address": { + "type": "string", + "description": "Address of peering location.", + "readOnly": true + }, + "contact": { + "type": "string", + "description": "Contact details of peering locations.", + "readOnly": true + }, + "availableBandwidths": { + "type": "array", + "description": "The inventory of available ExpressRoutePort bandwidths.", + "items": { + "$ref": "#/definitions/ExpressRoutePortsLocationBandwidths" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the express route port location resource.", + "readOnly": true + } + } + }, + "ExpressRouteProviderPort": { + "type": "object", + "description": "ExpressRouteProviderPort resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ExpressRouteProviderPortProperties", + "description": "Properties of the express route Service Provider Port.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/TrackedResourceWithOptionalLocation" + } + ] + }, + "ExpressRouteProviderPortListResult": { + "type": "object", + "description": "Response for ListExpressRouteProviderPort API service call.", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRouteProviderPort items on this page", + "items": { + "$ref": "#/definitions/ExpressRouteProviderPort" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "ExpressRouteProviderPortProperties": { + "type": "object", + "description": "Properties of ExpressRouteProviderPort.", + "properties": { + "portPairDescriptor": { + "type": "string", + "description": "The name of the port pair.", + "readOnly": true + }, + "primaryAzurePort": { + "type": "string", + "description": "The name of the primary port.", + "readOnly": true + }, + "secondaryAzurePort": { + "type": "string", + "description": "The name of the secondary port.", + "readOnly": true + }, + "peeringLocation": { + "type": "string", + "description": "The peering location of the port pair." + }, + "overprovisionFactor": { + "type": "integer", + "format": "int32", + "description": "Overprovisioning factor for the port pair." + }, + "portBandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "Bandwidth of the port in Mbps" + }, + "usedBandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "Used Bandwidth of the port in Mbps" + }, + "remainingBandwidthInMbps": { + "type": "integer", + "format": "int32", + "description": "Remaining Bandwidth of the port in Mbps" + } + } + }, + "ExpressRouteServiceProvider": { + "type": "object", + "description": "A ExpressRouteResourceProvider object.", + "properties": { + "properties": { + "$ref": "#/definitions/ExpressRouteServiceProviderPropertiesFormat", + "description": "Properties of the express route service provider.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "ExpressRouteServiceProviderBandwidthsOffered": { + "type": "object", + "description": "Contains bandwidths offered in ExpressRouteServiceProvider resources.", + "properties": { + "offerName": { + "type": "string", + "description": "The OfferName." + }, + "valueInMbps": { + "type": "integer", + "format": "int32", + "description": "The ValueInMbps." + } + } + }, + "ExpressRouteServiceProviderListResult": { + "type": "object", + "description": "The response of a ExpressRouteServiceProvider list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ExpressRouteServiceProvider items on this page", + "items": { + "$ref": "#/definitions/ExpressRouteServiceProvider" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ExpressRouteServiceProviderPropertiesFormat": { + "type": "object", + "description": "Properties of ExpressRouteServiceProvider.", + "properties": { + "peeringLocations": { + "type": "array", + "description": "A list of peering locations.", + "items": { + "type": "string" + } + }, + "bandwidthsOffered": { + "type": "array", + "description": "A list of bandwidths offered.", + "items": { + "$ref": "#/definitions/ExpressRouteServiceProviderBandwidthsOffered" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the express route service provider resource.", + "readOnly": true + } + } + }, + "GenerateExpressRoutePortsLOARequest": { + "type": "object", + "description": "The customer name to be printed on a letter of authorization.", + "properties": { + "customerName": { + "type": "string", + "description": "The customer name." + } + }, + "required": [ + "customerName" + ] + }, + "GenerateExpressRoutePortsLOAResult": { + "type": "object", + "description": "Response for GenerateExpressRoutePortsLOA API service call.", + "properties": { + "encodedContent": { + "type": "string", + "description": "The content as a base64 encoded string." + } + } + }, + "Ipv6CircuitConnectionConfig": { + "type": "object", + "description": "IPv6 Circuit Connection properties for global reach.", + "properties": { + "addressPrefix": { + "type": "string", + "description": "/125 IP address space to carve out customer addresses for global reach." + }, + "circuitConnectionStatus": { + "$ref": "./common.json#/definitions/CircuitConnectionStatus", + "description": "Express Route Circuit connection state.", + "readOnly": true + } + } + }, + "Ipv6ExpressRouteCircuitPeeringConfig": { + "type": "object", + "description": "Contains IPv6 peering config.", + "properties": { + "primaryPeerAddressPrefix": { + "type": "string", + "description": "The primary address prefix." + }, + "secondaryPeerAddressPrefix": { + "type": "string", + "description": "The secondary address prefix." + }, + "microsoftPeeringConfig": { + "$ref": "#/definitions/ExpressRouteCircuitPeeringConfig", + "description": "The Microsoft peering configuration." + }, + "routeFilter": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to the RouteFilter resource." + }, + "state": { + "$ref": "./common.json#/definitions/ExpressRouteCircuitPeeringState", + "description": "The state of peering." + } + } + }, + "PatchRouteFilter": { + "type": "object", + "description": "Route Filter Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/RouteFilterPropertiesFormat", + "description": "Properties of the route filter.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "readOnly": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type.", + "readOnly": true + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "PatchRouteFilterRule": { + "type": "object", + "description": "Route Filter Rule Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/RouteFilterRulePropertiesFormat", + "description": "Properties of the route filter rule.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "readOnly": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "PeerExpressRouteCircuitConnection": { + "type": "object", + "description": "Peer Express Route Circuit Connection in an ExpressRouteCircuitPeering resource.", + "properties": { + "properties": { + "$ref": "#/definitions/PeerExpressRouteCircuitConnectionPropertiesFormat", + "description": "Properties of the peer express route circuit connection.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "PeerExpressRouteCircuitConnectionListResult": { + "type": "object", + "description": "The response of a PeerExpressRouteCircuitConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PeerExpressRouteCircuitConnection items on this page", + "items": { + "$ref": "#/definitions/PeerExpressRouteCircuitConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PeerExpressRouteCircuitConnectionPropertiesFormat": { + "type": "object", + "description": "Properties of the peer express route circuit connection.", + "properties": { + "expressRouteCircuitPeering": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to Express Route Circuit Private Peering Resource of the circuit." + }, + "peerExpressRouteCircuitPeering": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to Express Route Circuit Private Peering Resource of the peered circuit." + }, + "addressPrefix": { + "type": "string", + "description": "/29 IP address space to carve out Customer addresses for tunnels." + }, + "circuitConnectionStatus": { + "$ref": "./common.json#/definitions/CircuitConnectionStatus", + "description": "Express Route Circuit connection state.", + "readOnly": true + }, + "connectionName": { + "type": "string", + "description": "The name of the express route circuit connection resource." + }, + "authResourceGuid": { + "type": "string", + "description": "The resource guid of the authorization used for the express route circuit connection." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the peer express route circuit connection resource.", + "readOnly": true + } + } + }, + "RouteFilter": { + "type": "object", + "description": "Route Filter Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/RouteFilterPropertiesFormat", + "description": "Properties of the route filter.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/TrackedResourceWithSettableIdOptionalLocation" + } + ] + }, + "RouteFilterListResult": { + "type": "object", + "description": "The response of a RouteFilter list operation.", + "properties": { + "value": { + "type": "array", + "description": "The RouteFilter items on this page", + "items": { + "$ref": "#/definitions/RouteFilter" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "RouteFilterPropertiesFormat": { + "type": "object", + "description": "Route Filter Resource.", + "properties": { + "rules": { + "type": "array", + "description": "Collection of RouteFilterRules contained within a route filter.", + "items": { + "$ref": "#/definitions/RouteFilterRule" + } + }, + "peerings": { + "type": "array", + "description": "A collection of references to express route circuit peerings.", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + }, + "readOnly": true + }, + "ipv6Peerings": { + "type": "array", + "description": "A collection of references to express route circuit ipv6 peerings.", + "items": { + "$ref": "#/definitions/ExpressRouteCircuitPeering" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the route filter resource.", + "readOnly": true + } + } + }, + "RouteFilterRule": { + "type": "object", + "description": "Route Filter Rule Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/RouteFilterRulePropertiesFormat", + "description": "Properties of the route filter rule.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "RouteFilterRuleListResult": { + "type": "object", + "description": "Response for the ListRouteFilterRules API service call.", + "properties": { + "value": { + "type": "array", + "description": "The RouteFilterRule items on this page", + "items": { + "$ref": "#/definitions/RouteFilterRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "RouteFilterRulePropertiesFormat": { + "type": "object", + "description": "Route Filter Rule Resource.", + "properties": { + "access": { + "$ref": "./common.json#/definitions/Access", + "description": "The access type of the rule." + }, + "routeFilterRuleType": { + "$ref": "./common.json#/definitions/RouteFilterRuleType", + "description": "The rule type of the rule." + }, + "communities": { + "type": "array", + "description": "The collection for bgp community values to filter on. e.g. ['12076:5010','12076:5020'].", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the route filter rule resource.", + "readOnly": true + } + }, + "required": [ + "access", + "routeFilterRuleType", + "communities" + ] + }, + "ServiceEndpointPolicyDefinitionListResult": { + "type": "object", + "description": "The response of a ServiceEndpointPolicyDefinition list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ServiceEndpointPolicyDefinition items on this page", + "items": { + "$ref": "#/definitions/Common.ServiceEndpointPolicyDefinition" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ServiceEndpointPolicyListResult": { + "type": "object", + "description": "The response of a ServiceEndpointPolicy list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ServiceEndpointPolicy items on this page", + "items": { + "$ref": "#/definitions/Common.ServiceEndpointPolicy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + } + }, + "parameters": {} +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/firewall.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/firewall.json new file mode 100644 index 000000000000..4285580ae32b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/firewall.json @@ -0,0 +1,1544 @@ +{ + "swagger": "2.0", + "info": { + "title": "WebApplicationFirewallManagement", + "version": "2025-07-01", + "description": "APIs to manage web application firewall rules.", + "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": "AzureFirewalls" + }, + { + "name": "AzureFirewallFqdnTags" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewallFqdnTags": { + "get": { + "operationId": "AzureFirewallFqdnTags_ListAll", + "tags": [ + "AzureFirewallFqdnTags" + ], + "description": "Gets all the Azure Firewall FQDN Tags in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AzureFirewallFqdnTagListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all Azure Firewall FQDN Tags for a given subscription": { + "$ref": "./examples/AzureFirewallFqdnTagsListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/azureFirewalls": { + "get": { + "operationId": "AzureFirewalls_ListAll", + "tags": [ + "AzureFirewalls" + ], + "description": "Gets all the Azure Firewalls in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureFirewallListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all Azure Firewalls for a given subscription": { + "$ref": "./examples/AzureFirewallListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls": { + "get": { + "operationId": "AzureFirewalls_List", + "tags": [ + "AzureFirewalls" + ], + "description": "Lists all Azure Firewalls in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureFirewallListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all Azure Firewalls for a given resource group": { + "$ref": "./examples/AzureFirewallListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}": { + "get": { + "operationId": "AzureFirewalls_Get", + "tags": [ + "AzureFirewalls" + ], + "description": "Gets the specified Azure Firewall.", + "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": "azureFirewallName", + "in": "path", + "description": "The name of the Azure Firewall.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureFirewall" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Azure Firewall": { + "$ref": "./examples/AzureFirewallGet.json" + }, + "Get Azure Firewall With AFC Control Plane": { + "$ref": "./examples/AzureFirewallGetWithAfcConfiguration.json" + }, + "Get Azure Firewall With Additional Properties": { + "$ref": "./examples/AzureFirewallGetWithAdditionalProperties.json" + }, + "Get Azure Firewall With IpGroups": { + "$ref": "./examples/AzureFirewallGetWithIpGroups.json" + }, + "Get Azure Firewall With Zones": { + "$ref": "./examples/AzureFirewallGetWithZones.json" + }, + "Get Azure Firewall With management subnet": { + "$ref": "./examples/AzureFirewallGetWithMgmtSubnet.json" + } + } + }, + "put": { + "operationId": "AzureFirewalls_CreateOrUpdate", + "tags": [ + "AzureFirewalls" + ], + "description": "Creates or updates the specified Azure Firewall.", + "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": "azureFirewallName", + "in": "path", + "description": "The name of the Azure Firewall.", + "required": true, + "type": "string" + }, + { + "name": "createAfcControlPlane", + "in": "query", + "description": "When set to true, creates an AFC control plane for the Azure Firewall.", + "required": false, + "type": "boolean" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update Azure Firewall operation.", + "required": true, + "schema": { + "$ref": "#/definitions/AzureFirewall" + } + } + ], + "responses": { + "200": { + "description": "Resource 'AzureFirewall' update operation succeeded", + "schema": { + "$ref": "#/definitions/AzureFirewall" + } + }, + "201": { + "description": "Resource 'AzureFirewall' create operation succeeded", + "schema": { + "$ref": "#/definitions/AzureFirewall" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create Azure Firewall": { + "$ref": "./examples/AzureFirewallPut.json" + }, + "Create Azure Firewall With AFC Control Plane": { + "$ref": "./examples/AzureFirewallPutWithAfcConfiguration.json" + }, + "Create Azure Firewall With Additional Properties": { + "$ref": "./examples/AzureFirewallPutWithAdditionalProperties.json" + }, + "Create Azure Firewall With IpGroups": { + "$ref": "./examples/AzureFirewallPutWithIpGroups.json" + }, + "Create Azure Firewall With Zones": { + "$ref": "./examples/AzureFirewallPutWithZones.json" + }, + "Create Azure Firewall With management subnet": { + "$ref": "./examples/AzureFirewallPutWithMgmtSubnet.json" + }, + "Create Azure Firewall in virtual Hub": { + "$ref": "./examples/AzureFirewallPutInHub.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/AzureFirewall" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "AzureFirewalls_UpdateTags", + "tags": [ + "AzureFirewalls" + ], + "description": "Updates tags of an Azure Firewall resource.", + "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": "azureFirewallName", + "in": "path", + "description": "The name of the Azure Firewall.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update azure firewall tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureFirewall" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update Azure Firewall Tags": { + "$ref": "./examples/AzureFirewallUpdateTags.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/AzureFirewall" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "AzureFirewalls_Delete", + "tags": [ + "AzureFirewalls" + ], + "description": "Deletes the specified Azure Firewall.", + "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": "azureFirewallName", + "in": "path", + "description": "The name of the Azure Firewall.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete Azure Firewall": { + "$ref": "./examples/AzureFirewallDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}/learnedIPPrefixes": { + "post": { + "operationId": "AzureFirewalls_ListLearnedPrefixes", + "description": "Retrieves a list of all IP prefixes that azure firewall has learned to not SNAT.", + "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": "azureFirewallName", + "in": "path", + "description": "The name of the Azure Firewall.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IPPrefixesList" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "AzureFirewallListLearnedPrefixes": { + "$ref": "./examples/AzureFirewallListLearnedIPPrefixes.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/IPPrefixesList" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}/packetCapture": { + "post": { + "operationId": "AzureFirewalls_PacketCapture", + "tags": [ + "AzureFirewalls" + ], + "description": "Runs a packet capture on AzureFirewall.", + "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": "azureFirewallName", + "in": "path", + "description": "The name of the Azure Firewall.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to run packet capture on azure firewall.", + "required": true, + "schema": { + "$ref": "#/definitions/FirewallPacketCaptureParameters" + } + } + ], + "responses": { + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "AzureFirewallPacketCapture": { + "$ref": "./examples/AzureFirewallPacketCapture.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/azureFirewalls/{azureFirewallName}/packetCaptureOperation": { + "post": { + "operationId": "AzureFirewalls_PacketCaptureOperation", + "tags": [ + "AzureFirewalls" + ], + "description": "Runs a packet capture operation on AzureFirewall.", + "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": "azureFirewallName", + "in": "path", + "description": "The name of the Azure Firewall.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to run packet capture on azure firewall.", + "required": true, + "schema": { + "$ref": "#/definitions/FirewallPacketCaptureParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureFirewallPacketCaptureResponse" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "AzureFirewallPacketCaptureOperation": { + "$ref": "./examples/AzureFirewallPacketCaptureOperation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/AzureFirewallPacketCaptureResponse" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "AfcConfiguration": { + "type": "object", + "description": "AFC configuration for the Azure Firewall.", + "properties": { + "serviceEndpoint": { + "type": "string", + "description": "The endpoint URL of the AFC control plane associated with this Azure Firewall.", + "readOnly": true + } + } + }, + "AzureFirewall": { + "type": "object", + "description": "Azure Firewall resource.", + "properties": { + "properties": { + "$ref": "#/definitions/AzureFirewallPropertiesFormat", + "description": "Properties of the azure firewall.", + "x-ms-client-flatten": true + }, + "extendedLocation": { + "$ref": "./common.json#/definitions/Common.ExtendedLocation", + "description": "The extended location of type local virtual network gateway." + }, + "zones": { + "type": "array", + "description": "A list of availability zones denoting where the resource needs to come from.", + "items": { + "type": "string" + } + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "AzureFirewallApplicationRule": { + "type": "object", + "description": "Properties of an application rule.", + "properties": { + "name": { + "type": "string", + "description": "Name of the application rule." + }, + "description": { + "type": "string", + "description": "Description of the rule." + }, + "sourceAddresses": { + "type": "array", + "description": "List of source IP addresses for this rule.", + "items": { + "type": "string" + } + }, + "protocols": { + "type": "array", + "description": "Array of ApplicationRuleProtocols.", + "items": { + "$ref": "#/definitions/AzureFirewallApplicationRuleProtocol" + } + }, + "targetFqdns": { + "type": "array", + "description": "List of FQDNs for this rule.", + "items": { + "type": "string" + } + }, + "fqdnTags": { + "type": "array", + "description": "List of FQDN Tags for this rule.", + "items": { + "type": "string" + } + }, + "sourceIpGroups": { + "type": "array", + "description": "List of source IpGroups for this rule.", + "items": { + "type": "string" + } + } + } + }, + "AzureFirewallApplicationRuleCollection": { + "type": "object", + "description": "Application rule collection resource.", + "properties": { + "properties": { + "$ref": "#/definitions/AzureFirewallApplicationRuleCollectionPropertiesFormat", + "description": "Properties of the azure firewall application rule collection.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within the Azure firewall. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "AzureFirewallApplicationRuleCollectionPropertiesFormat": { + "type": "object", + "description": "Properties of the application rule collection.", + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "description": "Priority of the application rule collection resource.", + "minimum": 100, + "maximum": 65000 + }, + "action": { + "$ref": "#/definitions/AzureFirewallRCAction", + "description": "The action type of a rule collection." + }, + "rules": { + "type": "array", + "description": "Collection of rules used by a application rule collection.", + "items": { + "$ref": "#/definitions/AzureFirewallApplicationRule" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the application rule collection resource.", + "readOnly": true + } + } + }, + "AzureFirewallApplicationRuleProtocol": { + "type": "object", + "description": "Properties of the application rule protocol.", + "properties": { + "protocolType": { + "$ref": "./common.json#/definitions/AzureFirewallApplicationRuleProtocolType", + "description": "Protocol type." + }, + "port": { + "type": "integer", + "format": "int32", + "description": "Port number for the protocol, cannot be greater than 64000. This field is optional.", + "minimum": 0, + "maximum": 64000 + } + } + }, + "AzureFirewallAutoscaleConfiguration": { + "type": "object", + "description": "Azure Firewall Autoscale Configuration parameters.", + "properties": { + "minCapacity": { + "type": "integer", + "format": "int32", + "description": "The minimum number of capacity units for this azure firewall. Use null to reset the value to the service default.", + "minimum": 2, + "x-nullable": true + }, + "maxCapacity": { + "type": "integer", + "format": "int32", + "description": "The maximum number of capacity units for this azure firewall. Use null to reset the value to the service default.", + "minimum": 2, + "x-nullable": true + } + } + }, + "AzureFirewallFqdnTag": { + "type": "object", + "description": "Azure Firewall FQDN Tag Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/AzureFirewallFqdnTagPropertiesFormat", + "description": "Properties of the azure firewall FQDN tag.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "AzureFirewallFqdnTagListResult": { + "type": "object", + "description": "The response of a AzureFirewallFqdnTag list operation.", + "properties": { + "value": { + "type": "array", + "description": "The AzureFirewallFqdnTag items on this page", + "items": { + "$ref": "#/definitions/AzureFirewallFqdnTag" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AzureFirewallFqdnTagPropertiesFormat": { + "type": "object", + "description": "Azure Firewall FQDN Tag Properties.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the Azure firewall FQDN tag resource.", + "readOnly": true + }, + "fqdnTagName": { + "type": "string", + "description": "The name of this FQDN Tag.", + "readOnly": true + } + } + }, + "AzureFirewallIPConfiguration": { + "type": "object", + "description": "IP configuration of an Azure Firewall.", + "properties": { + "properties": { + "$ref": "#/definitions/AzureFirewallIPConfigurationPropertiesFormat", + "description": "Properties of the azure firewall IP configuration.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "AzureFirewallIPConfigurationPropertiesFormat": { + "type": "object", + "description": "Properties of IP configuration of an Azure Firewall.", + "properties": { + "privateIPAddress": { + "type": "string", + "description": "The Firewall Internal Load Balancer IP to be used as the next hop in User Defined Routes.", + "readOnly": true + }, + "subnet": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to the subnet resource. This resource must be named 'AzureFirewallSubnet' or 'AzureFirewallManagementSubnet'." + }, + "publicIPAddress": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to the PublicIP resource. This field is a mandatory input if subnet is not null." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the Azure firewall IP configuration resource.", + "readOnly": true + } + } + }, + "AzureFirewallIpGroups": { + "type": "object", + "description": "IpGroups associated with azure firewall.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID.", + "readOnly": true + }, + "changeNumber": { + "type": "string", + "description": "The iteration number.", + "readOnly": true + } + } + }, + "AzureFirewallListResult": { + "type": "object", + "description": "The response of a AzureFirewall list operation.", + "properties": { + "value": { + "type": "array", + "description": "The AzureFirewall items on this page", + "items": { + "$ref": "#/definitions/AzureFirewall" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AzureFirewallNatRCAction": { + "type": "object", + "description": "AzureFirewall NAT Rule Collection Action.", + "properties": { + "type": { + "$ref": "./common.json#/definitions/AzureFirewallNatRCActionType", + "description": "The type of action." + } + } + }, + "AzureFirewallNatRule": { + "type": "object", + "description": "Properties of a NAT rule.", + "properties": { + "name": { + "type": "string", + "description": "Name of the NAT rule." + }, + "description": { + "type": "string", + "description": "Description of the rule." + }, + "sourceAddresses": { + "type": "array", + "description": "List of source IP addresses for this rule.", + "items": { + "type": "string" + } + }, + "destinationAddresses": { + "type": "array", + "description": "List of destination IP addresses for this rule. Supports IP ranges, prefixes, and service tags.", + "items": { + "type": "string" + } + }, + "destinationPorts": { + "type": "array", + "description": "List of destination ports.", + "items": { + "type": "string" + } + }, + "protocols": { + "type": "array", + "description": "Array of AzureFirewallNetworkRuleProtocols applicable to this NAT rule.", + "items": { + "$ref": "./common.json#/definitions/AzureFirewallNetworkRuleProtocol" + } + }, + "translatedAddress": { + "type": "string", + "description": "The translated address for this NAT rule." + }, + "translatedPort": { + "type": "string", + "description": "The translated port for this NAT rule." + }, + "translatedFqdn": { + "type": "string", + "description": "The translated FQDN for this NAT rule." + }, + "sourceIpGroups": { + "type": "array", + "description": "List of source IpGroups for this rule.", + "items": { + "type": "string" + } + } + } + }, + "AzureFirewallNatRuleCollection": { + "type": "object", + "description": "NAT rule collection resource.", + "properties": { + "properties": { + "$ref": "#/definitions/AzureFirewallNatRuleCollectionProperties", + "description": "Properties of the azure firewall NAT rule collection.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within the Azure firewall. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "AzureFirewallNatRuleCollectionProperties": { + "type": "object", + "description": "Properties of the NAT rule collection.", + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "description": "Priority of the NAT rule collection resource.", + "minimum": 100, + "maximum": 65000 + }, + "action": { + "$ref": "#/definitions/AzureFirewallNatRCAction", + "description": "The action type of a NAT rule collection." + }, + "rules": { + "type": "array", + "description": "Collection of rules used by a NAT rule collection.", + "items": { + "$ref": "#/definitions/AzureFirewallNatRule" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the NAT rule collection resource.", + "readOnly": true + } + } + }, + "AzureFirewallNetworkRule": { + "type": "object", + "description": "Properties of the network rule.", + "properties": { + "name": { + "type": "string", + "description": "Name of the network rule." + }, + "description": { + "type": "string", + "description": "Description of the rule." + }, + "protocols": { + "type": "array", + "description": "Array of AzureFirewallNetworkRuleProtocols.", + "items": { + "$ref": "./common.json#/definitions/AzureFirewallNetworkRuleProtocol" + } + }, + "sourceAddresses": { + "type": "array", + "description": "List of source IP addresses for this rule.", + "items": { + "type": "string" + } + }, + "destinationAddresses": { + "type": "array", + "description": "List of destination IP addresses.", + "items": { + "type": "string" + } + }, + "destinationPorts": { + "type": "array", + "description": "List of destination ports.", + "items": { + "type": "string" + } + }, + "destinationFqdns": { + "type": "array", + "description": "List of destination FQDNs.", + "items": { + "type": "string" + } + }, + "sourceIpGroups": { + "type": "array", + "description": "List of source IpGroups for this rule.", + "items": { + "type": "string" + } + }, + "destinationIpGroups": { + "type": "array", + "description": "List of destination IpGroups for this rule.", + "items": { + "type": "string" + } + } + } + }, + "AzureFirewallNetworkRuleCollection": { + "type": "object", + "description": "Network rule collection resource.", + "properties": { + "properties": { + "$ref": "#/definitions/AzureFirewallNetworkRuleCollectionPropertiesFormat", + "description": "Properties of the azure firewall network rule collection.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within the Azure firewall. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "AzureFirewallNetworkRuleCollectionPropertiesFormat": { + "type": "object", + "description": "Properties of the network rule collection.", + "properties": { + "priority": { + "type": "integer", + "format": "int32", + "description": "Priority of the network rule collection resource.", + "minimum": 100, + "maximum": 65000 + }, + "action": { + "$ref": "#/definitions/AzureFirewallRCAction", + "description": "The action type of a rule collection." + }, + "rules": { + "type": "array", + "description": "Collection of rules used by a network rule collection.", + "items": { + "$ref": "#/definitions/AzureFirewallNetworkRule" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the network rule collection resource.", + "readOnly": true + } + } + }, + "AzureFirewallPacketCaptureFlags": { + "type": "object", + "description": "Properties of the AzureFirewallRCAction.", + "properties": { + "type": { + "$ref": "./common.json#/definitions/AzureFirewallPacketCaptureFlagsType", + "description": "Flags to capture" + } + } + }, + "AzureFirewallPacketCaptureResponse": { + "type": "object", + "description": "Response of an Azure Firewall Packet Capture Operation.", + "properties": { + "statusCode": { + "$ref": "./common.json#/definitions/AzureFirewallPacketCaptureResponseCode", + "description": "The response code of the performed packet capture operation" + }, + "message": { + "type": "string", + "description": "Localized Message String of The Result Of The Azure Firewall Packet Capture Operation" + } + } + }, + "AzureFirewallPacketCaptureRule": { + "type": "object", + "description": "Group of src/dest ips and ports to be captured.", + "properties": { + "sources": { + "type": "array", + "description": "List of source IP addresses/subnets to be captured.", + "items": { + "type": "string" + } + }, + "destinations": { + "type": "array", + "description": "List of destination IP addresses/subnets to be captured.", + "items": { + "type": "string" + } + }, + "destinationPorts": { + "type": "array", + "description": "List of ports to be captured.", + "items": { + "type": "string" + } + } + } + }, + "AzureFirewallPropertiesFormat": { + "type": "object", + "description": "Properties of the Azure Firewall.", + "properties": { + "applicationRuleCollections": { + "type": "array", + "description": "Collection of application rule collections used by Azure Firewall.", + "items": { + "$ref": "#/definitions/AzureFirewallApplicationRuleCollection" + } + }, + "natRuleCollections": { + "type": "array", + "description": "Collection of NAT rule collections used by Azure Firewall.", + "items": { + "$ref": "#/definitions/AzureFirewallNatRuleCollection" + } + }, + "networkRuleCollections": { + "type": "array", + "description": "Collection of network rule collections used by Azure Firewall.", + "items": { + "$ref": "#/definitions/AzureFirewallNetworkRuleCollection" + } + }, + "ipConfigurations": { + "type": "array", + "description": "IP configuration of the Azure Firewall resource.", + "items": { + "$ref": "#/definitions/AzureFirewallIPConfiguration" + } + }, + "managementIpConfiguration": { + "$ref": "#/definitions/AzureFirewallIPConfiguration", + "description": "IP configuration of the Azure Firewall used for management traffic." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the Azure firewall resource.", + "readOnly": true + }, + "threatIntelMode": { + "$ref": "./common.json#/definitions/AzureFirewallThreatIntelMode", + "description": "The operation mode for Threat Intelligence." + }, + "virtualHub": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The virtualHub to which the firewall belongs." + }, + "firewallPolicy": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The firewallPolicy associated with this azure firewall." + }, + "hubIPAddresses": { + "$ref": "#/definitions/HubIPAddresses", + "description": "IP addresses associated with AzureFirewall." + }, + "ipGroups": { + "type": "array", + "description": "IpGroups associated with AzureFirewall.", + "items": { + "$ref": "#/definitions/AzureFirewallIpGroups" + }, + "readOnly": true + }, + "sku": { + "$ref": "#/definitions/AzureFirewallSku", + "description": "The Azure Firewall Resource SKU." + }, + "additionalProperties": { + "type": "object", + "description": "The additional properties used to further config this azure firewall.", + "additionalProperties": { + "type": "string" + } + }, + "autoscaleConfiguration": { + "$ref": "#/definitions/AzureFirewallAutoscaleConfiguration", + "description": "Properties to provide a custom autoscale configuration to this azure firewall." + }, + "afcConfiguration": { + "$ref": "#/definitions/AfcConfiguration", + "description": "AFC configuration for the Azure Firewall.", + "readOnly": true + } + } + }, + "AzureFirewallPublicIPAddress": { + "type": "object", + "description": "Public IP Address associated with azure firewall.", + "properties": { + "address": { + "type": "string", + "description": "Public IP Address value." + } + } + }, + "AzureFirewallRCAction": { + "type": "object", + "description": "Properties of the AzureFirewallRCAction.", + "properties": { + "type": { + "$ref": "./common.json#/definitions/AzureFirewallRCActionType", + "description": "The type of action." + } + } + }, + "AzureFirewallSku": { + "type": "object", + "description": "SKU of an Azure Firewall.", + "properties": { + "name": { + "$ref": "./common.json#/definitions/AzureFirewallSkuName", + "description": "Name of an Azure Firewall SKU." + }, + "tier": { + "$ref": "./common.json#/definitions/AzureFirewallSkuTier", + "description": "Tier of an Azure Firewall." + } + } + }, + "FirewallPacketCaptureParameters": { + "type": "object", + "description": "Azure Firewall Packet Capture Parameters.", + "properties": { + "durationInSeconds": { + "type": "integer", + "format": "int32", + "description": "Duration of packet capture in seconds. If the field is not provided, the default value is 60.", + "default": 60, + "minimum": 30, + "maximum": 1800 + }, + "numberOfPacketsToCapture": { + "type": "integer", + "format": "int32", + "description": "Number of packets to be captured. If the field is not provided, the default value is 1000.", + "default": 1000, + "minimum": 100, + "maximum": 90000 + }, + "sasUrl": { + "type": "string", + "description": "Upload capture location" + }, + "fileName": { + "type": "string", + "description": "Name of file to be uploaded to sasURL" + }, + "protocol": { + "$ref": "./common.json#/definitions/AzureFirewallNetworkRuleProtocol", + "description": "The protocol of packets to capture" + }, + "flags": { + "type": "array", + "description": "The tcp-flag type to be captured. Used with protocol TCP", + "items": { + "$ref": "#/definitions/AzureFirewallPacketCaptureFlags" + }, + "x-ms-identifiers": [] + }, + "filters": { + "type": "array", + "description": "Rules to filter packet captures.", + "items": { + "$ref": "#/definitions/AzureFirewallPacketCaptureRule" + }, + "x-ms-identifiers": [] + }, + "operation": { + "type": "string", + "description": "The packet capture operation to perform. If the Start operation is selected, please provide all the fields in the firewallPacketCaptureParameters to successfully initiate the packet capture. If the Status or Stop operation is selected, only the operation field is required; all other fields in the firewallPacketCaptureParameters can be omitted to successfully retrieve the capture status or stop the capture.", + "default": "Start", + "enum": [ + "Start", + "Status", + "Stop" + ], + "x-ms-enum": { + "name": "AzureFirewallPacketCaptureOperationType", + "modelAsString": true, + "values": [ + { + "name": "Start", + "value": "Start", + "description": "Start" + }, + { + "name": "Status", + "value": "Status", + "description": "Status" + }, + { + "name": "Stop", + "value": "Stop", + "description": "Stop" + } + ] + } + } + } + }, + "HubIPAddresses": { + "type": "object", + "description": "IP addresses associated with azure firewall.", + "properties": { + "publicIPs": { + "$ref": "#/definitions/HubPublicIPAddresses", + "description": "Public IP addresses associated with azure firewall." + }, + "privateIPAddress": { + "type": "string", + "description": "Private IP Address associated with azure firewall." + } + } + }, + "HubPublicIPAddresses": { + "type": "object", + "description": "Public IP addresses associated with azure firewall.", + "properties": { + "addresses": { + "type": "array", + "description": "The list of Public IP addresses associated with azure firewall or IP addresses to be retained.", + "items": { + "$ref": "#/definitions/AzureFirewallPublicIPAddress" + } + }, + "count": { + "type": "integer", + "format": "int32", + "description": "The number of Public IP addresses associated with azure firewall." + } + } + }, + "IPPrefixesList": { + "type": "object", + "description": "List of SNAT IP Prefixes learnt by firewall to not SNAT", + "properties": { + "ipPrefixes": { + "type": "array", + "description": "IP Prefix value.", + "items": { + "type": "string" + } + } + } + } + }, + "parameters": {} +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/firewallPolicy.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/firewallPolicy.json new file mode 100644 index 000000000000..02745f9fdc3f --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/firewallPolicy.json @@ -0,0 +1,2468 @@ +{ + "swagger": "2.0", + "info": { + "title": "WebApplicationFirewallManagement", + "version": "2025-07-01", + "description": "APIs to manage web application firewall rules.", + "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": "FirewallPolicies" + }, + { + "name": "FirewallPolicyRuleCollectionGroups" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/firewallPolicies": { + "get": { + "operationId": "FirewallPolicies_ListAll", + "tags": [ + "FirewallPolicies" + ], + "description": "Gets all the Firewall Policies in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FirewallPolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all Firewall Policies for a given subscription": { + "$ref": "./examples/FirewallPolicyListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies": { + "get": { + "operationId": "FirewallPolicies_List", + "tags": [ + "FirewallPolicies" + ], + "description": "Lists all Firewall Policies in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FirewallPolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all Firewall Policies for a given resource group": { + "$ref": "./examples/FirewallPolicyListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}": { + "get": { + "operationId": "FirewallPolicies_Get", + "tags": [ + "FirewallPolicies" + ], + "description": "Gets the specified Firewall 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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FirewallPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get FirewallPolicy": { + "$ref": "./examples/FirewallPolicyGet.json" + } + } + }, + "put": { + "operationId": "FirewallPolicies_CreateOrUpdate", + "tags": [ + "FirewallPolicies" + ], + "description": "Creates or updates the specified Firewall 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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update Firewall Policy operation.", + "required": true, + "schema": { + "$ref": "#/definitions/FirewallPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'FirewallPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/FirewallPolicy" + } + }, + "201": { + "description": "Resource 'FirewallPolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/FirewallPolicy" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create FirewallPolicy": { + "$ref": "./examples/FirewallPolicyPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/FirewallPolicy" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "FirewallPolicies_UpdateTags", + "tags": [ + "FirewallPolicies" + ], + "description": "Updates tags of a Azure Firewall Policy resource.", + "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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update Azure Firewall Policy tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FirewallPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update FirewallPolicy Tags": { + "$ref": "./examples/FirewallPolicyPatch.json" + } + } + }, + "delete": { + "operationId": "FirewallPolicies_Delete", + "tags": [ + "FirewallPolicies" + ], + "description": "Deletes the specified Firewall 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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete Firewall Policy": { + "$ref": "./examples/FirewallPolicyDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/deploy": { + "post": { + "operationId": "FirewallPolicyDeployments_Deploy", + "description": "Deploys the firewall policy draft and child rule collection group drafts.", + "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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + } + ], + "responses": { + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "deploy firewall policy draft": { + "$ref": "./examples/FirewallPolicyDraftDeploy.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/firewallPolicyDrafts/default": { + "get": { + "operationId": "FirewallPolicyDrafts_Get", + "description": "Get a draft Firewall 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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FirewallPolicyDraft" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "get firewall policy draft": { + "$ref": "./examples/FirewallPolicyDraftGet.json" + } + } + }, + "put": { + "operationId": "FirewallPolicyDrafts_CreateOrUpdate", + "description": "Create or update a draft Firewall 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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update Firewall Policy Draft operation.", + "required": true, + "schema": { + "$ref": "#/definitions/FirewallPolicyDraft" + } + } + ], + "responses": { + "200": { + "description": "Resource 'FirewallPolicyDraft' update operation succeeded", + "schema": { + "$ref": "#/definitions/FirewallPolicyDraft" + } + }, + "201": { + "description": "Resource 'FirewallPolicyDraft' create operation succeeded", + "schema": { + "$ref": "#/definitions/FirewallPolicyDraft" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "create or update firewall policy draft": { + "$ref": "./examples/FirewallPolicyDraftPut.json" + } + } + }, + "delete": { + "operationId": "FirewallPolicyDrafts_Delete", + "description": "Delete a draft 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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "delete firewall policy draft": { + "$ref": "./examples/FirewallPolicyDraftDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/listIdpsFilterOptions": { + "post": { + "operationId": "FirewallPolicyIdpsSignaturesFilterValues_List", + "description": "Retrieves the current filter values for the signatures overrides", + "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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "", + "required": true, + "schema": { + "$ref": "#/definitions/SignatureOverridesFilterValuesQuery" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SignatureOverridesFilterValuesResponse" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "query signature overrides": { + "$ref": "./examples/FirewallPolicyQuerySignatureOverridesFilterValues.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/listIdpsSignatures": { + "post": { + "operationId": "FirewallPolicyIdpsSignatures_List", + "description": "Retrieves the current status of IDPS signatures for the relevant policy. Maximal amount of returned signatures is 1000.", + "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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "", + "required": true, + "schema": { + "$ref": "#/definitions/IDPSQueryObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/QueryResults" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "query signature overrides": { + "$ref": "./examples/FirewallPolicyQuerySignatureOverrides.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups": { + "get": { + "operationId": "FirewallPolicyRuleCollectionGroups_List", + "tags": [ + "FirewallPolicyRuleCollectionGroups" + ], + "description": "Lists all FirewallPolicyRuleCollectionGroups in a FirewallPolicy resource.", + "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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FirewallPolicyRuleCollectionGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all FirewallPolicyRuleCollectionGroup With Web Categories": { + "$ref": "./examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesList.json" + }, + "List all FirewallPolicyRuleCollectionGroups for a given FirewallPolicy": { + "$ref": "./examples/FirewallPolicyRuleCollectionGroupList.json" + }, + "List all FirewallPolicyRuleCollectionGroups with IpGroups for a given FirewallPolicy": { + "$ref": "./examples/FirewallPolicyRuleCollectionGroupWithIpGroupsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}": { + "get": { + "operationId": "FirewallPolicyRuleCollectionGroups_Get", + "tags": [ + "FirewallPolicyRuleCollectionGroups" + ], + "description": "Gets the specified FirewallPolicyRuleCollectionGroup.", + "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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + }, + { + "name": "ruleCollectionGroupName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FirewallPolicyRuleCollectionGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get FirewallPolicyNatRuleCollectionGroup": { + "$ref": "./examples/FirewallPolicyNatRuleCollectionGroupGet.json" + }, + "Get FirewallPolicyRuleCollectionGroup": { + "$ref": "./examples/FirewallPolicyRuleCollectionGroupGet.json" + }, + "Get FirewallPolicyRuleCollectionGroup With IpGroups": { + "$ref": "./examples/FirewallPolicyRuleCollectionGroupWithIpGroupsGet.json" + }, + "Get FirewallPolicyRuleCollectionGroup With Web Categories": { + "$ref": "./examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesGet.json" + } + } + }, + "put": { + "operationId": "FirewallPolicyRuleCollectionGroups_CreateOrUpdate", + "tags": [ + "FirewallPolicyRuleCollectionGroups" + ], + "description": "Creates or updates the specified FirewallPolicyRuleCollectionGroup.", + "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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + }, + { + "name": "ruleCollectionGroupName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation.", + "required": true, + "schema": { + "$ref": "#/definitions/FirewallPolicyRuleCollectionGroup" + } + } + ], + "responses": { + "200": { + "description": "Resource 'FirewallPolicyRuleCollectionGroup' update operation succeeded", + "schema": { + "$ref": "#/definitions/FirewallPolicyRuleCollectionGroup" + } + }, + "201": { + "description": "Resource 'FirewallPolicyRuleCollectionGroup' create operation succeeded", + "schema": { + "$ref": "#/definitions/FirewallPolicyRuleCollectionGroup" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create Firewall Policy Nat Rule Collection Group": { + "$ref": "./examples/FirewallPolicyNatRuleCollectionGroupPut.json" + }, + "Create Firewall Policy Rule Collection Group": { + "$ref": "./examples/FirewallPolicyRuleCollectionGroupPut.json" + }, + "Create Firewall Policy Rule Collection Group With IP Groups": { + "$ref": "./examples/FirewallPolicyRuleCollectionGroupWithIpGroupsPut.json" + }, + "Create Firewall Policy Rule Collection Group With Web Categories": { + "$ref": "./examples/FirewallPolicyRuleCollectionGroupWithWebCategoriesPut.json" + }, + "Create Firewall Policy Rule Collection Group With http header to insert": { + "$ref": "./examples/FirewallPolicyRuleCollectionGroupWithHttpHeadersToInsert.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/FirewallPolicyRuleCollectionGroup" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "FirewallPolicyRuleCollectionGroups_Delete", + "tags": [ + "FirewallPolicyRuleCollectionGroups" + ], + "description": "Deletes the specified FirewallPolicyRuleCollectionGroup.", + "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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + }, + { + "name": "ruleCollectionGroupName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete FirewallPolicyRuleCollectionGroup": { + "$ref": "./examples/FirewallPolicyRuleCollectionGroupDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/ruleCollectionGroups/{ruleCollectionGroupName}/ruleCollectionGroupDrafts/default": { + "get": { + "operationId": "FirewallPolicyRuleCollectionGroupDrafts_Get", + "description": "Get Rule Collection Group Draft.", + "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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + }, + { + "name": "ruleCollectionGroupName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FirewallPolicyRuleCollectionGroupDraft" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "get rule collection group draft": { + "$ref": "./examples/FirewallPolicyRuleCollectionGroupDraftGet.json" + } + } + }, + "put": { + "operationId": "FirewallPolicyRuleCollectionGroupDrafts_CreateOrUpdate", + "description": "Create or Update Rule Collection Group Draft.", + "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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + }, + { + "name": "ruleCollectionGroupName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update FirewallPolicyRuleCollectionGroup operation.", + "required": true, + "schema": { + "$ref": "#/definitions/FirewallPolicyRuleCollectionGroupDraft" + } + } + ], + "responses": { + "200": { + "description": "Resource 'FirewallPolicyRuleCollectionGroupDraft' update operation succeeded", + "schema": { + "$ref": "#/definitions/FirewallPolicyRuleCollectionGroupDraft" + } + }, + "201": { + "description": "Resource 'FirewallPolicyRuleCollectionGroupDraft' create operation succeeded", + "schema": { + "$ref": "#/definitions/FirewallPolicyRuleCollectionGroupDraft" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "create or update rule collection group draft": { + "$ref": "./examples/FirewallPolicyRuleCollectionGroupDraftPut.json" + } + } + }, + "delete": { + "operationId": "FirewallPolicyRuleCollectionGroupDrafts_Delete", + "description": "Delete Rule Collection Group Draft.", + "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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + }, + { + "name": "ruleCollectionGroupName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "delete firewall rule collection group draft": { + "$ref": "./examples/FirewallPolicyRuleCollectionGroupDraftDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides": { + "get": { + "operationId": "FirewallPolicyIdpsSignaturesOverrides_List", + "description": "Returns all signatures overrides objects for a specific policy as a list containing a single value.", + "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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SignaturesOverridesList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "get signature overrides": { + "$ref": "./examples/FirewallPolicySignatureOverridesList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/firewallPolicies/{firewallPolicyName}/signatureOverrides/default": { + "get": { + "operationId": "FirewallPolicyIdpsSignaturesOverrides_Get", + "description": "Returns all signatures overrides for a specific 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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SignaturesOverrides" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "get signature overrides": { + "$ref": "./examples/FirewallPolicySignatureOverridesGet.json" + } + } + }, + "put": { + "operationId": "FirewallPolicyIdpsSignaturesOverrides_Put", + "description": "Will override/create a new signature overrides for the policy's IDPS", + "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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Will contain all properties of the object to put", + "required": true, + "schema": { + "$ref": "#/definitions/SignaturesOverrides" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SignaturesOverrides' update operation succeeded", + "schema": { + "$ref": "#/definitions/SignaturesOverrides" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "put signature overrides": { + "$ref": "./examples/FirewallPolicySignatureOverridesPut.json" + } + } + }, + "patch": { + "operationId": "FirewallPolicyIdpsSignaturesOverrides_Patch", + "description": "Will update the status of policy's signature overrides for IDPS", + "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": "firewallPolicyName", + "in": "path", + "description": "The name of the Firewall Policy.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Will contain all properties of the object to put", + "required": true, + "schema": { + "$ref": "#/definitions/SignaturesOverrides" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SignaturesOverrides" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "patch signature overrides": { + "$ref": "./examples/FirewallPolicySignatureOverridesPatch.json" + } + } + } + } + }, + "definitions": { + "ApplicationRule": { + "type": "object", + "description": "Rule of type application.", + "properties": { + "sourceAddresses": { + "type": "array", + "description": "List of source IP addresses for this rule.", + "items": { + "type": "string" + } + }, + "destinationAddresses": { + "type": "array", + "description": "List of destination IP addresses or Service Tags.", + "items": { + "type": "string" + } + }, + "protocols": { + "type": "array", + "description": "Array of Application Protocols.", + "items": { + "$ref": "#/definitions/FirewallPolicyRuleApplicationProtocol" + } + }, + "targetFqdns": { + "type": "array", + "description": "List of FQDNs for this rule.", + "items": { + "type": "string" + } + }, + "targetUrls": { + "type": "array", + "description": "List of Urls for this rule condition.", + "items": { + "type": "string" + } + }, + "fqdnTags": { + "type": "array", + "description": "List of FQDN Tags for this rule.", + "items": { + "type": "string" + } + }, + "sourceIpGroups": { + "type": "array", + "description": "List of source IpGroups for this rule.", + "items": { + "type": "string" + } + }, + "terminateTLS": { + "type": "boolean", + "description": "Terminate TLS connections for this rule." + }, + "webCategories": { + "type": "array", + "description": "List of destination azure web categories.", + "items": { + "type": "string" + } + }, + "httpHeadersToInsert": { + "type": "array", + "description": "List of HTTP/S headers to insert.", + "items": { + "$ref": "#/definitions/FirewallPolicyHttpHeaderToInsert" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/FirewallPolicyRule" + } + ], + "x-ms-discriminator-value": "ApplicationRule" + }, + "DnsSettings": { + "type": "object", + "description": "DNS Proxy Settings in Firewall Policy.", + "properties": { + "servers": { + "type": "array", + "description": "List of Custom DNS Servers.", + "items": { + "type": "string" + } + }, + "enableProxy": { + "type": "boolean", + "description": "Enable DNS Proxy on Firewalls attached to the Firewall Policy." + }, + "requireProxyForNetworkRules": { + "type": "boolean", + "description": "FQDNs in Network Rules are supported when set to true.", + "x-nullable": true + } + } + }, + "ExplicitProxy": { + "type": "object", + "description": "Explicit Proxy Settings in Firewall Policy.", + "properties": { + "enableExplicitProxy": { + "type": "boolean", + "description": "When set to true, explicit proxy mode is enabled.", + "x-nullable": true + }, + "httpPort": { + "type": "integer", + "format": "int32", + "description": "Port number for explicit proxy http protocol, cannot be greater than 64000.", + "minimum": 0, + "maximum": 64000 + }, + "httpsPort": { + "type": "integer", + "format": "int32", + "description": "Port number for explicit proxy https protocol, cannot be greater than 64000.", + "minimum": 0, + "maximum": 64000 + }, + "enablePacFile": { + "type": "boolean", + "description": "When set to true, pac file port and url needs to be provided.", + "x-nullable": true + }, + "pacFilePort": { + "type": "integer", + "format": "int32", + "description": "Port number for firewall to serve PAC file.", + "minimum": 0, + "maximum": 64000 + }, + "pacFile": { + "type": "string", + "description": "SAS URL for PAC file." + } + } + }, + "FilterItems": { + "type": "object", + "description": "Will contain the filter name and values to operate on", + "properties": { + "field": { + "type": "string", + "description": "The name of the field we would like to filter" + }, + "values": { + "type": "array", + "description": "List of values to filter the current field by", + "items": { + "type": "string" + } + } + } + }, + "FirewallPolicy": { + "type": "object", + "description": "FirewallPolicy Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/FirewallPolicyPropertiesFormat", + "description": "Properties of the firewall policy.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "identity": { + "$ref": "./common.json#/definitions/Common.ManagedServiceIdentity", + "description": "The identity of the firewall policy." + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "FirewallPolicyCertificateAuthority": { + "type": "object", + "description": "Trusted Root certificates properties for tls.", + "properties": { + "keyVaultSecretId": { + "type": "string", + "description": "Secret Id of (base-64 encoded unencrypted pfx) 'Secret' or 'Certificate' object stored in KeyVault." + }, + "name": { + "type": "string", + "description": "Name of the CA certificate." + } + } + }, + "FirewallPolicyDraft": { + "type": "object", + "description": "FirewallPolicy Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/FirewallPolicyDraftProperties", + "description": "Properties of the firewall policy.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "FirewallPolicyDraftProperties": { + "type": "object", + "properties": { + "basePolicy": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The parent firewall policy from which rules are inherited." + }, + "threatIntelMode": { + "$ref": "./common.json#/definitions/AzureFirewallThreatIntelMode", + "description": "The operation mode for Threat Intelligence." + }, + "threatIntelWhitelist": { + "$ref": "#/definitions/FirewallPolicyThreatIntelWhitelist", + "description": "ThreatIntel Whitelist for Firewall Policy." + }, + "insights": { + "$ref": "#/definitions/FirewallPolicyInsights", + "description": "Insights on Firewall Policy." + }, + "snat": { + "$ref": "#/definitions/FirewallPolicySNAT", + "description": "The private IP addresses/IP ranges to which traffic will not be SNAT." + }, + "sql": { + "$ref": "#/definitions/FirewallPolicySQL", + "description": "SQL Settings definition." + }, + "dnsSettings": { + "$ref": "#/definitions/DnsSettings", + "description": "DNS Proxy Settings definition." + }, + "explicitProxy": { + "$ref": "#/definitions/ExplicitProxy", + "description": "Explicit Proxy Settings definition." + }, + "intrusionDetection": { + "$ref": "#/definitions/FirewallPolicyIntrusionDetection", + "description": "The configuration for Intrusion detection." + } + } + }, + "FirewallPolicyFilterRuleCollection": { + "type": "object", + "description": "Firewall Policy Filter Rule Collection.", + "properties": { + "action": { + "$ref": "#/definitions/FirewallPolicyFilterRuleCollectionAction", + "description": "The action type of a Filter rule collection." + }, + "rules": { + "type": "array", + "description": "List of rules included in a rule collection.", + "items": { + "$ref": "#/definitions/FirewallPolicyRule" + }, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/FirewallPolicyRuleCollection" + } + ], + "x-ms-discriminator-value": "FirewallPolicyFilterRuleCollection" + }, + "FirewallPolicyFilterRuleCollectionAction": { + "type": "object", + "description": "Properties of the FirewallPolicyFilterRuleCollectionAction.", + "properties": { + "type": { + "$ref": "./common.json#/definitions/FirewallPolicyFilterRuleCollectionActionType", + "description": "The type of action." + } + } + }, + "FirewallPolicyHttpHeaderToInsert": { + "type": "object", + "description": "name and value of HTTP/S header to insert", + "properties": { + "headerName": { + "type": "string", + "description": "Contains the name of the header" + }, + "headerValue": { + "type": "string", + "description": "Contains the value of the header" + } + } + }, + "FirewallPolicyInsights": { + "type": "object", + "description": "Firewall Policy Insights.", + "properties": { + "isEnabled": { + "type": "boolean", + "description": "A flag to indicate if the insights are enabled on the policy." + }, + "retentionDays": { + "type": "integer", + "format": "int32", + "description": "Number of days the insights should be enabled on the policy." + }, + "logAnalyticsResources": { + "$ref": "#/definitions/FirewallPolicyLogAnalyticsResources", + "description": "Workspaces needed to configure the Firewall Policy Insights." + } + } + }, + "FirewallPolicyIntrusionDetection": { + "type": "object", + "description": "Configuration for intrusion detection mode and rules.", + "properties": { + "mode": { + "$ref": "./common.json#/definitions/FirewallPolicyIntrusionDetectionStateType", + "description": "Intrusion detection general state. When attached to a parent policy, the firewall's effective IDPS mode is the stricter mode of the two." + }, + "profile": { + "$ref": "./common.json#/definitions/FirewallPolicyIntrusionDetectionProfileType", + "description": "IDPS profile name. When attached to a parent policy, the firewall's effective profile is the profile name of the parent policy." + }, + "configuration": { + "$ref": "#/definitions/FirewallPolicyIntrusionDetectionConfiguration", + "description": "Intrusion detection configuration properties." + } + } + }, + "FirewallPolicyIntrusionDetectionBypassTrafficSpecifications": { + "type": "object", + "description": "Intrusion detection bypass traffic specification.", + "properties": { + "name": { + "type": "string", + "description": "Name of the bypass traffic rule." + }, + "description": { + "type": "string", + "description": "Description of the bypass traffic rule." + }, + "protocol": { + "$ref": "./common.json#/definitions/FirewallPolicyIntrusionDetectionProtocol", + "description": "The rule bypass protocol." + }, + "sourceAddresses": { + "type": "array", + "description": "List of source IP addresses or ranges for this rule.", + "items": { + "type": "string" + } + }, + "destinationAddresses": { + "type": "array", + "description": "List of destination IP addresses or ranges for this rule.", + "items": { + "type": "string" + } + }, + "destinationPorts": { + "type": "array", + "description": "List of destination ports or ranges.", + "items": { + "type": "string" + } + }, + "sourceIpGroups": { + "type": "array", + "description": "List of source IpGroups for this rule.", + "items": { + "type": "string" + } + }, + "destinationIpGroups": { + "type": "array", + "description": "List of destination IpGroups for this rule.", + "items": { + "type": "string" + } + } + } + }, + "FirewallPolicyIntrusionDetectionConfiguration": { + "type": "object", + "description": "The operation for configuring intrusion detection.", + "properties": { + "signatureOverrides": { + "type": "array", + "description": "List of specific signatures states.", + "items": { + "$ref": "#/definitions/FirewallPolicyIntrusionDetectionSignatureSpecification" + } + }, + "bypassTrafficSettings": { + "type": "array", + "description": "List of rules for traffic to bypass.", + "items": { + "$ref": "#/definitions/FirewallPolicyIntrusionDetectionBypassTrafficSpecifications" + }, + "x-ms-identifiers": [] + }, + "privateRanges": { + "type": "array", + "description": "IDPS Private IP address ranges are used to identify traffic direction (i.e. inbound, outbound, etc.). By default, only ranges defined by IANA RFC 1918 are considered private IP addresses. To modify default ranges, specify your Private IP address ranges with this property", + "items": { + "type": "string" + } + } + } + }, + "FirewallPolicyIntrusionDetectionSignatureSpecification": { + "type": "object", + "description": "Intrusion detection signatures specification states.", + "properties": { + "id": { + "type": "string", + "description": "Signature id." + }, + "mode": { + "$ref": "./common.json#/definitions/FirewallPolicyIntrusionDetectionStateType", + "description": "The signature state." + } + } + }, + "FirewallPolicyListResult": { + "type": "object", + "description": "The response of a FirewallPolicy list operation.", + "properties": { + "value": { + "type": "array", + "description": "The FirewallPolicy items on this page", + "items": { + "$ref": "#/definitions/FirewallPolicy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FirewallPolicyLogAnalyticsResources": { + "type": "object", + "description": "Log Analytics Resources for Firewall Policy Insights.", + "properties": { + "workspaces": { + "type": "array", + "description": "List of workspaces for Firewall Policy Insights.", + "items": { + "$ref": "#/definitions/FirewallPolicyLogAnalyticsWorkspace" + }, + "x-ms-identifiers": [] + }, + "defaultWorkspaceId": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The default workspace Id for Firewall Policy Insights." + } + } + }, + "FirewallPolicyLogAnalyticsWorkspace": { + "type": "object", + "description": "Log Analytics Workspace for Firewall Policy Insights.", + "properties": { + "region": { + "type": "string", + "description": "Region to configure the Workspace." + }, + "workspaceId": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The workspace Id for Firewall Policy Insights." + } + } + }, + "FirewallPolicyNatRuleCollection": { + "type": "object", + "description": "Firewall Policy NAT Rule Collection.", + "properties": { + "action": { + "$ref": "#/definitions/FirewallPolicyNatRuleCollectionAction", + "description": "The action type of a Nat rule collection." + }, + "rules": { + "type": "array", + "description": "List of rules included in a rule collection.", + "items": { + "$ref": "#/definitions/FirewallPolicyRule" + }, + "x-ms-identifiers": [] + } + }, + "allOf": [ + { + "$ref": "#/definitions/FirewallPolicyRuleCollection" + } + ], + "x-ms-discriminator-value": "FirewallPolicyNatRuleCollection" + }, + "FirewallPolicyNatRuleCollectionAction": { + "type": "object", + "description": "Properties of the FirewallPolicyNatRuleCollectionAction.", + "properties": { + "type": { + "$ref": "./common.json#/definitions/FirewallPolicyNatRuleCollectionActionType", + "description": "The type of action." + } + } + }, + "FirewallPolicyPropertiesFormat": { + "type": "object", + "description": "Firewall Policy definition.", + "properties": { + "size": { + "type": "string", + "description": "A read-only string that represents the size of the FirewallPolicyPropertiesFormat in MB. (ex 0.5MB)", + "readOnly": true + }, + "ruleCollectionGroups": { + "type": "array", + "description": "List of references to FirewallPolicyRuleCollectionGroups.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the firewall policy resource.", + "readOnly": true + }, + "basePolicy": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The parent firewall policy from which rules are inherited." + }, + "firewalls": { + "type": "array", + "description": "List of references to Azure Firewalls that this Firewall Policy is associated with.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "childPolicies": { + "type": "array", + "description": "List of references to Child Firewall Policies.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "threatIntelMode": { + "$ref": "./common.json#/definitions/AzureFirewallThreatIntelMode", + "description": "The operation mode for Threat Intelligence." + }, + "threatIntelWhitelist": { + "$ref": "#/definitions/FirewallPolicyThreatIntelWhitelist", + "description": "ThreatIntel Whitelist for Firewall Policy." + }, + "insights": { + "$ref": "#/definitions/FirewallPolicyInsights", + "description": "Insights on Firewall Policy." + }, + "snat": { + "$ref": "#/definitions/FirewallPolicySNAT", + "description": "The private IP addresses/IP ranges to which traffic will not be SNAT." + }, + "sql": { + "$ref": "#/definitions/FirewallPolicySQL", + "description": "SQL Settings definition." + }, + "dnsSettings": { + "$ref": "#/definitions/DnsSettings", + "description": "DNS Proxy Settings definition." + }, + "explicitProxy": { + "$ref": "#/definitions/ExplicitProxy", + "description": "Explicit Proxy Settings definition." + }, + "intrusionDetection": { + "$ref": "#/definitions/FirewallPolicyIntrusionDetection", + "description": "The configuration for Intrusion detection." + }, + "transportSecurity": { + "$ref": "#/definitions/FirewallPolicyTransportSecurity", + "description": "TLS Configuration definition." + }, + "sku": { + "$ref": "#/definitions/FirewallPolicySku", + "description": "The Firewall Policy SKU." + } + } + }, + "FirewallPolicyRule": { + "type": "object", + "description": "Properties of a rule.", + "properties": { + "name": { + "type": "string", + "description": "Name of the rule." + }, + "description": { + "type": "string", + "description": "Description of the rule." + }, + "ruleType": { + "$ref": "./common.json#/definitions/FirewallPolicyRuleType", + "description": "Rule Type." + } + }, + "discriminator": "ruleType", + "required": [ + "ruleType" + ] + }, + "FirewallPolicyRuleApplicationProtocol": { + "type": "object", + "description": "Properties of the application rule protocol.", + "properties": { + "protocolType": { + "$ref": "./common.json#/definitions/FirewallPolicyRuleApplicationProtocolType", + "description": "Protocol type." + }, + "port": { + "type": "integer", + "format": "int32", + "description": "Port number for the protocol, cannot be greater than 64000.", + "minimum": 0, + "maximum": 64000 + } + } + }, + "FirewallPolicyRuleCollection": { + "type": "object", + "description": "Properties of the rule collection.", + "properties": { + "ruleCollectionType": { + "$ref": "./common.json#/definitions/FirewallPolicyRuleCollectionType", + "description": "The type of the rule collection." + }, + "name": { + "type": "string", + "description": "The name of the rule collection." + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "Priority of the Firewall Policy Rule Collection resource.", + "minimum": 100, + "maximum": 65000 + } + }, + "discriminator": "ruleCollectionType", + "required": [ + "ruleCollectionType" + ] + }, + "FirewallPolicyRuleCollectionGroup": { + "type": "object", + "description": "Rule Collection Group resource.", + "properties": { + "properties": { + "$ref": "#/definitions/FirewallPolicyRuleCollectionGroupProperties", + "description": "The properties of the firewall policy rule collection group.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "FirewallPolicyRuleCollectionGroupDraft": { + "type": "object", + "description": "Rule Collection Group resource.", + "properties": { + "properties": { + "$ref": "#/definitions/FirewallPolicyRuleCollectionGroupDraftProperties", + "description": "The properties of the firewall policy rule collection group.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "FirewallPolicyRuleCollectionGroupDraftProperties": { + "type": "object", + "description": "Properties of the rule collection group draft.", + "properties": { + "size": { + "type": "string", + "description": "A read-only string that represents the size of the FirewallPolicyRuleCollectionGroupProperties in MB. (ex 1.2MB)", + "readOnly": true + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "Priority of the Firewall Policy Rule Collection Group resource.", + "minimum": 100, + "maximum": 65000 + }, + "ruleCollections": { + "type": "array", + "description": "Group of Firewall Policy rule collections.", + "items": { + "$ref": "#/definitions/FirewallPolicyRuleCollection" + }, + "x-ms-identifiers": [] + } + } + }, + "FirewallPolicyRuleCollectionGroupListResult": { + "type": "object", + "description": "The response of a FirewallPolicyRuleCollectionGroup list operation.", + "properties": { + "value": { + "type": "array", + "description": "The FirewallPolicyRuleCollectionGroup items on this page", + "items": { + "$ref": "#/definitions/FirewallPolicyRuleCollectionGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FirewallPolicyRuleCollectionGroupProperties": { + "type": "object", + "description": "Properties of the rule collection group.", + "properties": { + "size": { + "type": "string", + "description": "A read-only string that represents the size of the FirewallPolicyRuleCollectionGroupProperties in MB. (ex 1.2MB)", + "readOnly": true + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "Priority of the Firewall Policy Rule Collection Group resource.", + "minimum": 100, + "maximum": 65000 + }, + "ruleCollections": { + "type": "array", + "description": "Group of Firewall Policy rule collections.", + "items": { + "$ref": "#/definitions/FirewallPolicyRuleCollection" + }, + "x-ms-identifiers": [] + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the firewall policy rule collection group resource.", + "readOnly": true + } + } + }, + "FirewallPolicySNAT": { + "type": "object", + "description": "The private IP addresses/IP ranges to which traffic will not be SNAT.", + "properties": { + "privateRanges": { + "type": "array", + "description": "List of private IP addresses/IP address ranges to not be SNAT.", + "items": { + "type": "string" + } + }, + "autoLearnPrivateRanges": { + "$ref": "./common.json#/definitions/AutoLearnPrivateRangesMode", + "description": "The operation mode for automatically learning private ranges to not be SNAT" + } + } + }, + "FirewallPolicySQL": { + "type": "object", + "description": "SQL Settings in Firewall Policy.", + "properties": { + "allowSqlRedirect": { + "type": "boolean", + "description": "A flag to indicate if SQL Redirect traffic filtering is enabled. Turning on the flag requires no rule using port 11000-11999." + } + } + }, + "FirewallPolicySku": { + "type": "object", + "description": "SKU of Firewall policy.", + "properties": { + "tier": { + "$ref": "./common.json#/definitions/FirewallPolicySkuTier", + "description": "Tier of Firewall Policy." + } + } + }, + "FirewallPolicyThreatIntelWhitelist": { + "type": "object", + "description": "ThreatIntel Whitelist for Firewall Policy.", + "properties": { + "ipAddresses": { + "type": "array", + "description": "List of IP addresses for the ThreatIntel Whitelist.", + "items": { + "type": "string" + } + }, + "fqdns": { + "type": "array", + "description": "List of FQDNs for the ThreatIntel Whitelist.", + "items": { + "type": "string" + } + } + } + }, + "FirewallPolicyTransportSecurity": { + "type": "object", + "description": "Configuration needed to perform TLS termination & initiation.", + "properties": { + "certificateAuthority": { + "$ref": "#/definitions/FirewallPolicyCertificateAuthority", + "description": "The CA used for intermediate CA generation." + } + } + }, + "IDPSQueryObject": { + "type": "object", + "description": "Will describe the query to run against the IDPS signatures DB", + "properties": { + "filters": { + "type": "array", + "description": "Contain all filters names and values", + "items": { + "$ref": "#/definitions/FilterItems" + }, + "x-ms-identifiers": [] + }, + "search": { + "type": "string", + "description": "Search term in all columns" + }, + "orderBy": { + "$ref": "#/definitions/OrderBy", + "description": "Column to sort response by" + }, + "resultsPerPage": { + "type": "integer", + "format": "int32", + "description": "The number of the results to return in each page", + "minimum": 1, + "maximum": 1000 + }, + "skip": { + "type": "integer", + "format": "int32", + "description": "The number of records matching the filter to skip" + } + } + }, + "NatRule": { + "type": "object", + "description": "Rule of type nat.", + "properties": { + "ipProtocols": { + "type": "array", + "description": "Array of FirewallPolicyRuleNetworkProtocols.", + "items": { + "$ref": "./common.json#/definitions/FirewallPolicyRuleNetworkProtocol" + } + }, + "sourceAddresses": { + "type": "array", + "description": "List of source IP addresses for this rule.", + "items": { + "type": "string" + } + }, + "destinationAddresses": { + "type": "array", + "description": "List of destination IP addresses or Service Tags.", + "items": { + "type": "string" + } + }, + "destinationPorts": { + "type": "array", + "description": "List of destination ports.", + "items": { + "type": "string" + } + }, + "translatedAddress": { + "type": "string", + "description": "The translated address for this NAT rule." + }, + "translatedPort": { + "type": "string", + "description": "The translated port for this NAT rule." + }, + "sourceIpGroups": { + "type": "array", + "description": "List of source IpGroups for this rule.", + "items": { + "type": "string" + } + }, + "translatedFqdn": { + "type": "string", + "description": "The translated FQDN for this NAT rule." + } + }, + "allOf": [ + { + "$ref": "#/definitions/FirewallPolicyRule" + } + ], + "x-ms-discriminator-value": "NatRule" + }, + "NetworkRule": { + "type": "object", + "description": "Rule of type network.", + "properties": { + "ipProtocols": { + "type": "array", + "description": "Array of FirewallPolicyRuleNetworkProtocols.", + "items": { + "$ref": "./common.json#/definitions/FirewallPolicyRuleNetworkProtocol" + } + }, + "sourceAddresses": { + "type": "array", + "description": "List of source IP addresses for this rule.", + "items": { + "type": "string" + } + }, + "destinationAddresses": { + "type": "array", + "description": "List of destination IP addresses or Service Tags.", + "items": { + "type": "string" + } + }, + "destinationPorts": { + "type": "array", + "description": "List of destination ports.", + "items": { + "type": "string" + } + }, + "sourceIpGroups": { + "type": "array", + "description": "List of source IpGroups for this rule.", + "items": { + "type": "string" + } + }, + "destinationIpGroups": { + "type": "array", + "description": "List of destination IpGroups for this rule.", + "items": { + "type": "string" + } + }, + "destinationFqdns": { + "type": "array", + "description": "List of destination FQDNs.", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "#/definitions/FirewallPolicyRule" + } + ], + "x-ms-discriminator-value": "NetworkRule" + }, + "OrderBy": { + "type": "object", + "description": "Describes a column to sort", + "properties": { + "field": { + "type": "string", + "description": "Describes the actual column name to sort by" + }, + "order": { + "$ref": "./common.json#/definitions/FirewallPolicyIDPSQuerySortOrder", + "description": "Describes if results should be in ascending/descending order" + } + } + }, + "QueryResults": { + "type": "object", + "description": "Query result", + "properties": { + "matchingRecordsCount": { + "type": "integer", + "format": "int64", + "description": "Number of total records matching the query." + }, + "signatures": { + "type": "array", + "description": "Array containing the results of the query", + "items": { + "$ref": "#/definitions/SingleQueryResult" + }, + "x-ms-identifiers": [] + } + } + }, + "SignatureOverridesFilterValuesQuery": { + "type": "object", + "description": "Describes the filter values possibles for a given column", + "properties": { + "filterName": { + "type": "string", + "description": "Describes the name of the column which values will be returned" + } + } + }, + "SignatureOverridesFilterValuesResponse": { + "type": "object", + "description": "Describes the list of all possible values for a specific filter value", + "properties": { + "filterValues": { + "type": "array", + "description": "Describes the possible values", + "items": { + "type": "string" + } + } + } + }, + "SignaturesOverrides": { + "type": "object", + "description": "Contains all specific policy signatures overrides for the IDPS", + "properties": { + "properties": { + "$ref": "#/definitions/SignaturesOverridesProperties", + "description": "Will contain the properties of the resource (the actual signature overrides)" + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/WritableResource" + } + ] + }, + "SignaturesOverridesList": { + "type": "object", + "description": "Describes an object containing an array with a single item", + "properties": { + "value": { + "type": "array", + "description": "Describes a list consisting exactly one item describing the policy's signature override status", + "items": { + "$ref": "#/definitions/SignaturesOverrides" + } + } + } + }, + "SignaturesOverridesProperties": { + "type": "object", + "description": "Will contain the properties of the resource (the actual signature overrides)", + "properties": { + "signatures": { + "type": "object", + "description": "Dictionary of ", + "additionalProperties": { + "type": "string" + } + } + } + }, + "SingleQueryResult": { + "type": "object", + "properties": { + "signatureId": { + "type": "integer", + "format": "int32", + "description": "The ID of the signature" + }, + "mode": { + "$ref": "./common.json#/definitions/FirewallPolicyIDPSSignatureMode", + "description": "The current mode enforced, 0 - Disabled, 1 - Alert, 2 -Deny" + }, + "severity": { + "$ref": "./common.json#/definitions/FirewallPolicyIDPSSignatureSeverity", + "description": "Describes the severity of signature: 1 - High, 2 - Medium, 3 - Low" + }, + "direction": { + "$ref": "./common.json#/definitions/FirewallPolicyIDPSSignatureDirection", + "description": "Describes in which direction signature is being enforced: 0 - OutBound, 1 - InBound, 2 - Any, 3 - Internal, 4 - InternalOutbound, 5 - InternalInbound" + }, + "group": { + "type": "string", + "description": "Describes the groups the signature belongs to" + }, + "description": { + "type": "string", + "description": "Describes what is the signature enforces" + }, + "protocol": { + "type": "string", + "description": "Describes the protocol the signatures is being enforced in" + }, + "sourcePorts": { + "type": "array", + "description": "Describes the list of source ports related to this signature", + "items": { + "type": "string" + } + }, + "destinationPorts": { + "type": "array", + "description": "Describes the list of destination ports related to this signature", + "items": { + "type": "string" + } + }, + "lastUpdated": { + "type": "string", + "description": "Describes the last updated time of the signature (provided from 3rd party vendor)" + }, + "inheritedFromParentPolicy": { + "type": "boolean", + "description": "Describes if this override is inherited from base policy or not" + } + } + } + }, + "parameters": {} +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/loadBalancer.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/loadBalancer.json new file mode 100644 index 000000000000..0e1047ca37e7 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/loadBalancer.json @@ -0,0 +1,2820 @@ +{ + "swagger": "2.0", + "info": { + "title": "WebApplicationFirewallManagement", + "version": "2025-07-01", + "description": "APIs to manage web application firewall rules.", + "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": "LoadBalancers" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/loadBalancers": { + "get": { + "operationId": "LoadBalancers_ListAll", + "tags": [ + "LoadBalancers" + ], + "description": "Gets all the load balancers in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LoadBalancerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all load balancers": { + "$ref": "./examples/LoadBalancerListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/setLoadBalancerFrontendPublicIpAddresses": { + "post": { + "operationId": "LoadBalancers_SwapPublicIpAddresses", + "tags": [ + "LoadBalancers" + ], + "description": "Swaps VIPs between two load balancers.", + "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/LocationParameter" + }, + { + "name": "parameters", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/LoadBalancerVipSwapRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Swap VIPs between two load balancers.": { + "$ref": "./examples/LoadBalancersSwapPublicIpAddresses.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers": { + "get": { + "operationId": "LoadBalancers_List", + "tags": [ + "LoadBalancers" + ], + "description": "Gets all the load balancers in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LoadBalancerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List load balancers in resource group": { + "$ref": "./examples/LoadBalancerList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}": { + "get": { + "operationId": "LoadBalancers_Get", + "tags": [ + "LoadBalancers" + ], + "description": "Gets the specified load balancer.", + "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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + }, + { + "name": "detailLevel", + "in": "query", + "description": "Controls verbosity of the returned load balancer resource. When set to 'Reduced', read-only back-reference collections (e.g., rules referencing frontendIPConfigurations) are omitted from the response.", + "required": false, + "type": "string", + "enum": [ + "Reduced" + ], + "x-ms-enum": { + "name": "LoadBalancerDetailLevel", + "modelAsString": true, + "values": [ + { + "name": "Reduced", + "value": "Reduced", + "description": "When set to 'Reduced', read-only reference collections may be omitted." + } + ] + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.LoadBalancer" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get load balancer": { + "$ref": "./examples/LoadBalancerGet.json" + }, + "Get load balancer reduced": { + "$ref": "./examples/LoadBalancerGetReduced.json" + }, + "Get load balancer with inbound NAT rule port mapping": { + "$ref": "./examples/LoadBalancerGetInboundNatRulePortMapping.json" + } + } + }, + "put": { + "operationId": "LoadBalancers_CreateOrUpdate", + "tags": [ + "LoadBalancers" + ], + "description": "Creates or updates a load balancer.", + "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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update load balancer operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.LoadBalancer" + } + } + ], + "responses": { + "200": { + "description": "Resource 'LoadBalancer' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.LoadBalancer" + } + }, + "201": { + "description": "Resource 'LoadBalancer' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.LoadBalancer" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create load balancer": { + "$ref": "./examples/LoadBalancerCreate.json" + }, + "Create load balancer with Frontend IP in Zone 1": { + "$ref": "./examples/LoadBalancerCreateWithZones.json" + }, + "Create load balancer with Gateway Load Balancer Consumer configured": { + "$ref": "./examples/LoadBalancerCreateGatewayLoadBalancerConsumer.json" + }, + "Create load balancer with Gateway Load Balancer Provider configured with one Backend Pool": { + "$ref": "./examples/LoadBalancerCreateGatewayLoadBalancerProviderWithOneBackendPool.json" + }, + "Create load balancer with Gateway Load Balancer Provider configured with two Backend Pool": { + "$ref": "./examples/LoadBalancerCreateGatewayLoadBalancerProviderWithTwoBackendPool.json" + }, + "Create load balancer with Global Tier and one regional load balancer in its backend pool": { + "$ref": "./examples/LoadBalancerCreateGlobalTier.json" + }, + "Create load balancer with Standard SKU": { + "$ref": "./examples/LoadBalancerCreateStandardSku.json" + }, + "Create load balancer with Sync Mode Property on Pool": { + "$ref": "./examples/LoadBalancerCreateWithSyncModePropertyOnPool.json" + }, + "Create load balancer with inbound nat pool": { + "$ref": "./examples/LoadBalancerCreateWithInboundNatPool.json" + }, + "Create load balancer with outbound rules": { + "$ref": "./examples/LoadBalancerCreateWithOutboundRules.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.LoadBalancer" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "LoadBalancers_UpdateTags", + "tags": [ + "LoadBalancers" + ], + "description": "Updates a load balancer tags.", + "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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update load balancer tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.LoadBalancer" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update load balancer tags": { + "$ref": "./examples/LoadBalancerUpdateTags.json" + } + } + }, + "delete": { + "operationId": "LoadBalancers_Delete", + "tags": [ + "LoadBalancers" + ], + "description": "Deletes the specified load balancer.", + "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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete load balancer": { + "$ref": "./examples/LoadBalancerDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools": { + "get": { + "operationId": "LoadBalancerBackendAddressPools_List", + "tags": [ + "LoadBalancers" + ], + "description": "Gets all the load balancer backed address pools.", + "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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/LoadBalancerBackendAddressPoolListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Load balancer with BackendAddressPool containing BackendAddresses": { + "$ref": "./examples/LBBackendAddressPoolListWithBackendAddressesPoolType.json" + }, + "LoadBalancerBackendAddressPoolList": { + "$ref": "./examples/LoadBalancerBackendAddressPoolList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendAddressPoolName}": { + "get": { + "operationId": "LoadBalancerBackendAddressPools_Get", + "tags": [ + "LoadBalancers" + ], + "description": "Gets load balancer backend address pool.", + "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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + }, + { + "name": "backendAddressPoolName", + "in": "path", + "description": "The name of the backend address pool.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.BackendAddressPool" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "LoadBalancer with BackendAddressPool with BackendAddresses": { + "$ref": "./examples/LBBackendAddressPoolWithBackendAddressesGet.json" + }, + "LoadBalancerBackendAddressPoolGet": { + "$ref": "./examples/LoadBalancerBackendAddressPoolGet.json" + } + } + }, + "put": { + "operationId": "LoadBalancerBackendAddressPools_CreateOrUpdate", + "tags": [ + "LoadBalancers" + ], + "description": "Creates or updates a load balancer backend address pool.", + "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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + }, + { + "name": "backendAddressPoolName", + "in": "path", + "description": "The name of the backend address pool.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update load balancer backend address pool operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.BackendAddressPool" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BackendAddressPool' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.BackendAddressPool" + } + }, + "201": { + "description": "Resource 'BackendAddressPool' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.BackendAddressPool" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update load balancer backend pool with backend addresses containing virtual network and IP address.": { + "$ref": "./examples/LBBackendAddressPoolWithBackendAddressesPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.BackendAddressPool" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "LoadBalancerBackendAddressPools_Delete", + "tags": [ + "LoadBalancers" + ], + "description": "Deletes the specified load balancer backend address pool.", + "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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + }, + { + "name": "backendAddressPoolName", + "in": "path", + "description": "The name of the backend address pool.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "BackendAddressPoolDelete": { + "$ref": "./examples/LoadBalancerBackendAddressPoolDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/backendAddressPools/{backendPoolName}/queryInboundNatRulePortMapping": { + "post": { + "operationId": "LoadBalancers_ListInboundNatRulePortMappings", + "tags": [ + "LoadBalancers" + ], + "description": "List of inbound NAT rule port mappings.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "groupName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + }, + { + "name": "backendPoolName", + "in": "path", + "description": "The name of the backend address pool.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Query inbound NAT rule port mapping request.", + "required": true, + "schema": { + "$ref": "#/definitions/QueryInboundNatRulePortMappingRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackendAddressInboundNatRulePortMappings" + } + }, + "202": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BackendAddressInboundNatRulePortMappings" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Query inbound NAT rule port mapping": { + "$ref": "./examples/QueryInboundNatRulePortMapping.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/BackendAddressInboundNatRulePortMappings" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations": { + "get": { + "operationId": "LoadBalancerFrontendIPConfigurations_List", + "tags": [ + "LoadBalancers" + ], + "description": "Gets all the load balancer frontend IP configurations.", + "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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/LoadBalancerFrontendIPConfigurationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "LoadBalancerFrontendIPConfigurationList": { + "$ref": "./examples/LoadBalancerFrontendIPConfigurationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/frontendIPConfigurations/{frontendIPConfigurationName}": { + "get": { + "operationId": "LoadBalancerFrontendIPConfigurations_Get", + "tags": [ + "LoadBalancers" + ], + "description": "Gets load balancer frontend IP configuration.", + "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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + }, + { + "name": "frontendIPConfigurationName", + "in": "path", + "description": "The name of the resource that is unique within the set of frontend IP configurations used by the load balancer. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.FrontendIPConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "LoadBalancerFrontendIPConfigurationGet": { + "$ref": "./examples/LoadBalancerFrontendIPConfigurationGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules": { + "get": { + "operationId": "InboundNatRules_List", + "tags": [ + "LoadBalancers" + ], + "description": "Gets all the inbound NAT rules in a load balancer.", + "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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InboundNatRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "InboundNatRuleList": { + "$ref": "./examples/InboundNatRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/inboundNatRules/{inboundNatRuleName}": { + "get": { + "operationId": "InboundNatRules_Get", + "tags": [ + "LoadBalancers" + ], + "description": "Gets the specified load balancer inbound NAT 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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + }, + { + "name": "inboundNatRuleName", + "in": "path", + "description": "The name of the inbound NAT rule.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.InboundNatRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "InboundNatRuleGet": { + "$ref": "./examples/InboundNatRuleGet.json" + } + } + }, + "put": { + "operationId": "InboundNatRules_CreateOrUpdate", + "tags": [ + "LoadBalancers" + ], + "description": "Creates or updates a load balancer inbound NAT 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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + }, + { + "name": "inboundNatRuleName", + "in": "path", + "description": "The name of the inbound NAT rule.", + "required": true, + "type": "string" + }, + { + "name": "inboundNatRuleParameters", + "in": "body", + "description": "Parameters supplied to the create or update inbound NAT rule operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.InboundNatRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InboundNatRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.InboundNatRule" + } + }, + "201": { + "description": "Resource 'InboundNatRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.InboundNatRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "InboundNatRuleCreate": { + "$ref": "./examples/InboundNatRuleCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.InboundNatRule" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "InboundNatRules_Delete", + "tags": [ + "LoadBalancers" + ], + "description": "Deletes the specified load balancer inbound NAT 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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + }, + { + "name": "inboundNatRuleName", + "in": "path", + "description": "The name of the inbound NAT rule.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "InboundNatRuleDelete": { + "$ref": "./examples/InboundNatRuleDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules": { + "get": { + "operationId": "LoadBalancerLoadBalancingRules_List", + "tags": [ + "LoadBalancers" + ], + "description": "Gets all the load balancing rules in a load balancer.", + "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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/LoadBalancerLoadBalancingRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "LoadBalancerLoadBalancingRuleList": { + "$ref": "./examples/LoadBalancerLoadBalancingRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}": { + "get": { + "operationId": "LoadBalancerLoadBalancingRules_Get", + "tags": [ + "LoadBalancers" + ], + "description": "Gets the specified load balancer load balancing 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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + }, + { + "name": "loadBalancingRuleName", + "in": "path", + "description": "The name of the load balancing rule.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.LoadBalancingRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "LoadBalancerLoadBalancingRuleGet": { + "$ref": "./examples/LoadBalancerLoadBalancingRuleGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/loadBalancingRules/{loadBalancingRuleName}/health": { + "post": { + "operationId": "LoadBalancerLoadBalancingRules_Health", + "tags": [ + "LoadBalancers" + ], + "description": "Get health details of a load balancing rule.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "groupName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "loadBalancingRuleName", + "in": "path", + "description": "The name of the load balancing rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LoadBalancerHealthPerRule" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Query load balancing rule health": { + "$ref": "./examples/LoadBalancerHealth.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/LoadBalancerHealthPerRule" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/migrateToIpBased": { + "post": { + "operationId": "LoadBalancers_MigrateToIpBased", + "tags": [ + "LoadBalancers" + ], + "description": "Migrate load balancer to IP Based", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "groupName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "name": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string", + "pattern": "^[a-z][a-z0-9]*$" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the migrateToIpBased Api.", + "required": false, + "schema": { + "$ref": "#/definitions/MigrateLoadBalancerToIpBasedRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/MigratedPools" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Migrate load balancer to IP Based": { + "$ref": "./examples/MigrateLoadBalancerToIPBased.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/networkInterfaces": { + "get": { + "operationId": "LoadBalancerNetworkInterfaces_List", + "tags": [ + "LoadBalancers" + ], + "description": "Gets associated load balancer network interfaces.", + "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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./virtualNetwork.json#/definitions/NetworkInterfaceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "LoadBalancerNetworkInterfaceListSimple": { + "$ref": "./examples/LoadBalancerNetworkInterfaceListSimple.json" + }, + "LoadBalancerNetworkInterfaceListVmss": { + "$ref": "./examples/LoadBalancerNetworkInterfaceListVmss.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules": { + "get": { + "operationId": "LoadBalancerOutboundRules_List", + "tags": [ + "LoadBalancers" + ], + "description": "Gets all the outbound rules in a load balancer.", + "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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/LoadBalancerOutboundRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "LoadBalancerOutboundRuleList": { + "$ref": "./examples/LoadBalancerOutboundRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/outboundRules/{outboundRuleName}": { + "get": { + "operationId": "LoadBalancerOutboundRules_Get", + "tags": [ + "LoadBalancers" + ], + "description": "Gets the specified load balancer outbound 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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + }, + { + "name": "outboundRuleName", + "in": "path", + "description": "The name of the outbound rule.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.OutboundRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "LoadBalancerOutboundRuleGet": { + "$ref": "./examples/LoadBalancerOutboundRuleGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes": { + "get": { + "operationId": "LoadBalancerProbes_List", + "tags": [ + "LoadBalancers" + ], + "description": "Gets all the load balancer probes.", + "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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/LoadBalancerProbeListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "LoadBalancerProbeList": { + "$ref": "./examples/LoadBalancerProbeList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/loadBalancers/{loadBalancerName}/probes/{probeName}": { + "get": { + "operationId": "LoadBalancerProbes_Get", + "tags": [ + "LoadBalancers" + ], + "description": "Gets load balancer probe.", + "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": "loadBalancerName", + "in": "path", + "description": "The name of the load balancer.", + "required": true, + "type": "string" + }, + { + "name": "probeName", + "in": "path", + "description": "The name of the probe.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.Probe" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "LoadBalancerProbeGet": { + "$ref": "./examples/LoadBalancerProbeGet.json" + } + } + } + } + }, + "definitions": { + "BackendAddressInboundNatRulePortMappings": { + "type": "object", + "description": "The response for a QueryInboundNatRulePortMapping API.", + "properties": { + "inboundNatRulePortMappings": { + "type": "array", + "description": "Collection of inbound NAT rule port mappings.", + "items": { + "$ref": "#/definitions/InboundNatRulePortMapping" + } + } + } + }, + "Common.BackendAddressPool": { + "type": "object", + "description": "Pool of backend IP addresses.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.BackendAddressPoolPropertiesFormat", + "description": "Properties of load balancer backend address pool.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "Common.BackendAddressPoolPropertiesFormat": { + "type": "object", + "description": "Properties of the backend address pool.", + "properties": { + "location": { + "type": "string", + "description": "The location of the backend address pool." + }, + "tunnelInterfaces": { + "type": "array", + "description": "An array of gateway load balancer tunnel interfaces.", + "items": { + "$ref": "#/definitions/Common.GatewayLoadBalancerTunnelInterface" + } + }, + "loadBalancerBackendAddresses": { + "type": "array", + "description": "An array of backend addresses.", + "items": { + "$ref": "#/definitions/Common.LoadBalancerBackendAddress" + } + }, + "backendIPConfigurations": { + "type": "array", + "description": "An array of references to IP addresses defined in network interfaces.", + "items": { + "$ref": "./virtualNetwork.json#/definitions/Common.NetworkInterfaceIPConfiguration" + }, + "readOnly": true + }, + "loadBalancingRules": { + "type": "array", + "description": "An array of references to load balancing rules that use this backend address pool.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "outboundRule": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "A reference to an outbound rule that uses this backend address pool.", + "readOnly": true + }, + "outboundRules": { + "type": "array", + "description": "An array of references to outbound rules that use this backend address pool.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "inboundNatRules": { + "type": "array", + "description": "An array of references to inbound NAT rules that use this backend address pool.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the backend address pool resource.", + "readOnly": true + }, + "drainPeriodInSeconds": { + "type": "integer", + "format": "int32", + "description": "Amount of seconds Load Balancer waits for before sending RESET to client and backend address." + }, + "virtualNetwork": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "A reference to a virtual network." + }, + "syncMode": { + "$ref": "./common.json#/definitions/Common.SyncMode", + "description": "Backend address synchronous mode for the backend pool" + } + } + }, + "Common.FrontendIPConfiguration": { + "type": "object", + "description": "Frontend IP address of the load balancer.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.FrontendIPConfigurationPropertiesFormat", + "description": "Properties of the load balancer probe.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "zones": { + "type": "array", + "description": "A list of availability zones denoting the IP allocated for the resource needs to come from.", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "Common.FrontendIPConfigurationPropertiesFormat": { + "type": "object", + "description": "Properties of Frontend IP Configuration of the load balancer.", + "properties": { + "inboundNatRules": { + "type": "array", + "description": "An array of references to inbound rules that use this frontend IP.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "inboundNatPools": { + "type": "array", + "description": "An array of references to inbound pools that use this frontend IP.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "outboundRules": { + "type": "array", + "description": "An array of references to outbound rules that use this frontend IP.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "loadBalancingRules": { + "type": "array", + "description": "An array of references to load balancing rules that use this frontend IP.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "privateIPAddress": { + "type": "string", + "description": "The private IP address of the IP configuration." + }, + "privateIPAllocationMethod": { + "$ref": "./common.json#/definitions/Common.IPAllocationMethod", + "description": "The Private IP allocation method." + }, + "privateIPAddressVersion": { + "$ref": "./common.json#/definitions/Common.IPVersion", + "description": "Whether the specific ipconfiguration is IPv4 or IPv6. Default is taken as IPv4." + }, + "subnet": { + "$ref": "./virtualNetwork.json#/definitions/Common.Subnet", + "description": "The reference to the subnet resource." + }, + "publicIPAddress": { + "$ref": "./virtualNetwork.json#/definitions/Common.PublicIPAddress", + "description": "The reference to the Public IP resource." + }, + "publicIPPrefix": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to the Public IP Prefix resource." + }, + "gatewayLoadBalancer": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to gateway load balancer frontend IP." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the frontend IP configuration resource.", + "readOnly": true + }, + "ddosSettings": { + "$ref": "./common.json#/definitions/Common.DdosFrontendIpConfigurationSettings", + "description": "The DDoS protection settings associated with the frontend IP configuration." + } + } + }, + "Common.GatewayLoadBalancerTunnelInterface": { + "type": "object", + "description": "Gateway load balancer tunnel interface of a load balancer backend address pool.", + "properties": { + "port": { + "type": "integer", + "format": "int32", + "description": "Port of gateway load balancer tunnel interface." + }, + "identifier": { + "type": "integer", + "format": "int32", + "description": "Identifier of gateway load balancer tunnel interface." + }, + "protocol": { + "$ref": "./common.json#/definitions/Common.GatewayLoadBalancerTunnelProtocol", + "description": "Protocol of gateway load balancer tunnel interface." + }, + "type": { + "$ref": "./common.json#/definitions/Common.GatewayLoadBalancerTunnelInterfaceType", + "description": "Traffic type of gateway load balancer tunnel interface." + } + } + }, + "Common.InboundNatPool": { + "type": "object", + "description": "Inbound NAT pool of the load balancer.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.InboundNatPoolPropertiesFormat", + "description": "Properties of load balancer inbound nat pool.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within the set of inbound NAT pools used by the load balancer. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "Common.InboundNatPoolPropertiesFormat": { + "type": "object", + "description": "Properties of Inbound NAT pool.", + "properties": { + "frontendIPConfiguration": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "A reference to frontend IP addresses." + }, + "protocol": { + "$ref": "./common.json#/definitions/Common.TransportProtocol", + "description": "The reference to the transport protocol used by the inbound NAT pool." + }, + "frontendPortRangeStart": { + "type": "integer", + "format": "int32", + "description": "The first port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65534." + }, + "frontendPortRangeEnd": { + "type": "integer", + "format": "int32", + "description": "The last port number in the range of external ports that will be used to provide Inbound Nat to NICs associated with a load balancer. Acceptable values range between 1 and 65535." + }, + "backendPort": { + "type": "integer", + "format": "int32", + "description": "The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535." + }, + "idleTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP." + }, + "enableFloatingIP": { + "type": "boolean", + "description": "Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint." + }, + "enableTcpReset": { + "type": "boolean", + "description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the inbound NAT pool resource.", + "readOnly": true + } + }, + "required": [ + "protocol", + "frontendPortRangeStart", + "frontendPortRangeEnd", + "backendPort" + ] + }, + "Common.InboundNatRule": { + "type": "object", + "description": "Inbound NAT rule of the load balancer.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.InboundNatRulePropertiesFormat", + "description": "Properties of load balancer inbound NAT rule.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "Common.InboundNatRulePropertiesFormat": { + "type": "object", + "description": "Properties of the inbound NAT rule.", + "properties": { + "frontendIPConfiguration": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "A reference to frontend IP addresses." + }, + "backendIPConfiguration": { + "$ref": "./virtualNetwork.json#/definitions/Common.NetworkInterfaceIPConfiguration", + "description": "A reference to a private IP address defined on a network interface of a VM. Traffic sent to the frontend port of each of the frontend IP configurations is forwarded to the backend IP.", + "readOnly": true + }, + "protocol": { + "$ref": "./common.json#/definitions/Common.TransportProtocol", + "description": "The reference to the transport protocol used by the load balancing rule." + }, + "frontendPort": { + "type": "integer", + "format": "int32", + "description": "The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values range from 1 to 65534." + }, + "backendPort": { + "type": "integer", + "format": "int32", + "description": "The port used for the internal endpoint. Acceptable values range from 1 to 65535." + }, + "idleTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP." + }, + "enableFloatingIP": { + "type": "boolean", + "description": "Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint." + }, + "enableTcpReset": { + "type": "boolean", + "description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP." + }, + "frontendPortRangeStart": { + "type": "integer", + "format": "int32", + "description": "The port range start for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeEnd. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534." + }, + "frontendPortRangeEnd": { + "type": "integer", + "format": "int32", + "description": "The port range end for the external endpoint. This property is used together with BackendAddressPool and FrontendPortRangeStart. Individual inbound NAT rule port mappings will be created for each backend address from BackendAddressPool. Acceptable values range from 1 to 65534." + }, + "backendAddressPool": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "A reference to backendAddressPool resource." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the inbound NAT rule resource.", + "readOnly": true + } + } + }, + "Common.LoadBalancer": { + "type": "object", + "description": "LoadBalancer resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.LoadBalancerPropertiesFormat", + "description": "Properties of load balancer.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "extendedLocation": { + "$ref": "./common.json#/definitions/Common.ExtendedLocation", + "description": "The extended location of the load balancer." + }, + "sku": { + "$ref": "#/definitions/Common.LoadBalancerSku", + "description": "The load balancer SKU." + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "Common.LoadBalancerBackendAddress": { + "type": "object", + "description": "Load balancer backend addresses.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.LoadBalancerBackendAddressPropertiesFormat", + "description": "Properties of load balancer backend address pool.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the backend address." + } + } + }, + "Common.LoadBalancerBackendAddressPropertiesFormat": { + "type": "object", + "description": "Properties of the load balancer backend addresses.", + "properties": { + "virtualNetwork": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to an existing virtual network." + }, + "subnet": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to an existing subnet." + }, + "ipAddress": { + "type": "string", + "description": "IP Address belonging to the referenced virtual network." + }, + "networkInterfaceIPConfiguration": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to IP address defined in network interfaces.", + "readOnly": true + }, + "loadBalancerFrontendIPConfiguration": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to the frontend ip address configuration defined in regional loadbalancer." + }, + "inboundNatRulesPortMapping": { + "type": "array", + "description": "Collection of inbound NAT rule port mappings.", + "items": { + "$ref": "#/definitions/Common.NatRulePortMapping" + }, + "readOnly": true + }, + "adminState": { + "$ref": "./common.json#/definitions/Common.LoadBalancerBackendAddressAdminState", + "description": "A list of administrative states which once set can override health probe so that Load Balancer will always forward new connections to backend, or deny new connections and reset existing connections." + } + } + }, + "Common.LoadBalancerPropertiesFormat": { + "type": "object", + "description": "Properties of the load balancer.", + "properties": { + "frontendIPConfigurations": { + "type": "array", + "description": "Object representing the frontend IPs to be used for the load balancer.", + "items": { + "$ref": "#/definitions/Common.FrontendIPConfiguration" + } + }, + "backendAddressPools": { + "type": "array", + "description": "Collection of backend address pools used by a load balancer.", + "items": { + "$ref": "#/definitions/Common.BackendAddressPool" + } + }, + "loadBalancingRules": { + "type": "array", + "description": "Object collection representing the load balancing rules Gets the provisioning.", + "items": { + "$ref": "#/definitions/Common.LoadBalancingRule" + } + }, + "probes": { + "type": "array", + "description": "Collection of probe objects used in the load balancer.", + "items": { + "$ref": "#/definitions/Common.Probe" + } + }, + "inboundNatRules": { + "type": "array", + "description": "Collection of inbound NAT Rules used by a load balancer. Defining inbound NAT rules on your load balancer is mutually exclusive with defining an inbound NAT pool. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an Inbound NAT pool. They have to reference individual inbound NAT rules.", + "items": { + "$ref": "#/definitions/Common.InboundNatRule" + } + }, + "inboundNatPools": { + "type": "array", + "description": "Defines an external port range for inbound NAT to a single backend port on NICs associated with a load balancer. Inbound NAT rules are created automatically for each NIC associated with the Load Balancer using an external port from this range. Defining an Inbound NAT pool on your Load Balancer is mutually exclusive with defining inbound NAT rules. Inbound NAT pools are referenced from virtual machine scale sets. NICs that are associated with individual virtual machines cannot reference an inbound NAT pool. They have to reference individual inbound NAT rules.", + "items": { + "$ref": "#/definitions/Common.InboundNatPool" + } + }, + "outboundRules": { + "type": "array", + "description": "The outbound rules.", + "items": { + "$ref": "#/definitions/Common.OutboundRule" + } + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the load balancer resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the load balancer resource.", + "readOnly": true + }, + "scope": { + "$ref": "./common.json#/definitions/Common.LoadBalancerScope", + "description": "Indicates the scope of the load balancer: external (Public) or internal (Private)." + } + } + }, + "Common.LoadBalancerSku": { + "type": "object", + "description": "SKU of a load balancer.", + "properties": { + "name": { + "$ref": "./common.json#/definitions/Common.LoadBalancerSkuName", + "description": "Name of a load balancer SKU." + }, + "tier": { + "$ref": "./common.json#/definitions/Common.LoadBalancerSkuTier", + "description": "Tier of a load balancer SKU." + } + } + }, + "Common.LoadBalancingRule": { + "type": "object", + "description": "A load balancing rule for a load balancer.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.LoadBalancingRulePropertiesFormat", + "description": "Properties of load balancer load balancing rule.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "Common.LoadBalancingRulePropertiesFormat": { + "type": "object", + "description": "Properties of the load balancer.", + "properties": { + "frontendIPConfiguration": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "A reference to frontend IP addresses." + }, + "backendAddressPool": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "A reference to a pool of DIPs. Inbound traffic is randomly load balanced across IPs in the backend IPs." + }, + "backendAddressPools": { + "type": "array", + "description": "An array of references to pool of DIPs.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "probe": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to the load balancer probe used by the load balancing rule." + }, + "protocol": { + "$ref": "./common.json#/definitions/Common.TransportProtocol", + "description": "The reference to the transport protocol used by the load balancing rule." + }, + "loadDistribution": { + "$ref": "./common.json#/definitions/Common.LoadDistribution", + "description": "The load distribution policy for this rule." + }, + "frontendPort": { + "type": "integer", + "format": "int32", + "description": "The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 0 and 65534. Note that value 0 enables \"Any Port\"." + }, + "backendPort": { + "type": "integer", + "format": "int32", + "description": "The port used for internal connections on the endpoint. Acceptable values are between 0 and 65535. Note that value 0 enables \"Any Port\"." + }, + "idleTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "The timeout for the TCP idle connection. The value can be set between 4 and 30 minutes. The default value is 4 minutes. This element is only used when the protocol is set to TCP." + }, + "enableFloatingIP": { + "type": "boolean", + "description": "Configures a virtual machine's endpoint for the floating IP capability required to configure a SQL AlwaysOn Availability Group. This setting is required when using the SQL AlwaysOn Availability Groups in SQL server. This setting can't be changed after you create the endpoint." + }, + "enableTcpReset": { + "type": "boolean", + "description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP." + }, + "disableOutboundSnat": { + "type": "boolean", + "description": "Configures SNAT for the VMs in the backend pool to use the publicIP address specified in the frontend of the load balancing rule." + }, + "enableConnectionTracking": { + "type": "boolean", + "description": "Defines whether connections between 2 communicating endpoints can be tracked and associated to the same backend VM over its lifetime when using UDP protocol." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the load balancing rule resource.", + "readOnly": true + } + }, + "required": [ + "protocol", + "frontendPort" + ] + }, + "Common.NatRulePortMapping": { + "type": "object", + "description": "Individual port mappings for inbound NAT rule created for backend pool.", + "properties": { + "inboundNatRuleName": { + "type": "string", + "description": "Name of inbound NAT rule." + }, + "frontendPort": { + "type": "integer", + "format": "int32", + "description": "Frontend port." + }, + "backendPort": { + "type": "integer", + "format": "int32", + "description": "Backend port." + } + } + }, + "Common.OutboundRule": { + "type": "object", + "description": "Outbound rule of the load balancer.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.OutboundRulePropertiesFormat", + "description": "Properties of load balancer outbound rule.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "Common.OutboundRulePropertiesFormat": { + "type": "object", + "description": "Outbound rule of the load balancer.", + "properties": { + "allocatedOutboundPorts": { + "type": "integer", + "format": "int32", + "description": "The number of outbound ports to be used for NAT." + }, + "frontendIPConfigurations": { + "type": "array", + "description": "The Frontend IP addresses of the load balancer.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "backendAddressPool": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "A reference to a pool of DIPs. Outbound traffic is randomly load balanced across IPs in the backend IPs." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the outbound rule resource.", + "readOnly": true + }, + "protocol": { + "$ref": "./common.json#/definitions/Common.LoadBalancerOutboundRuleProtocol", + "description": "The protocol for the outbound rule in load balancer." + }, + "enableTcpReset": { + "type": "boolean", + "description": "Receive bidirectional TCP Reset on TCP flow idle timeout or unexpected connection termination. This element is only used when the protocol is set to TCP." + }, + "idleTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "The timeout for the TCP idle connection." + } + }, + "required": [ + "frontendIPConfigurations", + "backendAddressPool", + "protocol" + ] + }, + "Common.Probe": { + "type": "object", + "description": "A load balancer probe.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.ProbePropertiesFormat", + "description": "Properties of load balancer probe.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "Common.ProbePropertiesFormat": { + "type": "object", + "description": "Load balancer probe resource.", + "properties": { + "loadBalancingRules": { + "type": "array", + "description": "The load balancer rules that use this probe.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "protocol": { + "$ref": "./common.json#/definitions/Common.ProbeProtocol", + "description": "The protocol of the end point. If 'Tcp' is specified, a received ACK is required for the probe to be successful. If 'Http' or 'Https' is specified, a 200 OK response from the specifies URI is required for the probe to be successful." + }, + "port": { + "type": "integer", + "format": "int32", + "description": "The port for communicating the probe. Possible values range from 1 to 65535, inclusive." + }, + "intervalInSeconds": { + "type": "integer", + "format": "int32", + "description": "The interval, in seconds, for how frequently to probe the endpoint for health status. Typically, the interval is slightly less than half the allocated timeout period (in seconds) which allows two full probes before taking the instance out of rotation. The default value is 15, the minimum value is 5." + }, + "noHealthyBackendsBehavior": { + "$ref": "./common.json#/definitions/Common.ProbeNoHealthyBackendsBehavior", + "description": "Determines how new connections are handled by the load balancer when all backend instances are probed down." + }, + "numberOfProbes": { + "type": "integer", + "format": "int32", + "description": "The number of probes where if no response, will result in stopping further traffic from being delivered to the endpoint. This values allows endpoints to be taken out of rotation faster or slower than the typical times used in Azure." + }, + "probeThreshold": { + "type": "integer", + "format": "int32", + "description": "The number of consecutive successful or failed probes in order to allow or deny traffic from being delivered to this endpoint. After failing the number of consecutive probes equal to this value, the endpoint will be taken out of rotation and require the same number of successful consecutive probes to be placed back in rotation." + }, + "requestPath": { + "type": "string", + "description": "The URI used for requesting health status from the VM. Path is required if a protocol is set to http. Otherwise, it is not allowed. There is no default value." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the probe resource.", + "readOnly": true + } + }, + "required": [ + "protocol", + "port" + ] + }, + "InboundNatRuleListResult": { + "type": "object", + "description": "The response of a InboundNatRule list operation.", + "properties": { + "value": { + "type": "array", + "description": "The InboundNatRule items on this page", + "items": { + "$ref": "#/definitions/Common.InboundNatRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "InboundNatRulePortMapping": { + "type": "object", + "description": "Individual port mappings for inbound NAT rule created for backend pool.", + "properties": { + "inboundNatRuleName": { + "type": "string", + "description": "Name of inbound NAT rule.", + "readOnly": true + }, + "protocol": { + "$ref": "./common.json#/definitions/Common.TransportProtocol", + "description": "The reference to the transport protocol used by the inbound NAT rule.", + "readOnly": true + }, + "frontendPort": { + "type": "integer", + "format": "int32", + "description": "Frontend port.", + "readOnly": true + }, + "backendPort": { + "type": "integer", + "format": "int32", + "description": "Backend port.", + "readOnly": true + } + } + }, + "LoadBalancerBackendAddressPoolListResult": { + "type": "object", + "description": "Paged collection of BackendAddressPool items", + "properties": { + "value": { + "type": "array", + "description": "The BackendAddressPool items on this page", + "items": { + "$ref": "#/definitions/Common.BackendAddressPool" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "LoadBalancerFrontendIPConfigurationListResult": { + "type": "object", + "description": "Paged collection of FrontendIPConfiguration items", + "properties": { + "value": { + "type": "array", + "description": "The FrontendIPConfiguration items on this page", + "items": { + "$ref": "#/definitions/Common.FrontendIPConfiguration" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "LoadBalancerHealthPerRule": { + "type": "object", + "description": "The response for a Health API.", + "properties": { + "up": { + "type": "integer", + "format": "int32", + "description": "Number of backend instances associated to the LB rule that are considered healthy." + }, + "down": { + "type": "integer", + "format": "int32", + "description": "Number of backend instances associated to the LB rule that are considered unhealthy." + }, + "loadBalancerBackendAddresses": { + "type": "array", + "description": "Information about the health per rule of the backend addresses.", + "items": { + "$ref": "#/definitions/LoadBalancerHealthPerRulePerBackendAddress" + } + } + } + }, + "LoadBalancerHealthPerRulePerBackendAddress": { + "type": "object", + "description": "The information about health per rule per backend address.", + "properties": { + "ipAddress": { + "type": "string", + "description": "The IP address belonging to the backend address." + }, + "networkInterfaceIPConfigurationId": { + "type": "string", + "description": "Resource ID of the Network Interface IP Configuration." + }, + "state": { + "type": "string", + "description": "The current health of the backend instances that is associated to the LB rule." + }, + "reason": { + "type": "string", + "description": "The explanation of the State" + } + } + }, + "LoadBalancerListResult": { + "type": "object", + "description": "The response of a LoadBalancer list operation.", + "properties": { + "value": { + "type": "array", + "description": "The LoadBalancer items on this page", + "items": { + "$ref": "#/definitions/Common.LoadBalancer" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "LoadBalancerLoadBalancingRuleListResult": { + "type": "object", + "description": "Paged collection of LoadBalancingRule items", + "properties": { + "value": { + "type": "array", + "description": "The LoadBalancingRule items on this page", + "items": { + "$ref": "#/definitions/Common.LoadBalancingRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "LoadBalancerOutboundRuleListResult": { + "type": "object", + "description": "Paged collection of OutboundRule items", + "properties": { + "value": { + "type": "array", + "description": "The OutboundRule items on this page", + "items": { + "$ref": "#/definitions/Common.OutboundRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "LoadBalancerProbeListResult": { + "type": "object", + "description": "Paged collection of Probe items", + "properties": { + "value": { + "type": "array", + "description": "The Probe items on this page", + "items": { + "$ref": "#/definitions/Common.Probe" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "LoadBalancerVipSwapRequest": { + "type": "object", + "description": "The request for a VIP swap.", + "properties": { + "frontendIPConfigurations": { + "type": "array", + "description": "A list of frontend IP configuration resources that should swap VIPs.", + "items": { + "$ref": "#/definitions/LoadBalancerVipSwapRequestFrontendIPConfiguration" + } + } + } + }, + "LoadBalancerVipSwapRequestFrontendIPConfiguration": { + "type": "object", + "description": "VIP swap request's frontend IP configuration object.", + "properties": { + "id": { + "type": "string", + "description": "The ID of frontend IP configuration resource." + }, + "properties": { + "$ref": "#/definitions/LoadBalancerVipSwapRequestFrontendIPConfigurationProperties", + "description": "The properties of VIP swap request's frontend IP configuration object.", + "x-ms-client-flatten": true + } + } + }, + "LoadBalancerVipSwapRequestFrontendIPConfigurationProperties": { + "type": "object", + "description": "The properties of VIP swap request's frontend IP configuration object.", + "properties": { + "publicIPAddress": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "A reference to public IP address resource." + } + } + }, + "MigrateLoadBalancerToIpBasedRequest": { + "type": "object", + "description": "The request for a migrateToIpBased API.", + "properties": { + "pools": { + "type": "array", + "description": "A list of pool names that should be migrated from Nic based to IP based pool", + "items": { + "type": "string" + } + } + } + }, + "MigratedPools": { + "type": "object", + "description": "The response for a migrateToIpBased API.", + "properties": { + "migratedPools": { + "type": "array", + "description": "A list of pools migrated from Nic based to IP based pool", + "items": { + "type": "string" + } + } + } + }, + "QueryInboundNatRulePortMappingRequest": { + "type": "object", + "description": "The request for a QueryInboundNatRulePortMapping API. Either IpConfiguration or IpAddress should be set", + "properties": { + "ipConfiguration": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "NetworkInterfaceIPConfiguration set in load balancer backend address." + }, + "ipAddress": { + "type": "string", + "description": "IP address set in load balancer backend address." + } + } + } + }, + "parameters": {} +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/networkGateway.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/networkGateway.json new file mode 100644 index 000000000000..ab4b3b5fe727 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/networkGateway.json @@ -0,0 +1,6111 @@ +{ + "swagger": "2.0", + "info": { + "title": "WebApplicationFirewallManagement", + "version": "2025-07-01", + "description": "APIs to manage web application firewall rules.", + "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": "VirtualNetworkGateways" + }, + { + "name": "VirtualNetworkGatewayConnections" + }, + { + "name": "LocalNetworkGateways" + }, + { + "name": "VirtualNetworkTap" + }, + { + "name": "VirtualNetworkTaps" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkTaps": { + "get": { + "operationId": "VirtualNetworkTaps_ListAll", + "tags": [ + "VirtualNetworkTaps" + ], + "description": "Gets all the VirtualNetworkTaps in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTapListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all virtual network taps": { + "$ref": "./examples/VirtualNetworkTapListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections": { + "get": { + "operationId": "VirtualNetworkGatewayConnections_List", + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "description": "The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ListVirtualNetworkGatewayConnectionsinResourceGroup": { + "$ref": "./examples/VirtualNetworkGatewayConnectionsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}": { + "get": { + "operationId": "VirtualNetworkGatewayConnections_Get", + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "description": "Gets the specified virtual network gateway connection by 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": "virtualNetworkGatewayConnectionName", + "in": "path", + "description": "The name of the virtual network gateway connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetVirtualNetworkGatewayConnection": { + "$ref": "./examples/VirtualNetworkGatewayConnectionGet.json" + } + } + }, + "put": { + "operationId": "VirtualNetworkGatewayConnections_CreateOrUpdate", + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "description": "Creates or updates a virtual network gateway connection in the specified 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": "virtualNetworkGatewayConnectionName", + "in": "path", + "description": "The name of the virtual network gateway connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update virtual network gateway connection operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VirtualNetworkGatewayConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayConnection" + } + }, + "201": { + "description": "Resource 'VirtualNetworkGatewayConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "CreateVirtualNetworkGatewayConnection_S2S": { + "$ref": "./examples/VirtualNetworkGatewayConnectionCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VirtualNetworkGatewayConnection" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualNetworkGatewayConnections_UpdateTags", + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "description": "Updates a virtual network gateway connection tags.", + "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": "virtualNetworkGatewayConnectionName", + "in": "path", + "description": "The name of the virtual network gateway connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update virtual network gateway connection tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayConnection" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "UpdateVirtualNetworkGatewayConnectionTags": { + "$ref": "./examples/VirtualNetworkGatewayConnectionUpdateTags.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VirtualNetworkGatewayConnection" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualNetworkGatewayConnections_Delete", + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "description": "Deletes the specified virtual network Gateway connection.", + "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": "virtualNetworkGatewayConnectionName", + "in": "path", + "description": "The name of the virtual network gateway connection.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "DeleteVirtualNetworkGatewayConnection": { + "$ref": "./examples/VirtualNetworkGatewayConnectionDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/getikesas": { + "post": { + "operationId": "VirtualNetworkGatewayConnections_GetIkeSas", + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "description": "Lists IKE Security Associations for the virtual network gateway connection in the specified 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": "virtualNetworkGatewayConnectionName", + "in": "path", + "description": "The name of the virtual network gateway connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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": "./networkWatcher.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetVirtualNetworkGatewayConnectionIkeSa": { + "$ref": "./examples/VirtualNetworkGatewayConnectionGetIkeSas.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/resetconnection": { + "post": { + "operationId": "VirtualNetworkGatewayConnections_ResetConnection", + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "description": "Resets the virtual network gateway connection specified.", + "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": "virtualNetworkGatewayConnectionName", + "in": "path", + "description": "The name of the virtual network gateway connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "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": "./networkWatcher.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ResetVirtualNetworkGatewayConnection": { + "$ref": "./examples/VirtualNetworkGatewayConnectionReset.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey": { + "get": { + "operationId": "VirtualNetworkGatewayConnections_GetSharedKey", + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "description": "The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.", + "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": "virtualNetworkGatewayConnectionName", + "in": "path", + "description": "The name of the virtual network gateway connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectionSharedKey" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetVirtualNetworkGatewayConnectionSharedKey": { + "$ref": "./examples/VirtualNetworkGatewayConnectionGetSharedKey.json" + } + } + }, + "put": { + "operationId": "VirtualNetworkGatewayConnections_SetSharedKey", + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "description": "The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.", + "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": "virtualNetworkGatewayConnectionName", + "in": "path", + "description": "The name of the virtual network gateway connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider.", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectionSharedKey" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectionSharedKey" + } + }, + "201": { + "description": "Resource 'ConnectionSharedKey' create operation succeeded", + "schema": { + "$ref": "#/definitions/ConnectionSharedKey" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "SetVirtualNetworkGatewayConnectionSharedKey": { + "$ref": "./examples/VirtualNetworkGatewayConnectionSetSharedKey.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ConnectionSharedKey" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/sharedkey/reset": { + "post": { + "operationId": "VirtualNetworkGatewayConnections_ResetSharedKey", + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "description": "The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.", + "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": "virtualNetworkGatewayConnectionName", + "in": "path", + "description": "The name of the virtual network gateway connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider.", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectionResetSharedKey" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectionResetSharedKey" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ResetVirtualNetworkGatewayConnectionSharedKey": { + "$ref": "./examples/VirtualNetworkGatewayConnectionResetSharedKey.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ConnectionResetSharedKey" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/startPacketCapture": { + "post": { + "operationId": "VirtualNetworkGatewayConnections_StartPacketCapture", + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "description": "Starts packet capture on virtual network gateway connection in the specified 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": "virtualNetworkGatewayConnectionName", + "in": "path", + "description": "The name of the virtual network gateway connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection.", + "required": false, + "schema": { + "$ref": "#/definitions/VpnPacketCaptureStartParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Start packet capture on virtual network gateway connection with filter": { + "$ref": "./examples/VirtualNetworkGatewayConnectionStartPacketCaptureFilterData.json" + }, + "Start packet capture on virtual network gateway connection without filter": { + "$ref": "./examples/VirtualNetworkGatewayConnectionStartPacketCapture.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/stopPacketCapture": { + "post": { + "operationId": "VirtualNetworkGatewayConnections_StopPacketCapture", + "tags": [ + "VirtualNetworkGatewayConnections" + ], + "description": "Stops packet capture on virtual network gateway connection in the specified 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": "virtualNetworkGatewayConnectionName", + "in": "path", + "description": "The name of the virtual network gateway connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection.", + "required": true, + "schema": { + "$ref": "#/definitions/VpnPacketCaptureStopParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Stop packet capture on virtual network gateway connection": { + "$ref": "./examples/VirtualNetworkGatewayConnectionStopPacketCapture.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/connections/{virtualNetworkGatewayConnectionName}/vpndeviceconfigurationscript": { + "post": { + "operationId": "VirtualNetworkGateways_VpnDeviceConfigurationScript", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "Gets a xml format representation for vpn device configuration script.", + "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": "virtualNetworkGatewayConnectionName", + "in": "path", + "description": "The name of the virtual network gateway connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the generate vpn device script operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VpnDeviceScriptParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetVPNDeviceConfigurationScript": { + "$ref": "./examples/VirtualNetworkGatewayVpnDeviceConfigurationScript.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways": { + "get": { + "operationId": "LocalNetworkGateways_List", + "tags": [ + "LocalNetworkGateways" + ], + "description": "Gets all the local network gateways in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LocalNetworkGatewayListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ListLocalNetworkGateways": { + "$ref": "./examples/LocalNetworkGatewayList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/localNetworkGateways/{localNetworkGatewayName}": { + "get": { + "operationId": "LocalNetworkGateways_Get", + "tags": [ + "LocalNetworkGateways" + ], + "description": "Gets the specified local network gateway in 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": "localNetworkGatewayName", + "in": "path", + "description": "The name of the local network gateway.", + "required": true, + "type": "string", + "minLength": 1 + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LocalNetworkGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetLocalNetworkGateway": { + "$ref": "./examples/LocalNetworkGatewayGet.json" + } + } + }, + "put": { + "operationId": "LocalNetworkGateways_CreateOrUpdate", + "tags": [ + "LocalNetworkGateways" + ], + "description": "Creates or updates a local network gateway in the specified 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": "localNetworkGatewayName", + "in": "path", + "description": "The name of the local network gateway.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update local network gateway operation.", + "required": true, + "schema": { + "$ref": "#/definitions/LocalNetworkGateway" + } + } + ], + "responses": { + "200": { + "description": "Resource 'LocalNetworkGateway' update operation succeeded", + "schema": { + "$ref": "#/definitions/LocalNetworkGateway" + } + }, + "201": { + "description": "Resource 'LocalNetworkGateway' create operation succeeded", + "schema": { + "$ref": "#/definitions/LocalNetworkGateway" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "CreateLocalNetworkGateway": { + "$ref": "./examples/LocalNetworkGatewayCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/LocalNetworkGateway" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "LocalNetworkGateways_UpdateTags", + "tags": [ + "LocalNetworkGateways" + ], + "description": "Updates a local network gateway tags.", + "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": "localNetworkGatewayName", + "in": "path", + "description": "The name of the local network gateway.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update local network gateway tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/LocalNetworkGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "UpdateLocalNetworkGatewayTags": { + "$ref": "./examples/LocalNetworkGatewayUpdateTags.json" + } + } + }, + "delete": { + "operationId": "LocalNetworkGateways_Delete", + "tags": [ + "LocalNetworkGateways" + ], + "description": "Deletes the specified local network gateway.", + "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": "localNetworkGatewayName", + "in": "path", + "description": "The name of the local network gateway.", + "required": true, + "type": "string", + "minLength": 1 + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "DeleteLocalNetworkGateway": { + "$ref": "./examples/LocalNetworkGatewayDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways": { + "get": { + "operationId": "VirtualNetworkGateways_List", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "Gets all virtual network gateways by 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ListVirtualNetworkGatewaysinResourceGroup": { + "$ref": "./examples/VirtualNetworkGatewayList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}": { + "get": { + "operationId": "VirtualNetworkGateways_Get", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "Gets the specified virtual network gateway by 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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetVirtualNetworkGateway": { + "$ref": "./examples/VirtualNetworkGatewayGet.json" + }, + "GetVirtualNetworkScalableGateway": { + "$ref": "./examples/VirtualNetworkScalableGatewayGet.json" + } + } + }, + "put": { + "operationId": "VirtualNetworkGateways_CreateOrUpdate", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "Creates or updates a virtual network gateway in the specified 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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to create or update virtual network gateway operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VirtualNetworkGateway' update operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + } + }, + "201": { + "description": "Resource 'VirtualNetworkGateway' create operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "UpdateVirtualNetworkGateway": { + "$ref": "./examples/VirtualNetworkGatewayUpdate.json" + }, + "UpdateVirtualNetworkScalableGateway": { + "$ref": "./examples/VirtualNetworkScalableGatewayUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VirtualNetworkGateway" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualNetworkGateways_UpdateTags", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "Updates a virtual network gateway tags.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update virtual network gateway tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "UpdateVirtualNetworkGatewayTags": { + "$ref": "./examples/VirtualNetworkGatewayUpdateTags.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VirtualNetworkGateway" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualNetworkGateways_Delete", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "Deletes the specified virtual network gateway.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "DeleteVirtualNetworkGateway": { + "$ref": "./examples/VirtualNetworkGatewayDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/abortMigration": { + "post": { + "operationId": "VirtualNetworkGateways_InvokeAbortMigration", + "description": "Trigger abort migration for the virtual network gateway.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualNetworkGatewayAbortMigration": { + "$ref": "./examples/VirtualNetworkGatewayAbortMigration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/commitMigration": { + "post": { + "operationId": "VirtualNetworkGateways_InvokeCommitMigration", + "description": "Trigger commit migration for the virtual network gateway.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualNetworkGatewayCommitMigration": { + "$ref": "./examples/VirtualNetworkGatewayCommitMigration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/connections": { + "get": { + "operationId": "VirtualNetworkGateways_ListConnections", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "Gets all the connections in a virtual network gateway.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayListConnectionsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualNetworkGatewaysListConnections": { + "$ref": "./examples/VirtualNetworkGatewaysListConnections.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/disconnectVirtualNetworkGatewayVpnConnections": { + "post": { + "operationId": "VirtualNetworkGateways_DisconnectVirtualNetworkGatewayVpnConnections", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "Disconnect vpn connections of virtual network gateway in the specified 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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "The parameters are supplied to disconnect vpn connections.", + "required": true, + "schema": { + "$ref": "./virtualWan.json#/definitions/P2SVpnConnectionRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Disconnect VpnConnections from Virtual Network Gateway": { + "$ref": "./examples/VirtualNetworkGatewaysDisconnectP2sVpnConnections.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/executeMigration": { + "post": { + "operationId": "VirtualNetworkGateways_InvokeExecuteMigration", + "description": "Trigger execute migration for the virtual network gateway.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualNetworkGatewayExecuteMigration": { + "$ref": "./examples/VirtualNetworkGatewayExecuteMigration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnclientpackage": { + "post": { + "operationId": "VirtualNetworkGateways_Generatevpnclientpackage", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "Generates VPN client package for P2S client of the virtual network gateway in the specified 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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the generate virtual network gateway VPN client package operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VpnClientParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GenerateVPNClientPackage": { + "$ref": "./examples/VirtualNetworkGatewayGenerateVpnClientPackage.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/generatevpnprofile": { + "post": { + "operationId": "VirtualNetworkGateways_GenerateVpnProfile", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the generate virtual network gateway VPN client package operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VpnClientParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GenerateVirtualNetworkGatewayVPNProfile": { + "$ref": "./examples/VirtualNetworkGatewayGenerateVpnProfile.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getAdvertisedRoutes": { + "post": { + "operationId": "VirtualNetworkGateways_GetAdvertisedRoutes", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "peer", + "in": "query", + "description": "The IP address of the peer.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GatewayRouteListResult" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetVirtualNetworkGatewayAdvertisedRoutes": { + "$ref": "./examples/VirtualNetworkGatewayGetAdvertisedRoutes.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/GatewayRouteListResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getBgpPeerStatus": { + "post": { + "operationId": "VirtualNetworkGateways_GetBgpPeerStatus", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "The GetBgpPeerStatus operation retrieves the status of all BGP peers.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "peer", + "in": "query", + "description": "The IP address of the peer to retrieve the status of.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BgpPeerStatusListResult" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetVirtualNetworkGatewayBGPPeerStatus": { + "$ref": "./examples/VirtualNetworkGatewayGetBGPPeerStatus.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/BgpPeerStatusListResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getFailoverAllTestsDetails": { + "post": { + "operationId": "VirtualNetworkGateways_GetFailoverAllTestDetails", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "This operation retrieves the details of all the failover tests performed on the gateway for different peering locations", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "type", + "in": "query", + "description": "The type of failover test", + "required": true, + "type": "string" + }, + { + "name": "fetchLatest", + "in": "query", + "description": "Fetch only the latest tests for each peering location", + "required": true, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteFailoverTestDetails" + } + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualNetworkGatewayGetFailoverAllTestsDetails": { + "$ref": "./examples/VirtualNetworkGatewayGetFailoverAllTestsDetails.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ExpressRouteFailoverTestDetailsArray" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getFailoverSingleTestDetails": { + "post": { + "operationId": "VirtualNetworkGateways_GetFailoverSingleTestDetails", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "This operation retrieves the details of a particular failover test performed on the gateway based on the test Guid", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "peeringLocation", + "in": "query", + "description": "Peering location of the test", + "required": true, + "type": "string" + }, + { + "name": "failoverTestId", + "in": "query", + "description": "The unique Guid value which identifies the test", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteFailoverSingleTestDetails" + } + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualNetworkGatewayGetFailoverSingleTestDetails": { + "$ref": "./examples/VirtualNetworkGatewayGetFailoverSingleTestDetails.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ExpressRouteFailoverSingleTestDetailsArray" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getLearnedRoutes": { + "post": { + "operationId": "VirtualNetworkGateways_GetLearnedRoutes", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GatewayRouteListResult" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetVirtualNetworkGatewayLearnedRoutes": { + "$ref": "./examples/VirtualNetworkGatewayLearnedRoutes.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/GatewayRouteListResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getResiliencyInformation": { + "post": { + "operationId": "VirtualNetworkGateways_GetResiliencyInformation", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "This operation retrieves the resiliency information for an Express Route Gateway, including the gateway's current resiliency score and recommendations to further improve the score", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "attemptRefresh", + "in": "query", + "description": "Attempt to recalculate the Resiliency Information for the gateway", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GatewayResiliencyInformation" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetVirtualNetworkGatewayResiliencyInformation": { + "$ref": "./examples/VirtualNetworkGatewayGetResiliencyInformation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/GatewayResiliencyInformation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getRoutesInformation": { + "post": { + "operationId": "VirtualNetworkGateways_GetRoutesInformation", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "This operation retrieves the route set information for an Express Route Gateway based on their resiliency", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "attemptRefresh", + "in": "query", + "description": "Attempt to recalculate the Route Sets Information for the gateway", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GatewayRouteSetsInformation" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetVirtualNetworkGatewayRoutesInformation": { + "$ref": "./examples/VirtualNetworkGatewayGetRoutesInformation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/GatewayRouteSetsInformation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getVpnClientConnectionHealth": { + "post": { + "operationId": "VirtualNetworkGateways_GetVpnclientConnectionHealth", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified 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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnClientConnectionHealthDetailListResult" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetVirtualNetworkGatewayVpnclientConnectionHealth": { + "$ref": "./examples/VirtualNetworkGatewayGetVpnclientConnectionHealth.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VpnClientConnectionHealthDetailListResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnclientipsecparameters": { + "post": { + "operationId": "VirtualNetworkGateways_GetVpnclientIpsecParameters", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/VpnClientIPsecParameters" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get VirtualNetworkGateway VpnClientIpsecParameters": { + "$ref": "./examples/VirtualNetworkGatewayGetVpnClientIpsecParameters.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VpnClientIPsecParameters" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/getvpnprofilepackageurl": { + "post": { + "operationId": "VirtualNetworkGateways_GetVpnProfilePackageUrl", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetVirtualNetworkGatewayVPNProfilePackageURL": { + "$ref": "./examples/VirtualNetworkGatewayGetVpnProfilePackageUrl.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/listRadiusSecrets": { + "post": { + "operationId": "VirtualNetworkGateways_ListRadiusSecrets", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "List all Radius servers with respective radius secrets from virtual network gateway VpnClientConfiguration.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RadiusAuthServerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ListAllVirtualNetworkGatewayRadiusServerSecrets": { + "$ref": "./examples/AllVirtualNetworkGatewayRadiusServerSecretsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules": { + "get": { + "operationId": "VirtualNetworkGatewayNatRules_ListByVirtualNetworkGateway", + "description": "Retrieves all nat rules for a particular virtual network gateway.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVirtualNetworkGatewayNatRulesResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualNetworkGatewayNatRuleList": { + "$ref": "./examples/VirtualNetworkGatewayNatRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/natRules/{natRuleName}": { + "get": { + "operationId": "VirtualNetworkGatewayNatRules_Get", + "description": "Retrieves the details of a nat 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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "natRuleName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayNatRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualNetworkGatewayNatRuleGet": { + "$ref": "./examples/VirtualNetworkGatewayNatRuleGet.json" + } + } + }, + "put": { + "operationId": "VirtualNetworkGatewayNatRules_CreateOrUpdate", + "description": "Creates a nat rule to a scalable virtual network gateway if it doesn't exist else updates the existing nat rules.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "natRuleName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "NatRuleParameters", + "in": "body", + "description": "Parameters supplied to create or Update a Nat Rule.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayNatRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VirtualNetworkGatewayNatRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayNatRule" + } + }, + "201": { + "description": "Resource 'VirtualNetworkGatewayNatRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayNatRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualNetworkGatewayNatRulePut": { + "$ref": "./examples/VirtualNetworkGatewayNatRulePut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VirtualNetworkGatewayNatRule" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualNetworkGatewayNatRules_Delete", + "description": "Deletes a nat 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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "natRuleName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualNetworkGatewayNatRuleDelete": { + "$ref": "./examples/VirtualNetworkGatewayNatRuleDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/prepareMigration": { + "post": { + "operationId": "VirtualNetworkGateways_InvokePrepareMigration", + "description": "Trigger prepare migration for the virtual network gateway.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "migrationParams", + "in": "body", + "description": "Parameters supplied to the Begin Prepare migration on basic vpn gateway through Network resource provider.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkGatewayMigrationParameters" + } + } + ], + "responses": { + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualNetworkGatewayPrepareMigration": { + "$ref": "./examples/VirtualNetworkGatewayPrepareMigration.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/reset": { + "post": { + "operationId": "VirtualNetworkGateways_Reset", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "Resets the primary of the virtual network gateway in the specified 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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "gatewayVip", + "in": "query", + "description": "Virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkGateway" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ResetVirtualNetworkGateway": { + "$ref": "./examples/VirtualNetworkGatewayReset.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VirtualNetworkGateway" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/resetvpnclientsharedkey": { + "post": { + "operationId": "VirtualNetworkGateways_ResetVpnClientSharedKey", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "Resets the VPN client shared key of the virtual network gateway in the specified 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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ResetVpnClientSharedKey": { + "$ref": "./examples/VirtualNetworkGatewayResetVpnClientSharedKey.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/setvpnclientipsecparameters": { + "post": { + "operationId": "VirtualNetworkGateways_SetVpnclientIpsecParameters", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "vpnclientIpsecParams", + "in": "body", + "description": "Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider.", + "required": true, + "schema": { + "$ref": "#/definitions/VpnClientIPsecParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnClientIPsecParameters" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Set VirtualNetworkGateway VpnClientIpsecParameters": { + "$ref": "./examples/VirtualNetworkGatewaySetVpnClientIpsecParameters.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VpnClientIPsecParameters" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startPacketCapture": { + "post": { + "operationId": "VirtualNetworkGateways_StartPacketCapture", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "Starts packet capture on virtual network gateway in the specified 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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Virtual network gateway packet capture parameters supplied to start packet capture on gateway.", + "required": false, + "schema": { + "$ref": "#/definitions/VpnPacketCaptureStartParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Start packet capture on virtual network gateway with filter": { + "$ref": "./examples/VirtualNetworkGatewayStartPacketCaptureFilterData.json" + }, + "Start packet capture on virtual network gateway without filter": { + "$ref": "./examples/VirtualNetworkGatewayStartPacketCapture.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/startSiteFailoverTest": { + "post": { + "operationId": "VirtualNetworkGateways_StartExpressRouteSiteFailoverSimulation", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "This operation starts failover simulation on the gateway for the specified peering location", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "peeringLocation", + "in": "query", + "description": "Peering location of the test", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualNetworkGatewayStartSiteFailoverSimulation": { + "$ref": "./examples/VirtualNetworkGatewayStartSiteFailoverSimulation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopPacketCapture": { + "post": { + "operationId": "VirtualNetworkGateways_StopPacketCapture", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "Stops packet capture on virtual network gateway in the specified 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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Virtual network gateway packet capture parameters supplied to stop packet capture on gateway.", + "required": true, + "schema": { + "$ref": "#/definitions/VpnPacketCaptureStopParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Stop packet capture on virtual network gateway": { + "$ref": "./examples/VirtualNetworkGatewayStopPacketCapture.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/stopSiteFailoverTest": { + "post": { + "operationId": "VirtualNetworkGateways_StopExpressRouteSiteFailoverSimulation", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "This operation stops failover simulation on the gateway for the specified peering location", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + }, + { + "name": "stopParameters", + "in": "body", + "description": "Virtual network gateway stop simulation parameters supplied to stop failover simulation on gateway.", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteFailoverStopApiParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualNetworkGatewayStopSiteFailoverSimulation": { + "$ref": "./examples/VirtualNetworkGatewayStopSiteFailoverSimulation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkGateways/{virtualNetworkGatewayName}/supportedvpndevices": { + "post": { + "operationId": "VirtualNetworkGateways_SupportedVpnDevices", + "tags": [ + "VirtualNetworkGateways" + ], + "description": "Gets a xml format representation for supported vpn devices.", + "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": "virtualNetworkGatewayName", + "in": "path", + "description": "The name of the virtual network gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ListVirtualNetworkGatewaySupportedVPNDevices": { + "$ref": "./examples/VirtualNetworkGatewaySupportedVpnDevice.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps": { + "get": { + "operationId": "VirtualNetworkTaps_ListByResourceGroup", + "tags": [ + "VirtualNetworkTaps" + ], + "description": "Gets all the VirtualNetworkTaps in a subscription.", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkTapListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List virtual network taps in resource group": { + "$ref": "./examples/VirtualNetworkTapList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkTaps/{tapName}": { + "get": { + "operationId": "VirtualNetworkTaps_Get", + "tags": [ + "VirtualNetworkTap" + ], + "description": "Get a VirtualNetworkTap", + "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": "tapName", + "in": "path", + "description": "The name of virtual network tap.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.VirtualNetworkTap" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Virtual Network Tap": { + "$ref": "./examples/VirtualNetworkTapGet.json" + } + } + }, + "put": { + "operationId": "VirtualNetworkTaps_CreateOrUpdate", + "tags": [ + "VirtualNetworkTap" + ], + "description": "Create a VirtualNetworkTap", + "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": "tapName", + "in": "path", + "description": "The name of virtual network tap.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update virtual network tap operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.VirtualNetworkTap" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VirtualNetworkTap' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.VirtualNetworkTap" + } + }, + "201": { + "description": "Resource 'VirtualNetworkTap' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.VirtualNetworkTap" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create Virtual Network Tap": { + "$ref": "./examples/VirtualNetworkTapCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.VirtualNetworkTap" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualNetworkTaps_UpdateTags", + "tags": [ + "VirtualNetworkTap" + ], + "description": "Update a VirtualNetworkTap", + "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": "tapName", + "in": "path", + "description": "The name of virtual network tap.", + "required": true, + "type": "string" + }, + { + "name": "tapParameters", + "in": "body", + "description": "Parameters supplied to update VirtualNetworkTap tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.VirtualNetworkTap" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update virtual network tap tags": { + "$ref": "./examples/VirtualNetworkTapUpdateTags.json" + } + } + }, + "delete": { + "operationId": "VirtualNetworkTaps_Delete", + "tags": [ + "VirtualNetworkTap" + ], + "description": "Delete a VirtualNetworkTap", + "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": "tapName", + "in": "path", + "description": "The name of virtual network tap.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete Virtual Network Tap resource": { + "$ref": "./examples/VirtualNetworkTapDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "BgpPeerStatus": { + "type": "object", + "description": "BGP peer status details.", + "properties": { + "localAddress": { + "type": "string", + "description": "The virtual network gateway's local address.", + "readOnly": true + }, + "neighbor": { + "type": "string", + "description": "The remote BGP peer.", + "readOnly": true + }, + "asn": { + "type": "integer", + "format": "int64", + "description": "The autonomous system number of the remote BGP peer.", + "minimum": 0, + "maximum": 4294967295, + "readOnly": true + }, + "state": { + "$ref": "./common.json#/definitions/BgpPeerState", + "description": "The BGP peer state.", + "readOnly": true + }, + "connectedDuration": { + "type": "string", + "description": "For how long the peering has been up.", + "readOnly": true + }, + "routesReceived": { + "type": "integer", + "format": "int64", + "description": "The number of routes learned from this peer.", + "readOnly": true + }, + "messagesSent": { + "type": "integer", + "format": "int64", + "description": "The number of BGP messages sent.", + "readOnly": true + }, + "messagesReceived": { + "type": "integer", + "format": "int64", + "description": "The number of BGP messages received.", + "readOnly": true + } + } + }, + "BgpPeerStatusListResult": { + "type": "object", + "description": "Response for list BGP peer status API service call.", + "properties": { + "value": { + "type": "array", + "description": "List of BGP peers.", + "items": { + "$ref": "#/definitions/BgpPeerStatus" + } + } + } + }, + "BgpSettings": { + "type": "object", + "description": "BGP settings details.", + "properties": { + "asn": { + "type": "integer", + "format": "int64", + "description": "The BGP speaker's ASN.", + "minimum": 0, + "maximum": 4294967295 + }, + "bgpPeeringAddress": { + "type": "string", + "description": "The BGP peering address and BGP identifier of this BGP speaker." + }, + "peerWeight": { + "type": "integer", + "format": "int32", + "description": "The weight added to routes learned from this BGP speaker." + }, + "bgpPeeringAddresses": { + "type": "array", + "description": "BGP peering address with IP configuration ID for virtual network gateway.", + "items": { + "$ref": "#/definitions/IPConfigurationBgpPeeringAddress" + } + } + } + }, + "CertificateAuthentication": { + "type": "object", + "description": "Certificate Authentication information for a certificate based authentication connection.", + "properties": { + "outboundAuthCertificate": { + "type": "string", + "format": "uri", + "description": "Keyvault secret ID for outbound authentication certificate." + }, + "inboundAuthCertificateSubjectName": { + "type": "string", + "description": "Inbound authentication certificate subject name." + }, + "inboundAuthCertificateChain": { + "type": "array", + "description": "Inbound authentication certificate public keys.", + "items": { + "type": "string" + } + } + } + }, + "CircuitMetadataMap": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Express Route Circuit Name" + }, + "link": { + "type": "string", + "description": "Link to the Express Route circuit" + }, + "location": { + "type": "string", + "description": "Peering location of the Express Route Circuit" + } + } + }, + "Common.VirtualNetworkTap": { + "type": "object", + "description": "Virtual Network Tap resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.VirtualNetworkTapPropertiesFormat", + "description": "Virtual Network Tap Properties.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "Common.VirtualNetworkTapPropertiesFormat": { + "type": "object", + "description": "Virtual Network Tap properties.", + "properties": { + "networkInterfaceTapConfigurations": { + "type": "array", + "description": "Specifies the list of resource IDs for the network interface IP configuration that needs to be tapped.", + "items": { + "$ref": "./virtualNetwork.json#/definitions/Common.NetworkInterfaceTapConfiguration" + }, + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the virtual network tap resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the virtual network tap resource.", + "readOnly": true + }, + "destinationNetworkInterfaceIPConfiguration": { + "$ref": "./virtualNetwork.json#/definitions/Common.NetworkInterfaceIPConfiguration", + "description": "The reference to the private IP Address of the collector nic that will receive the tap." + }, + "destinationLoadBalancerFrontEndIPConfiguration": { + "$ref": "./loadBalancer.json#/definitions/Common.FrontendIPConfiguration", + "description": "The reference to the private IP address on the internal Load Balancer that will receive the tap." + }, + "destinationPort": { + "type": "integer", + "format": "int32", + "description": "The VXLAN destination port that will receive the tapped traffic." + } + } + }, + "ConnectionResetSharedKey": { + "type": "object", + "description": "The virtual network connection reset shared key.", + "properties": { + "keyLength": { + "type": "integer", + "format": "int32", + "description": "The virtual network connection reset shared key length, should between 1 and 128.", + "minimum": 1, + "maximum": 128 + } + }, + "required": [ + "keyLength" + ] + }, + "ConnectionSharedKey": { + "type": "object", + "description": "Response for GetConnectionSharedKey API service call.", + "properties": { + "value": { + "type": "string", + "description": "The virtual network connection shared key value." + } + }, + "required": [ + "value" + ], + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ExpressRouteFailoverCircuitResourceDetails": { + "type": "object", + "properties": { + "nrpResourceUri": { + "type": "string", + "format": "arm-id", + "description": "NRP Resource URI of the circuit" + }, + "name": { + "type": "string", + "description": "Circuit Name" + }, + "connectionName": { + "type": "string", + "description": "Connection name associated with the circuit" + } + } + }, + "ExpressRouteFailoverConnectionResourceDetails": { + "type": "object", + "properties": { + "nrpResourceUri": { + "type": "string", + "format": "arm-id", + "description": "NRP Resource URI of the connection" + }, + "name": { + "type": "string", + "description": "Connection Name" + }, + "status": { + "$ref": "./common.json#/definitions/FailoverConnectionStatus", + "description": "The current status of the connection" + }, + "lastUpdatedTime": { + "type": "string", + "description": "Time when the connection was last updated" + } + } + }, + "ExpressRouteFailoverRedundantRoute": { + "type": "object", + "properties": { + "peeringLocations": { + "type": "array", + "description": "A list of all the peering locations for the redundant routes", + "items": { + "type": "string" + } + }, + "routes": { + "type": "array", + "description": "A list of all the redundant routes in the peering locations", + "items": { + "type": "string" + } + } + } + }, + "ExpressRouteFailoverSingleTestDetails": { + "type": "object", + "description": "ExpressRoute failover single test details", + "properties": { + "peeringLocation": { + "type": "string", + "description": "Peering location of the test" + }, + "status": { + "$ref": "./common.json#/definitions/FailoverTestStatusForSingleTest", + "description": "The current status of the test" + }, + "startTimeUtc": { + "type": "string", + "description": "Time when the test was started" + }, + "endTimeUtc": { + "type": "string", + "description": "Time when the test was completed" + }, + "redundantRoutes": { + "type": "array", + "description": "List of routes received from this peering as well as some other peering location", + "items": { + "$ref": "#/definitions/ExpressRouteFailoverRedundantRoute" + } + }, + "nonRedundantRoutes": { + "type": "array", + "description": "List of al the routes that were received only from this peering location", + "items": { + "type": "string" + } + }, + "wasSimulationSuccessful": { + "type": "boolean", + "description": "Whether the failover simulation was successful or not" + }, + "failoverConnectionDetails": { + "type": "array", + "description": "List of all the failover connections for this peering location", + "items": { + "$ref": "#/definitions/FailoverConnectionDetails" + } + } + } + }, + "ExpressRouteFailoverSingleTestDetailsArray": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteFailoverSingleTestDetails" + } + }, + "ExpressRouteFailoverStopApiParameters": { + "type": "object", + "description": "Start packet capture parameters on virtual network gateway.", + "properties": { + "peeringLocation": { + "type": "string", + "description": "Peering location of the test" + }, + "wasSimulationSuccessful": { + "type": "boolean", + "description": "Whether the failover simulation was successful or not" + }, + "details": { + "type": "array", + "description": "List of all the failover connections for this peering location", + "items": { + "$ref": "#/definitions/FailoverConnectionDetails" + } + } + } + }, + "ExpressRouteFailoverTestDetails": { + "type": "object", + "description": "ExpressRoute failover test details", + "properties": { + "peeringLocation": { + "type": "string", + "description": "Peering location of the test" + }, + "circuits": { + "type": "array", + "description": "All circuits in the peering location", + "items": { + "$ref": "#/definitions/ExpressRouteFailoverCircuitResourceDetails" + } + }, + "status": { + "$ref": "./common.json#/definitions/FailoverTestStatus", + "description": "The current status of the test" + }, + "startTime": { + "type": "string", + "description": "Time when the test was started" + }, + "endTime": { + "type": "string", + "description": "Time when the test was completed" + }, + "connections": { + "type": "array", + "description": "All connections to the circuits in the peering location", + "items": { + "$ref": "#/definitions/ExpressRouteFailoverConnectionResourceDetails" + } + }, + "testGuid": { + "type": "string", + "description": "The unique GUID associated with the test" + }, + "testType": { + "$ref": "./common.json#/definitions/FailoverTestType", + "description": "The type of failover test" + }, + "issues": { + "type": "array", + "description": "A list of all issues with the test", + "items": { + "type": "string" + } + } + } + }, + "ExpressRouteFailoverTestDetailsArray": { + "type": "array", + "items": { + "$ref": "#/definitions/ExpressRouteFailoverTestDetails" + } + }, + "FailoverConnectionDetails": { + "type": "object", + "properties": { + "failoverConnectionName": { + "type": "string", + "description": "Name of the failover connection" + }, + "failoverLocation": { + "type": "string", + "description": "Location of the failover connection" + }, + "isVerified": { + "type": "boolean", + "description": "Whether the customer was able to establish connectivity through this failover connection or not" + } + } + }, + "GatewayCustomBgpIpAddressIpConfiguration": { + "type": "object", + "description": "GatewayCustomBgpIpAddressIpConfiguration for a virtual network gateway connection.", + "properties": { + "ipConfigurationId": { + "type": "string", + "description": "The IpconfigurationId of ipconfiguration which belongs to gateway." + }, + "customBgpIpAddress": { + "type": "string", + "description": "The custom BgpPeeringAddress which belongs to IpconfigurationId." + } + }, + "required": [ + "ipConfigurationId", + "customBgpIpAddress" + ] + }, + "GatewayResiliencyInformation": { + "type": "object", + "description": "Gateway Resiliency Information", + "properties": { + "overallScore": { + "type": "string", + "description": "Current Resiliency Score for the gateway" + }, + "scoreChange": { + "type": "string", + "description": "Update in the Resiliency Score for the gateway from the last computed score" + }, + "minScoreFromRecommendations": { + "type": "string", + "description": "Minimum increase expected in the score if the at least one of the recommendations is applied for the gateway" + }, + "maxScoreFromRecommendations": { + "type": "string", + "description": "Maximum increase expected in the score if all of the recommendations are applied for the gateway" + }, + "lastComputedTime": { + "type": "string", + "format": "date-time", + "description": "Timestamp denoting the last time when the resiliency score was computed for the gateway" + }, + "nextEligibleComputeTime": { + "type": "string", + "format": "date-time", + "description": "Timestamp denoting the next eligible time to re-compute the resiliency score for the gateway" + }, + "components": { + "type": "array", + "description": "List of Resiliency based Recommendation Components for the gateway", + "items": { + "$ref": "#/definitions/ResiliencyRecommendationComponents" + } + } + } + }, + "GatewayResiliencyRecommendation": { + "type": "object", + "description": "Resiliency Recommendation details", + "properties": { + "recommendationTitle": { + "type": "string", + "description": "Recommendation Title" + }, + "recommendationId": { + "type": "string", + "description": "Recommendation Id" + }, + "severity": { + "type": "string", + "description": "Impact associated with the recommendation" + }, + "recommendationText": { + "type": "string", + "description": "Recommendation details" + }, + "callToActionText": { + "type": "string", + "description": "Acton items to apply the recommendation" + }, + "callToActionLink": { + "type": "string", + "description": "Link to the public documentation for the associated recommendation" + } + } + }, + "GatewayRoute": { + "type": "object", + "description": "Gateway routing details.", + "properties": { + "localAddress": { + "type": "string", + "description": "The gateway's local address.", + "readOnly": true + }, + "network": { + "type": "string", + "description": "The route's network prefix.", + "readOnly": true + }, + "nextHop": { + "type": "string", + "description": "The route's next hop.", + "readOnly": true + }, + "sourcePeer": { + "type": "string", + "description": "The peer this route was learned from.", + "readOnly": true + }, + "origin": { + "type": "string", + "description": "The source this route was learned from.", + "readOnly": true + }, + "asPath": { + "type": "string", + "description": "The route's AS path sequence.", + "readOnly": true + }, + "weight": { + "type": "integer", + "format": "int32", + "description": "The route's weight.", + "readOnly": true + } + } + }, + "GatewayRouteListResult": { + "type": "object", + "description": "List of virtual network gateway routes.", + "properties": { + "value": { + "type": "array", + "description": "List of gateway routes.", + "items": { + "$ref": "#/definitions/GatewayRoute" + } + } + } + }, + "GatewayRouteSet": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Route Set name" + }, + "locations": { + "type": "array", + "description": "List of different locations from where the routes are learned", + "items": { + "type": "string" + } + }, + "details": { + "type": "object", + "description": "List of different Route Sources", + "additionalProperties": { + "items": { + "$ref": "#/definitions/RouteSourceDetails" + }, + "type": "array" + } + } + } + }, + "GatewayRouteSetsInformation": { + "type": "object", + "description": "Gateway Route Sets Information", + "properties": { + "lastComputedTime": { + "type": "string", + "format": "date-time", + "description": "Timestamp denoting the last time when the route sets were computed for the gateway" + }, + "nextEligibleComputeTime": { + "type": "string", + "format": "date-time", + "description": "Timestamp denoting the next eligible time to re-compute the route sets for the gateway" + }, + "routeSetVersion": { + "type": "string", + "description": "Version for the route set" + }, + "routeSets": { + "type": "array", + "description": "List of Gateway Route Sets", + "items": { + "$ref": "#/definitions/GatewayRouteSet" + } + }, + "circuitsMetadataMap": { + "type": "object", + "description": "Dictionary containing map of the circuit id and circuit details", + "additionalProperties": { + "$ref": "#/definitions/CircuitMetadataMap" + } + } + } + }, + "IPConfigurationBgpPeeringAddress": { + "type": "object", + "description": "Properties of IPConfigurationBgpPeeringAddress.", + "properties": { + "ipconfigurationId": { + "type": "string", + "description": "The ID of IP configuration which belongs to gateway." + }, + "defaultBgpIpAddresses": { + "type": "array", + "description": "The list of default BGP peering addresses which belong to IP configuration.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "customBgpIpAddresses": { + "type": "array", + "description": "The list of custom BGP peering addresses which belong to IP configuration.", + "items": { + "type": "string" + } + }, + "tunnelIpAddresses": { + "type": "array", + "description": "The list of tunnel public IP addresses which belong to IP configuration.", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "IpsecPolicy": { + "type": "object", + "description": "An IPSec Policy configuration for a virtual network gateway connection.", + "properties": { + "saLifeTimeSeconds": { + "type": "integer", + "format": "int32", + "description": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel." + }, + "saDataSizeKilobytes": { + "type": "integer", + "format": "int32", + "description": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel." + }, + "ipsecEncryption": { + "$ref": "./common.json#/definitions/IpsecEncryption", + "description": "The IPSec encryption algorithm (IKE phase 1)." + }, + "ipsecIntegrity": { + "$ref": "./common.json#/definitions/IpsecIntegrity", + "description": "The IPSec integrity algorithm (IKE phase 1)." + }, + "ikeEncryption": { + "$ref": "./common.json#/definitions/IkeEncryption", + "description": "The IKE encryption algorithm (IKE phase 2)." + }, + "ikeIntegrity": { + "$ref": "./common.json#/definitions/IkeIntegrity", + "description": "The IKE integrity algorithm (IKE phase 2)." + }, + "dhGroup": { + "$ref": "./common.json#/definitions/DhGroup", + "description": "The DH Group used in IKE Phase 1 for initial SA." + }, + "pfsGroup": { + "$ref": "./common.json#/definitions/PfsGroup", + "description": "The Pfs Group used in IKE Phase 2 for new child SA." + } + }, + "required": [ + "saLifeTimeSeconds", + "saDataSizeKilobytes", + "ipsecEncryption", + "ipsecIntegrity", + "ikeEncryption", + "ikeIntegrity", + "dhGroup", + "pfsGroup" + ] + }, + "ListVirtualNetworkGatewayNatRulesResult": { + "type": "object", + "description": "Result of the request to list all nat rules to a virtual network gateway. It contains a list of Nat rules and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualNetworkGatewayNatRule items on this page", + "items": { + "$ref": "#/definitions/VirtualNetworkGatewayNatRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "LocalNetworkGateway": { + "type": "object", + "description": "A common class for general resource information.", + "properties": { + "properties": { + "$ref": "#/definitions/LocalNetworkGatewayPropertiesFormat", + "description": "Properties of the local network gateway.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "LocalNetworkGatewayListResult": { + "type": "object", + "description": "The response of a LocalNetworkGateway list operation.", + "properties": { + "value": { + "type": "array", + "description": "The LocalNetworkGateway items on this page", + "items": { + "$ref": "#/definitions/LocalNetworkGateway" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "LocalNetworkGatewayPropertiesFormat": { + "type": "object", + "description": "LocalNetworkGateway properties.", + "properties": { + "localNetworkAddressSpace": { + "$ref": "./virtualNetwork.json#/definitions/Common.AddressSpace", + "description": "Local network site address space." + }, + "gatewayIpAddress": { + "type": "string", + "description": "IP address of local network gateway." + }, + "fqdn": { + "type": "string", + "description": "FQDN of local network gateway." + }, + "bgpSettings": { + "$ref": "#/definitions/BgpSettings", + "description": "Local network gateway's BGP speaker settings." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the local network gateway resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the local network gateway resource.", + "readOnly": true + } + } + }, + "RadiusAuthServer": { + "type": "object", + "description": "Gateway or VpnServerConfiguration Radius server with radius secret details", + "properties": { + "radiusServerAddress": { + "type": "string", + "description": "Radius server IPAddress" + }, + "radiusServerSecret": { + "type": "string", + "format": "password", + "description": "Radius server secret", + "x-ms-secret": true + } + } + }, + "RadiusAuthServerListResult": { + "type": "object", + "description": "List of Radius servers with respective radius secrets.", + "properties": { + "value": { + "type": "array", + "description": "The RadiusAuthServer items on this page", + "items": { + "$ref": "#/definitions/RadiusAuthServer" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "RadiusServer": { + "type": "object", + "description": "Radius Server Settings.", + "properties": { + "radiusServerAddress": { + "type": "string", + "description": "The address of this radius server." + }, + "radiusServerScore": { + "type": "integer", + "format": "int64", + "description": "The initial score assigned to this radius server." + }, + "radiusServerSecret": { + "type": "string", + "format": "password", + "description": "The secret used for this radius server. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.", + "x-ms-secret": true + } + }, + "required": [ + "radiusServerAddress" + ] + }, + "ResiliencyRecommendationComponents": { + "type": "object", + "description": "Gateway Resiliency based Recommendations", + "properties": { + "name": { + "type": "string", + "description": "Name of the Resiliency based Recommendation Component" + }, + "currentScore": { + "type": "string", + "description": "Current Score of the gateway" + }, + "maxScore": { + "type": "string", + "description": "Max score that the gateway can achieve if the specified recommendation is applied" + }, + "recommendations": { + "type": "array", + "description": "List of Gateway Resiliency based Recommendations", + "items": { + "$ref": "#/definitions/GatewayResiliencyRecommendation" + } + } + } + }, + "RouteSourceDetails": { + "type": "object", + "properties": { + "circuit": { + "type": "string", + "description": "Express Route Circuit identifier" + }, + "pri": { + "type": "string", + "description": "Flag to indicate if the route learned from the primary device is active or passive" + }, + "sec": { + "type": "string", + "description": "Flag to indicate if the route learned from the secondary device is active or passive" + } + } + }, + "TrafficSelectorPolicy": { + "type": "object", + "description": "An traffic selector policy for a virtual network gateway connection.", + "properties": { + "localAddressRanges": { + "type": "array", + "description": "A collection of local address spaces in CIDR format.", + "items": { + "type": "string" + } + }, + "remoteAddressRanges": { + "type": "array", + "description": "A collection of remote address spaces in CIDR format.", + "items": { + "type": "string" + } + } + }, + "required": [ + "localAddressRanges", + "remoteAddressRanges" + ] + }, + "TunnelConnectionHealth": { + "type": "object", + "description": "VirtualNetworkGatewayConnection properties.", + "properties": { + "tunnel": { + "type": "string", + "description": "Tunnel name.", + "readOnly": true + }, + "connectionStatus": { + "$ref": "./common.json#/definitions/VirtualNetworkGatewayConnectionStatus", + "description": "Virtual Network Gateway connection status.", + "readOnly": true + }, + "ingressBytesTransferred": { + "type": "integer", + "format": "int64", + "description": "The Ingress Bytes Transferred in this connection.", + "readOnly": true + }, + "egressBytesTransferred": { + "type": "integer", + "format": "int64", + "description": "The Egress Bytes Transferred in this connection.", + "readOnly": true + }, + "lastConnectionEstablishedUtcTime": { + "type": "string", + "description": "The time at which connection was established in Utc format.", + "readOnly": true + } + } + }, + "VirtualNetworkConnectionGatewayReference": { + "type": "object", + "description": "A reference to VirtualNetworkGateway or LocalNetworkGateway resource.", + "properties": { + "id": { + "type": "string", + "description": "The ID of VirtualNetworkGateway or LocalNetworkGateway resource." + } + }, + "required": [ + "id" + ] + }, + "VirtualNetworkGateway": { + "type": "object", + "description": "A common class for general resource information.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualNetworkGatewayPropertiesFormat", + "description": "Properties of the virtual network gateway.", + "x-ms-client-flatten": true + }, + "extendedLocation": { + "$ref": "./common.json#/definitions/Common.ExtendedLocation", + "description": "The extended location of type local virtual network gateway." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "identity": { + "$ref": "./common.json#/definitions/Common.ManagedServiceIdentity", + "description": "The identity of the virtual network gateway, if configured." + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "VirtualNetworkGatewayAutoScaleBounds": { + "type": "object", + "properties": { + "min": { + "type": "integer", + "format": "int32", + "description": "Minimum scale Units for Autoscale configuration" + }, + "max": { + "type": "integer", + "format": "int32", + "description": "Maximum Scale Units for Autoscale configuration" + } + } + }, + "VirtualNetworkGatewayAutoScaleConfiguration": { + "type": "object", + "description": "Virtual Network Gateway Autoscale Configuration details", + "properties": { + "bounds": { + "$ref": "#/definitions/VirtualNetworkGatewayAutoScaleBounds", + "description": "The bounds of the autoscale configuration" + } + } + }, + "VirtualNetworkGatewayConnection": { + "type": "object", + "description": "A common class for general resource information.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualNetworkGatewayConnectionPropertiesFormat", + "description": "Properties of the virtual network gateway connection.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "VirtualNetworkGatewayConnectionListEntity": { + "type": "object", + "description": "A common class for general resource information.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualNetworkGatewayConnectionListEntityPropertiesFormat", + "description": "Properties of the virtual network gateway connection.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "VirtualNetworkGatewayConnectionListEntityPropertiesFormat": { + "type": "object", + "description": "VirtualNetworkGatewayConnection properties.", + "properties": { + "authorizationKey": { + "type": "string", + "description": "The authorizationKey." + }, + "virtualNetworkGateway1": { + "$ref": "#/definitions/VirtualNetworkConnectionGatewayReference", + "description": "The reference to virtual network gateway resource." + }, + "virtualNetworkGateway2": { + "$ref": "#/definitions/VirtualNetworkConnectionGatewayReference", + "description": "The reference to virtual network gateway resource." + }, + "localNetworkGateway2": { + "$ref": "#/definitions/VirtualNetworkConnectionGatewayReference", + "description": "The reference to local network gateway resource." + }, + "connectionType": { + "$ref": "./common.json#/definitions/VirtualNetworkGatewayConnectionType", + "description": "Gateway connection type." + }, + "connectionProtocol": { + "$ref": "./common.json#/definitions/VirtualNetworkGatewayConnectionProtocol", + "description": "Connection protocol used for this connection." + }, + "routingWeight": { + "type": "integer", + "format": "int32", + "description": "The routing weight." + }, + "connectionMode": { + "$ref": "./common.json#/definitions/VirtualNetworkGatewayConnectionMode", + "description": "The connection mode for this connection." + }, + "sharedKey": { + "type": "string", + "description": "The IPSec shared key. We will no longer return sharedKey in VirtualNetworkGatewayConnection Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGatewayConnection GetSharedKey API to fetch connection sharedKey." + }, + "connectionStatus": { + "$ref": "./common.json#/definitions/VirtualNetworkGatewayConnectionStatus", + "description": "Virtual Network Gateway connection status.", + "readOnly": true + }, + "tunnelConnectionStatus": { + "type": "array", + "description": "Collection of all tunnels' connection health status.", + "items": { + "$ref": "#/definitions/TunnelConnectionHealth" + }, + "readOnly": true + }, + "egressBytesTransferred": { + "type": "integer", + "format": "int64", + "description": "The egress bytes transferred in this connection.", + "readOnly": true + }, + "ingressBytesTransferred": { + "type": "integer", + "format": "int64", + "description": "The ingress bytes transferred in this connection.", + "readOnly": true + }, + "peer": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to peerings resource." + }, + "enableBgp": { + "type": "boolean", + "description": "EnableBgp flag." + }, + "gatewayCustomBgpIpAddresses": { + "type": "array", + "description": "GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.", + "items": { + "$ref": "#/definitions/GatewayCustomBgpIpAddressIpConfiguration" + }, + "x-ms-identifiers": [] + }, + "usePolicyBasedTrafficSelectors": { + "type": "boolean", + "description": "Enable policy-based traffic selectors." + }, + "ipsecPolicies": { + "type": "array", + "description": "The IPSec Policies to be considered by this connection.", + "items": { + "$ref": "#/definitions/IpsecPolicy" + } + }, + "trafficSelectorPolicies": { + "type": "array", + "description": "The Traffic Selector Policies to be considered by this connection.", + "items": { + "$ref": "#/definitions/TrafficSelectorPolicy" + } + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the virtual network gateway connection resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the virtual network gateway connection resource.", + "readOnly": true + }, + "expressRouteGatewayBypass": { + "type": "boolean", + "description": "Bypass ExpressRoute Gateway for data forwarding." + }, + "enablePrivateLinkFastPath": { + "type": "boolean", + "description": "Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled." + }, + "routingConfiguration": { + "$ref": "./virtualWan.json#/definitions/RoutingConfiguration", + "description": "The routing configuration indicating the associated and propagated route tables for this connection." + } + }, + "required": [ + "virtualNetworkGateway1", + "connectionType" + ] + }, + "VirtualNetworkGatewayConnectionListResult": { + "type": "object", + "description": "The response of a VirtualNetworkGatewayConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualNetworkGatewayConnection items on this page", + "items": { + "$ref": "#/definitions/VirtualNetworkGatewayConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VirtualNetworkGatewayConnectionPropertiesFormat": { + "type": "object", + "description": "VirtualNetworkGatewayConnection properties.", + "properties": { + "authorizationKey": { + "type": "string", + "description": "The authorizationKey." + }, + "virtualNetworkGateway1": { + "$ref": "#/definitions/VirtualNetworkGateway", + "description": "The reference to virtual network gateway resource." + }, + "virtualNetworkGateway2": { + "$ref": "#/definitions/VirtualNetworkGateway", + "description": "The reference to virtual network gateway resource." + }, + "localNetworkGateway2": { + "$ref": "#/definitions/LocalNetworkGateway", + "description": "The reference to local network gateway resource." + }, + "ingressNatRules": { + "type": "array", + "description": "List of ingress NatRules.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "egressNatRules": { + "type": "array", + "description": "List of egress NatRules.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "connectionType": { + "$ref": "./common.json#/definitions/VirtualNetworkGatewayConnectionType", + "description": "Gateway connection type." + }, + "connectionProtocol": { + "$ref": "./common.json#/definitions/VirtualNetworkGatewayConnectionProtocol", + "description": "Connection protocol used for this connection." + }, + "routingWeight": { + "type": "integer", + "format": "int32", + "description": "The routing weight." + }, + "dpdTimeoutSeconds": { + "type": "integer", + "format": "int32", + "description": "The dead peer detection timeout of this connection in seconds." + }, + "connectionMode": { + "$ref": "./common.json#/definitions/VirtualNetworkGatewayConnectionMode", + "description": "The connection mode for this connection." + }, + "tunnelProperties": { + "type": "array", + "description": "Tunnel properties for virtual network gateway connection", + "items": { + "$ref": "#/definitions/VirtualNetworkGatewayConnectionTunnelProperties" + } + }, + "sharedKey": { + "type": "string", + "format": "password", + "description": "The IPSec shared key.", + "x-ms-secret": true + }, + "connectionStatus": { + "$ref": "./common.json#/definitions/VirtualNetworkGatewayConnectionStatus", + "description": "Virtual Network Gateway connection status.", + "readOnly": true + }, + "tunnelConnectionStatus": { + "type": "array", + "description": "Collection of all tunnels' connection health status.", + "items": { + "$ref": "#/definitions/TunnelConnectionHealth" + }, + "readOnly": true + }, + "egressBytesTransferred": { + "type": "integer", + "format": "int64", + "description": "The egress bytes transferred in this connection.", + "readOnly": true + }, + "ingressBytesTransferred": { + "type": "integer", + "format": "int64", + "description": "The ingress bytes transferred in this connection.", + "readOnly": true + }, + "peer": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to peerings resource." + }, + "enableBgp": { + "type": "boolean", + "description": "EnableBgp flag." + }, + "gatewayCustomBgpIpAddresses": { + "type": "array", + "description": "GatewayCustomBgpIpAddresses to be used for virtual network gateway Connection.", + "items": { + "$ref": "#/definitions/GatewayCustomBgpIpAddressIpConfiguration" + }, + "x-ms-identifiers": [] + }, + "useLocalAzureIpAddress": { + "type": "boolean", + "description": "Use private local Azure IP for the connection." + }, + "usePolicyBasedTrafficSelectors": { + "type": "boolean", + "description": "Enable policy-based traffic selectors." + }, + "ipsecPolicies": { + "type": "array", + "description": "The IPSec Policies to be considered by this connection.", + "items": { + "$ref": "#/definitions/IpsecPolicy" + } + }, + "trafficSelectorPolicies": { + "type": "array", + "description": "The Traffic Selector Policies to be considered by this connection.", + "items": { + "$ref": "#/definitions/TrafficSelectorPolicy" + } + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the virtual network gateway connection resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the virtual network gateway connection resource.", + "readOnly": true + }, + "expressRouteGatewayBypass": { + "type": "boolean", + "description": "Bypass ExpressRoute Gateway for data forwarding." + }, + "enablePrivateLinkFastPath": { + "type": "boolean", + "description": "Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled." + }, + "authenticationType": { + "$ref": "./common.json#/definitions/ConnectionAuthenticationType", + "description": "Gateway connection authentication type." + }, + "certificateAuthentication": { + "$ref": "#/definitions/CertificateAuthentication", + "description": "Certificate Authentication information for a certificate based authentication connection." + }, + "routingConfiguration": { + "$ref": "./virtualWan.json#/definitions/RoutingConfiguration", + "description": "The routing configuration indicating the associated and propagated route tables for this connection." + } + }, + "required": [ + "virtualNetworkGateway1", + "connectionType" + ] + }, + "VirtualNetworkGatewayConnectionTunnelProperties": { + "type": "object", + "properties": { + "tunnelIpAddress": { + "type": "string", + "description": "Tunnel remote IP address" + }, + "bgpPeeringAddress": { + "type": "string", + "description": "Tunnel BGP peering address" + } + } + }, + "VirtualNetworkGatewayIPConfiguration": { + "type": "object", + "description": "IP configuration for virtual network gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualNetworkGatewayIPConfigurationPropertiesFormat", + "description": "Properties of the virtual network gateway ip configuration.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "VirtualNetworkGatewayIPConfigurationPropertiesFormat": { + "type": "object", + "description": "Properties of VirtualNetworkGatewayIPConfiguration.", + "properties": { + "privateIPAllocationMethod": { + "$ref": "./common.json#/definitions/Common.IPAllocationMethod", + "description": "The private IP address allocation method." + }, + "subnet": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to the subnet resource." + }, + "publicIPAddress": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to the public IP resource." + }, + "privateIPAddress": { + "type": "string", + "description": "Private IP Address for this gateway.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the virtual network gateway IP configuration resource.", + "readOnly": true + } + } + }, + "VirtualNetworkGatewayListConnectionsResult": { + "type": "object", + "description": "Response for the VirtualNetworkGatewayListConnections API service call.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualNetworkGatewayConnectionListEntity items on this page", + "items": { + "$ref": "#/definitions/VirtualNetworkGatewayConnectionListEntity" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VirtualNetworkGatewayListResult": { + "type": "object", + "description": "The response of a VirtualNetworkGateway list operation.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualNetworkGateway items on this page", + "items": { + "$ref": "#/definitions/VirtualNetworkGateway" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VirtualNetworkGatewayMigrationParameters": { + "type": "object", + "description": "Virtual network gateway migration parameters.", + "properties": { + "migrationType": { + "$ref": "./common.json#/definitions/VirtualNetworkGatewayMigrationType", + "description": "MigrationType for the virtual network gateway." + }, + "resourceUrl": { + "type": "string", + "description": "Resource url that needs to be passed in to migration." + } + }, + "required": [ + "migrationType" + ] + }, + "VirtualNetworkGatewayMigrationStatus": { + "type": "object", + "description": "Migration status for the Virtual Network Gateway.", + "properties": { + "state": { + "$ref": "./common.json#/definitions/VirtualNetworkGatewayMigrationState", + "description": "Represent the current state of gateway migration." + }, + "phase": { + "$ref": "./common.json#/definitions/VirtualNetworkGatewayMigrationPhase", + "description": "Represent the current migration phase of gateway." + }, + "errorMessage": { + "type": "string", + "description": "Error if any occurs during migration." + } + } + }, + "VirtualNetworkGatewayNatRule": { + "type": "object", + "description": "VirtualNetworkGatewayNatRule Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualNetworkGatewayNatRuleProperties", + "description": "Properties of the Virtual Network Gateway NAT rule.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "VirtualNetworkGatewayNatRuleProperties": { + "type": "object", + "description": "Parameters for VirtualNetworkGatewayNatRule.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the NAT Rule resource.", + "readOnly": true + }, + "type": { + "$ref": "./common.json#/definitions/VpnNatRuleType", + "description": "The type of NAT rule for VPN NAT." + }, + "mode": { + "$ref": "./common.json#/definitions/VpnNatRuleMode", + "description": "The Source NAT direction of a VPN NAT." + }, + "internalMappings": { + "type": "array", + "description": "The private IP address internal mapping for NAT.", + "items": { + "$ref": "./virtualWan.json#/definitions/VpnNatRuleMapping" + } + }, + "externalMappings": { + "type": "array", + "description": "The private IP address external mapping for NAT.", + "items": { + "$ref": "./virtualWan.json#/definitions/VpnNatRuleMapping" + } + }, + "ipConfigurationId": { + "type": "string", + "description": "The IP Configuration ID this NAT rule applies to." + } + } + }, + "VirtualNetworkGatewayPolicyGroup": { + "type": "object", + "description": "Parameters for VirtualNetworkGatewayPolicyGroup.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualNetworkGatewayPolicyGroupProperties", + "description": "Properties of tVirtualNetworkGatewayPolicyGroup.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "VirtualNetworkGatewayPolicyGroupMember": { + "type": "object", + "description": "Vpn Client Connection configuration PolicyGroup member", + "properties": { + "name": { + "type": "string", + "description": "Name of the VirtualNetworkGatewayPolicyGroupMember." + }, + "attributeType": { + "$ref": "./common.json#/definitions/VpnPolicyMemberAttributeType", + "description": "The Vpn Policy member attribute type." + }, + "attributeValue": { + "type": "string", + "description": "The value of Attribute used for this VirtualNetworkGatewayPolicyGroupMember." + } + } + }, + "VirtualNetworkGatewayPolicyGroupProperties": { + "type": "object", + "description": "Properties of VirtualNetworkGatewayPolicyGroup.", + "properties": { + "isDefault": { + "type": "boolean", + "description": "Shows if this is a Default VirtualNetworkGatewayPolicyGroup or not." + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "Priority for VirtualNetworkGatewayPolicyGroup." + }, + "policyMembers": { + "type": "array", + "description": "Multiple PolicyMembers for VirtualNetworkGatewayPolicyGroup.", + "items": { + "$ref": "#/definitions/VirtualNetworkGatewayPolicyGroupMember" + }, + "x-ms-identifiers": [] + }, + "vngClientConnectionConfigurations": { + "type": "array", + "description": "List of references to vngClientConnectionConfigurations.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the VirtualNetworkGatewayPolicyGroup resource.", + "readOnly": true + } + }, + "required": [ + "isDefault", + "priority", + "policyMembers" + ] + }, + "VirtualNetworkGatewayPropertiesFormat": { + "type": "object", + "description": "VirtualNetworkGateway properties.", + "properties": { + "autoScaleConfiguration": { + "$ref": "#/definitions/VirtualNetworkGatewayAutoScaleConfiguration", + "description": "Autoscale configuration for virutal network gateway" + }, + "ipConfigurations": { + "type": "array", + "description": "IP configurations for virtual network gateway.", + "items": { + "$ref": "#/definitions/VirtualNetworkGatewayIPConfiguration" + } + }, + "gatewayType": { + "$ref": "./common.json#/definitions/VirtualNetworkGatewayType", + "description": "The type of this virtual network gateway." + }, + "vpnType": { + "$ref": "./common.json#/definitions/VpnType", + "description": "The type of this virtual network gateway." + }, + "vpnGatewayGeneration": { + "$ref": "./common.json#/definitions/VpnGatewayGeneration", + "description": "The generation for this VirtualNetworkGateway. Must be None if gatewayType is not VPN." + }, + "enableBgp": { + "type": "boolean", + "description": "Whether BGP is enabled for this virtual network gateway or not." + }, + "enablePrivateIpAddress": { + "type": "boolean", + "description": "Whether private IP needs to be enabled on this gateway for connections or not." + }, + "virtualNetworkGatewayMigrationStatus": { + "$ref": "#/definitions/VirtualNetworkGatewayMigrationStatus", + "description": "The reference to the VirtualNetworkGatewayMigrationStatus which represents the status of migration." + }, + "activeActive": { + "type": "boolean", + "description": "ActiveActive flag." + }, + "enableHighBandwidthVpnGateway": { + "type": "boolean", + "description": "To enable Advanced Connectivity feature for VPN gateway" + }, + "disableIPSecReplayProtection": { + "type": "boolean", + "description": "disableIPSecReplayProtection flag." + }, + "gatewayDefaultSite": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to the LocalNetworkGateway resource which represents local network site having default routes. Assign Null value in case of removing existing default site setting." + }, + "sku": { + "$ref": "#/definitions/VirtualNetworkGatewaySku", + "description": "The reference to the VirtualNetworkGatewaySku resource which represents the SKU selected for Virtual network gateway." + }, + "vpnClientConfiguration": { + "$ref": "#/definitions/VpnClientConfiguration", + "description": "The reference to the VpnClientConfiguration resource which represents the P2S VpnClient configurations." + }, + "virtualNetworkGatewayPolicyGroups": { + "type": "array", + "description": "The reference to the VirtualNetworkGatewayPolicyGroup resource which represents the available VirtualNetworkGatewayPolicyGroup for the gateway.", + "items": { + "$ref": "#/definitions/VirtualNetworkGatewayPolicyGroup" + } + }, + "bgpSettings": { + "$ref": "#/definitions/BgpSettings", + "description": "Virtual network gateway's BGP speaker settings." + }, + "customRoutes": { + "$ref": "./virtualNetwork.json#/definitions/Common.AddressSpace", + "description": "The reference to the address space resource which represents the custom routes address space specified by the customer for virtual network gateway and VpnClient." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the virtual network gateway resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the virtual network gateway resource.", + "readOnly": true + }, + "enableDnsForwarding": { + "type": "boolean", + "description": "Whether dns forwarding is enabled or not." + }, + "inboundDnsForwardingEndpoint": { + "type": "string", + "description": "The IP address allocated by the gateway to which dns requests can be sent.", + "readOnly": true + }, + "vNetExtendedLocationResourceId": { + "type": "string", + "description": "Customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet." + }, + "natRules": { + "type": "array", + "description": "NatRules for virtual network gateway.", + "items": { + "$ref": "#/definitions/VirtualNetworkGatewayNatRule" + } + }, + "enableBgpRouteTranslationForNat": { + "type": "boolean", + "description": "EnableBgpRouteTranslationForNat flag." + }, + "allowVirtualWanTraffic": { + "type": "boolean", + "description": "Configures this gateway to accept traffic from remote Virtual WAN networks." + }, + "allowRemoteVnetTraffic": { + "type": "boolean", + "description": "Configure this gateway to accept traffic from other Azure Virtual Networks. This configuration does not support connectivity to Azure Virtual WAN." + }, + "adminState": { + "$ref": "./common.json#/definitions/AdminState", + "description": "Property to indicate if the Express Route Gateway serves traffic when there are multiple Express Route Gateways in the vnet" + }, + "resiliencyModel": { + "$ref": "./common.json#/definitions/ResiliencyModel", + "description": "Property to indicate if the Express Route Gateway has resiliency model of MultiHomed or SingleHomed" + } + } + }, + "VirtualNetworkGatewaySku": { + "type": "object", + "description": "VirtualNetworkGatewaySku details.", + "properties": { + "name": { + "$ref": "./common.json#/definitions/VirtualNetworkGatewaySkuName", + "description": "Gateway SKU name." + }, + "tier": { + "$ref": "./common.json#/definitions/VirtualNetworkGatewaySkuTier", + "description": "Gateway SKU tier." + }, + "capacity": { + "type": "integer", + "format": "int32", + "description": "The capacity.", + "readOnly": true + } + } + }, + "VirtualNetworkTapListResult": { + "type": "object", + "description": "The response of a VirtualNetworkTap list operation.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualNetworkTap items on this page", + "items": { + "$ref": "#/definitions/Common.VirtualNetworkTap" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VngClientConnectionConfiguration": { + "type": "object", + "description": "A vpn client connection configuration for client connection configuration.", + "properties": { + "properties": { + "$ref": "#/definitions/VngClientConnectionConfigurationProperties", + "description": "Properties of the vpn client root certificate.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "VngClientConnectionConfigurationProperties": { + "type": "object", + "description": "Properties of VngClientConnectionConfiguration.", + "properties": { + "vpnClientAddressPool": { + "$ref": "./virtualNetwork.json#/definitions/Common.AddressSpace", + "description": "The reference to the address space resource which represents Address space for P2S VpnClient." + }, + "virtualNetworkGatewayPolicyGroups": { + "type": "array", + "description": "List of references to virtualNetworkGatewayPolicyGroups", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the VngClientConnectionConfiguration resource.", + "readOnly": true + } + }, + "required": [ + "vpnClientAddressPool", + "virtualNetworkGatewayPolicyGroups" + ] + }, + "VpnClientConfiguration": { + "type": "object", + "description": "VpnClientConfiguration for P2S client.", + "properties": { + "vpnClientAddressPool": { + "$ref": "./virtualNetwork.json#/definitions/Common.AddressSpace", + "description": "The reference to the address space resource which represents Address space for P2S VpnClient." + }, + "vpnClientRootCertificates": { + "type": "array", + "description": "VpnClientRootCertificate for virtual network gateway.", + "items": { + "$ref": "#/definitions/VpnClientRootCertificate" + } + }, + "vpnClientRevokedCertificates": { + "type": "array", + "description": "VpnClientRevokedCertificate for Virtual network gateway.", + "items": { + "$ref": "#/definitions/VpnClientRevokedCertificate" + } + }, + "vpnClientProtocols": { + "type": "array", + "description": "VpnClientProtocols for Virtual network gateway.", + "items": { + "$ref": "./common.json#/definitions/VpnClientProtocol" + } + }, + "vpnAuthenticationTypes": { + "type": "array", + "description": "VPN authentication types for the virtual network gateway..", + "items": { + "$ref": "./common.json#/definitions/VpnAuthenticationType" + } + }, + "vpnClientIpsecPolicies": { + "type": "array", + "description": "VpnClientIpsecPolicies for virtual network gateway P2S client.", + "items": { + "$ref": "#/definitions/IpsecPolicy" + } + }, + "radiusServerAddress": { + "type": "string", + "description": "The radius server address property of the VirtualNetworkGateway resource for vpn client connection." + }, + "radiusServerSecret": { + "type": "string", + "format": "password", + "description": "The radius secret property of the VirtualNetworkGateway resource for vpn client connection. We will no longer return radiusServerSecret in VirtualNetworkGateway Create/Update/Get/List/UpdateTags APIs response. Please use VirtualNetworkGateway ListRadiusSecrets API to fetch radius server secrets.", + "x-ms-secret": true + }, + "radiusServers": { + "type": "array", + "description": "The radiusServers property for multiple radius server configuration.", + "items": { + "$ref": "#/definitions/RadiusServer" + } + }, + "aadTenant": { + "type": "string", + "description": "The AADTenant property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication." + }, + "aadAudience": { + "type": "string", + "description": "The AADAudience property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication." + }, + "aadIssuer": { + "type": "string", + "description": "The AADIssuer property of the VirtualNetworkGateway resource for vpn client connection used for AAD authentication." + }, + "vngClientConnectionConfigurations": { + "type": "array", + "description": "per ip address pool connection policy for virtual network gateway P2S client.", + "items": { + "$ref": "#/definitions/VngClientConnectionConfiguration" + } + } + } + }, + "VpnClientConnectionHealthDetail": { + "type": "object", + "description": "VPN client connection health detail.", + "properties": { + "vpnConnectionId": { + "type": "string", + "description": "The vpn client Id.", + "readOnly": true + }, + "vpnConnectionDuration": { + "type": "integer", + "format": "int64", + "description": "The duration time of a connected vpn client.", + "readOnly": true + }, + "vpnConnectionTime": { + "type": "string", + "description": "The start time of a connected vpn client.", + "readOnly": true + }, + "publicIpAddress": { + "type": "string", + "description": "The public Ip of a connected vpn client.", + "readOnly": true + }, + "privateIpAddress": { + "type": "string", + "description": "The assigned private Ip of a connected vpn client.", + "readOnly": true + }, + "vpnUserName": { + "type": "string", + "description": "The user name of a connected vpn client.", + "readOnly": true + }, + "maxBandwidth": { + "type": "integer", + "format": "int64", + "description": "The max band width.", + "readOnly": true + }, + "egressPacketsTransferred": { + "type": "integer", + "format": "int64", + "description": "The egress packets per second.", + "readOnly": true + }, + "egressBytesTransferred": { + "type": "integer", + "format": "int64", + "description": "The egress bytes per second.", + "readOnly": true + }, + "ingressPacketsTransferred": { + "type": "integer", + "format": "int64", + "description": "The ingress packets per second.", + "readOnly": true + }, + "ingressBytesTransferred": { + "type": "integer", + "format": "int64", + "description": "The ingress bytes per second.", + "readOnly": true + }, + "maxPacketsPerSecond": { + "type": "integer", + "format": "int64", + "description": "The max packets transferred per second.", + "readOnly": true + } + } + }, + "VpnClientConnectionHealthDetailListResult": { + "type": "object", + "description": "List of virtual network gateway vpn client connection health.", + "properties": { + "value": { + "type": "array", + "description": "List of vpn client connection health.", + "items": { + "$ref": "#/definitions/VpnClientConnectionHealthDetail" + } + } + } + }, + "VpnClientIPsecParameters": { + "type": "object", + "description": "An IPSec parameters for a virtual network gateway P2S connection.", + "properties": { + "saLifeTimeSeconds": { + "type": "integer", + "format": "int32", + "description": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for P2S client." + }, + "saDataSizeKilobytes": { + "type": "integer", + "format": "int32", + "description": "The IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for P2S client.." + }, + "ipsecEncryption": { + "$ref": "./common.json#/definitions/IpsecEncryption", + "description": "The IPSec encryption algorithm (IKE phase 1)." + }, + "ipsecIntegrity": { + "$ref": "./common.json#/definitions/IpsecIntegrity", + "description": "The IPSec integrity algorithm (IKE phase 1)." + }, + "ikeEncryption": { + "$ref": "./common.json#/definitions/IkeEncryption", + "description": "The IKE encryption algorithm (IKE phase 2)." + }, + "ikeIntegrity": { + "$ref": "./common.json#/definitions/IkeIntegrity", + "description": "The IKE integrity algorithm (IKE phase 2)." + }, + "dhGroup": { + "$ref": "./common.json#/definitions/DhGroup", + "description": "The DH Group used in IKE Phase 1 for initial SA." + }, + "pfsGroup": { + "$ref": "./common.json#/definitions/PfsGroup", + "description": "The Pfs Group used in IKE Phase 2 for new child SA." + } + }, + "required": [ + "saLifeTimeSeconds", + "saDataSizeKilobytes", + "ipsecEncryption", + "ipsecIntegrity", + "ikeEncryption", + "ikeIntegrity", + "dhGroup", + "pfsGroup" + ] + }, + "VpnClientParameters": { + "type": "object", + "description": "Vpn Client Parameters for package generation.", + "properties": { + "processorArchitecture": { + "$ref": "./common.json#/definitions/ProcessorArchitecture", + "description": "VPN client Processor Architecture." + }, + "authenticationMethod": { + "$ref": "./common.json#/definitions/AuthenticationMethod", + "description": "VPN client authentication method." + }, + "radiusServerAuthCertificate": { + "type": "string", + "description": "The public certificate data for the radius server authentication certificate as a Base-64 encoded string. Required only if external radius authentication has been configured with EAPTLS authentication." + }, + "clientRootCertificates": { + "type": "array", + "description": "A list of client root certificates public certificate data encoded as Base-64 strings. Optional parameter for external radius based authentication with EAPTLS.", + "items": { + "type": "string" + } + } + } + }, + "VpnClientRevokedCertificate": { + "type": "object", + "description": "VPN client revoked certificate of virtual network gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/VpnClientRevokedCertificatePropertiesFormat", + "description": "Properties of the vpn client revoked certificate.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "VpnClientRevokedCertificatePropertiesFormat": { + "type": "object", + "description": "Properties of the revoked VPN client certificate of virtual network gateway.", + "properties": { + "thumbprint": { + "type": "string", + "description": "The revoked VPN client certificate thumbprint." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the VPN client revoked certificate resource.", + "readOnly": true + } + } + }, + "VpnClientRootCertificate": { + "type": "object", + "description": "VPN client root certificate of virtual network gateway.", + "properties": { + "properties": { + "$ref": "#/definitions/VpnClientRootCertificatePropertiesFormat", + "description": "Properties of the vpn client root certificate.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "VpnClientRootCertificatePropertiesFormat": { + "type": "object", + "description": "Properties of SSL certificates of application gateway.", + "properties": { + "publicCertData": { + "type": "string", + "description": "The certificate public data." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the VPN client root certificate resource.", + "readOnly": true + } + }, + "required": [ + "publicCertData" + ] + }, + "VpnDeviceScriptParameters": { + "type": "object", + "description": "Vpn device configuration script generation parameters.", + "properties": { + "vendor": { + "type": "string", + "description": "The vendor for the vpn device." + }, + "deviceFamily": { + "type": "string", + "description": "The device family for the vpn device." + }, + "firmwareVersion": { + "type": "string", + "description": "The firmware version for the vpn device." + } + } + }, + "VpnPacketCaptureStartParameters": { + "type": "object", + "description": "Start packet capture parameters on virtual network gateway.", + "properties": { + "filterData": { + "type": "string", + "description": "Start Packet capture parameters." + } + } + }, + "VpnPacketCaptureStopParameters": { + "type": "object", + "description": "Stop packet capture parameters.", + "properties": { + "sasUrl": { + "type": "string", + "description": "SAS url for packet capture on virtual network gateway." + } + } + } + }, + "parameters": {} +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/networkManager.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/networkManager.json new file mode 100644 index 000000000000..53230a59c457 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/networkManager.json @@ -0,0 +1,7416 @@ +{ + "swagger": "2.0", + "info": { + "title": "WebApplicationFirewallManagement", + "version": "2025-07-01", + "description": "APIs to manage web application firewall rules.", + "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": "NetworkManagers" + }, + { + "name": "NetworkManagerActiveConnectivityConfigurations" + }, + { + "name": "NetworkManagerActiveConfigurations" + }, + { + "name": "NetworkManagerConnections" + }, + { + "name": "ConnectivityConfigurations" + }, + { + "name": "NetworkGroups" + }, + { + "name": "StaticMembers" + }, + { + "name": "NetworkManagerRoutingConfigurations" + }, + { + "name": "RoutingRuleCollections" + }, + { + "name": "RoutingRules" + }, + { + "name": "ScopeConnections" + }, + { + "name": "Commits" + }, + { + "name": "SecurityAdminConfigurations" + }, + { + "name": "AdminRuleCollections" + }, + { + "name": "AdminRules" + }, + { + "name": "SecurityUserConfigurations" + }, + { + "name": "SecurityUserRuleCollections" + }, + { + "name": "SecurityUserRules" + }, + { + "name": "NetworkManagerEffectiveConnectivityConfiguration" + }, + { + "name": "NetworkManagerEffectiveSecurityAdminRules" + } + ], + "paths": { + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections": { + "get": { + "operationId": "ManagementGroupNetworkManagerConnections_List", + "tags": [ + "NetworkManagerConnections" + ], + "description": "List all network manager connections created by this management group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "managementGroupId", + "in": "path", + "description": "The management group ID.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkManagerConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List Management Group Network Manager Connection": { + "$ref": "./examples/NetworkManagerConnectionManagementGroupList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/providers/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}": { + "get": { + "operationId": "ManagementGroupNetworkManagerConnections_Get", + "tags": [ + "NetworkManagerConnections" + ], + "description": "Get a specified connection created by this management group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "managementGroupId", + "in": "path", + "description": "The management group ID.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "networkManagerConnectionName", + "in": "path", + "description": "Name for the network manager connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkManagerConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Management Group Network Manager Connection": { + "$ref": "./examples/NetworkManagerConnectionManagementGroupGet.json" + } + } + }, + "put": { + "operationId": "ManagementGroupNetworkManagerConnections_CreateOrUpdate", + "tags": [ + "NetworkManagerConnections" + ], + "description": "Create a network manager connection on this management group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "managementGroupId", + "in": "path", + "description": "The management group ID.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "networkManagerConnectionName", + "in": "path", + "description": "Name for the network manager connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Network manager connection to be created/updated.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkManagerConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkManagerConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkManagerConnection" + } + }, + "201": { + "description": "Resource 'NetworkManagerConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkManagerConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create or Update Management Group Network Manager Connection": { + "$ref": "./examples/NetworkManagerConnectionManagementGroupPut.json" + } + } + }, + "delete": { + "operationId": "ManagementGroupNetworkManagerConnections_Delete", + "tags": [ + "NetworkManagerConnections" + ], + "description": "Delete specified pending connection created by this management group.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "name": "managementGroupId", + "in": "path", + "description": "The management group ID.", + "required": true, + "type": "string", + "minLength": 1 + }, + { + "name": "networkManagerConnectionName", + "in": "path", + "description": "Name for the network manager connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete Management Group Network Manager Connection": { + "$ref": "./examples/NetworkManagerConnectionManagementGroupDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections": { + "get": { + "operationId": "SubscriptionNetworkManagerConnections_List", + "tags": [ + "NetworkManagerConnections" + ], + "description": "List all network manager connections created by this 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": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkManagerConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List Subscription Network Manager Connection": { + "$ref": "./examples/NetworkManagerConnectionSubscriptionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}": { + "get": { + "operationId": "SubscriptionNetworkManagerConnections_Get", + "tags": [ + "NetworkManagerConnections" + ], + "description": "Get a specified connection created by this subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "networkManagerConnectionName", + "in": "path", + "description": "Name for the network manager connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkManagerConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Subscription Network Manager Connection": { + "$ref": "./examples/NetworkManagerConnectionSubscriptionGet.json" + } + } + }, + "put": { + "operationId": "SubscriptionNetworkManagerConnections_CreateOrUpdate", + "tags": [ + "NetworkManagerConnections" + ], + "description": "Create a network manager connection on this subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "networkManagerConnectionName", + "in": "path", + "description": "Name for the network manager connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Network manager connection to be created/updated.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkManagerConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkManagerConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkManagerConnection" + } + }, + "201": { + "description": "Resource 'NetworkManagerConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkManagerConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create or Update Subscription Network Manager Connection": { + "$ref": "./examples/NetworkManagerConnectionSubscriptionPut.json" + } + } + }, + "delete": { + "operationId": "SubscriptionNetworkManagerConnections_Delete", + "tags": [ + "NetworkManagerConnections" + ], + "description": "Delete specified connection created by this subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "networkManagerConnectionName", + "in": "path", + "description": "Name for the network manager connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete Subscription Network Manager Connection": { + "$ref": "./examples/NetworkManagerConnectionSubscriptionDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkManagers": { + "get": { + "operationId": "NetworkManagers_ListBySubscription", + "tags": [ + "NetworkManagers" + ], + "description": "List all network managers in 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": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkManagerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkManagersList": { + "$ref": "./examples/NetworkManagerListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers": { + "get": { + "operationId": "NetworkManagers_List", + "tags": [ + "NetworkManagers" + ], + "description": "List network managers in 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": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkManagerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List Network Manager": { + "$ref": "./examples/NetworkManagerList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}": { + "get": { + "operationId": "NetworkManagers_Get", + "tags": [ + "NetworkManagers" + ], + "description": "Gets the specified Network Manager.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkManager" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkManagersGet": { + "$ref": "./examples/NetworkManagerGet.json" + } + } + }, + "put": { + "operationId": "NetworkManagers_CreateOrUpdate", + "tags": [ + "NetworkManagers" + ], + "description": "Creates or updates a Network Manager.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to specify which network manager is.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkManager" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkManager' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkManager" + } + }, + "201": { + "description": "Resource 'NetworkManager' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkManager" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Put Network Manager": { + "$ref": "./examples/NetworkManagerPut.json" + } + } + }, + "patch": { + "operationId": "NetworkManagers_Patch", + "tags": [ + "NetworkManagers" + ], + "description": "Patch NetworkManager.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to specify which network manager is.", + "required": true, + "schema": { + "$ref": "#/definitions/PatchObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkManager" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkManagesPatch": { + "$ref": "./examples/NetworkManagerPatch.json" + } + } + }, + "delete": { + "operationId": "NetworkManagers_Delete", + "tags": [ + "NetworkManagers" + ], + "description": "Deletes a network manager.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "force", + "in": "query", + "description": "Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.", + "required": false, + "type": "boolean" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkManagersDelete": { + "$ref": "./examples/NetworkManagerDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commit": { + "post": { + "operationId": "NetworkManagerCommits_Post", + "tags": [ + "NetworkManagers" + ], + "description": "Post a Network Manager Commit.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to specify which Managed Network commit is.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkManagerCommit" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkManagerCommit" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/NetworkManagerCommit" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkManageCommitPost": { + "$ref": "./examples/NetworkManagerCommitPost.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/NetworkManagerCommit" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commits": { + "get": { + "operationId": "Commits_List", + "tags": [ + "Commits" + ], + "description": "Lists all commits for the specified network manager.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CommitListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List Network Manager Commit": { + "$ref": "./examples/NetworkManagerCommitList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/commits/{commitName}": { + "get": { + "operationId": "Commits_Get", + "tags": [ + "Commits" + ], + "description": "Gets the specified commit.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "commitName", + "in": "path", + "description": "The name of the commit.", + "required": true, + "type": "string", + "pattern": "^(?![.-])[a-zA-Z0-9_.-]{1,128}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Commit" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Network Manager Commit": { + "$ref": "./examples/NetworkManagerCommitGet.json" + } + } + }, + "put": { + "operationId": "Commits_CreateOrUpdate", + "tags": [ + "Commits" + ], + "description": "Creates or updates a commit.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "commitName", + "in": "path", + "description": "The name of the commit.", + "required": true, + "type": "string", + "pattern": "^(?![.-])[a-zA-Z0-9_.-]{1,128}$" + }, + { + "name": "resource", + "in": "body", + "description": "Parameters supplied to specify which commit to create", + "required": true, + "schema": { + "$ref": "#/definitions/Commit" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Commit' update operation succeeded", + "schema": { + "$ref": "#/definitions/Commit" + } + }, + "201": { + "description": "Resource 'Commit' create operation succeeded", + "schema": { + "$ref": "#/definitions/Commit" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create or Update Network Manager Commit": { + "$ref": "./examples/NetworkManagerCommitPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Commit" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Commits_Delete", + "tags": [ + "Commits" + ], + "description": "Deletes a commit.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "commitName", + "in": "path", + "description": "The name of the commit.", + "required": true, + "type": "string", + "pattern": "^(?![.-])[a-zA-Z0-9_.-]{1,128}$" + } + ], + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete Network Manager Commit": { + "$ref": "./examples/NetworkManagerCommitDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations": { + "get": { + "operationId": "ConnectivityConfigurations_List", + "tags": [ + "ConnectivityConfigurations" + ], + "description": "Lists all the network manager connectivity configuration in a specified network manager.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectivityConfigurationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ConnectivityConfigurationsList": { + "$ref": "./examples/NetworkManagerConnectivityConfigurationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/connectivityConfigurations/{configurationName}": { + "get": { + "operationId": "ConnectivityConfigurations_Get", + "tags": [ + "ConnectivityConfigurations" + ], + "description": "Gets a Network Connectivity Configuration, specified by the resource group, network manager name, and connectivity Configuration name", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager connectivity configuration.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectivityConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ConnectivityConfigurationsGet": { + "$ref": "./examples/NetworkManagerConnectivityConfigurationGet.json" + } + } + }, + "put": { + "operationId": "ConnectivityConfigurations_CreateOrUpdate", + "tags": [ + "ConnectivityConfigurations" + ], + "description": "Creates/Updates a new network manager connectivity configuration", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager connectivity configuration.", + "required": true, + "type": "string" + }, + { + "name": "connectivityConfiguration", + "in": "body", + "description": "Parameters supplied to create/update a network manager connectivity configuration", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectivityConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ConnectivityConfiguration' update operation succeeded", + "schema": { + "$ref": "#/definitions/ConnectivityConfiguration" + } + }, + "201": { + "description": "Resource 'ConnectivityConfiguration' create operation succeeded", + "schema": { + "$ref": "#/definitions/ConnectivityConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ConnectivityConfigurationsPut": { + "$ref": "./examples/NetworkManagerConnectivityConfigurationPut.json" + } + } + }, + "delete": { + "operationId": "ConnectivityConfigurations_Delete", + "tags": [ + "ConnectivityConfigurations" + ], + "description": "Deletes a network manager connectivity configuration, specified by the resource group, network manager name, and connectivity configuration name", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager connectivity configuration.", + "required": true, + "type": "string" + }, + { + "name": "force", + "in": "query", + "description": "Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.", + "required": false, + "type": "boolean" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ConnectivityConfigurationsDelete": { + "$ref": "./examples/NetworkManagerConnectivityConfigurationDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveConnectivityConfigurations": { + "post": { + "operationId": "ListActiveConnectivityConfigurations", + "tags": [ + "NetworkManagerActiveConnectivityConfigurations" + ], + "description": "Lists active connectivity configurations in a network manager.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "parameters", + "in": "body", + "description": "Active Configuration Parameter.", + "required": true, + "schema": { + "$ref": "#/definitions/ActiveConfigurationParameter" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ActiveConnectivityConfigurationsListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List Active Connectivity Configurations": { + "$ref": "./examples/NetworkManagerActiveConnectivityConfigurationsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listActiveSecurityAdminRules": { + "post": { + "operationId": "ListActiveSecurityAdminRules", + "tags": [ + "NetworkManagerActiveConfigurations" + ], + "description": "Lists active security admin rules in a network manager.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "parameters", + "in": "body", + "description": "Active Configuration Parameter.", + "required": true, + "schema": { + "$ref": "#/definitions/ActiveConfigurationParameter" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ActiveSecurityAdminRulesListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List Active Security Admin Rules": { + "$ref": "./examples/NetworkManagerActiveSecurityAdminRulesList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/listDeploymentStatus": { + "post": { + "operationId": "NetworkManagerDeploymentStatus_List", + "tags": [ + "NetworkManagers" + ], + "description": "Post to List of Network Manager Deployment Status.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to specify which Managed Network deployment status is.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkManagerDeploymentStatusParameter" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkManagerDeploymentStatusListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkManagerDeploymentStatusList": { + "$ref": "./examples/NetworkManagerDeploymentStatusList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups": { + "get": { + "operationId": "NetworkGroups_List", + "tags": [ + "NetworkGroups" + ], + "description": "Lists the specified network 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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkGroupsList": { + "$ref": "./examples/NetworkManagerGroupList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}": { + "get": { + "operationId": "NetworkGroups_Get", + "tags": [ + "NetworkGroups" + ], + "description": "Gets the specified network 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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "networkGroupName", + "in": "path", + "description": "The name of the network group.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkGroupsGet": { + "$ref": "./examples/NetworkManagerGroupGet.json" + } + } + }, + "put": { + "operationId": "NetworkGroups_CreateOrUpdate", + "tags": [ + "NetworkGroups" + ], + "description": "Creates or updates a network 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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "networkGroupName", + "in": "path", + "description": "The name of the network group.", + "required": true, + "type": "string" + }, + { + "name": "If-Match", + "in": "header", + "description": "The ETag of the transformation. Omit this value to always overwrite the current resource. Specify the last-seen ETag value to prevent accidentally overwriting concurrent changes.", + "required": false, + "type": "string", + "x-ms-client-name": "IfMatch" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the specify which network group need to create", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkGroup" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/NetworkGroup" + }, + "headers": { + "ETag": { + "type": "string", + "description": "The current entity tag." + } + } + }, + "201": { + "description": "The request has succeeded and a new resource has been created as a result.", + "schema": { + "$ref": "#/definitions/NetworkGroup" + }, + "headers": { + "ETag": { + "type": "string", + "description": "The current entity tag." + } + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkGroupsPut": { + "$ref": "./examples/NetworkManagerGroupPut.json" + } + } + }, + "delete": { + "operationId": "NetworkGroups_Delete", + "tags": [ + "NetworkGroups" + ], + "description": "Deletes a network 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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "networkGroupName", + "in": "path", + "description": "The name of the network group.", + "required": true, + "type": "string" + }, + { + "name": "force", + "in": "query", + "description": "Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.", + "required": false, + "type": "boolean" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkGroupsDelete": { + "$ref": "./examples/NetworkManagerGroupDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers": { + "get": { + "operationId": "StaticMembers_List", + "tags": [ + "StaticMembers" + ], + "description": "Lists the specified static member.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "networkGroupName", + "in": "path", + "description": "The name of the network group.", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticMemberListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "StaticMembersList": { + "$ref": "./examples/NetworkManagerStaticMemberList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/networkGroups/{networkGroupName}/staticMembers/{staticMemberName}": { + "get": { + "operationId": "StaticMembers_Get", + "tags": [ + "StaticMembers" + ], + "description": "Gets the specified static member.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "networkGroupName", + "in": "path", + "description": "The name of the network group.", + "required": true, + "type": "string" + }, + { + "name": "staticMemberName", + "in": "path", + "description": "The name of the static member.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticMember" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "StaticMembersGet": { + "$ref": "./examples/NetworkManagerStaticMemberGet.json" + } + } + }, + "put": { + "operationId": "StaticMembers_CreateOrUpdate", + "tags": [ + "StaticMembers" + ], + "description": "Creates or updates a static member.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "networkGroupName", + "in": "path", + "description": "The name of the network group.", + "required": true, + "type": "string" + }, + { + "name": "staticMemberName", + "in": "path", + "description": "The name of the static member.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the specify the static member to create", + "required": true, + "schema": { + "$ref": "#/definitions/StaticMember" + } + } + ], + "responses": { + "200": { + "description": "Resource 'StaticMember' update operation succeeded", + "schema": { + "$ref": "#/definitions/StaticMember" + } + }, + "201": { + "description": "Resource 'StaticMember' create operation succeeded", + "schema": { + "$ref": "#/definitions/StaticMember" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "StaticMemberPut": { + "$ref": "./examples/NetworkManagerStaticMemberPut.json" + } + } + }, + "delete": { + "operationId": "StaticMembers_Delete", + "tags": [ + "StaticMembers" + ], + "description": "Deletes a static member.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "networkGroupName", + "in": "path", + "description": "The name of the network group.", + "required": true, + "type": "string" + }, + { + "name": "staticMemberName", + "in": "path", + "description": "The name of the static member.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "StaticMembersDelete": { + "$ref": "./examples/NetworkManagerStaticMemberDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations": { + "get": { + "operationId": "NetworkManagerRoutingConfigurations_List", + "tags": [ + "NetworkManagerRoutingConfigurations" + ], + "description": "Lists all the network manager routing configurations in a network manager, in a paginated format.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkManagerRoutingConfigurationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List routing configurations in a network manager": { + "$ref": "./examples/NetworkManagerRoutingConfigurationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}": { + "get": { + "operationId": "NetworkManagerRoutingConfigurations_Get", + "tags": [ + "NetworkManagerRoutingConfigurations" + ], + "description": "Retrieves a network manager routing configuration.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Routing Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkManagerRoutingConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get routing configurations": { + "$ref": "./examples/NetworkManagerRoutingConfigurationGet.json" + } + } + }, + "put": { + "operationId": "NetworkManagerRoutingConfigurations_CreateOrUpdate", + "tags": [ + "NetworkManagerRoutingConfigurations" + ], + "description": "Creates or updates a network manager routing configuration.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Routing Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "routingConfiguration", + "in": "body", + "description": "The routing configuration to create or update", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkManagerRoutingConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkManagerRoutingConfiguration' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkManagerRoutingConfiguration" + } + }, + "201": { + "description": "Resource 'NetworkManagerRoutingConfiguration' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkManagerRoutingConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create network manager routing configuration": { + "$ref": "./examples/NetworkManagerRoutingConfigurationPut.json" + } + } + }, + "delete": { + "operationId": "NetworkManagerRoutingConfigurations_Delete", + "tags": [ + "NetworkManagerRoutingConfigurations" + ], + "description": "Deletes a network manager routing configuration.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Routing Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "force", + "in": "query", + "description": "Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.", + "required": false, + "type": "boolean" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete network manager routing configuration": { + "$ref": "./examples/NetworkManagerRoutingConfigurationDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections": { + "get": { + "operationId": "RoutingRuleCollections_List", + "tags": [ + "RoutingRuleCollections" + ], + "description": "Lists all the rule collections in a routing configuration, in a paginated format.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Routing Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RoutingRuleCollectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List routing rule collections": { + "$ref": "./examples/NetworkManagerRoutingRuleCollectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}": { + "get": { + "operationId": "RoutingRuleCollections_Get", + "tags": [ + "RoutingRuleCollections" + ], + "description": "Gets a network manager routing configuration rule collection.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Routing Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager routing Configuration rule collection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RoutingRuleCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Gets routing rule collection": { + "$ref": "./examples/NetworkManagerRoutingRuleCollectionGet.json" + } + } + }, + "put": { + "operationId": "RoutingRuleCollections_CreateOrUpdate", + "tags": [ + "RoutingRuleCollections" + ], + "description": "Creates or updates a routing rule collection.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Routing Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager routing Configuration rule collection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleCollection", + "in": "body", + "description": "The Rule Collection to create or update", + "required": true, + "schema": { + "$ref": "#/definitions/RoutingRuleCollection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'RoutingRuleCollection' update operation succeeded", + "schema": { + "$ref": "#/definitions/RoutingRuleCollection" + } + }, + "201": { + "description": "Resource 'RoutingRuleCollection' create operation succeeded", + "schema": { + "$ref": "#/definitions/RoutingRuleCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create or Update a routing rule collection": { + "$ref": "./examples/NetworkManagerRoutingRuleCollectionPut.json" + } + } + }, + "delete": { + "operationId": "RoutingRuleCollections_Delete", + "tags": [ + "RoutingRuleCollections" + ], + "description": "Deletes an routing rule collection.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Routing Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager routing Configuration rule collection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "force", + "in": "query", + "description": "Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.", + "required": false, + "type": "boolean" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Deletes an routing rule collection": { + "$ref": "./examples/NetworkManagerRoutingRuleCollectionDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules": { + "get": { + "operationId": "RoutingRules_List", + "tags": [ + "RoutingRules" + ], + "description": "List all network manager routing configuration routing rules.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Routing Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager routing Configuration rule collection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RoutingRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List routing rules": { + "$ref": "./examples/NetworkManagerRoutingRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/routingConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}": { + "get": { + "operationId": "RoutingRules_Get", + "tags": [ + "RoutingRules" + ], + "description": "Gets a network manager routing configuration routing 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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Routing Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager routing Configuration rule collection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleName", + "in": "path", + "description": "The name of the rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RoutingRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Gets routing rule": { + "$ref": "./examples/NetworkManagerRoutingRuleGet.json" + } + } + }, + "put": { + "operationId": "RoutingRules_CreateOrUpdate", + "tags": [ + "RoutingRules" + ], + "description": "Creates or updates an routing 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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Routing Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager routing Configuration rule collection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleName", + "in": "path", + "description": "The name of the rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "routingRule", + "in": "body", + "description": "The routing rule to create or update", + "required": true, + "schema": { + "$ref": "#/definitions/RoutingRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'RoutingRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/RoutingRule" + } + }, + "201": { + "description": "Resource 'RoutingRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/RoutingRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create an ECMP routing rule": { + "$ref": "./examples/NetworkManagerRoutingRulePutEcmp.json" + }, + "Create an routing rule": { + "$ref": "./examples/NetworkManagerRoutingRulePut.json" + } + } + }, + "delete": { + "operationId": "RoutingRules_Delete", + "tags": [ + "RoutingRules" + ], + "description": "Deletes a routing 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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Routing Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager routing Configuration rule collection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleName", + "in": "path", + "description": "The name of the rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "force", + "in": "query", + "description": "Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.", + "required": false, + "type": "boolean" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Deletes a routing rule": { + "$ref": "./examples/NetworkManagerRoutingRuleDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections": { + "get": { + "operationId": "ScopeConnections_List", + "tags": [ + "ScopeConnections" + ], + "description": "List all scope connections created by this network manager.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ScopeConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List Network Manager Scope Connection": { + "$ref": "./examples/NetworkManagerScopeConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/scopeConnections/{scopeConnectionName}": { + "get": { + "operationId": "ScopeConnections_Get", + "tags": [ + "ScopeConnections" + ], + "description": "Get specified scope connection created by this Network Manager.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "scopeConnectionName", + "in": "path", + "description": "Name for the cross-tenant connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ScopeConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Network Manager Scope Connection": { + "$ref": "./examples/NetworkManagerScopeConnectionGet.json" + } + } + }, + "put": { + "operationId": "ScopeConnections_CreateOrUpdate", + "tags": [ + "ScopeConnections" + ], + "description": "Creates or updates scope connection from Network Manager", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "scopeConnectionName", + "in": "path", + "description": "Name for the cross-tenant connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Scope connection to be created/updated.", + "required": true, + "schema": { + "$ref": "#/definitions/ScopeConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ScopeConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/ScopeConnection" + } + }, + "201": { + "description": "Resource 'ScopeConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/ScopeConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create or Update Network Manager Scope Connection": { + "$ref": "./examples/NetworkManagerScopeConnectionPut.json" + } + } + }, + "delete": { + "operationId": "ScopeConnections_Delete", + "tags": [ + "ScopeConnections" + ], + "description": "Delete the pending scope connection created by this network manager.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "scopeConnectionName", + "in": "path", + "description": "Name for the cross-tenant connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete Network Manager Scope Connection": { + "$ref": "./examples/NetworkManagerScopeConnectionDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations": { + "get": { + "operationId": "SecurityAdminConfigurations_List", + "tags": [ + "SecurityAdminConfigurations" + ], + "description": "Lists all the network manager security admin configurations in a network manager, in a paginated format.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SecurityAdminConfigurationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "List security admin configurations in a network manager": { + "$ref": "./examples/NetworkManagerSecurityAdminConfigurationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}": { + "get": { + "operationId": "SecurityAdminConfigurations_Get", + "tags": [ + "SecurityAdminConfigurations" + ], + "description": "Retrieves a network manager security admin configuration.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SecurityAdminConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "Get security admin configurations": { + "$ref": "./examples/NetworkManagerSecurityAdminConfigurationGet.json" + } + } + }, + "put": { + "operationId": "SecurityAdminConfigurations_CreateOrUpdate", + "tags": [ + "SecurityAdminConfigurations" + ], + "description": "Creates or updates a network manager security admin configuration.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string" + }, + { + "name": "securityAdminConfiguration", + "in": "body", + "description": "The security admin configuration to create or update", + "required": true, + "schema": { + "$ref": "#/definitions/SecurityAdminConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SecurityAdminConfiguration' update operation succeeded", + "schema": { + "$ref": "#/definitions/SecurityAdminConfiguration" + } + }, + "201": { + "description": "Resource 'SecurityAdminConfiguration' create operation succeeded", + "schema": { + "$ref": "#/definitions/SecurityAdminConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "Create manual-mode security admin configuration": { + "$ref": "./examples/NetworkManagerSecurityAdminConfigurationPut_ManualAggregation.json" + }, + "Create network manager security admin configuration": { + "$ref": "./examples/NetworkManagerSecurityAdminConfigurationPut.json" + } + } + }, + "delete": { + "operationId": "SecurityAdminConfigurations_Delete", + "tags": [ + "SecurityAdminConfigurations" + ], + "description": "Deletes a network manager security admin configuration.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string" + }, + { + "name": "force", + "in": "query", + "description": "Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.", + "required": false, + "type": "boolean" + } + ], + "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": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete network manager security admin configuration": { + "$ref": "./examples/NetworkManagerSecurityAdminConfigurationDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections": { + "get": { + "operationId": "AdminRuleCollections_List", + "tags": [ + "AdminRuleCollections" + ], + "description": "Lists all the rule collections in a security admin configuration, in a paginated format.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AdminRuleCollectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "List security admin rule collections": { + "$ref": "./examples/NetworkManagerAdminRuleCollectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}": { + "get": { + "operationId": "AdminRuleCollections_Get", + "tags": [ + "AdminRuleCollections" + ], + "description": "Gets a network manager security admin configuration rule collection.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AdminRuleCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets security admin rule collection": { + "$ref": "./examples/NetworkManagerAdminRuleCollectionGet.json" + } + } + }, + "put": { + "operationId": "AdminRuleCollections_CreateOrUpdate", + "tags": [ + "AdminRuleCollections" + ], + "description": "Creates or updates an admin rule collection.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string" + }, + { + "name": "ruleCollection", + "in": "body", + "description": "The Rule Collection to create or update", + "required": true, + "schema": { + "$ref": "#/definitions/AdminRuleCollection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'AdminRuleCollection' update operation succeeded", + "schema": { + "$ref": "#/definitions/AdminRuleCollection" + } + }, + "201": { + "description": "Resource 'AdminRuleCollection' create operation succeeded", + "schema": { + "$ref": "#/definitions/AdminRuleCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or Update an admin rule collection": { + "$ref": "./examples/NetworkManagerAdminRuleCollectionPut.json" + } + } + }, + "delete": { + "operationId": "AdminRuleCollections_Delete", + "tags": [ + "AdminRuleCollections" + ], + "description": "Deletes an admin rule collection.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string" + }, + { + "name": "force", + "in": "query", + "description": "Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.", + "required": false, + "type": "boolean" + } + ], + "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": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "Deletes an admin rule collection": { + "$ref": "./examples/NetworkManagerAdminRuleCollectionDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules": { + "get": { + "operationId": "AdminRules_List", + "tags": [ + "AdminRules" + ], + "description": "List all network manager security configuration admin rules.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AdminRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "List security admin rules": { + "$ref": "./examples/NetworkManagerAdminRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityAdminConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}": { + "get": { + "operationId": "AdminRules_Get", + "tags": [ + "AdminRules" + ], + "description": "Gets a network manager security configuration admin 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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string" + }, + { + "name": "ruleName", + "in": "path", + "description": "The name of the rule.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BaseAdminRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "Gets security admin rule": { + "$ref": "./examples/NetworkManagerAdminRuleGet.json" + }, + "Gets security default admin rule": { + "$ref": "./examples/NetworkManagerDefaultAdminRuleGet.json" + } + } + }, + "put": { + "operationId": "AdminRules_CreateOrUpdate", + "tags": [ + "AdminRules" + ], + "description": "Creates or updates an admin 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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string" + }, + { + "name": "ruleName", + "in": "path", + "description": "The name of the rule.", + "required": true, + "type": "string" + }, + { + "name": "adminRule", + "in": "body", + "description": "The admin rule to create or update", + "required": true, + "schema": { + "$ref": "#/definitions/BaseAdminRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BaseAdminRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/BaseAdminRule" + } + }, + "201": { + "description": "Resource 'BaseAdminRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/BaseAdminRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "Create a admin rule with network group as source or destination": { + "$ref": "./examples/NetworkManagerAdminRulePut_NetworkGroupSource.json" + }, + "Create an admin rule": { + "$ref": "./examples/NetworkManagerAdminRulePut.json" + } + } + }, + "delete": { + "operationId": "AdminRules_Delete", + "tags": [ + "AdminRules" + ], + "description": "Deletes an admin 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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string" + }, + { + "name": "ruleName", + "in": "path", + "description": "The name of the rule.", + "required": true, + "type": "string" + }, + { + "name": "force", + "in": "query", + "description": "Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.", + "required": false, + "type": "boolean" + } + ], + "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": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "Deletes an admin rule": { + "$ref": "./examples/NetworkManagerAdminRuleDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations": { + "get": { + "operationId": "SecurityUserConfigurations_List", + "tags": [ + "SecurityUserConfigurations" + ], + "description": "Lists all the network manager security user configurations in a network manager, in a paginated format.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SecurityUserConfigurationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List security user configurations in a network manager": { + "$ref": "./examples/NetworkManagerSecurityUserConfigurationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}": { + "get": { + "operationId": "SecurityUserConfigurations_Get", + "tags": [ + "SecurityUserConfigurations" + ], + "description": "Retrieves a network manager security user configuration.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SecurityUserConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get security user configurations": { + "$ref": "./examples/NetworkManagerSecurityUserConfigurationGet.json" + } + } + }, + "put": { + "operationId": "SecurityUserConfigurations_CreateOrUpdate", + "tags": [ + "SecurityUserConfigurations" + ], + "description": "Creates or updates a network manager security user configuration.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "securityUserConfiguration", + "in": "body", + "description": "The security user configuration to create or update", + "required": true, + "schema": { + "$ref": "#/definitions/SecurityUserConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SecurityUserConfiguration' update operation succeeded", + "schema": { + "$ref": "#/definitions/SecurityUserConfiguration" + } + }, + "201": { + "description": "Resource 'SecurityUserConfiguration' create operation succeeded", + "schema": { + "$ref": "#/definitions/SecurityUserConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create network manager security user configuration": { + "$ref": "./examples/NetworkManagerSecurityUserConfigurationPut.json" + } + } + }, + "delete": { + "operationId": "SecurityUserConfigurations_Delete", + "tags": [ + "SecurityUserConfigurations" + ], + "description": "Deletes a network manager security user configuration.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "force", + "in": "query", + "description": "Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.", + "required": false, + "type": "boolean" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete network manager security user configuration": { + "$ref": "./examples/NetworkManagerSecurityUserConfigurationDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections": { + "get": { + "operationId": "SecurityUserRuleCollections_List", + "tags": [ + "SecurityUserRuleCollections" + ], + "description": "Lists all the security user rule collections in a security configuration, in a paginated format.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SecurityUserRuleCollectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List rule collections in a security configuration": { + "$ref": "./examples/NetworkManagerSecurityUserRuleCollectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}": { + "get": { + "operationId": "SecurityUserRuleCollections_Get", + "tags": [ + "SecurityUserRuleCollections" + ], + "description": "Gets a network manager security user configuration rule collection.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SecurityUserRuleCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Gets security user rule collection": { + "$ref": "./examples/NetworkManagerSecurityUserRuleCollectionGet.json" + } + } + }, + "put": { + "operationId": "SecurityUserRuleCollections_CreateOrUpdate", + "tags": [ + "SecurityUserRuleCollections" + ], + "description": "Creates or updates a security user rule collection.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "securityUserRuleCollection", + "in": "body", + "description": "The Security User Rule Collection to create or update", + "required": true, + "schema": { + "$ref": "#/definitions/SecurityUserRuleCollection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SecurityUserRuleCollection' update operation succeeded", + "schema": { + "$ref": "#/definitions/SecurityUserRuleCollection" + } + }, + "201": { + "description": "Resource 'SecurityUserRuleCollection' create operation succeeded", + "schema": { + "$ref": "#/definitions/SecurityUserRuleCollection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create or Update a Security User Rule Collection": { + "$ref": "./examples/NetworkManagerSecurityUserRuleCollectionPut.json" + } + } + }, + "delete": { + "operationId": "SecurityUserRuleCollections_Delete", + "tags": [ + "SecurityUserRuleCollections" + ], + "description": "Deletes a Security User Rule collection.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "force", + "in": "query", + "description": "Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.", + "required": false, + "type": "boolean" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Deletes a Security User Rule collection": { + "$ref": "./examples/NetworkManagerSecurityUserRuleCollectionDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules": { + "get": { + "operationId": "SecurityUserRules_List", + "tags": [ + "SecurityUserRules" + ], + "description": "Lists all Security User Rules in a rule collection.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SecurityUserRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List security user rules": { + "$ref": "./examples/NetworkManagerSecurityUserRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/securityUserConfigurations/{configurationName}/ruleCollections/{ruleCollectionName}/rules/{ruleName}": { + "get": { + "operationId": "SecurityUserRules_Get", + "tags": [ + "SecurityUserRules" + ], + "description": "Gets a security user 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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleName", + "in": "path", + "description": "The name of the rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SecurityUserRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Gets a security user rule": { + "$ref": "./examples/NetworkManagerSecurityUserRuleGet.json" + } + } + }, + "put": { + "operationId": "SecurityUserRules_CreateOrUpdate", + "tags": [ + "SecurityUserRules" + ], + "description": "Creates or updates a security user 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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleName", + "in": "path", + "description": "The name of the rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "securityUserRule", + "in": "body", + "description": "The security user rule to create or update", + "required": true, + "schema": { + "$ref": "#/definitions/SecurityUserRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SecurityUserRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/SecurityUserRule" + } + }, + "201": { + "description": "Resource 'SecurityUserRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/SecurityUserRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create a security user rule": { + "$ref": "./examples/NetworkManagerSecurityUserRulePut.json" + } + } + }, + "delete": { + "operationId": "SecurityUserRules_Delete", + "tags": [ + "SecurityUserRules" + ], + "description": "Deletes a security user 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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "configurationName", + "in": "path", + "description": "The name of the network manager Security Configuration.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the network manager security Configuration rule collection.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "ruleName", + "in": "path", + "description": "The name of the rule.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9_.-]*$" + }, + { + "name": "force", + "in": "query", + "description": "Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.", + "required": false, + "type": "boolean" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete a security user rule": { + "$ref": "./examples/NetworkManagerSecurityUserRuleDelete.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}/listNetworkManagerEffectiveConnectivityConfigurations": { + "post": { + "operationId": "ListNetworkManagerEffectiveConnectivityConfigurations", + "tags": [ + "NetworkManagerEffectiveConnectivityConfiguration" + ], + "description": "List all effective connectivity configurations applied on 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 virtual network.", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to list correct page.", + "required": true, + "schema": { + "$ref": "#/definitions/QueryRequestOptions" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkManagerEffectiveConnectivityConfigurationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List effective connectivity configuration": { + "$ref": "./examples/NetworkManagerEffectiveConnectivityConfigurationsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/listNetworkManagerEffectiveSecurityAdminRules": { + "post": { + "operationId": "ListNetworkManagerEffectiveSecurityAdminRules", + "tags": [ + "NetworkManagerEffectiveSecurityAdminRules" + ], + "description": "List all effective security admin rules applied on 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 virtual network.", + "required": true, + "type": "string" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to list correct page.", + "required": true, + "schema": { + "$ref": "#/definitions/QueryRequestOptions" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkManagerEffectiveSecurityAdminRulesListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List effective security admin rules": { + "$ref": "./examples/NetworkManagerEffectiveSecurityAdminRulesList.json" + } + } + } + } + }, + "definitions": { + "ActiveBaseSecurityAdminRule": { + "type": "object", + "description": "Network base admin rule.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "commitTime": { + "type": "string", + "format": "date-time", + "description": "Deployment time string." + }, + "region": { + "type": "string", + "description": "Deployment region." + }, + "configurationDescription": { + "type": "string", + "description": "A description of the security admin configuration." + }, + "ruleCollectionDescription": { + "type": "string", + "description": "A description of the rule collection." + }, + "ruleCollectionAppliesToGroups": { + "type": "array", + "description": "Groups for rule collection", + "items": { + "$ref": "#/definitions/NetworkManagerSecurityGroupItem" + }, + "x-ms-identifiers": [] + }, + "ruleGroups": { + "type": "array", + "description": "Effective configuration groups.", + "items": { + "$ref": "#/definitions/ConfigurationGroup" + } + }, + "kind": { + "$ref": "./common.json#/definitions/EffectiveAdminRuleKind", + "description": "Whether the rule is custom or default." + } + }, + "discriminator": "kind", + "required": [ + "kind" + ] + }, + "ActiveConfigurationParameter": { + "type": "object", + "description": "Effective Virtual Networks Parameter.", + "properties": { + "regions": { + "type": "array", + "description": "List of regions.", + "items": { + "type": "string" + } + }, + "skipToken": { + "type": "string", + "description": "When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data." + } + } + }, + "ActiveConnectivityConfiguration": { + "type": "object", + "description": "Active connectivity configuration.", + "properties": { + "commitTime": { + "type": "string", + "format": "date-time", + "description": "Deployment time string." + }, + "region": { + "type": "string", + "description": "Deployment region." + } + }, + "allOf": [ + { + "$ref": "#/definitions/EffectiveConnectivityConfiguration" + } + ] + }, + "ActiveConnectivityConfigurationsListResult": { + "type": "object", + "description": "Result of the request to list active connectivity configurations. It contains a list of active connectivity configurations and a skiptoken to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "Gets a page of active connectivity configurations.", + "items": { + "$ref": "#/definitions/ActiveConnectivityConfiguration" + } + }, + "skipToken": { + "type": "string", + "description": "When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data." + } + } + }, + "ActiveDefaultSecurityAdminRule": { + "type": "object", + "description": "Network default admin rule.", + "properties": { + "properties": { + "$ref": "#/definitions/DefaultAdminPropertiesFormat", + "description": "Indicates the properties of the default security admin rule", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ActiveBaseSecurityAdminRule" + } + ], + "x-ms-discriminator-value": "Default" + }, + "ActiveSecurityAdminRule": { + "type": "object", + "description": "Network admin rule.", + "properties": { + "properties": { + "$ref": "#/definitions/AdminPropertiesFormat", + "description": "Indicates the properties of the security admin rule", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ActiveBaseSecurityAdminRule" + } + ], + "x-ms-discriminator-value": "Custom" + }, + "ActiveSecurityAdminRulesListResult": { + "type": "object", + "description": "Result of the request to list active security admin rules. It contains a list of active security admin rules and a skiptoken to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "Gets a page of active security admin rules.", + "items": { + "$ref": "#/definitions/ActiveBaseSecurityAdminRule" + } + }, + "skipToken": { + "type": "string", + "description": "When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data." + } + } + }, + "AddressPrefixItem": { + "type": "object", + "description": "Address prefix item.", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Address prefix." + }, + "addressPrefixType": { + "$ref": "./common.json#/definitions/AddressPrefixType", + "description": "Address prefix type." + } + } + }, + "AdminPropertiesFormat": { + "type": "object", + "description": "Security admin rule resource.", + "properties": { + "description": { + "type": "string", + "description": "A description for this rule. Restricted to 140 chars." + }, + "protocol": { + "$ref": "./common.json#/definitions/SecurityConfigurationRuleProtocol", + "description": "Network protocol this rule applies to." + }, + "sources": { + "type": "array", + "description": "The CIDR or source IP ranges.", + "items": { + "$ref": "#/definitions/AddressPrefixItem" + }, + "x-ms-identifiers": [ + "addressPrefix" + ] + }, + "destinations": { + "type": "array", + "description": "The destination address prefixes. CIDR or destination IP ranges.", + "items": { + "$ref": "#/definitions/AddressPrefixItem" + }, + "x-ms-identifiers": [ + "addressPrefix" + ] + }, + "sourcePortRanges": { + "type": "array", + "description": "The source port ranges.", + "items": { + "type": "string" + } + }, + "destinationPortRanges": { + "type": "array", + "description": "The destination port ranges.", + "items": { + "type": "string" + } + }, + "access": { + "$ref": "./common.json#/definitions/SecurityConfigurationRuleAccess", + "description": "Indicates the access allowed for this particular rule" + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.", + "minimum": 1, + "maximum": 4096 + }, + "direction": { + "$ref": "./common.json#/definitions/SecurityConfigurationRuleDirection", + "description": "Indicates if the traffic matched against the rule in inbound or outbound." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "Unique identifier for this resource.", + "readOnly": true + } + }, + "required": [ + "protocol", + "access", + "priority", + "direction" + ] + }, + "AdminRule": { + "type": "object", + "description": "Network admin rule.", + "properties": { + "properties": { + "$ref": "#/definitions/AdminPropertiesFormat", + "description": "Indicates the properties of the security admin rule", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/BaseAdminRule" + } + ], + "x-ms-discriminator-value": "Custom" + }, + "AdminRuleCollection": { + "type": "object", + "description": "Defines the admin rule collection.", + "properties": { + "properties": { + "$ref": "#/definitions/AdminRuleCollectionPropertiesFormat", + "description": "Indicates the properties for the network manager admin rule collection.", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ChildResource" + } + ] + }, + "AdminRuleCollectionListResult": { + "type": "object", + "description": "The response of a AdminRuleCollection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The AdminRuleCollection items on this page", + "items": { + "$ref": "#/definitions/AdminRuleCollection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AdminRuleCollectionPropertiesFormat": { + "type": "object", + "description": "Defines the admin rule collection properties.", + "properties": { + "description": { + "type": "string", + "description": "A description of the admin rule collection." + }, + "appliesToGroups": { + "type": "array", + "description": "Groups for configuration", + "items": { + "$ref": "#/definitions/NetworkManagerSecurityGroupItem" + }, + "x-ms-identifiers": [ + "networkGroupId" + ] + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "Unique identifier for this resource.", + "readOnly": true + } + }, + "required": [ + "appliesToGroups" + ] + }, + "AdminRuleListResult": { + "type": "object", + "description": "Paged collection of BaseAdminRule items", + "properties": { + "value": { + "type": "array", + "description": "The BaseAdminRule items on this page", + "items": { + "$ref": "#/definitions/BaseAdminRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BaseAdminRule": { + "type": "object", + "description": "Network base admin rule.", + "properties": { + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + }, + "kind": { + "$ref": "./common.json#/definitions/AdminRuleKind", + "description": "Whether the rule is custom or default." + } + }, + "discriminator": "kind", + "required": [ + "kind" + ], + "allOf": [ + { + "$ref": "./common.json#/definitions/ChildResource" + } + ] + }, + "Commit": { + "type": "object", + "description": "The commit resource", + "properties": { + "properties": { + "$ref": "#/definitions/CommitProperties", + "description": "The Commit properties" + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ChildResource" + } + ] + }, + "CommitListResult": { + "type": "object", + "description": "The response of a Commit list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Commit items on this page", + "items": { + "$ref": "#/definitions/Commit" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CommitProperties": { + "type": "object", + "description": "Properties of commit", + "properties": { + "description": { + "type": "string", + "description": "A description of the commit." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "Unique identifier for this resource.", + "readOnly": true + }, + "commitType": { + "$ref": "./common.json#/definitions/ConfigurationType", + "description": "Commit Type." + }, + "configurationIds": { + "type": "array", + "description": "List of configuration IDs.", + "items": { + "type": "string", + "format": "arm-id", + "description": "A type definition that refers the id to an Azure Resource Manager resource." + } + }, + "targetLocations": { + "type": "array", + "description": "List of target locations.", + "items": { + "type": "string" + } + }, + "activeLocations": { + "type": "array", + "description": "List of active locations.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "forceUpdateTag": { + "type": "string", + "description": "A value that, when changed, forces the commit to be re-evaluated and redeployed." + } + }, + "required": [ + "commitType", + "targetLocations" + ] + }, + "ConfigurationGroup": { + "type": "object", + "description": "The network configuration group resource", + "properties": { + "id": { + "type": "string", + "description": "Network group ID." + }, + "properties": { + "$ref": "#/definitions/NetworkGroupProperties", + "description": "The network configuration group properties", + "x-ms-client-flatten": true + } + } + }, + "ConnectivityConfiguration": { + "type": "object", + "description": "The network manager connectivity configuration resource", + "properties": { + "properties": { + "$ref": "#/definitions/ConnectivityConfigurationProperties", + "description": "Properties of a network manager connectivity configuration", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ChildResource" + } + ] + }, + "ConnectivityConfigurationListResult": { + "type": "object", + "description": "The response of a ConnectivityConfiguration list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ConnectivityConfiguration items on this page", + "items": { + "$ref": "#/definitions/ConnectivityConfiguration" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ConnectivityConfigurationProperties": { + "type": "object", + "description": "Properties of network manager connectivity configuration", + "properties": { + "description": { + "type": "string", + "description": "A description of the connectivity configuration." + }, + "connectivityTopology": { + "$ref": "./common.json#/definitions/ConnectivityTopology", + "description": "Connectivity topology type." + }, + "hubs": { + "type": "array", + "description": "List of hubItems", + "items": { + "$ref": "#/definitions/Hub" + }, + "x-ms-identifiers": [ + "resourceId" + ] + }, + "isGlobal": { + "$ref": "./common.json#/definitions/IsGlobal", + "description": "Flag if global mesh is supported." + }, + "connectivityCapabilities": { + "$ref": "#/definitions/ConnectivityConfigurationPropertiesConnectivityCapabilities", + "description": "Collection of additional settings to enhance specific topology behaviors of the connectivity configuration resource." + }, + "appliesToGroups": { + "type": "array", + "description": "Groups for configuration", + "items": { + "$ref": "#/definitions/connectivityGroupItem" + }, + "x-ms-identifiers": [ + "networkGroupId" + ] + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the connectivity configuration resource.", + "readOnly": true + }, + "deleteExistingPeering": { + "$ref": "./common.json#/definitions/DeleteExistingPeering", + "description": "Flag if need to remove current existing peerings." + }, + "resourceGuid": { + "type": "string", + "description": "Unique identifier for this resource.", + "readOnly": true + } + }, + "required": [ + "connectivityTopology", + "appliesToGroups" + ] + }, + "ConnectivityConfigurationPropertiesConnectivityCapabilities": { + "type": "object", + "description": "Collection of additional settings to enhance specific topology behaviors of the connectivity configuration resource.", + "properties": { + "connectedGroupPrivateEndpointsScale": { + "type": "string", + "description": "Option indicating the scale of private endpoints allowed in the connected group of the connectivity configuration.", + "default": "Standard", + "enum": [ + "Standard", + "HighScale" + ], + "x-ms-enum": { + "name": "ConnectedGroupPrivateEndpointsScale", + "modelAsString": true, + "values": [ + { + "name": "Standard", + "value": "Standard", + "description": "Default. Allows for up to 2K private endpoints in the connected group." + }, + { + "name": "HighScale", + "value": "HighScale", + "description": "Allows for up to 20K private endpoints in the connected group." + } + ] + } + }, + "connectedGroupAddressOverlap": { + "type": "string", + "description": "Behavior to handle overlapped IP address space among members of the connected group of the connectivity configuration.", + "default": "Allowed", + "enum": [ + "Allowed", + "Disallowed" + ], + "x-ms-enum": { + "name": "ConnectedGroupAddressOverlap", + "modelAsString": true, + "values": [ + { + "name": "Allowed", + "value": "Allowed", + "description": "Default. Allows connected group members to have overlapping IP address space." + }, + { + "name": "Disallowed", + "value": "Disallowed", + "description": "Strictly disallows connected group members from having overlapping IP address space. Prevents the addition of a virtual network with overlapping address to the connected group, blocks peering between a virtual network and a connected group member if any connected group member has an overlapping range, and restricts address space modifications that would introduce overlap." + } + ] + } + }, + "peeringEnforcement": { + "type": "string", + "description": "Option indicating enforcement of peerings created by the connectivity configuration.", + "default": "Unenforced", + "enum": [ + "Unenforced", + "Enforced" + ], + "x-ms-enum": { + "name": "PeeringEnforcement", + "modelAsString": true, + "values": [ + { + "name": "Unenforced", + "value": "Unenforced", + "description": "Default. Peerings created by the connectivity configuration may be modified or deleted outside of the network manager." + }, + { + "name": "Enforced", + "value": "Enforced", + "description": "Peerings created by the connectivity configuration will not be modifiable or deletable outside of the network manager." + } + ] + } + } + }, + "required": [ + "connectedGroupPrivateEndpointsScale", + "connectedGroupAddressOverlap", + "peeringEnforcement" + ] + }, + "CrossTenantScopes": { + "type": "object", + "description": "Cross tenant scopes.", + "properties": { + "tenantId": { + "type": "string", + "description": "Tenant ID.", + "readOnly": true + }, + "managementGroups": { + "type": "array", + "description": "List of management groups.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "subscriptions": { + "type": "array", + "description": "List of subscriptions.", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "DefaultAdminPropertiesFormat": { + "type": "object", + "description": "Security default admin rule resource.", + "properties": { + "description": { + "type": "string", + "description": "A description for this rule. Restricted to 140 chars.", + "readOnly": true + }, + "flag": { + "type": "string", + "description": "Default rule flag." + }, + "protocol": { + "$ref": "./common.json#/definitions/SecurityConfigurationRuleProtocol", + "description": "Network protocol this rule applies to.", + "readOnly": true + }, + "sources": { + "type": "array", + "description": "The CIDR or source IP ranges.", + "items": { + "$ref": "#/definitions/AddressPrefixItem" + }, + "readOnly": true, + "x-ms-identifiers": [ + "addressPrefix" + ] + }, + "destinations": { + "type": "array", + "description": "The destination address prefixes. CIDR or destination IP ranges.", + "items": { + "$ref": "#/definitions/AddressPrefixItem" + }, + "readOnly": true, + "x-ms-identifiers": [ + "addressPrefix" + ] + }, + "sourcePortRanges": { + "type": "array", + "description": "The source port ranges.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "destinationPortRanges": { + "type": "array", + "description": "The destination port ranges.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "access": { + "$ref": "./common.json#/definitions/SecurityConfigurationRuleAccess", + "description": "Indicates the access allowed for this particular rule", + "readOnly": true + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "The priority of the rule. The value can be between 1 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule.", + "readOnly": true + }, + "direction": { + "$ref": "./common.json#/definitions/SecurityConfigurationRuleDirection", + "description": "Indicates if the traffic matched against the rule in inbound or outbound.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "Unique identifier for this resource.", + "readOnly": true + } + } + }, + "DefaultAdminRule": { + "type": "object", + "description": "Network default admin rule.", + "properties": { + "properties": { + "$ref": "#/definitions/DefaultAdminPropertiesFormat", + "description": "Indicates the properties of the security admin rule", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/BaseAdminRule" + } + ], + "x-ms-discriminator-value": "Default" + }, + "EffectiveBaseSecurityAdminRule": { + "type": "object", + "description": "Network base admin rule.", + "properties": { + "id": { + "type": "string", + "description": "Resource ID." + }, + "configurationDescription": { + "type": "string", + "description": "A description of the security admin configuration." + }, + "ruleCollectionDescription": { + "type": "string", + "description": "A description of the rule collection." + }, + "ruleCollectionAppliesToGroups": { + "type": "array", + "description": "Groups for rule collection", + "items": { + "$ref": "#/definitions/NetworkManagerSecurityGroupItem" + }, + "x-ms-identifiers": [ + "networkGroupId" + ] + }, + "ruleGroups": { + "type": "array", + "description": "Effective configuration groups.", + "items": { + "$ref": "#/definitions/ConfigurationGroup" + } + }, + "kind": { + "$ref": "./common.json#/definitions/EffectiveAdminRuleKind", + "description": "Whether the rule is custom or default." + } + }, + "discriminator": "kind", + "required": [ + "kind" + ] + }, + "EffectiveConnectivityConfiguration": { + "type": "object", + "description": "The network manager effective connectivity configuration", + "properties": { + "id": { + "type": "string", + "description": "Connectivity configuration ID." + }, + "properties": { + "$ref": "#/definitions/ConnectivityConfigurationProperties", + "description": "Properties of a network manager connectivity configuration", + "x-ms-client-flatten": true + }, + "configurationGroups": { + "type": "array", + "description": "Effective configuration groups.", + "items": { + "$ref": "#/definitions/ConfigurationGroup" + } + } + } + }, + "EffectiveDefaultSecurityAdminRule": { + "type": "object", + "description": "Network default admin rule.", + "properties": { + "properties": { + "$ref": "#/definitions/DefaultAdminPropertiesFormat", + "description": "Indicates the properties of the default security admin rule", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/EffectiveBaseSecurityAdminRule" + } + ], + "x-ms-discriminator-value": "Default" + }, + "EffectiveSecurityAdminRule": { + "type": "object", + "description": "Network admin rule.", + "properties": { + "properties": { + "$ref": "#/definitions/AdminPropertiesFormat", + "description": "Indicates the properties of the security admin rule", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/EffectiveBaseSecurityAdminRule" + } + ], + "x-ms-discriminator-value": "Custom" + }, + "Hub": { + "type": "object", + "description": "Hub Item.", + "properties": { + "resourceId": { + "type": "string", + "description": "Resource Id." + }, + "resourceType": { + "type": "string", + "description": "Resource Type." + } + } + }, + "NetworkGroup": { + "type": "object", + "description": "The network group resource", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkGroupProperties", + "description": "The Network Group properties", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ChildResource" + } + ] + }, + "NetworkGroupListResult": { + "type": "object", + "description": "The response of a NetworkGroup list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkGroup items on this page", + "items": { + "$ref": "#/definitions/NetworkGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkGroupProperties": { + "type": "object", + "description": "Properties of network group", + "properties": { + "description": { + "type": "string", + "description": "A description of the network group." + }, + "memberType": { + "$ref": "./common.json#/definitions/GroupMemberType", + "description": "The type of the group member." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the scope assignment resource.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "Unique identifier for this resource.", + "readOnly": true + } + } + }, + "NetworkManager": { + "type": "object", + "description": "The Managed Network resource", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkManagerProperties", + "description": "The network manager properties", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "NetworkManagerCommit": { + "type": "object", + "description": "Network Manager Commit.", + "properties": { + "commitId": { + "type": "string", + "description": "Commit Id.", + "readOnly": true + }, + "targetLocations": { + "type": "array", + "description": "List of target locations.", + "items": { + "type": "string" + } + }, + "configurationIds": { + "type": "array", + "description": "List of configuration ids.", + "items": { + "type": "string" + } + }, + "commitType": { + "$ref": "./common.json#/definitions/ConfigurationType", + "description": "Commit Type." + } + }, + "required": [ + "targetLocations", + "commitType" + ] + }, + "NetworkManagerConnection": { + "type": "object", + "description": "The Network Manager Connection resource", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkManagerConnectionProperties", + "description": "The scope connection properties", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ChildResource" + } + ] + }, + "NetworkManagerConnectionListResult": { + "type": "object", + "description": "The response of a NetworkManagerConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkManagerConnection items on this page", + "items": { + "$ref": "#/definitions/NetworkManagerConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkManagerConnectionProperties": { + "type": "object", + "description": "Information about the network manager connection.", + "properties": { + "networkManagerId": { + "type": "string", + "description": "Network Manager Id." + }, + "connectionState": { + "$ref": "./common.json#/definitions/ScopeConnectionState", + "description": "Connection state.", + "readOnly": true, + "x-ms-client-flatten": true + }, + "description": { + "type": "string", + "description": "A description of the network manager connection." + } + } + }, + "NetworkManagerDeploymentStatus": { + "type": "object", + "description": "Network Manager Deployment Status.", + "properties": { + "commitTime": { + "type": "string", + "format": "date-time", + "description": "Commit Time." + }, + "region": { + "type": "string", + "description": "Region Name." + }, + "deploymentStatus": { + "$ref": "./common.json#/definitions/DeploymentStatus", + "description": "Deployment Status." + }, + "configurationIds": { + "type": "array", + "description": "List of configuration ids.", + "items": { + "type": "string" + } + }, + "deploymentType": { + "$ref": "./common.json#/definitions/ConfigurationType", + "description": "Configuration Deployment Type." + }, + "errorMessage": { + "type": "string", + "description": "Error Message." + } + } + }, + "NetworkManagerDeploymentStatusListResult": { + "type": "object", + "description": "A list of Network Manager Deployment Status", + "properties": { + "value": { + "type": "array", + "description": "Gets a page of Network Manager Deployment Status", + "items": { + "$ref": "#/definitions/NetworkManagerDeploymentStatus" + }, + "x-ms-identifiers": [] + }, + "skipToken": { + "type": "string", + "description": "When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data." + } + } + }, + "NetworkManagerDeploymentStatusParameter": { + "type": "object", + "description": "Network Manager Deployment Status Parameter.", + "properties": { + "regions": { + "type": "array", + "description": "List of locations.", + "items": { + "type": "string" + } + }, + "deploymentTypes": { + "type": "array", + "description": "List of deployment types.", + "items": { + "$ref": "./common.json#/definitions/ConfigurationType" + } + }, + "skipToken": { + "type": "string", + "description": "Continuation token for pagination, capturing the next page size and offset, as well as the context of the query." + } + } + }, + "NetworkManagerEffectiveConnectivityConfigurationListResult": { + "type": "object", + "description": "Result of the request to list networkManagerEffectiveConnectivityConfiguration. It contains a list of groups and a skiptoken to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "Gets a page of NetworkManagerEffectiveConnectivityConfiguration", + "items": { + "$ref": "#/definitions/EffectiveConnectivityConfiguration" + } + }, + "skipToken": { + "type": "string", + "description": "When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data." + } + } + }, + "NetworkManagerEffectiveSecurityAdminRulesListResult": { + "type": "object", + "description": "Result of the request to list networkManagerEffectiveSecurityAdminRules. It contains a list of groups and a skiptoken to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "Gets a page of NetworkManagerEffectiveSecurityAdminRules", + "items": { + "$ref": "#/definitions/EffectiveBaseSecurityAdminRule" + } + }, + "skipToken": { + "type": "string", + "description": "When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data." + } + } + }, + "NetworkManagerListResult": { + "type": "object", + "description": "The response of a NetworkManager list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkManager items on this page", + "items": { + "$ref": "#/definitions/NetworkManager" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkManagerProperties": { + "type": "object", + "description": "Properties of Managed Network", + "properties": { + "description": { + "type": "string", + "description": "A description of the network manager." + }, + "networkManagerScopes": { + "$ref": "#/definitions/NetworkManagerPropertiesNetworkManagerScopes", + "description": "Scope of Network Manager." + }, + "networkManagerScopeAccesses": { + "type": "array", + "description": "Scope Access.", + "items": { + "$ref": "./common.json#/definitions/ConfigurationType" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the network manager resource.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "Unique identifier for this resource.", + "readOnly": true + } + }, + "required": [ + "networkManagerScopes" + ] + }, + "NetworkManagerPropertiesNetworkManagerScopes": { + "type": "object", + "description": "Scope of Network Manager.", + "properties": { + "managementGroups": { + "type": "array", + "description": "List of management groups.", + "items": { + "type": "string" + } + }, + "subscriptions": { + "type": "array", + "description": "List of subscriptions.", + "items": { + "type": "string" + } + }, + "crossTenantScopes": { + "type": "array", + "description": "List of cross tenant scopes.", + "items": { + "$ref": "#/definitions/CrossTenantScopes" + }, + "readOnly": true, + "x-ms-identifiers": [] + } + } + }, + "NetworkManagerRoutingConfiguration": { + "type": "object", + "description": "Defines the routing configuration", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkManagerRoutingConfigurationPropertiesFormat", + "description": "Indicates the properties for the network manager routing configuration.", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ChildResource" + } + ] + }, + "NetworkManagerRoutingConfigurationListResult": { + "type": "object", + "description": "The response of a NetworkManagerRoutingConfiguration list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkManagerRoutingConfiguration items on this page", + "items": { + "$ref": "#/definitions/NetworkManagerRoutingConfiguration" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkManagerRoutingConfigurationPropertiesFormat": { + "type": "object", + "description": "Defines the routing configuration properties.", + "properties": { + "description": { + "type": "string", + "description": "A description of the routing configuration." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "Unique identifier for this resource.", + "readOnly": true + }, + "routeTableUsageMode": { + "type": "string", + "description": "Route table usage mode defines which route table will be used by the configuration. If not defined, this will default to 'ManagedOnly'.", + "default": "ManagedOnly", + "enum": [ + "ManagedOnly", + "UseExisting" + ], + "x-ms-enum": { + "name": "RouteTableUsageMode", + "modelAsString": true, + "values": [ + { + "name": "ManagedOnly", + "value": "ManagedOnly", + "description": "Only route tables managed by the routing configuration will be used." + }, + { + "name": "UseExisting", + "value": "UseExisting", + "description": "Use existing user-defined route tables already associated with resources." + } + ] + } + } + } + }, + "NetworkManagerRoutingGroupItem": { + "type": "object", + "description": "Network manager routing group item.", + "properties": { + "networkGroupId": { + "type": "string", + "description": "Network manager group Id." + } + }, + "required": [ + "networkGroupId" + ] + }, + "NetworkManagerSecurityGroupItem": { + "type": "object", + "description": "Network manager security group item.", + "properties": { + "networkGroupId": { + "type": "string", + "description": "Network manager group Id." + } + }, + "required": [ + "networkGroupId" + ] + }, + "PatchObject": { + "type": "object", + "description": "Object for patch operations.", + "properties": { + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "QueryRequestOptions": { + "type": "object", + "description": "Query Request Options", + "properties": { + "skipToken": { + "type": "string", + "description": "When present, the value can be passed to a subsequent query call (together with the same query and scopes used in the current request) to retrieve the next page of data." + } + } + }, + "RoutingRule": { + "type": "object", + "description": "Network routing rule.", + "properties": { + "properties": { + "$ref": "#/definitions/RoutingRulePropertiesFormat", + "description": "Indicates the properties of the routing rule", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ChildResource" + } + ] + }, + "RoutingRuleCollection": { + "type": "object", + "description": "Defines the routing rule collection.", + "properties": { + "properties": { + "$ref": "#/definitions/RoutingRuleCollectionPropertiesFormat", + "description": "Indicates the properties for the network manager routing rule collection.", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ChildResource" + } + ] + }, + "RoutingRuleCollectionListResult": { + "type": "object", + "description": "The response of a RoutingRuleCollection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The RoutingRuleCollection items on this page", + "items": { + "$ref": "#/definitions/RoutingRuleCollection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "RoutingRuleCollectionPropertiesFormat": { + "type": "object", + "description": "Defines the routing rule collection properties.", + "properties": { + "description": { + "type": "string", + "description": "A description of the routing rule collection." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "Unique identifier for this resource.", + "readOnly": true + }, + "appliesTo": { + "type": "array", + "description": "Groups for configuration", + "items": { + "$ref": "#/definitions/NetworkManagerRoutingGroupItem" + }, + "x-ms-identifiers": [ + "networkGroupId" + ] + }, + "disableBgpRoutePropagation": { + "$ref": "./common.json#/definitions/DisableBgpRoutePropagation", + "description": "Determines whether BGP route propagation is enabled. Defaults to true." + } + }, + "required": [ + "appliesTo" + ] + }, + "RoutingRuleListResult": { + "type": "object", + "description": "The response of a RoutingRule list operation.", + "properties": { + "value": { + "type": "array", + "description": "The RoutingRule items on this page", + "items": { + "$ref": "#/definitions/RoutingRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "RoutingRuleNextHop": { + "type": "object", + "description": "Next hop.", + "properties": { + "nextHopType": { + "$ref": "./common.json#/definitions/RoutingRuleNextHopType", + "description": "Next hop type." + }, + "nextHopAddress": { + "type": "string", + "description": "Next hop address. Only required if the next hop type is VirtualAppliance." + } + }, + "required": [ + "nextHopType" + ] + }, + "RoutingRulePropertiesFormat": { + "type": "object", + "description": "Routing rule resource.", + "properties": { + "description": { + "type": "string", + "description": "A description for this rule." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "Unique identifier for this resource.", + "readOnly": true + }, + "destination": { + "$ref": "#/definitions/RoutingRuleRouteDestination", + "description": "Indicates the destination for this particular rule." + }, + "nextHop": { + "$ref": "#/definitions/RoutingRuleNextHop", + "description": "Indicates the next hop for this particular rule." + } + }, + "required": [ + "destination", + "nextHop" + ] + }, + "RoutingRuleRouteDestination": { + "type": "object", + "description": "Route destination.", + "properties": { + "type": { + "$ref": "./common.json#/definitions/RoutingRuleDestinationType", + "description": "Destination type." + }, + "destinationAddress": { + "type": "string", + "description": "Destination address." + } + }, + "required": [ + "type", + "destinationAddress" + ] + }, + "ScopeConnection": { + "type": "object", + "description": "The Scope Connections resource", + "properties": { + "properties": { + "$ref": "#/definitions/ScopeConnectionProperties", + "description": "The scope connection properties", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ChildResource" + } + ] + }, + "ScopeConnectionListResult": { + "type": "object", + "description": "The response of a ScopeConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ScopeConnection items on this page", + "items": { + "$ref": "#/definitions/ScopeConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ScopeConnectionProperties": { + "type": "object", + "description": "Scope connection.", + "properties": { + "tenantId": { + "type": "string", + "description": "Tenant ID." + }, + "resourceId": { + "type": "string", + "description": "Resource ID." + }, + "connectionState": { + "$ref": "./common.json#/definitions/ScopeConnectionState", + "description": "Connection State", + "readOnly": true, + "x-ms-client-flatten": true + }, + "description": { + "type": "string", + "description": "A description of the scope connection." + } + } + }, + "SecurityAdminConfiguration": { + "type": "object", + "description": "Defines the security admin configuration", + "properties": { + "properties": { + "$ref": "#/definitions/SecurityAdminConfigurationPropertiesFormat", + "description": "Indicates the properties for the network manager security admin configuration.", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ChildResource" + } + ] + }, + "SecurityAdminConfigurationListResult": { + "type": "object", + "description": "The response of a SecurityAdminConfiguration list operation.", + "properties": { + "value": { + "type": "array", + "description": "The SecurityAdminConfiguration items on this page", + "items": { + "$ref": "#/definitions/SecurityAdminConfiguration" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SecurityAdminConfigurationPropertiesFormat": { + "type": "object", + "description": "Defines the security admin configuration properties.", + "properties": { + "description": { + "type": "string", + "description": "A description of the security configuration." + }, + "applyOnNetworkIntentPolicyBasedServices": { + "type": "array", + "description": "Enum list of network intent policy based services.", + "items": { + "$ref": "./common.json#/definitions/NetworkIntentPolicyBasedService" + } + }, + "networkGroupAddressSpaceAggregationOption": { + "$ref": "./common.json#/definitions/AddressSpaceAggregationOption", + "description": "Determine update behavior for changes to network groups referenced within the rules in this configuration." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "Unique identifier for this resource.", + "readOnly": true + } + } + }, + "SecurityUserConfiguration": { + "type": "object", + "description": "Defines the security user configuration", + "properties": { + "properties": { + "$ref": "#/definitions/SecurityUserConfigurationPropertiesFormat", + "description": "Indicates the properties for the network manager security user configuration.", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ChildResource" + } + ] + }, + "SecurityUserConfigurationListResult": { + "type": "object", + "description": "The response of a SecurityUserConfiguration list operation.", + "properties": { + "value": { + "type": "array", + "description": "The SecurityUserConfiguration items on this page", + "items": { + "$ref": "#/definitions/SecurityUserConfiguration" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SecurityUserConfigurationPropertiesFormat": { + "type": "object", + "description": "Defines the security user configuration properties.", + "properties": { + "description": { + "type": "string", + "description": "A description of the security user configuration." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "Unique identifier for this resource.", + "readOnly": true + } + } + }, + "SecurityUserGroupItem": { + "type": "object", + "description": "Network manager security user group item.", + "properties": { + "networkGroupId": { + "type": "string", + "description": "Network manager group Id." + } + }, + "required": [ + "networkGroupId" + ] + }, + "SecurityUserRule": { + "type": "object", + "description": "Network security user rule.", + "properties": { + "properties": { + "$ref": "#/definitions/SecurityUserRulePropertiesFormat", + "description": "Indicates the properties of the security user rule", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ChildResource" + } + ] + }, + "SecurityUserRuleCollection": { + "type": "object", + "description": "Defines the security user rule collection.", + "properties": { + "properties": { + "$ref": "#/definitions/SecurityUserRuleCollectionPropertiesFormat", + "description": "Indicates the properties for the network manager security user rule collection.", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ChildResource" + } + ] + }, + "SecurityUserRuleCollectionListResult": { + "type": "object", + "description": "The response of a SecurityUserRuleCollection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The SecurityUserRuleCollection items on this page", + "items": { + "$ref": "#/definitions/SecurityUserRuleCollection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SecurityUserRuleCollectionPropertiesFormat": { + "type": "object", + "description": "Defines the security user rule collection properties.", + "properties": { + "description": { + "type": "string", + "description": "A description of the security user rule collection." + }, + "appliesToGroups": { + "type": "array", + "description": "Groups for configuration", + "items": { + "$ref": "#/definitions/SecurityUserGroupItem" + }, + "x-ms-identifiers": [ + "networkGroupId" + ] + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "Unique identifier for this resource.", + "readOnly": true + } + }, + "required": [ + "appliesToGroups" + ] + }, + "SecurityUserRuleListResult": { + "type": "object", + "description": "The response of a SecurityUserRule list operation.", + "properties": { + "value": { + "type": "array", + "description": "The SecurityUserRule items on this page", + "items": { + "$ref": "#/definitions/SecurityUserRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SecurityUserRulePropertiesFormat": { + "type": "object", + "description": "Security rule resource.", + "properties": { + "description": { + "type": "string", + "description": "A description for this rule." + }, + "protocol": { + "$ref": "./common.json#/definitions/SecurityConfigurationRuleProtocol", + "description": "Network protocol this rule applies to." + }, + "sources": { + "type": "array", + "description": "The CIDR or source IP ranges.", + "items": { + "$ref": "#/definitions/AddressPrefixItem" + }, + "x-ms-identifiers": [ + "addressPrefix" + ] + }, + "destinations": { + "type": "array", + "description": "The destination address prefixes. CIDR or destination IP ranges.", + "items": { + "$ref": "#/definitions/AddressPrefixItem" + }, + "x-ms-identifiers": [ + "addressPrefix" + ] + }, + "sourcePortRanges": { + "type": "array", + "description": "The source port ranges.", + "items": { + "type": "string" + } + }, + "destinationPortRanges": { + "type": "array", + "description": "The destination port ranges.", + "items": { + "type": "string" + } + }, + "direction": { + "$ref": "./common.json#/definitions/SecurityConfigurationRuleDirection", + "description": "Indicates if the traffic matched against the rule in inbound or outbound." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the security configuration user rule resource.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "Unique identifier for this resource.", + "readOnly": true + } + }, + "required": [ + "protocol", + "direction" + ] + }, + "StaticMember": { + "type": "object", + "description": "StaticMember Item.", + "properties": { + "properties": { + "$ref": "#/definitions/StaticMemberProperties", + "description": "The Static Member properties", + "x-ms-client-flatten": true + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ChildResource" + } + ] + }, + "StaticMemberListResult": { + "type": "object", + "description": "The response of a StaticMember list operation.", + "properties": { + "value": { + "type": "array", + "description": "The StaticMember items on this page", + "items": { + "$ref": "#/definitions/StaticMember" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StaticMemberProperties": { + "type": "object", + "description": "Properties of static member.", + "properties": { + "resourceId": { + "type": "string", + "description": "Resource Id." + }, + "region": { + "type": "string", + "description": "Resource region.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the scope assignment resource.", + "readOnly": true + } + } + }, + "connectivityGroupItem": { + "type": "object", + "description": "Connectivity group item.", + "properties": { + "networkGroupId": { + "type": "string", + "description": "Network group Id." + }, + "useHubGateway": { + "$ref": "./common.json#/definitions/UseHubGateway", + "description": "Flag if need to use hub gateway." + }, + "isGlobal": { + "$ref": "./common.json#/definitions/IsGlobal", + "description": "Flag if global is supported." + }, + "groupConnectivity": { + "$ref": "./common.json#/definitions/GroupConnectivity", + "description": "Group connectivity type." + } + }, + "required": [ + "networkGroupId", + "groupConnectivity" + ] + } + }, + "parameters": {} +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/networkSecurityPerimeter.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/networkSecurityPerimeter.json new file mode 100644 index 000000000000..60b419de89db --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/networkSecurityPerimeter.json @@ -0,0 +1,2979 @@ +{ + "swagger": "2.0", + "info": { + "title": "WebApplicationFirewallManagement", + "version": "2025-07-01", + "description": "APIs to manage web application firewall rules.", + "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": "NetworkSecurityPerimeters" + }, + { + "name": "NetworkSecurityPerimeterProfiles" + }, + { + "name": "NetworkSecurityPerimeterAccessRules" + }, + { + "name": "NetworkSecurityPerimeterAssociations" + }, + { + "name": "NetworkSecurityPerimeterLinks" + }, + { + "name": "NetworkSecurityPerimeterLinkReferences" + }, + { + "name": "NetworkSecurityPerimeterLoggingConfigurations" + }, + { + "name": "NetworkSecurityPerimeterAssociableResourceTypes" + }, + { + "name": "NetworkSecurityPerimeterOperationStatuses" + }, + { + "name": "NetworkSecurityPerimeterServiceTags" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/networkSecurityPerimeterOperationStatuses/{operationId}": { + "get": { + "operationId": "NetworkSecurityPerimeterOperationStatuses_Get", + "tags": [ + "NetworkSecurityPerimeterOperationStatuses" + ], + "description": "Gets the operation status for the given operation id.", + "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/LocationParameter" + }, + { + "name": "operationId", + "in": "path", + "description": "The operation id of the async operation.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/OperationStatusResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspOperationStatusGet": { + "$ref": "./examples/NspOperationStatusGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/nspServiceTags": { + "get": { + "operationId": "NetworkSecurityPerimeterServiceTags_List", + "tags": [ + "NetworkSecurityPerimeterServiceTags" + ], + "description": "Gets the list of service tags supported by NSP. These service tags can be used to create access rules in NSP.", + "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/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/NspServiceTagsListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NSPServiceTagsList": { + "$ref": "./examples/NspServiceTagsList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/perimeterAssociableResourceTypes": { + "get": { + "operationId": "NetworkSecurityPerimeterAssociableResourceTypes_List", + "tags": [ + "NetworkSecurityPerimeterAssociableResourceTypes" + ], + "description": "Gets the list of resources that are onboarded with NSP. These resources can be associated with a network security perimeter", + "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/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/PerimeterAssociableResourcesListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkSecurityPerimeterAssociableResourceTypes": { + "$ref": "./examples/PerimeterAssociableResourcesList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityPerimeters": { + "get": { + "operationId": "NetworkSecurityPerimeters_ListBySubscription", + "tags": [ + "NetworkSecurityPerimeters" + ], + "description": "List all network security perimeters in 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": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkSecurityPerimetersList": { + "$ref": "./examples/NetworkSecurityPerimeterListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters": { + "get": { + "operationId": "NetworkSecurityPerimeters_List", + "tags": [ + "NetworkSecurityPerimeters" + ], + "description": "List network security perimeters in 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": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeterListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List Network Security Perimeter": { + "$ref": "./examples/NetworkSecurityPerimeterList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}": { + "get": { + "operationId": "NetworkSecurityPerimeters_Get", + "tags": [ + "NetworkSecurityPerimeters" + ], + "description": "Gets the specified network security perimeter by the name.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkSecurityPerimeterGet": { + "$ref": "./examples/NetworkSecurityPerimeterGet.json" + } + } + }, + "put": { + "operationId": "NetworkSecurityPerimeters_CreateOrUpdate", + "tags": [ + "NetworkSecurityPerimeters" + ], + "description": "Creates or updates a Network Security Perimeter.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameter supplied to create or update the network security perimeter.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkSecurityPerimeter' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + } + }, + "201": { + "description": "Resource 'NetworkSecurityPerimeter' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Put Network Security Perimeter": { + "$ref": "./examples/NetworkSecurityPerimeterPut.json" + } + } + }, + "patch": { + "operationId": "NetworkSecurityPerimeters_Patch", + "tags": [ + "NetworkSecurityPerimeters" + ], + "description": "Patch Tags for a Network Security Perimeter.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameter supplied to the network security perimeter.", + "required": true, + "schema": { + "$ref": "#/definitions/UpdateTagsRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Patch Network Security Perimeter": { + "$ref": "./examples/NetworkSecurityPerimeterPatch.json" + } + } + }, + "delete": { + "operationId": "NetworkSecurityPerimeters_Delete", + "tags": [ + "NetworkSecurityPerimeters" + ], + "description": "Deletes a network security perimeter.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "forceDeletion", + "in": "query", + "description": "Deletes the resource even if it contains any child associations.", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkSecurityPerimeterDelete": { + "$ref": "./examples/NetworkSecurityPerimeterDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/linkReferences": { + "get": { + "operationId": "NetworkSecurityPerimeterLinkReferences_List", + "tags": [ + "NetworkSecurityPerimeterLinkReferences" + ], + "description": "Lists the NSP LinkReference resources in the specified network security perimeter.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NspLinkReferenceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspLinkReferenceList": { + "$ref": "./examples/NspLinkReferenceList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/linkReferences/{linkReferenceName}": { + "get": { + "operationId": "NetworkSecurityPerimeterLinkReferences_Get", + "tags": [ + "NetworkSecurityPerimeterLinkReferences" + ], + "description": "Gets the specified NSP linkReference resource.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "linkReferenceName", + "in": "path", + "description": "The name of the NSP linkReference.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NspLinkReference" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspLinkReferencesGet": { + "$ref": "./examples/NspLinkReferenceGet.json" + } + } + }, + "delete": { + "operationId": "NetworkSecurityPerimeterLinkReferences_Delete", + "tags": [ + "NetworkSecurityPerimeterLinkReferences" + ], + "description": "Deletes an NSP LinkReference resource.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "linkReferenceName", + "in": "path", + "description": "The name of the NSP linkReference.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspLinkReferenceDelete": { + "$ref": "./examples/NspLinkReferenceDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links": { + "get": { + "operationId": "NetworkSecurityPerimeterLinks_List", + "tags": [ + "NetworkSecurityPerimeterLinks" + ], + "description": "Lists the NSP Link resources in the specified network security perimeter.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NspLinkListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspLinkList": { + "$ref": "./examples/NspLinkList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/links/{linkName}": { + "get": { + "operationId": "NetworkSecurityPerimeterLinks_Get", + "tags": [ + "NetworkSecurityPerimeterLinks" + ], + "description": "Gets the specified NSP link resource.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "linkName", + "in": "path", + "description": "The name of the NSP link.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NspLink" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspLinksGet": { + "$ref": "./examples/NspLinkGet.json" + } + } + }, + "put": { + "operationId": "NetworkSecurityPerimeterLinks_CreateOrUpdate", + "tags": [ + "NetworkSecurityPerimeterLinks" + ], + "description": "Creates or updates NSP link resource.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "linkName", + "in": "path", + "description": "The name of the NSP link.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that hold the NspLink resource to be created/updated.", + "required": true, + "schema": { + "$ref": "#/definitions/NspLink" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NspLink' update operation succeeded", + "schema": { + "$ref": "#/definitions/NspLink" + } + }, + "201": { + "description": "Resource 'NspLink' create operation succeeded", + "schema": { + "$ref": "#/definitions/NspLink" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspLinksPut": { + "$ref": "./examples/NspLinkPut.json" + } + } + }, + "delete": { + "operationId": "NetworkSecurityPerimeterLinks_Delete", + "tags": [ + "NetworkSecurityPerimeterLinks" + ], + "description": "Deletes an NSP Link resource.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "linkName", + "in": "path", + "description": "The name of the NSP link.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspLinkDelete": { + "$ref": "./examples/NspLinkDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/loggingConfigurations": { + "get": { + "operationId": "NetworkSecurityPerimeterLoggingConfigurations_List", + "tags": [ + "NetworkSecurityPerimeterLoggingConfigurations" + ], + "description": "Lists the NSP logging configuration.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NspLoggingConfigurationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspLoggingConfigurationList": { + "$ref": "./examples/NspLoggingConfigurationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/loggingConfigurations/{loggingConfigurationName}": { + "get": { + "operationId": "NetworkSecurityPerimeterLoggingConfigurations_Get", + "tags": [ + "NetworkSecurityPerimeterLoggingConfigurations" + ], + "description": "Gets the NSP logging configuration.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "loggingConfigurationName", + "in": "path", + "description": "The name of the NSP logging configuration. Accepts 'instance' as name.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NspLoggingConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspLoggingConfigurationGet": { + "$ref": "./examples/NspLoggingConfigurationGet.json" + } + } + }, + "put": { + "operationId": "NetworkSecurityPerimeterLoggingConfigurations_CreateOrUpdate", + "tags": [ + "NetworkSecurityPerimeterLoggingConfigurations" + ], + "description": "Creates or updates NSP logging configuration.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "loggingConfigurationName", + "in": "path", + "description": "The name of the NSP logging configuration. Accepts 'instance' as name.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that hold the NspLoggingConfiguration to be created/updated.", + "required": true, + "schema": { + "$ref": "#/definitions/NspLoggingConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NspLoggingConfiguration' update operation succeeded", + "schema": { + "$ref": "#/definitions/NspLoggingConfiguration" + } + }, + "201": { + "description": "Resource 'NspLoggingConfiguration' create operation succeeded", + "schema": { + "$ref": "#/definitions/NspLoggingConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspLoggingConfigurationPut": { + "$ref": "./examples/NspLoggingConfigurationPut.json" + } + } + }, + "delete": { + "operationId": "NetworkSecurityPerimeterLoggingConfigurations_Delete", + "tags": [ + "NetworkSecurityPerimeterLoggingConfigurations" + ], + "description": "Deletes an NSP Logging configuration.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "loggingConfigurationName", + "in": "path", + "description": "The name of the NSP logging configuration. Accepts 'instance' as name.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspLoggingConfigurationDelete": { + "$ref": "./examples/NspLoggingConfigurationDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles": { + "get": { + "operationId": "NetworkSecurityPerimeterProfiles_List", + "tags": [ + "NetworkSecurityPerimeterProfiles" + ], + "description": "Lists the NSP profiles in the specified network security perimeter.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NspProfileListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspProfilesList": { + "$ref": "./examples/NspProfileList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}": { + "get": { + "operationId": "NetworkSecurityPerimeterProfiles_Get", + "tags": [ + "NetworkSecurityPerimeterProfiles" + ], + "description": "Gets the specified NSP profile.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "profileName", + "in": "path", + "description": "The name of the NSP profile.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NspProfile" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspProfilesGet": { + "$ref": "./examples/NspProfileGet.json" + } + } + }, + "put": { + "operationId": "NetworkSecurityPerimeterProfiles_CreateOrUpdate", + "tags": [ + "NetworkSecurityPerimeterProfiles" + ], + "description": "Creates or updates a network profile.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "profileName", + "in": "path", + "description": "The name of the NSP profile.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that hold the NspProfile resource to be created/updated.", + "required": true, + "schema": { + "$ref": "#/definitions/NspProfile" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NspProfile' update operation succeeded", + "schema": { + "$ref": "#/definitions/NspProfile" + } + }, + "201": { + "description": "Resource 'NspProfile' create operation succeeded", + "schema": { + "$ref": "#/definitions/NspProfile" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspProfilesPut": { + "$ref": "./examples/NspProfilePut.json" + } + } + }, + "delete": { + "operationId": "NetworkSecurityPerimeterProfiles_Delete", + "tags": [ + "NetworkSecurityPerimeterProfiles" + ], + "description": "Deletes an NSP profile.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "profileName", + "in": "path", + "description": "The name of the NSP profile.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspProfilesDelete": { + "$ref": "./examples/NspProfileDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}/accessRules": { + "get": { + "operationId": "NetworkSecurityPerimeterAccessRules_List", + "tags": [ + "NetworkSecurityPerimeterAccessRules" + ], + "description": "Lists the NSP access rules in the specified NSP profile.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "profileName", + "in": "path", + "description": "The name of the NSP profile.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NspAccessRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspAccessRulesList": { + "$ref": "./examples/NspAccessRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}/accessRules/{accessRuleName}": { + "get": { + "operationId": "NetworkSecurityPerimeterAccessRules_Get", + "tags": [ + "NetworkSecurityPerimeterAccessRules" + ], + "description": "Gets the specified NSP access rule by name.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "profileName", + "in": "path", + "description": "The name of the NSP profile.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "accessRuleName", + "in": "path", + "description": "The name of the NSP access rule.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NspAccessRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspAccessRuleGet": { + "$ref": "./examples/NspAccessRuleGet.json" + } + } + }, + "put": { + "operationId": "NetworkSecurityPerimeterAccessRules_CreateOrUpdate", + "tags": [ + "NetworkSecurityPerimeterAccessRules" + ], + "description": "Creates or updates a network access 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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "profileName", + "in": "path", + "description": "The name of the NSP profile.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "accessRuleName", + "in": "path", + "description": "The name of the NSP access rule.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that hold the NspAccessRule resource to be created/updated.", + "required": true, + "schema": { + "$ref": "#/definitions/NspAccessRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NspAccessRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/NspAccessRule" + } + }, + "201": { + "description": "Resource 'NspAccessRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/NspAccessRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspAccessRulePut": { + "$ref": "./examples/NspAccessRulePut.json" + } + } + }, + "delete": { + "operationId": "NetworkSecurityPerimeterAccessRules_Delete", + "tags": [ + "NetworkSecurityPerimeterAccessRules" + ], + "description": "Deletes an NSP access 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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "profileName", + "in": "path", + "description": "The name of the NSP profile.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "accessRuleName", + "in": "path", + "description": "The name of the NSP access rule.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspAccessRulesDelete": { + "$ref": "./examples/NspAccessRuleDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/profiles/{profileName}/accessRules/{accessRuleName}/reconcile": { + "post": { + "operationId": "NetworkSecurityPerimeterAccessRules_Reconcile", + "tags": [ + "NetworkSecurityPerimeterAccessRules" + ], + "description": "Reconcile NSP access rules", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "profileName", + "in": "path", + "description": "The name of the NSP profile.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "accessRuleName", + "in": "path", + "description": "The name of the NSP access rule.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters for NSP access rule reconcile", + "required": true, + "schema": {} + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspAccessRuleReconcile": { + "$ref": "./examples/NspAccessRuleReconcile.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations": { + "get": { + "operationId": "NetworkSecurityPerimeterAssociations_List", + "tags": [ + "NetworkSecurityPerimeterAssociations" + ], + "description": "Lists the NSP resource associations.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "$top", + "in": "query", + "description": "An optional query parameter which specifies the maximum number of records to be returned by the server.", + "required": false, + "type": "integer", + "format": "int32", + "minimum": 1, + "maximum": 20 + }, + { + "name": "$skipToken", + "in": "query", + "description": "SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/NspAssociationsListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspAssociationList": { + "$ref": "./examples/NspAssociationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName}": { + "get": { + "operationId": "NetworkSecurityPerimeterAssociations_Get", + "tags": [ + "NetworkSecurityPerimeterAssociations" + ], + "description": "Gets the specified NSP association by name.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "associationName", + "in": "path", + "description": "The name of the NSP association.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NspAssociation" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspAssociationGet": { + "$ref": "./examples/NspAssociationGet.json" + } + } + }, + "put": { + "operationId": "NetworkSecurityPerimeterAssociations_CreateOrUpdate", + "tags": [ + "NetworkSecurityPerimeterAssociations" + ], + "description": "Creates or updates a NSP resource association.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "associationName", + "in": "path", + "description": "The name of the NSP association.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that hold the NspAssociation resource to be created/updated.", + "required": true, + "schema": { + "$ref": "#/definitions/NspAssociation" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NspAssociation' update operation succeeded", + "schema": { + "$ref": "#/definitions/NspAssociation" + } + }, + "201": { + "description": "Resource 'NspAssociation' create operation succeeded", + "schema": { + "$ref": "#/definitions/NspAssociation" + }, + "headers": { + "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": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/NspAssociation" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspAssociationPut": { + "$ref": "./examples/NspAssociationPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/NspAssociation" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkSecurityPerimeterAssociations_Delete", + "tags": [ + "NetworkSecurityPerimeterAssociations" + ], + "description": "Deletes an NSP association resource.", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "associationName", + "in": "path", + "description": "The name of the NSP association.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "202": { + "description": "Resource deletion accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspAssociationDelete": { + "$ref": "./examples/NspAssociationDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityPerimeters/{networkSecurityPerimeterName}/resourceAssociations/{associationName}/reconcile": { + "post": { + "operationId": "NetworkSecurityPerimeterAssociations_Reconcile", + "tags": [ + "NetworkSecurityPerimeterAssociations" + ], + "description": "Reconcile NSP association", + "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": "networkSecurityPerimeterName", + "in": "path", + "description": "The name of the network security perimeter.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "associationName", + "in": "path", + "description": "The name of the NSP association.", + "required": true, + "type": "string", + "maxLength": 80, + "pattern": "(^[a-zA-Z0-9]+[a-zA-Z0-9_.-]*[a-zA-Z0-9_]+$)|(^[a-zA-Z0-9]$)" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters for NSP association reconcile", + "required": true, + "schema": {} + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": {} + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NspAssociationReconcile": { + "$ref": "./examples/NspAssociationReconcile.json" + } + } + } + } + }, + "definitions": { + "NetworkSecurityPerimeter": { + "type": "object", + "description": "The Network Security Perimeter resource", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkSecurityPerimeterProperties", + "description": "The network security perimeter properties", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/SecurityPerimeterTrackedResource" + } + ] + }, + "NetworkSecurityPerimeterListResult": { + "type": "object", + "description": "The response of a NetworkSecurityPerimeter list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkSecurityPerimeter items on this page", + "items": { + "$ref": "#/definitions/NetworkSecurityPerimeter" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkSecurityPerimeterProperties": { + "type": "object", + "description": "Properties of network security perimeter.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/NspProvisioningState", + "description": "The provisioning state of the scope assignment resource.", + "readOnly": true + }, + "perimeterGuid": { + "type": "string", + "description": "perimeter guid of the network security perimeter.", + "readOnly": true + } + } + }, + "NspAccessRule": { + "type": "object", + "description": "The NSP access rule resource", + "properties": { + "properties": { + "$ref": "#/definitions/NspAccessRuleProperties", + "description": "Properties of the NSP access rule.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/SecurityPerimeterProxyResource" + } + ] + }, + "NspAccessRuleListResult": { + "type": "object", + "description": "The response of a NspAccessRule list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NspAccessRule items on this page", + "items": { + "$ref": "#/definitions/NspAccessRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NspAccessRuleProperties": { + "type": "object", + "description": "Properties of NSP access rule.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/NspProvisioningState", + "description": "The provisioning state of the scope assignment resource.", + "readOnly": true + }, + "direction": { + "$ref": "./common.json#/definitions/AccessRuleDirection", + "description": "Direction that specifies whether the access rules is inbound/outbound." + }, + "addressPrefixes": { + "type": "array", + "description": "Inbound address prefixes (IPv4/IPv6)", + "items": { + "type": "string" + } + }, + "fullyQualifiedDomainNames": { + "type": "array", + "description": "Outbound rules in fully qualified domain name format.", + "items": { + "type": "string" + } + }, + "subscriptions": { + "type": "array", + "description": "List of subscription ids", + "items": { + "$ref": "#/definitions/SubscriptionId" + }, + "x-ms-client-flatten": true + }, + "networkSecurityPerimeters": { + "type": "array", + "description": "Rule specified by the perimeter id.", + "items": { + "$ref": "#/definitions/PerimeterBasedAccessRule" + }, + "readOnly": true, + "x-ms-client-flatten": true + }, + "emailAddresses": { + "type": "array", + "description": "Outbound rules in email address format. This access rule type is currently unavailable for use.", + "items": { + "type": "string" + } + }, + "phoneNumbers": { + "type": "array", + "description": "Outbound rules in phone number format. This access rule type is currently unavailable for use.", + "items": { + "type": "string" + } + }, + "serviceTags": { + "type": "array", + "description": "Inbound rules of type service tag. This access rule type is currently unavailable for use.", + "items": { + "type": "string" + } + } + } + }, + "NspAssociation": { + "type": "object", + "description": "The NSP resource association resource", + "properties": { + "properties": { + "$ref": "#/definitions/NspAssociationProperties", + "description": "Properties of the NSP resource association.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/SecurityPerimeterProxyResource" + } + ] + }, + "NspAssociationProperties": { + "type": "object", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/NspProvisioningState", + "description": "The provisioning state of the resource association resource.", + "readOnly": true + }, + "privateLinkResource": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The PaaS resource to be associated." + }, + "profile": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Profile id to which the PaaS resource is associated." + }, + "accessMode": { + "$ref": "./common.json#/definitions/AssociationAccessMode", + "description": "Access mode on the association." + }, + "hasProvisioningIssues": { + "type": "string", + "description": "Specifies if there are provisioning issues", + "readOnly": true + } + } + }, + "NspAssociationsListResult": { + "type": "object", + "description": "Paged collection of NspAssociation items", + "properties": { + "value": { + "type": "array", + "description": "The NspAssociation items on this page", + "items": { + "$ref": "#/definitions/NspAssociation" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NspLink": { + "type": "object", + "description": "The network security perimeter link resource", + "properties": { + "properties": { + "$ref": "#/definitions/NspLinkProperties", + "description": "Properties of the network security perimeter link resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/SecurityPerimeterProxyResource" + } + ] + }, + "NspLinkListResult": { + "type": "object", + "description": "The response of a NspLink list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NspLink items on this page", + "items": { + "$ref": "#/definitions/NspLink" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NspLinkProperties": { + "type": "object", + "description": "Properties of NSP Link resource.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/NspLinkProvisioningState", + "description": "The provisioning state of the NSP Link resource.", + "readOnly": true + }, + "autoApprovedRemotePerimeterResourceId": { + "type": "string", + "format": "arm-id", + "description": "Perimeter ARM Id for the remote NSP with which the link gets created in Auto-approval mode. It should be used when the NSP admin have Microsoft.Network/networkSecurityPerimeters/linkPerimeter/action permission on the remote NSP resource.", + "x-ms-mutability": [ + "read", + "create" + ], + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/networkSecurityPerimeters" + } + ] + } + }, + "remotePerimeterGuid": { + "type": "string", + "description": "Remote NSP Guid with which the link gets created.", + "readOnly": true + }, + "remotePerimeterLocation": { + "type": "string", + "description": "Remote NSP location with which the link gets created.", + "readOnly": true + }, + "localInboundProfiles": { + "type": "array", + "description": "Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles.", + "uniqueItems": true, + "items": { + "type": "string" + } + }, + "localOutboundProfiles": { + "type": "array", + "description": "Local Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.", + "uniqueItems": true, + "items": { + "type": "string" + }, + "readOnly": true + }, + "remoteInboundProfiles": { + "type": "array", + "description": "Remote Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles. This property can only be updated in auto-approval mode.", + "uniqueItems": true, + "items": { + "type": "string" + } + }, + "remoteOutboundProfiles": { + "type": "array", + "description": "Remote Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.", + "uniqueItems": true, + "items": { + "type": "string" + }, + "readOnly": true + }, + "description": { + "type": "string", + "description": "A message passed to the owner of the remote NSP link resource with this connection request. In case of Auto-approved flow, it is default to 'Auto Approved'. Restricted to 140 chars." + }, + "status": { + "$ref": "./common.json#/definitions/NspLinkStatus", + "description": "The NSP link state.", + "readOnly": true + } + } + }, + "NspLinkReference": { + "type": "object", + "description": "The network security perimeter linkReference resource", + "properties": { + "properties": { + "$ref": "#/definitions/NspLinkReferenceProperties", + "description": "Properties of the network security perimeter linkReference resource.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/SecurityPerimeterProxyResource" + } + ] + }, + "NspLinkReferenceListResult": { + "type": "object", + "description": "The response of a NspLinkReference list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NspLinkReference items on this page", + "items": { + "$ref": "#/definitions/NspLinkReference" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NspLinkReferenceProperties": { + "type": "object", + "description": "Properties of NSP LinkReference resource.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/NspLinkProvisioningState", + "description": "The provisioning state of the NSP LinkReference resource.", + "readOnly": true + }, + "remotePerimeterResourceId": { + "type": "string", + "format": "arm-id", + "description": "Perimeter ARM Id for the remote NSP with which the link is created.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/networkSecurityPerimeters" + } + ] + } + }, + "remotePerimeterGuid": { + "type": "string", + "description": "Remote NSP Guid with which the link is created.", + "readOnly": true + }, + "remotePerimeterLocation": { + "type": "string", + "description": "Remote NSP location with which the link gets created.", + "readOnly": true + }, + "localInboundProfiles": { + "type": "array", + "description": "Local Inbound profile names to which Inbound is allowed. Use ['*'] to allow inbound to all profiles.", + "uniqueItems": true, + "items": { + "type": "string" + } + }, + "localOutboundProfiles": { + "type": "array", + "description": "Local Outbound profile names from which Outbound is allowed. In current version, it is readonly property and it's value is set to ['*'] to allow outbound from all profiles. In later version, user will be able to modify it.", + "uniqueItems": true, + "items": { + "type": "string" + }, + "readOnly": true + }, + "remoteInboundProfiles": { + "type": "array", + "description": "Remote Inbound profile names to which Inbound is allowed. ['*'] value implies inbound is allowed to all profiles at remote perimeter. This property can only be updated from corresponding link resource present in remote perimeter.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "remoteOutboundProfiles": { + "type": "array", + "description": "Remote Outbound profile names from which Outbound is allowed. ['*'] value implies outbound is allowed from all profiles at remote perimeter. This property can only be updated from corresponding link resource present in remote perimeter.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "description": { + "type": "string", + "description": "A message sent by the remote NSP link admin for connection request. In case of Auto-approved flow, it is default to 'Auto Approved'.", + "readOnly": true + }, + "status": { + "$ref": "./common.json#/definitions/NspLinkStatus", + "description": "The NSP linkReference state. It cannot be changed if link is created in auto-approval mode." + } + } + }, + "NspLoggingConfiguration": { + "type": "object", + "description": "The NSP logging configuration", + "properties": { + "properties": { + "$ref": "#/definitions/NspLoggingConfigurationProperties", + "description": "Properties of the NSP logging configuration.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/SecurityPerimeterProxyResource" + } + ] + }, + "NspLoggingConfigurationListResult": { + "type": "object", + "description": "The response of a NspLoggingConfiguration list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NspLoggingConfiguration items on this page", + "items": { + "$ref": "#/definitions/NspLoggingConfiguration" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NspLoggingConfigurationProperties": { + "type": "object", + "description": "The NSP logging configuration properties.", + "properties": { + "enabledLogCategories": { + "type": "array", + "description": "The log categories to enable in the NSP logging configuration.", + "items": { + "type": "string" + } + }, + "version": { + "type": "string", + "description": "The version of the NSP logging configuration." + } + } + }, + "NspProfile": { + "type": "object", + "description": "The network security perimeter profile resource", + "properties": { + "properties": { + "$ref": "#/definitions/NspProfileProperties", + "description": "Properties of the network security perimeter profile", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/SecurityPerimeterProxyResource" + } + ] + }, + "NspProfileListResult": { + "type": "object", + "description": "The response of a NspProfile list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NspProfile items on this page", + "items": { + "$ref": "#/definitions/NspProfile" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NspProfileProperties": { + "type": "object", + "description": "Properties of NSP profile.", + "properties": { + "accessRulesVersion": { + "type": "string", + "description": "Version number that increases with every update to access rules within the profile.", + "readOnly": true + }, + "diagnosticSettingsVersion": { + "type": "string", + "description": "Version number that increases with every update to diagnostic settings within the profile.", + "readOnly": true + } + } + }, + "NspServiceTagsListResult": { + "type": "object", + "description": "Result of the request to list NSP service tags.", + "properties": { + "value": { + "type": "array", + "description": "The NspServiceTagsResource items on this page", + "items": { + "$ref": "#/definitions/NspServiceTagsResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NspServiceTagsResource": { + "type": "object", + "description": "Resource containing list of NSP service tags.", + "properties": { + "serviceTags": { + "type": "array", + "description": "NSP service tags.", + "items": { + "type": "string" + } + } + } + }, + "PerimeterAssociableResource": { + "type": "object", + "description": "Resource that is onboarded to use network security perimeter. Also referred as perimeter associable resource.", + "properties": { + "properties": { + "$ref": "#/definitions/PerimeterAssociableResourceProperties", + "description": "Properties of the perimeter associable resource.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "id": { + "type": "string", + "description": "Identifier of the perimeter associable resource.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type.", + "readOnly": true + } + } + }, + "PerimeterAssociableResourceProperties": { + "type": "object", + "description": "Properties of the perimeter associable resources.", + "properties": { + "displayName": { + "type": "string", + "description": "A friendly name for the properties of perimeter associable resources.", + "readOnly": true + }, + "resourceType": { + "type": "string", + "description": "Resource type/provider name.", + "readOnly": true + }, + "publicDnsZones": { + "type": "array", + "description": "Public DNS zone names of the resources.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "serviceTags": { + "type": "array", + "description": "Service tags associated with the resource provider.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "readinessState": { + "$ref": "./common.json#/definitions/NspReadinessState", + "description": "The readiness state of the resource type for NSP support.", + "readOnly": true + }, + "outboundSupported": { + "type": "boolean", + "description": "Indicates whether the resource type supports outbound scenario.", + "readOnly": true + }, + "description": { + "type": "string", + "description": "Description of the PaaS resource type.", + "readOnly": true + } + } + }, + "PerimeterAssociableResourcesListResult": { + "type": "object", + "description": "Paged collection of PerimeterAssociableResource items", + "properties": { + "value": { + "type": "array", + "description": "The PerimeterAssociableResource items on this page", + "items": { + "$ref": "#/definitions/PerimeterAssociableResource" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PerimeterBasedAccessRule": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "NSP id in the ARM id format.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/networkSecurityPerimeters" + } + ] + } + }, + "perimeterGuid": { + "type": "string", + "description": "Resource guid of the NSP supplied.", + "readOnly": true + }, + "location": { + "type": "string", + "description": "Location of the NSP supplied.", + "readOnly": true + } + } + }, + "SubscriptionId": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "Subscription id in the ARM id format.", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Resources/subscriptions" + } + ] + } + } + } + }, + "UpdateTagsRequest": { + "type": "object", + "description": "Update tags request.", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "Network security perimeter identifier.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/networkSecurityPerimeters" + } + ] + } + }, + "tags": { + "type": "object", + "description": "List of tags for Network Security Perimeter", + "additionalProperties": { + "type": "string" + } + } + } + } + }, + "parameters": {} +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/networkWatcher.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/networkWatcher.json new file mode 100644 index 000000000000..f710747c32d2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/networkWatcher.json @@ -0,0 +1,4625 @@ +{ + "swagger": "2.0", + "info": { + "title": "WebApplicationFirewallManagement", + "version": "2025-07-01", + "description": "APIs to manage web application firewall rules.", + "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": "NetworkWatchers" + }, + { + "name": "TrafficAnalytics" + }, + { + "name": "PacketCaptures" + }, + { + "name": "ConnectionMonitors" + }, + { + "name": "FlowLogs" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkWatchers": { + "get": { + "operationId": "NetworkWatchers_ListAll", + "tags": [ + "NetworkWatchers" + ], + "description": "Gets all network watchers by subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkWatcherListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List all network watchers": { + "$ref": "./examples/NetworkWatcherListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers": { + "get": { + "operationId": "NetworkWatchers_List", + "tags": [ + "NetworkWatchers" + ], + "description": "Gets all network watchers by 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkWatcherListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List network watchers": { + "$ref": "./examples/NetworkWatcherList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}": { + "get": { + "operationId": "NetworkWatchers_Get", + "tags": [ + "NetworkWatchers" + ], + "description": "Gets the specified network watcher by 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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.NetworkWatcher" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get network watcher": { + "$ref": "./examples/NetworkWatcherGet.json" + } + } + }, + "put": { + "operationId": "NetworkWatchers_CreateOrUpdate", + "tags": [ + "NetworkWatchers" + ], + "description": "Creates or updates a network watcher in the specified 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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that define the network watcher resource.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.NetworkWatcher" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkWatcher' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.NetworkWatcher" + } + }, + "201": { + "description": "Resource 'NetworkWatcher' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.NetworkWatcher" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create network watcher": { + "$ref": "./examples/NetworkWatcherCreate.json" + } + } + }, + "patch": { + "operationId": "NetworkWatchers_UpdateTags", + "tags": [ + "NetworkWatchers" + ], + "description": "Updates a network watcher tags.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update network watcher tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.NetworkWatcher" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update network watcher tags": { + "$ref": "./examples/NetworkWatcherUpdateTags.json" + } + } + }, + "delete": { + "operationId": "NetworkWatchers_Delete", + "tags": [ + "NetworkWatchers" + ], + "description": "Deletes the specified network watcher resource.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + } + ], + "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": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete network watcher": { + "$ref": "./examples/NetworkWatcherDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/availableProvidersList": { + "post": { + "operationId": "NetworkWatchers_ListAvailableProviders", + "tags": [ + "NetworkWatchers" + ], + "description": "NOTE: This feature is currently in preview and still being tested for stability. Lists all available internet service providers for a specified Azure region.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that scope the list of available providers.", + "required": true, + "schema": { + "$ref": "#/definitions/AvailableProvidersListParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AvailableProvidersList" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/AvailableProvidersList" + }, + "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/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Available Providers List": { + "$ref": "./examples/NetworkWatcherAvailableProvidersListGet.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/AvailableProvidersList" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/azureReachabilityReport": { + "post": { + "operationId": "NetworkWatchers_GetAzureReachabilityReport", + "tags": [ + "NetworkWatchers" + ], + "description": "NOTE: This feature is currently in preview and still being tested for stability. Gets the relative latency score for internet service providers from a specified location to Azure regions.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that determine Azure reachability report configuration.", + "required": true, + "schema": { + "$ref": "#/definitions/AzureReachabilityReportParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/AzureReachabilityReport" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/AzureReachabilityReport" + }, + "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/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Azure Reachability Report": { + "$ref": "./examples/NetworkWatcherAzureReachabilityReportGet.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/AzureReachabilityReport" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/configureFlowLog": { + "post": { + "operationId": "NetworkWatchers_SetFlowLogConfiguration", + "tags": [ + "NetworkWatchers", + "TrafficAnalytics" + ], + "description": "Configures flow log and traffic analytics (optional) on a specified resource.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that define the configuration of flow log.", + "required": true, + "schema": { + "$ref": "#/definitions/FlowLogInformation" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FlowLogInformation" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/FlowLogInformation" + }, + "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/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Configure flow log": { + "$ref": "./examples/NetworkWatcherFlowLogConfigure.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/FlowLogInformation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors": { + "get": { + "operationId": "ConnectionMonitors_List", + "tags": [ + "ConnectionMonitors" + ], + "description": "Lists all connection monitors for the specified Network Watcher.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectionMonitorListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List connection monitors": { + "$ref": "./examples/NetworkWatcherConnectionMonitorList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}": { + "get": { + "operationId": "ConnectionMonitors_Get", + "tags": [ + "ConnectionMonitors" + ], + "description": "Gets a connection monitor by name.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "connectionMonitorName", + "in": "path", + "description": "The name of the connection monitor.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectionMonitorResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorGet.json" + } + } + }, + "put": { + "operationId": "ConnectionMonitors_CreateOrUpdate", + "tags": [ + "ConnectionMonitors" + ], + "description": "Create or update a connection monitor.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "connectionMonitorName", + "in": "path", + "description": "The name of the connection monitor.", + "required": true, + "type": "string" + }, + { + "name": "migrate", + "in": "query", + "description": "Value indicating whether connection monitor V1 should be migrated to V2 format.", + "required": false, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that define the operation to create a connection monitor.", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectionMonitor" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ConnectionMonitorResult' update operation succeeded", + "schema": { + "$ref": "#/definitions/ConnectionMonitorResult" + } + }, + "201": { + "description": "Resource 'ConnectionMonitorResult' create operation succeeded", + "schema": { + "$ref": "#/definitions/ConnectionMonitorResult" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create connection monitor V1": { + "$ref": "./examples/NetworkWatcherConnectionMonitorCreate.json" + }, + "Create connection monitor V2": { + "$ref": "./examples/NetworkWatcherConnectionMonitorV2Create.json" + }, + "Create connection monitor with Arc Network": { + "$ref": "./examples/NetworkWatcherConnectionMonitorCreateWithArcNetwork.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ConnectionMonitorResult" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ConnectionMonitors_UpdateTags", + "tags": [ + "ConnectionMonitors" + ], + "description": "Update tags of the specified connection monitor.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "connectionMonitorName", + "in": "path", + "description": "The name of the connection monitor.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update connection monitor tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectionMonitorResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update connection monitor tags": { + "$ref": "./examples/NetworkWatcherConnectionMonitorUpdateTags.json" + } + } + }, + "delete": { + "operationId": "ConnectionMonitors_Delete", + "tags": [ + "ConnectionMonitors" + ], + "description": "Deletes the specified connection monitor.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "connectionMonitorName", + "in": "path", + "description": "The name of the connection monitor.", + "required": true, + "type": "string" + } + ], + "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": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectionMonitors/{connectionMonitorName}/stop": { + "post": { + "operationId": "ConnectionMonitors_Stop", + "tags": [ + "ConnectionMonitors" + ], + "description": "Stops the specified connection monitor.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "connectionMonitorName", + "in": "path", + "description": "The name of the connection monitor.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Stop connection monitor": { + "$ref": "./examples/NetworkWatcherConnectionMonitorStop.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/connectivityCheck": { + "post": { + "operationId": "NetworkWatchers_CheckConnectivity", + "tags": [ + "NetworkWatchers" + ], + "description": "Verifies the possibility of establishing a direct TCP connection from a virtual machine to a given endpoint including another VM or an arbitrary remote server.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that determine how the connectivity check will be performed.", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectivityParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectivityInformation" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/ConnectivityInformation" + }, + "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/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Check connectivity": { + "$ref": "./examples/NetworkWatcherConnectivityCheck.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/ConnectivityInformation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs": { + "get": { + "operationId": "FlowLogs_List", + "tags": [ + "FlowLogs" + ], + "description": "Lists all flow log resources for the specified Network Watcher.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FlowLogListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List connection monitors": { + "$ref": "./examples/NetworkWatcherFlowLogList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/flowLogs/{flowLogName}": { + "get": { + "operationId": "FlowLogs_Get", + "tags": [ + "FlowLogs" + ], + "description": "Gets a flow log resource by name.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "flowLogName", + "in": "path", + "description": "The name of the flow log resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.FlowLog" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get flow log": { + "$ref": "./examples/NetworkWatcherFlowLogGet.json" + } + } + }, + "put": { + "operationId": "FlowLogs_CreateOrUpdate", + "tags": [ + "FlowLogs" + ], + "description": "Create or update a flow log for the specified network security 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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "flowLogName", + "in": "path", + "description": "The name of the flow log resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that define the create or update flow log resource.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.FlowLog" + } + } + ], + "responses": { + "200": { + "description": "Resource 'FlowLog' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.FlowLog" + } + }, + "201": { + "description": "Resource 'FlowLog' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.FlowLog" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create or update flow log": { + "$ref": "./examples/NetworkWatcherFlowLogCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.FlowLog" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "FlowLogs_UpdateTags", + "tags": [ + "FlowLogs" + ], + "description": "Update tags of the specified flow log.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "flowLogName", + "in": "path", + "description": "The name of the flow log resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update flow log tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.FlowLog" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Update flow log tags": { + "$ref": "./examples/NetworkWatcherFlowLogUpdateTags.json" + } + } + }, + "delete": { + "operationId": "FlowLogs_Delete", + "tags": [ + "FlowLogs" + ], + "description": "Deletes the specified flow log resource.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "flowLogName", + "in": "path", + "description": "The name of the flow log resource.", + "required": true, + "type": "string" + } + ], + "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": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete flow log": { + "$ref": "./examples/NetworkWatcherFlowLogDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/ipFlowVerify": { + "post": { + "operationId": "NetworkWatchers_VerifyIPFlow", + "tags": [ + "NetworkWatchers" + ], + "description": "Verify IP flow from the specified VM to a location given the currently configured NSG rules.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that define the IP flow to be verified.", + "required": true, + "schema": { + "$ref": "#/definitions/VerificationIPFlowParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VerificationIPFlowResult" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/VerificationIPFlowResult" + }, + "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/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Ip flow verify": { + "$ref": "./examples/NetworkWatcherIpFlowVerify.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VerificationIPFlowResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/networkConfigurationDiagnostic": { + "post": { + "operationId": "NetworkWatchers_GetNetworkConfigurationDiagnostic", + "tags": [ + "NetworkWatchers" + ], + "description": "Gets Network Configuration Diagnostic data to help customers understand and debug network behavior. It provides detailed information on what security rules were applied to a specified traffic flow and the result of evaluating these rules. Customers must provide details of a flow like source, destination, protocol, etc. The API returns whether traffic was allowed or denied, the rules evaluated for the specified flow and the evaluation results.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters to get network configuration diagnostic.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkConfigurationDiagnosticParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkConfigurationDiagnosticResponse" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/NetworkConfigurationDiagnosticResponse" + }, + "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/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Network configuration diagnostic": { + "$ref": "./examples/NetworkWatcherNetworkConfigurationDiagnostic.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/NetworkConfigurationDiagnosticResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/nextHop": { + "post": { + "operationId": "NetworkWatchers_GetNextHop", + "tags": [ + "NetworkWatchers" + ], + "description": "Gets the next hop from the specified VM.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that define the source and destination endpoint.", + "required": true, + "schema": { + "$ref": "#/definitions/NextHopParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NextHopResult" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/NextHopResult" + }, + "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/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get next hop": { + "$ref": "./examples/NetworkWatcherNextHopGet.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/NextHopResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures": { + "get": { + "operationId": "PacketCaptures_List", + "tags": [ + "PacketCaptures" + ], + "description": "Lists all packet capture sessions within the specified 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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PacketCaptureListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "List packet captures": { + "$ref": "./examples/NetworkWatcherPacketCapturesList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}": { + "get": { + "operationId": "PacketCaptures_Get", + "tags": [ + "PacketCaptures" + ], + "description": "Gets a packet capture session by name.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "packetCaptureName", + "in": "path", + "description": "The name of the packet capture session.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PacketCaptureResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get packet capture": { + "$ref": "./examples/NetworkWatcherPacketCaptureGet.json" + } + } + }, + "put": { + "operationId": "PacketCaptures_Create", + "tags": [ + "PacketCaptures" + ], + "description": "Create and start a packet capture on the specified VM.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "packetCaptureName", + "in": "path", + "description": "The name of the packet capture session.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that define the create packet capture operation.", + "required": true, + "schema": { + "$ref": "#/definitions/PacketCapture" + } + } + ], + "responses": { + "201": { + "description": "Resource 'PacketCaptureResult' create operation succeeded", + "schema": { + "$ref": "#/definitions/PacketCaptureResult" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Create packet capture": { + "$ref": "./examples/NetworkWatcherPacketCaptureCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/PacketCaptureResult" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PacketCaptures_Delete", + "tags": [ + "PacketCaptures" + ], + "description": "Deletes the specified packet capture session.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "packetCaptureName", + "in": "path", + "description": "The name of the packet capture session.", + "required": true, + "type": "string" + } + ], + "responses": { + "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." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Delete packet capture": { + "$ref": "./examples/NetworkWatcherPacketCaptureDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/queryStatus": { + "post": { + "operationId": "PacketCaptures_GetStatus", + "tags": [ + "PacketCaptures" + ], + "description": "Query the status of a running packet capture session.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "packetCaptureName", + "in": "path", + "description": "The name of the packet capture session.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PacketCaptureQueryStatusResult" + } + }, + "202": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PacketCaptureQueryStatusResult" + }, + "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/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Query packet capture status": { + "$ref": "./examples/NetworkWatcherPacketCaptureQueryStatus.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/PacketCaptureQueryStatusResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/packetCaptures/{packetCaptureName}/stop": { + "post": { + "operationId": "PacketCaptures_Stop", + "tags": [ + "PacketCaptures" + ], + "description": "Stops a specified packet capture session.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "packetCaptureName", + "in": "path", + "description": "The name of the packet capture session.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Stop packet capture": { + "$ref": "./examples/NetworkWatcherPacketCaptureStop.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryFlowLogStatus": { + "post": { + "operationId": "NetworkWatchers_GetFlowLogStatus", + "tags": [ + "NetworkWatchers", + "TrafficAnalytics" + ], + "description": "Queries status of flow log and traffic analytics (optional) on a specified resource.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that define a resource to query flow log and traffic analytics (optional) status.", + "required": true, + "schema": { + "$ref": "#/definitions/FlowLogStatusParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/FlowLogInformation" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/FlowLogInformation" + }, + "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/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get flow log status": { + "$ref": "./examples/NetworkWatcherFlowLogStatusQuery.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/FlowLogInformation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/queryTroubleshootResult": { + "post": { + "operationId": "NetworkWatchers_GetTroubleshootingResult", + "tags": [ + "NetworkWatchers" + ], + "description": "Get the last completed troubleshooting result on a specified resource.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that define the resource to query the troubleshooting result.", + "required": true, + "schema": { + "$ref": "#/definitions/QueryTroubleshootingParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TroubleshootingResult" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/TroubleshootingResult" + }, + "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/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get troubleshoot result": { + "$ref": "./examples/NetworkWatcherTroubleshootResultQuery.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/TroubleshootingResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/securityGroupView": { + "post": { + "operationId": "NetworkWatchers_GetVMSecurityRules", + "tags": [ + "NetworkWatchers" + ], + "description": "Gets the configured and effective security group rules on the specified VM.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that define the VM to check security groups for.", + "required": true, + "schema": { + "$ref": "#/definitions/SecurityGroupViewParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SecurityGroupViewResult" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/SecurityGroupViewResult" + }, + "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/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get security group view": { + "$ref": "./examples/NetworkWatcherSecurityGroupViewGet.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/SecurityGroupViewResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/topology": { + "post": { + "operationId": "NetworkWatchers_GetTopology", + "tags": [ + "NetworkWatchers" + ], + "description": "Gets the current network topology by 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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that define the representation of topology.", + "required": true, + "schema": { + "$ref": "#/definitions/TopologyParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Topology" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get Topology": { + "$ref": "./examples/NetworkWatcherTopologyGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkWatchers/{networkWatcherName}/troubleshoot": { + "post": { + "operationId": "NetworkWatchers_GetTroubleshooting", + "tags": [ + "NetworkWatchers" + ], + "description": "Initiate troubleshooting on a specified resource.", + "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": "networkWatcherName", + "in": "path", + "description": "The name of the network watcher.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters that define the resource to troubleshoot.", + "required": true, + "schema": { + "$ref": "#/definitions/TroubleshootingParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/TroubleshootingResult" + } + }, + "202": { + "description": "The request has been accepted for processing, but processing has not yet completed.", + "schema": { + "$ref": "#/definitions/TroubleshootingResult" + }, + "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/ErrorResponse" + } + } + }, + "x-ms-examples": { + "Get troubleshooting": { + "$ref": "./examples/NetworkWatcherTroubleshootGet.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/TroubleshootingResult" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "AvailableProvidersList": { + "type": "object", + "description": "List of available countries with details.", + "properties": { + "countries": { + "type": "array", + "description": "List of available countries.", + "items": { + "$ref": "#/definitions/AvailableProvidersListCountry" + } + } + }, + "required": [ + "countries" + ] + }, + "AvailableProvidersListCity": { + "type": "object", + "description": "City or town details.", + "properties": { + "cityName": { + "type": "string", + "description": "The city or town name." + }, + "providers": { + "type": "array", + "description": "A list of Internet service providers.", + "items": { + "type": "string" + } + } + } + }, + "AvailableProvidersListCountry": { + "type": "object", + "description": "Country details.", + "properties": { + "countryName": { + "type": "string", + "description": "The country name." + }, + "providers": { + "type": "array", + "description": "A list of Internet service providers.", + "items": { + "type": "string" + } + }, + "states": { + "type": "array", + "description": "List of available states in the country.", + "items": { + "$ref": "#/definitions/AvailableProvidersListState" + } + } + } + }, + "AvailableProvidersListParameters": { + "type": "object", + "description": "Constraints that determine the list of available Internet service providers.", + "properties": { + "azureLocations": { + "type": "array", + "description": "A list of Azure regions.", + "items": { + "type": "string" + } + }, + "country": { + "type": "string", + "description": "The country for available providers list." + }, + "state": { + "type": "string", + "description": "The state for available providers list." + }, + "city": { + "type": "string", + "description": "The city or town for available providers list." + } + } + }, + "AvailableProvidersListState": { + "type": "object", + "description": "State details.", + "properties": { + "stateName": { + "type": "string", + "description": "The state name." + }, + "providers": { + "type": "array", + "description": "A list of Internet service providers.", + "items": { + "type": "string" + } + }, + "cities": { + "type": "array", + "description": "List of available cities or towns in the state.", + "items": { + "$ref": "#/definitions/AvailableProvidersListCity" + } + } + } + }, + "AzureReachabilityReport": { + "type": "object", + "description": "Azure reachability report details.", + "properties": { + "aggregationLevel": { + "type": "string", + "description": "The aggregation level of Azure reachability report. Can be Country, State or City." + }, + "providerLocation": { + "$ref": "#/definitions/AzureReachabilityReportLocation", + "description": "Parameters that define a geographic location." + }, + "reachabilityReport": { + "type": "array", + "description": "List of Azure reachability report items.", + "items": { + "$ref": "#/definitions/AzureReachabilityReportItem" + } + } + }, + "required": [ + "aggregationLevel", + "providerLocation", + "reachabilityReport" + ] + }, + "AzureReachabilityReportItem": { + "type": "object", + "description": "Azure reachability report details for a given provider location.", + "properties": { + "provider": { + "type": "string", + "description": "The Internet service provider." + }, + "azureLocation": { + "type": "string", + "description": "The Azure region." + }, + "latencies": { + "type": "array", + "description": "List of latency details for each of the time series.", + "items": { + "$ref": "#/definitions/AzureReachabilityReportLatencyInfo" + } + } + } + }, + "AzureReachabilityReportLatencyInfo": { + "type": "object", + "description": "Details on latency for a time series.", + "properties": { + "timeStamp": { + "type": "string", + "format": "date-time", + "description": "The time stamp." + }, + "score": { + "type": "integer", + "format": "int32", + "description": "The relative latency score between 1 and 100, higher values indicating a faster connection.", + "minimum": 1, + "maximum": 100 + } + } + }, + "AzureReachabilityReportLocation": { + "type": "object", + "description": "Parameters that define a geographic location.", + "properties": { + "country": { + "type": "string", + "description": "The name of the country." + }, + "state": { + "type": "string", + "description": "The name of the state." + }, + "city": { + "type": "string", + "description": "The name of the city or town." + } + }, + "required": [ + "country" + ] + }, + "AzureReachabilityReportParameters": { + "type": "object", + "description": "Geographic and time constraints for Azure reachability report.", + "properties": { + "providerLocation": { + "$ref": "#/definitions/AzureReachabilityReportLocation", + "description": "Parameters that define a geographic location." + }, + "providers": { + "type": "array", + "description": "List of Internet service providers.", + "items": { + "type": "string" + } + }, + "azureLocations": { + "type": "array", + "description": "Optional Azure regions to scope the query to.", + "items": { + "type": "string" + } + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start time for the Azure reachability report." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end time for the Azure reachability report." + } + }, + "required": [ + "providerLocation", + "startTime", + "endTime" + ] + }, + "Common.FlowLog": { + "type": "object", + "description": "A flow log resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.FlowLogPropertiesFormat", + "description": "Properties of the flow log.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "identity": { + "$ref": "./common.json#/definitions/Common.ManagedServiceIdentity", + "description": "FlowLog resource Managed Identity" + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "Common.FlowLogFormatParameters": { + "type": "object", + "description": "Parameters that define the flow log format.", + "properties": { + "type": { + "$ref": "./common.json#/definitions/Common.FlowLogFormatType", + "description": "The file type of flow log." + }, + "version": { + "type": "integer", + "format": "int32", + "description": "The version (revision) of the flow log.", + "default": 0 + } + } + }, + "Common.FlowLogPropertiesFormat": { + "type": "object", + "description": "Parameters that define the configuration of flow log.", + "properties": { + "targetResourceId": { + "type": "string", + "description": "ID of network security group to which flow log will be applied." + }, + "targetResourceGuid": { + "type": "string", + "description": "Guid of network security group to which flow log will be applied.", + "readOnly": true + }, + "storageId": { + "type": "string", + "description": "ID of the storage account which is used to store the flow log." + }, + "enabledFilteringCriteria": { + "type": "string", + "description": "Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged." + }, + "recordTypes": { + "type": "string", + "description": "Optional field to filter network traffic logs based on flow states. Value of this field could be any comma separated combination string of letters B,C,E or D. B represents Begin, when a flow is created. C represents Continue for an ongoing flow generated at every five-minute interval. E represents End, when a flow is terminated. D represents Deny, when a flow is denied. If not specified, all network traffic will be logged." + }, + "enabled": { + "type": "boolean", + "description": "Flag to enable/disable flow logging." + }, + "retentionPolicy": { + "$ref": "#/definitions/Common.RetentionPolicyParameters", + "description": "Parameters that define the retention policy for flow log." + }, + "format": { + "$ref": "#/definitions/Common.FlowLogFormatParameters", + "description": "Parameters that define the flow log format." + }, + "flowAnalyticsConfiguration": { + "$ref": "#/definitions/Common.TrafficAnalyticsProperties", + "description": "Parameters that define the configuration of traffic analytics." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the flow log.", + "readOnly": true + } + }, + "required": [ + "targetResourceId", + "storageId" + ] + }, + "Common.NetworkWatcher": { + "type": "object", + "description": "Network watcher in a resource group.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.NetworkWatcherPropertiesFormat", + "description": "Properties of the network watcher.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "Common.NetworkWatcherPropertiesFormat": { + "type": "object", + "description": "The network watcher properties.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the network watcher resource.", + "readOnly": true + } + } + }, + "Common.RetentionPolicyParameters": { + "type": "object", + "description": "Parameters that define the retention policy for flow log.", + "properties": { + "days": { + "type": "integer", + "format": "int32", + "description": "Number of days to retain flow log records.", + "default": 0 + }, + "enabled": { + "type": "boolean", + "description": "Flag to enable/disable retention.", + "default": false + } + } + }, + "Common.TrafficAnalyticsConfigurationProperties": { + "type": "object", + "description": "Parameters that define the configuration of traffic analytics.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Flag to enable/disable traffic analytics." + }, + "workspaceId": { + "type": "string", + "description": "The resource guid of the attached workspace." + }, + "workspaceRegion": { + "type": "string", + "description": "The location of the attached workspace." + }, + "workspaceResourceId": { + "type": "string", + "description": "Resource Id of the attached workspace." + }, + "trafficAnalyticsInterval": { + "type": "integer", + "format": "int32", + "description": "The interval in minutes which would decide how frequently TA service should do flow analytics." + } + } + }, + "Common.TrafficAnalyticsProperties": { + "type": "object", + "description": "Parameters that define the configuration of traffic analytics.", + "properties": { + "networkWatcherFlowAnalyticsConfiguration": { + "$ref": "#/definitions/Common.TrafficAnalyticsConfigurationProperties", + "description": "Parameters that define the configuration of traffic analytics." + } + } + }, + "ConnectionMonitor": { + "type": "object", + "description": "Parameters that define the operation to create a connection monitor.", + "properties": { + "location": { + "type": "string", + "description": "Connection monitor location." + }, + "tags": { + "type": "object", + "description": "Connection monitor tags.", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/ConnectionMonitorParameters", + "description": "Properties of the connection monitor.", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ] + }, + "ConnectionMonitorDestination": { + "type": "object", + "description": "Describes the destination of connection monitor.", + "properties": { + "resourceId": { + "type": "string", + "description": "The ID of the resource used as the destination by connection monitor." + }, + "address": { + "type": "string", + "description": "Address of the connection monitor destination (IP or domain name)." + }, + "port": { + "type": "integer", + "format": "int32", + "description": "The destination port used by connection monitor.", + "minimum": 0, + "maximum": 65535 + } + } + }, + "ConnectionMonitorEndpoint": { + "type": "object", + "description": "Describes the connection monitor endpoint.", + "properties": { + "name": { + "type": "string", + "description": "The name of the connection monitor endpoint." + }, + "type": { + "$ref": "./common.json#/definitions/EndpointType", + "description": "The endpoint type." + }, + "resourceId": { + "type": "string", + "description": "Resource ID of the connection monitor endpoint are supported for AzureVM, AzureVMSS, AzureVNet, AzureSubnet, MMAWorkspaceMachine, MMAWorkspaceNetwork, AzureArcVM endpoint type." + }, + "address": { + "type": "string", + "description": "Address of the connection monitor endpoint. Supported for AzureVM, ExternalAddress, ArcMachine, MMAWorkspaceMachine endpoint type." + }, + "filter": { + "$ref": "#/definitions/ConnectionMonitorEndpointFilter", + "description": "Filter field is getting deprecated and should not be used. Instead use Include/Exclude scope fields for it." + }, + "scope": { + "$ref": "#/definitions/ConnectionMonitorEndpointScope", + "description": "Endpoint scope defines which target resource to monitor in case of compound resource endpoints like VMSS, AzureSubnet, AzureVNet, MMAWorkspaceNetwork, AzureArcNetwork." + }, + "coverageLevel": { + "$ref": "./common.json#/definitions/CoverageLevel", + "description": "Test coverage for the endpoint." + }, + "locationDetails": { + "$ref": "#/definitions/ConnectionMonitorEndpointLocationDetails", + "description": "Location details is optional and only being used for 'AzureArcNetwork' type endpoints, which contains region details." + }, + "subscriptionId": { + "type": "string", + "description": "Subscription ID for connection monitor endpoint. It's an optional parameter which is being used for 'AzureArcNetwork' type endpoint." + } + }, + "required": [ + "name" + ] + }, + "ConnectionMonitorEndpointFilter": { + "type": "object", + "description": "Describes the connection monitor endpoint filter.", + "properties": { + "type": { + "$ref": "./common.json#/definitions/ConnectionMonitorEndpointFilterType", + "description": "The behavior of the endpoint filter. Currently only 'Include' is supported." + }, + "items": { + "type": "array", + "description": "List of items in the filter.", + "items": { + "$ref": "#/definitions/ConnectionMonitorEndpointFilterItem" + } + } + } + }, + "ConnectionMonitorEndpointFilterItem": { + "type": "object", + "description": "Describes the connection monitor endpoint filter item.", + "properties": { + "type": { + "$ref": "./common.json#/definitions/ConnectionMonitorEndpointFilterItemType", + "description": "The type of item included in the filter. Currently only 'AgentAddress' is supported." + }, + "address": { + "type": "string", + "description": "The address of the filter item." + } + } + }, + "ConnectionMonitorEndpointLocationDetails": { + "type": "object", + "description": "Connection monitor endpoint location details only being used for 'AzureArcNetwork' type endpoints, which contains the region details.", + "properties": { + "region": { + "type": "string", + "description": "Region for connection monitor endpoint." + } + } + }, + "ConnectionMonitorEndpointScope": { + "type": "object", + "description": "Describes the connection monitor endpoint scope.", + "properties": { + "include": { + "type": "array", + "description": "List of items which needs to be included to the endpoint scope.", + "items": { + "$ref": "#/definitions/ConnectionMonitorEndpointScopeItem" + } + }, + "exclude": { + "type": "array", + "description": "List of items which needs to be excluded from the endpoint scope.", + "items": { + "$ref": "#/definitions/ConnectionMonitorEndpointScopeItem" + } + } + } + }, + "ConnectionMonitorEndpointScopeItem": { + "type": "object", + "description": "Describes the connection monitor endpoint scope item.", + "properties": { + "address": { + "type": "string", + "description": "The address of the endpoint item. Supported types are IPv4/IPv6 subnet mask or IPv4/IPv6 IP address." + } + } + }, + "ConnectionMonitorHttpConfiguration": { + "type": "object", + "description": "Describes the HTTP configuration.", + "properties": { + "port": { + "type": "integer", + "format": "int32", + "description": "The port to connect to.", + "minimum": 0, + "maximum": 65535 + }, + "method": { + "$ref": "./common.json#/definitions/HTTPConfigurationMethod", + "description": "The HTTP method to use." + }, + "path": { + "type": "string", + "description": "The path component of the URI. For instance, \"/dir1/dir2\"." + }, + "requestHeaders": { + "type": "array", + "description": "The HTTP headers to transmit with the request.", + "items": { + "$ref": "#/definitions/HTTPHeader" + } + }, + "validStatusCodeRanges": { + "type": "array", + "description": "HTTP status codes to consider successful. For instance, \"2xx,301-304,418\".", + "items": { + "type": "string" + } + }, + "preferHTTPS": { + "type": "boolean", + "description": "Value indicating whether HTTPS is preferred over HTTP in cases where the choice is not explicit." + } + } + }, + "ConnectionMonitorIcmpConfiguration": { + "type": "object", + "description": "Describes the ICMP configuration.", + "properties": { + "disableTraceRoute": { + "type": "boolean", + "description": "Value indicating whether path evaluation with trace route should be disabled." + } + } + }, + "ConnectionMonitorListResult": { + "type": "object", + "description": "List of connection monitors.", + "properties": { + "value": { + "type": "array", + "description": "Information about connection monitors.", + "items": { + "$ref": "#/definitions/ConnectionMonitorResult" + } + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of results." + } + } + }, + "ConnectionMonitorOutput": { + "type": "object", + "description": "Describes a connection monitor output destination.", + "properties": { + "type": { + "$ref": "./common.json#/definitions/OutputType", + "description": "Connection monitor output destination type. Currently, only \"Workspace\" is supported." + }, + "workspaceSettings": { + "$ref": "#/definitions/ConnectionMonitorWorkspaceSettings", + "description": "Describes the settings for producing output into a log analytics workspace." + } + } + }, + "ConnectionMonitorParameters": { + "type": "object", + "description": "Parameters that define the operation to create a connection monitor.", + "properties": { + "source": { + "$ref": "#/definitions/ConnectionMonitorSource", + "description": "Describes the source of connection monitor." + }, + "destination": { + "$ref": "#/definitions/ConnectionMonitorDestination", + "description": "Describes the destination of connection monitor." + }, + "autoStart": { + "type": "boolean", + "description": "Determines if the connection monitor will start automatically once created.", + "default": true + }, + "monitoringIntervalInSeconds": { + "type": "integer", + "format": "int32", + "description": "Monitoring interval in seconds.", + "default": 60, + "minimum": 30, + "maximum": 1800 + }, + "endpoints": { + "type": "array", + "description": "List of connection monitor endpoints.", + "items": { + "$ref": "#/definitions/ConnectionMonitorEndpoint" + } + }, + "testConfigurations": { + "type": "array", + "description": "List of connection monitor test configurations.", + "items": { + "$ref": "#/definitions/ConnectionMonitorTestConfiguration" + } + }, + "testGroups": { + "type": "array", + "description": "List of connection monitor test groups.", + "items": { + "$ref": "#/definitions/ConnectionMonitorTestGroup" + } + }, + "outputs": { + "type": "array", + "description": "List of connection monitor outputs.", + "items": { + "$ref": "#/definitions/ConnectionMonitorOutput" + } + }, + "notes": { + "type": "string", + "description": "Optional notes to be associated with the connection monitor." + } + } + }, + "ConnectionMonitorResult": { + "type": "object", + "description": "Information about the connection monitor.", + "properties": { + "properties": { + "$ref": "#/definitions/ConnectionMonitorResultProperties", + "description": "Properties of the connection monitor result.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/TrackedResourceWithEtag" + } + ] + }, + "ConnectionMonitorResultProperties": { + "type": "object", + "description": "Describes the properties of a connection monitor.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the connection monitor.", + "readOnly": true + }, + "startTime": { + "type": "string", + "format": "date-time", + "description": "The date and time when the connection monitor was started.", + "readOnly": true + }, + "monitoringStatus": { + "type": "string", + "description": "The monitoring status of the connection monitor.", + "readOnly": true + }, + "connectionMonitorType": { + "$ref": "./common.json#/definitions/ConnectionMonitorType", + "description": "Type of connection monitor.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/ConnectionMonitorParameters" + } + ] + }, + "ConnectionMonitorSource": { + "type": "object", + "description": "Describes the source of connection monitor.", + "properties": { + "resourceId": { + "type": "string", + "description": "The ID of the resource used as the source by connection monitor." + }, + "port": { + "type": "integer", + "format": "int32", + "description": "The source port used by connection monitor.", + "minimum": 0, + "maximum": 65535 + } + }, + "required": [ + "resourceId" + ] + }, + "ConnectionMonitorSuccessThreshold": { + "type": "object", + "description": "Describes the threshold for declaring a test successful.", + "properties": { + "checksFailedPercent": { + "type": "integer", + "format": "int32", + "description": "The maximum percentage of failed checks permitted for a test to evaluate as successful." + }, + "roundTripTimeMs": { + "type": "number", + "format": "float", + "description": "The maximum round-trip time in milliseconds permitted for a test to evaluate as successful." + } + } + }, + "ConnectionMonitorTcpConfiguration": { + "type": "object", + "description": "Describes the TCP configuration.", + "properties": { + "port": { + "type": "integer", + "format": "int32", + "description": "The port to connect to.", + "minimum": 0, + "maximum": 65535 + }, + "disableTraceRoute": { + "type": "boolean", + "description": "Value indicating whether path evaluation with trace route should be disabled." + }, + "destinationPortBehavior": { + "$ref": "./common.json#/definitions/DestinationPortBehavior", + "description": "Destination port behavior." + } + } + }, + "ConnectionMonitorTestConfiguration": { + "type": "object", + "description": "Describes a connection monitor test configuration.", + "properties": { + "name": { + "type": "string", + "description": "The name of the connection monitor test configuration." + }, + "testFrequencySec": { + "type": "integer", + "format": "int32", + "description": "The frequency of test evaluation, in seconds." + }, + "protocol": { + "$ref": "./common.json#/definitions/ConnectionMonitorTestConfigurationProtocol", + "description": "The protocol to use in test evaluation." + }, + "preferredIPVersion": { + "$ref": "./common.json#/definitions/PreferredIPVersion", + "description": "The preferred IP version to use in test evaluation. The connection monitor may choose to use a different version depending on other parameters." + }, + "httpConfiguration": { + "$ref": "#/definitions/ConnectionMonitorHttpConfiguration", + "description": "The parameters used to perform test evaluation over HTTP." + }, + "tcpConfiguration": { + "$ref": "#/definitions/ConnectionMonitorTcpConfiguration", + "description": "The parameters used to perform test evaluation over TCP." + }, + "icmpConfiguration": { + "$ref": "#/definitions/ConnectionMonitorIcmpConfiguration", + "description": "The parameters used to perform test evaluation over ICMP." + }, + "successThreshold": { + "$ref": "#/definitions/ConnectionMonitorSuccessThreshold", + "description": "The threshold for declaring a test successful." + } + }, + "required": [ + "name", + "protocol" + ] + }, + "ConnectionMonitorTestGroup": { + "type": "object", + "description": "Describes the connection monitor test group.", + "properties": { + "name": { + "type": "string", + "description": "The name of the connection monitor test group." + }, + "disable": { + "type": "boolean", + "description": "Value indicating whether test group is disabled." + }, + "testConfigurations": { + "type": "array", + "description": "List of test configuration names.", + "items": { + "type": "string" + } + }, + "sources": { + "type": "array", + "description": "List of source endpoint names.", + "items": { + "type": "string" + } + }, + "destinations": { + "type": "array", + "description": "List of destination endpoint names.", + "items": { + "type": "string" + } + } + }, + "required": [ + "name", + "testConfigurations", + "sources", + "destinations" + ] + }, + "ConnectionMonitorWorkspaceSettings": { + "type": "object", + "description": "Describes the settings for producing output into a log analytics workspace.", + "properties": { + "workspaceResourceId": { + "type": "string", + "description": "Log analytics workspace resource ID." + } + } + }, + "ConnectivityDestination": { + "type": "object", + "description": "Parameters that define destination of connection.", + "properties": { + "resourceId": { + "type": "string", + "description": "The ID of the resource to which a connection attempt will be made." + }, + "address": { + "type": "string", + "description": "The IP address or URI the resource to which a connection attempt will be made." + }, + "port": { + "type": "integer", + "format": "int32", + "description": "Port on which check connectivity will be performed.", + "minimum": 0, + "maximum": 65535 + } + } + }, + "ConnectivityHop": { + "type": "object", + "description": "Information about a hop between the source and the destination.", + "properties": { + "type": { + "type": "string", + "description": "The type of the hop.", + "readOnly": true + }, + "id": { + "type": "string", + "description": "The ID of the hop.", + "readOnly": true + }, + "address": { + "type": "string", + "description": "The IP address of the hop.", + "readOnly": true + }, + "resourceId": { + "type": "string", + "description": "The ID of the resource corresponding to this hop.", + "readOnly": true + }, + "nextHopIds": { + "type": "array", + "description": "List of next hop identifiers.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "previousHopIds": { + "type": "array", + "description": "List of previous hop identifiers.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "links": { + "type": "array", + "description": "List of hop links.", + "items": { + "$ref": "#/definitions/HopLink" + }, + "readOnly": true + }, + "previousLinks": { + "type": "array", + "description": "List of previous hop links.", + "items": { + "$ref": "#/definitions/HopLink" + }, + "readOnly": true + }, + "issues": { + "type": "array", + "description": "List of issues.", + "items": { + "$ref": "#/definitions/ConnectivityIssue" + }, + "readOnly": true + } + } + }, + "ConnectivityInformation": { + "type": "object", + "description": "Information on the connectivity status.", + "properties": { + "hops": { + "type": "array", + "description": "List of hops between the source and the destination.", + "items": { + "$ref": "#/definitions/ConnectivityHop" + }, + "readOnly": true + }, + "connectionStatus": { + "$ref": "./common.json#/definitions/ConnectionStatus", + "description": "The connection status.", + "readOnly": true + }, + "avgLatencyInMs": { + "type": "integer", + "format": "int32", + "description": "Average latency in milliseconds.", + "readOnly": true + }, + "minLatencyInMs": { + "type": "integer", + "format": "int32", + "description": "Minimum latency in milliseconds.", + "readOnly": true + }, + "maxLatencyInMs": { + "type": "integer", + "format": "int32", + "description": "Maximum latency in milliseconds.", + "readOnly": true + }, + "probesSent": { + "type": "integer", + "format": "int32", + "description": "Total number of probes sent.", + "readOnly": true + }, + "probesFailed": { + "type": "integer", + "format": "int32", + "description": "Number of failed probes.", + "readOnly": true + } + } + }, + "ConnectivityIssue": { + "type": "object", + "description": "Information about an issue encountered in the process of checking for connectivity.", + "properties": { + "origin": { + "$ref": "./common.json#/definitions/Origin", + "description": "The origin of the issue.", + "readOnly": true + }, + "severity": { + "$ref": "./common.json#/definitions/Severity", + "description": "The severity of the issue.", + "readOnly": true + }, + "type": { + "$ref": "./common.json#/definitions/IssueType", + "description": "The type of issue.", + "readOnly": true + }, + "context": { + "type": "array", + "description": "Provides additional context on the issue.", + "items": { + "type": "object", + "additionalProperties": { + "type": "string" + } + }, + "readOnly": true + } + } + }, + "ConnectivityParameters": { + "type": "object", + "description": "Parameters that determine how the connectivity check will be performed.", + "properties": { + "source": { + "$ref": "#/definitions/ConnectivitySource", + "description": "The source of the connection." + }, + "destination": { + "$ref": "#/definitions/ConnectivityDestination", + "description": "The destination of connection." + }, + "protocol": { + "$ref": "./common.json#/definitions/Protocol", + "description": "Network protocol." + }, + "protocolConfiguration": { + "$ref": "#/definitions/ProtocolConfiguration", + "description": "Configuration of the protocol." + }, + "preferredIPVersion": { + "$ref": "./common.json#/definitions/Common.IPVersion", + "description": "Preferred IP version of the connection." + } + }, + "required": [ + "source", + "destination" + ] + }, + "ConnectivitySource": { + "type": "object", + "description": "Parameters that define the source of the connection.", + "properties": { + "resourceId": { + "type": "string", + "description": "The ID of the resource from which a connectivity check will be initiated." + }, + "port": { + "type": "integer", + "format": "int32", + "description": "The source port from which a connectivity check will be performed.", + "minimum": 0, + "maximum": 65535 + } + }, + "required": [ + "resourceId" + ] + }, + "ErrorResponse": { + "type": "object", + "description": "The error object.", + "properties": { + "error": { + "$ref": "./common.json#/definitions/ErrorDetails", + "title": "Error", + "description": "The error details object." + } + } + }, + "EvaluatedNetworkSecurityGroup": { + "type": "object", + "description": "Results of network security group evaluation.", + "properties": { + "networkSecurityGroupId": { + "type": "string", + "description": "Network security group ID." + }, + "appliedTo": { + "type": "string", + "description": "Resource ID of nic or subnet to which network security group is applied." + }, + "matchedRule": { + "$ref": "#/definitions/MatchedRule", + "description": "Matched network security rule." + }, + "rulesEvaluationResult": { + "type": "array", + "description": "List of network security rules evaluation results.", + "items": { + "$ref": "#/definitions/NetworkSecurityRulesEvaluationResult" + }, + "readOnly": true + } + } + }, + "FlowLogInformation": { + "type": "object", + "description": "Information on the configuration of flow log and traffic analytics (optional) .", + "properties": { + "targetResourceId": { + "type": "string", + "description": "The ID of the resource to configure for flow log and traffic analytics (optional) ." + }, + "properties": { + "$ref": "#/definitions/FlowLogProperties", + "description": "Properties of the flow log.", + "x-ms-client-flatten": true + }, + "flowAnalyticsConfiguration": { + "$ref": "#/definitions/Common.TrafficAnalyticsProperties", + "description": "Parameters that define the configuration of traffic analytics." + }, + "identity": { + "$ref": "./common.json#/definitions/Common.ManagedServiceIdentity", + "description": "FlowLog resource Managed Identity" + } + }, + "required": [ + "targetResourceId", + "properties" + ] + }, + "FlowLogListResult": { + "type": "object", + "description": "The response of a FlowLog list operation.", + "properties": { + "value": { + "type": "array", + "description": "The FlowLog items on this page", + "items": { + "$ref": "#/definitions/Common.FlowLog" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "FlowLogProperties": { + "type": "object", + "description": "Parameters that define the configuration of flow log.", + "properties": { + "storageId": { + "type": "string", + "description": "ID of the storage account which is used to store the flow log." + }, + "enabledFilteringCriteria": { + "type": "string", + "description": "Optional field to filter network traffic logs based on SrcIP, SrcPort, DstIP, DstPort, Protocol, Encryption, Direction and Action. If not specified, all network traffic will be logged." + }, + "recordTypes": { + "type": "string", + "description": "Optional field to filter network traffic logs based on flow states. Value of this field could be any comma separated combination string of letters B,C,E or D. B represents Begin, when a flow is created. C represents Continue for an ongoing flow generated at every five-minute interval. E represents End, when a flow is terminated. D represents Deny, when a flow is denied. If not specified, all network traffic will be logged." + }, + "enabled": { + "type": "boolean", + "description": "Flag to enable/disable flow logging." + }, + "retentionPolicy": { + "$ref": "#/definitions/Common.RetentionPolicyParameters", + "description": "Parameters that define the retention policy for flow log." + }, + "format": { + "$ref": "#/definitions/Common.FlowLogFormatParameters", + "description": "Parameters that define the flow log format." + } + }, + "required": [ + "storageId", + "enabled" + ] + }, + "FlowLogStatusParameters": { + "type": "object", + "description": "Parameters that define a resource to query flow log and traffic analytics (optional) status.", + "properties": { + "targetResourceId": { + "type": "string", + "description": "The target resource where getting the flow log and traffic analytics (optional) status." + } + }, + "required": [ + "targetResourceId" + ] + }, + "HTTPConfiguration": { + "type": "object", + "description": "HTTP configuration of the connectivity check.", + "properties": { + "method": { + "$ref": "./common.json#/definitions/HTTPMethod", + "description": "HTTP method." + }, + "headers": { + "type": "array", + "description": "List of HTTP headers.", + "items": { + "$ref": "#/definitions/HTTPHeader" + } + }, + "validStatusCodes": { + "type": "array", + "description": "Valid status codes.", + "items": { + "type": "integer", + "format": "int32" + } + } + } + }, + "HTTPHeader": { + "type": "object", + "description": "The HTTP header.", + "properties": { + "name": { + "type": "string", + "description": "The name in HTTP header." + }, + "value": { + "type": "string", + "description": "The value in HTTP header." + } + } + }, + "HopLink": { + "type": "object", + "description": "Hop link.", + "properties": { + "nextHopId": { + "type": "string", + "description": "The ID of the next hop.", + "readOnly": true + }, + "linkType": { + "type": "string", + "description": "Link type.", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/HopLinkProperties", + "description": "Hop link properties.", + "x-ms-client-flatten": true + }, + "issues": { + "type": "array", + "description": "List of issues.", + "items": { + "$ref": "#/definitions/ConnectivityIssue" + }, + "readOnly": true + }, + "context": { + "type": "object", + "description": "Provides additional context on links.", + "additionalProperties": { + "type": "string" + }, + "readOnly": true + }, + "resourceId": { + "type": "string", + "description": "Resource ID.", + "readOnly": true + } + } + }, + "HopLinkProperties": { + "type": "object", + "description": "Hop link properties.", + "properties": { + "roundTripTimeMin": { + "type": "integer", + "format": "int64", + "description": "Minimum roundtrip time in milliseconds.", + "minimum": 0, + "maximum": 4294967295, + "readOnly": true + }, + "roundTripTimeAvg": { + "type": "integer", + "format": "int64", + "description": "Average roundtrip time in milliseconds.", + "minimum": 0, + "maximum": 4294967295, + "readOnly": true + }, + "roundTripTimeMax": { + "type": "integer", + "format": "int64", + "description": "Maximum roundtrip time in milliseconds.", + "minimum": 0, + "maximum": 4294967295, + "readOnly": true + } + } + }, + "MatchedRule": { + "type": "object", + "description": "Matched rule.", + "properties": { + "ruleName": { + "type": "string", + "description": "Name of the matched network security rule." + }, + "action": { + "type": "string", + "description": "The network traffic is allowed or denied. Possible values are 'Allow' and 'Deny'." + } + } + }, + "NetworkConfigurationDiagnosticParameters": { + "type": "object", + "description": "Parameters to get network configuration diagnostic.", + "properties": { + "targetResourceId": { + "type": "string", + "description": "The ID of the target resource to perform network configuration diagnostic. Valid options are VM, NetworkInterface, VMSS/NetworkInterface and Application Gateway." + }, + "verbosityLevel": { + "$ref": "./common.json#/definitions/VerbosityLevel", + "description": "Verbosity level." + }, + "profiles": { + "type": "array", + "description": "List of network configuration diagnostic profiles.", + "items": { + "$ref": "#/definitions/NetworkConfigurationDiagnosticProfile" + } + } + }, + "required": [ + "targetResourceId", + "profiles" + ] + }, + "NetworkConfigurationDiagnosticProfile": { + "type": "object", + "description": "Parameters to compare with network configuration.", + "properties": { + "direction": { + "$ref": "./common.json#/definitions/Direction", + "description": "The direction of the traffic." + }, + "protocol": { + "type": "string", + "description": "Protocol to be verified on. Accepted values are '*', TCP, UDP." + }, + "source": { + "type": "string", + "description": "Traffic source. Accepted values are '*', IP Address/CIDR, Service Tag." + }, + "destination": { + "type": "string", + "description": "Traffic destination. Accepted values are: '*', IP Address/CIDR, Service Tag." + }, + "destinationPort": { + "type": "string", + "description": "Traffic destination port. Accepted values are '*' and a single port in the range (0 - 65535)." + } + }, + "required": [ + "direction", + "protocol", + "source", + "destination", + "destinationPort" + ] + }, + "NetworkConfigurationDiagnosticResponse": { + "type": "object", + "description": "Results of network configuration diagnostic on the target resource.", + "properties": { + "results": { + "type": "array", + "description": "List of network configuration diagnostic results.", + "items": { + "$ref": "#/definitions/NetworkConfigurationDiagnosticResult" + }, + "readOnly": true + } + } + }, + "NetworkConfigurationDiagnosticResult": { + "type": "object", + "description": "Network configuration diagnostic result corresponded to provided traffic query.", + "properties": { + "profile": { + "$ref": "#/definitions/NetworkConfigurationDiagnosticProfile", + "description": "Network configuration diagnostic profile." + }, + "networkSecurityGroupResult": { + "$ref": "#/definitions/NetworkSecurityGroupResult", + "description": "Network security group result." + } + } + }, + "NetworkInterfaceAssociation": { + "type": "object", + "description": "Network interface and its custom security rules.", + "properties": { + "id": { + "type": "string", + "description": "Network interface ID.", + "readOnly": true + }, + "securityRules": { + "type": "array", + "description": "Collection of custom security rules.", + "items": { + "$ref": "./virtualNetwork.json#/definitions/Common.SecurityRule" + } + } + } + }, + "NetworkSecurityGroupResult": { + "type": "object", + "description": "Network configuration diagnostic result corresponded provided traffic query.", + "properties": { + "securityRuleAccessResult": { + "$ref": "./common.json#/definitions/Common.SecurityRuleAccess", + "description": "The network traffic is allowed or denied." + }, + "evaluatedNetworkSecurityGroups": { + "type": "array", + "description": "List of results network security groups diagnostic.", + "items": { + "$ref": "#/definitions/EvaluatedNetworkSecurityGroup" + }, + "readOnly": true + } + } + }, + "NetworkSecurityRulesEvaluationResult": { + "type": "object", + "description": "Network security rules evaluation result.", + "properties": { + "name": { + "type": "string", + "description": "Name of the network security rule." + }, + "protocolMatched": { + "type": "boolean", + "description": "Value indicating whether protocol is matched." + }, + "sourceMatched": { + "type": "boolean", + "description": "Value indicating whether source is matched." + }, + "sourcePortMatched": { + "type": "boolean", + "description": "Value indicating whether source port is matched." + }, + "destinationMatched": { + "type": "boolean", + "description": "Value indicating whether destination is matched." + }, + "destinationPortMatched": { + "type": "boolean", + "description": "Value indicating whether destination port is matched." + } + } + }, + "NetworkWatcherListResult": { + "type": "object", + "description": "Response for ListNetworkWatchers API service call.", + "properties": { + "value": { + "type": "array", + "description": "List of network watcher resources.", + "items": { + "$ref": "#/definitions/Common.NetworkWatcher" + } + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of results." + } + } + }, + "NextHopParameters": { + "type": "object", + "description": "Parameters that define the source and destination endpoint.", + "properties": { + "targetResourceId": { + "type": "string", + "description": "The resource identifier of the target resource against which the action is to be performed." + }, + "sourceIPAddress": { + "type": "string", + "description": "The source IP address." + }, + "destinationIPAddress": { + "type": "string", + "description": "The destination IP address." + }, + "targetNicResourceId": { + "type": "string", + "description": "The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of the nics, then this parameter must be specified. Otherwise optional)." + } + }, + "required": [ + "targetResourceId", + "sourceIPAddress", + "destinationIPAddress" + ] + }, + "NextHopResult": { + "type": "object", + "description": "The information about next hop from the specified VM.", + "properties": { + "nextHopType": { + "$ref": "./common.json#/definitions/NextHopType", + "description": "Next hop type." + }, + "nextHopIpAddress": { + "type": "string", + "description": "Next hop IP Address." + }, + "routeTableId": { + "type": "string", + "description": "The resource identifier for the route table associated with the route being returned. If the route being returned does not correspond to any user created routes then this field will be the string 'System Route'." + } + } + }, + "PacketCapture": { + "type": "object", + "description": "Parameters that define the create packet capture operation.", + "properties": { + "properties": { + "$ref": "#/definitions/PacketCaptureParameters", + "description": "Properties of the packet capture.", + "x-ms-client-flatten": true + } + }, + "required": [ + "properties" + ] + }, + "PacketCaptureFilter": { + "type": "object", + "description": "Filter that is applied to packet capture request. Multiple filters can be applied.", + "properties": { + "protocol": { + "type": "string", + "description": "Protocol to be filtered on.", + "default": "Any", + "enum": [ + "TCP", + "UDP", + "Any" + ], + "x-ms-enum": { + "name": "PcProtocol", + "modelAsString": true, + "values": [ + { + "name": "TCP", + "value": "TCP", + "description": "TCP" + }, + { + "name": "UDP", + "value": "UDP", + "description": "UDP" + }, + { + "name": "Any", + "value": "Any", + "description": "Any" + } + ] + } + }, + "localIPAddress": { + "type": "string", + "description": "Local IP Address to be filtered on. Notation: \"127.0.0.1\" for single address entry. \"127.0.0.1-127.0.0.255\" for range. \"127.0.0.1;127.0.0.5\"? for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null." + }, + "remoteIPAddress": { + "type": "string", + "description": "Local IP Address to be filtered on. Notation: \"127.0.0.1\" for single address entry. \"127.0.0.1-127.0.0.255\" for range. \"127.0.0.1;127.0.0.5;\" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null." + }, + "localPort": { + "type": "string", + "description": "Local port to be filtered on. Notation: \"80\" for single port entry.\"80-85\" for range. \"80;443;\" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null." + }, + "remotePort": { + "type": "string", + "description": "Remote port to be filtered on. Notation: \"80\" for single port entry.\"80-85\" for range. \"80;443;\" for multiple entries. Multiple ranges not currently supported. Mixing ranges with multiple entries not currently supported. Default = null." + } + } + }, + "PacketCaptureListResult": { + "type": "object", + "description": "List of packet capture sessions.", + "properties": { + "value": { + "type": "array", + "description": "Information about packet capture sessions.", + "items": { + "$ref": "#/definitions/PacketCaptureResult" + } + }, + "nextLink": { + "type": "string", + "description": "URL to get the next set of results." + } + } + }, + "PacketCaptureMachineScope": { + "type": "object", + "description": "A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS.", + "properties": { + "include": { + "type": "array", + "description": "List of AzureVMSS instances to run packet capture on.", + "items": { + "type": "string" + } + }, + "exclude": { + "type": "array", + "description": "List of AzureVMSS instances which has to be excluded from the AzureVMSS from running packet capture.", + "items": { + "type": "string" + } + } + } + }, + "PacketCaptureParameters": { + "type": "object", + "description": "Parameters that define the create packet capture operation.", + "properties": { + "target": { + "type": "string", + "description": "The ID of the targeted resource, only AzureVM and AzureVMSS as target type are currently supported." + }, + "scope": { + "$ref": "#/definitions/PacketCaptureMachineScope", + "description": "A list of AzureVMSS instances which can be included or excluded to run packet capture. If both included and excluded are empty, then the packet capture will run on all instances of AzureVMSS." + }, + "targetType": { + "$ref": "./common.json#/definitions/PacketCaptureTargetType", + "description": "Target type of the resource provided." + }, + "bytesToCapturePerPacket": { + "type": "integer", + "format": "int64", + "description": "Number of bytes captured per packet, the remaining bytes are truncated.", + "default": 0, + "minimum": 0, + "maximum": 4294967295 + }, + "totalBytesPerSession": { + "type": "integer", + "format": "int64", + "description": "Maximum size of the capture output.", + "default": 1073741824, + "minimum": 0, + "maximum": 4294967295 + }, + "timeLimitInSeconds": { + "type": "integer", + "format": "int32", + "description": "Maximum duration of the capture session in seconds.", + "default": 18000, + "minimum": 0, + "maximum": 18000 + }, + "storageLocation": { + "$ref": "#/definitions/PacketCaptureStorageLocation", + "description": "The storage location for a packet capture session." + }, + "filters": { + "type": "array", + "description": "A list of packet capture filters.", + "items": { + "$ref": "#/definitions/PacketCaptureFilter" + } + }, + "continuousCapture": { + "type": "boolean", + "description": "This continuous capture is a nullable boolean, which can hold 'null', 'true' or 'false' value. If we do not pass this parameter, it would be consider as 'null', default value is 'null'." + }, + "captureSettings": { + "$ref": "#/definitions/PacketCaptureSettings", + "description": "The capture setting holds the 'FileCount', 'FileSizeInBytes', 'SessionTimeLimitInSeconds' values." + } + }, + "required": [ + "target", + "storageLocation" + ] + }, + "PacketCaptureQueryStatusResult": { + "type": "object", + "description": "Status of packet capture session.", + "properties": { + "name": { + "type": "string", + "description": "The name of the packet capture resource." + }, + "id": { + "type": "string", + "description": "The ID of the packet capture resource." + }, + "captureStartTime": { + "type": "string", + "format": "date-time", + "description": "The start time of the packet capture session." + }, + "packetCaptureStatus": { + "$ref": "./common.json#/definitions/PcStatus", + "description": "The status of the packet capture session." + }, + "stopReason": { + "type": "string", + "description": "The reason the current packet capture session was stopped." + }, + "packetCaptureError": { + "type": "array", + "description": "List of errors of packet capture session.", + "items": { + "$ref": "./common.json#/definitions/PcError" + } + } + } + }, + "PacketCaptureResult": { + "type": "object", + "description": "Information about packet capture session.", + "properties": { + "name": { + "type": "string", + "description": "Name of the packet capture session.", + "readOnly": true + }, + "id": { + "type": "string", + "description": "ID of the packet capture operation.", + "readOnly": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/PacketCaptureResultProperties", + "description": "Properties of the packet capture result.", + "x-ms-client-flatten": true + } + } + }, + "PacketCaptureResultProperties": { + "type": "object", + "description": "The properties of a packet capture session.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the packet capture session.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "#/definitions/PacketCaptureParameters" + } + ] + }, + "PacketCaptureSettings": { + "type": "object", + "description": "The storage location for a packet capture session.", + "properties": { + "fileCount": { + "type": "integer", + "format": "int32", + "description": "Number of file count. Default value of count is 10 and maximum number is 10000.", + "default": 10, + "minimum": 0, + "maximum": 10000 + }, + "fileSizeInBytes": { + "type": "integer", + "format": "int64", + "description": "Number of bytes captured per packet. Default value in bytes 104857600 (100MB) and maximum in bytes 4294967295 (4GB).", + "default": 104857600, + "minimum": 0, + "maximum": 4294967295 + }, + "sessionTimeLimitInSeconds": { + "type": "integer", + "format": "int32", + "description": "Maximum duration of the capture session in seconds is 604800s (7 days) for a file. Default value in second 86400s (1 day).", + "default": 86400, + "minimum": 0, + "maximum": 604800 + } + } + }, + "PacketCaptureStorageLocation": { + "type": "object", + "description": "The storage location for a packet capture session.", + "properties": { + "storageId": { + "type": "string", + "description": "The ID of the storage account to save the packet capture session. Required if no localPath or filePath is provided." + }, + "storagePath": { + "type": "string", + "description": "The URI of the storage path to save the packet capture. Must be a well-formed URI describing the location to save the packet capture." + }, + "filePath": { + "type": "string", + "description": "This path is invalid if 'Continuous Capture' is provided with 'true' or 'false'. A valid local path on the targeting VM. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures. Required if no storage ID is provided, otherwise optional." + }, + "localPath": { + "type": "string", + "description": "This path is valid if 'Continuous Capture' is provided with 'true' or 'false' and required if no storage ID is provided, otherwise optional. Must include the name of the capture file (*.cap). For linux virtual machine it must start with /var/captures." + } + } + }, + "ProtocolConfiguration": { + "type": "object", + "description": "Configuration of the protocol.", + "properties": { + "HTTPConfiguration": { + "$ref": "#/definitions/HTTPConfiguration", + "description": "HTTP configuration of the connectivity check." + } + } + }, + "QueryTroubleshootingParameters": { + "type": "object", + "description": "Parameters that define the resource to query the troubleshooting result.", + "properties": { + "targetResourceId": { + "type": "string", + "description": "The target resource ID to query the troubleshooting result." + } + }, + "required": [ + "targetResourceId" + ] + }, + "SecurityGroupNetworkInterface": { + "type": "object", + "description": "Network interface and all its associated security rules.", + "properties": { + "id": { + "type": "string", + "description": "ID of the network interface." + }, + "securityRuleAssociations": { + "$ref": "#/definitions/SecurityRuleAssociations", + "description": "All security rules associated with the network interface." + } + } + }, + "SecurityGroupViewParameters": { + "type": "object", + "description": "Parameters that define the VM to check security groups for.", + "properties": { + "targetResourceId": { + "type": "string", + "description": "ID of the target VM." + } + }, + "required": [ + "targetResourceId" + ] + }, + "SecurityGroupViewResult": { + "type": "object", + "description": "The information about security rules applied to the specified VM.", + "properties": { + "networkInterfaces": { + "type": "array", + "description": "List of network interfaces on the specified VM.", + "items": { + "$ref": "#/definitions/SecurityGroupNetworkInterface" + } + } + } + }, + "SecurityRuleAssociations": { + "type": "object", + "description": "All security rules associated with the network interface.", + "properties": { + "networkInterfaceAssociation": { + "$ref": "#/definitions/NetworkInterfaceAssociation", + "description": "Network interface and it's custom security rules." + }, + "subnetAssociation": { + "$ref": "#/definitions/SubnetAssociation", + "description": "Subnet and it's custom security rules." + }, + "defaultSecurityRules": { + "type": "array", + "description": "Collection of default security rules of the network security group.", + "items": { + "$ref": "./virtualNetwork.json#/definitions/Common.SecurityRule" + } + }, + "effectiveSecurityRules": { + "type": "array", + "description": "Collection of effective security rules.", + "items": { + "$ref": "./virtualNetwork.json#/definitions/EffectiveNetworkSecurityRule" + } + } + } + }, + "SubnetAssociation": { + "type": "object", + "description": "Subnet and it's custom security rules.", + "properties": { + "id": { + "type": "string", + "description": "Subnet ID.", + "readOnly": true + }, + "securityRules": { + "type": "array", + "description": "Collection of custom security rules.", + "items": { + "$ref": "./virtualNetwork.json#/definitions/Common.SecurityRule" + } + } + } + }, + "Topology": { + "type": "object", + "description": "Topology of the specified resource group.", + "properties": { + "id": { + "type": "string", + "description": "GUID representing the operation id.", + "readOnly": true + }, + "createdDateTime": { + "type": "string", + "format": "date-time", + "description": "The datetime when the topology was initially created for the resource group.", + "readOnly": true + }, + "lastModified": { + "type": "string", + "format": "date-time", + "description": "The datetime when the topology was last modified.", + "readOnly": true + }, + "resources": { + "type": "array", + "description": "A list of topology resources.", + "items": { + "$ref": "#/definitions/TopologyResource" + } + } + } + }, + "TopologyAssociation": { + "type": "object", + "description": "Resources that have an association with the parent resource.", + "properties": { + "name": { + "type": "string", + "description": "The name of the resource that is associated with the parent resource." + }, + "resourceId": { + "type": "string", + "description": "The ID of the resource that is associated with the parent resource." + }, + "associationType": { + "$ref": "./common.json#/definitions/AssociationType", + "description": "The association type of the child resource to the parent resource." + } + } + }, + "TopologyParameters": { + "type": "object", + "description": "Parameters that define the representation of topology.", + "properties": { + "targetResourceGroupName": { + "type": "string", + "description": "The name of the target resource group to perform topology on." + }, + "targetVirtualNetwork": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to the Virtual Network resource." + }, + "targetSubnet": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to the Subnet resource." + } + } + }, + "TopologyResource": { + "type": "object", + "description": "The network resource topology information for the given resource group.", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource." + }, + "id": { + "type": "string", + "description": "ID of the resource." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "associations": { + "type": "array", + "description": "Holds the associations the resource has with other resources in the resource group.", + "items": { + "$ref": "#/definitions/TopologyAssociation" + } + } + } + }, + "TroubleshootingDetails": { + "type": "object", + "description": "Information gained from troubleshooting of specified resource.", + "properties": { + "id": { + "type": "string", + "description": "The id of the get troubleshoot operation." + }, + "reasonType": { + "type": "string", + "description": "Reason type of failure." + }, + "summary": { + "type": "string", + "description": "A summary of troubleshooting." + }, + "detail": { + "type": "string", + "description": "Details on troubleshooting results." + }, + "recommendedActions": { + "type": "array", + "description": "List of recommended actions.", + "items": { + "$ref": "#/definitions/TroubleshootingRecommendedActions" + } + } + } + }, + "TroubleshootingParameters": { + "type": "object", + "description": "Parameters that define the resource to troubleshoot.", + "properties": { + "targetResourceId": { + "type": "string", + "description": "The target resource to troubleshoot." + }, + "properties": { + "$ref": "#/definitions/TroubleshootingProperties", + "description": "Properties of the troubleshooting resource.", + "x-ms-client-flatten": true + } + }, + "required": [ + "targetResourceId", + "properties" + ] + }, + "TroubleshootingProperties": { + "type": "object", + "description": "Storage location provided for troubleshoot.", + "properties": { + "storageId": { + "type": "string", + "description": "The ID for the storage account to save the troubleshoot result." + }, + "storagePath": { + "type": "string", + "description": "The path to the blob to save the troubleshoot result in." + } + }, + "required": [ + "storageId", + "storagePath" + ] + }, + "TroubleshootingRecommendedActions": { + "type": "object", + "description": "Recommended actions based on discovered issues.", + "properties": { + "actionId": { + "type": "string", + "description": "ID of the recommended action." + }, + "actionText": { + "type": "string", + "description": "Description of recommended actions." + }, + "actionUri": { + "type": "string", + "description": "The uri linking to a documentation for the recommended troubleshooting actions." + }, + "actionUriText": { + "type": "string", + "description": "The information from the URI for the recommended troubleshooting actions." + } + } + }, + "TroubleshootingResult": { + "type": "object", + "description": "Troubleshooting information gained from specified resource.", + "properties": { + "startTime": { + "type": "string", + "format": "date-time", + "description": "The start time of the troubleshooting." + }, + "endTime": { + "type": "string", + "format": "date-time", + "description": "The end time of the troubleshooting." + }, + "code": { + "type": "string", + "description": "The result code of the troubleshooting." + }, + "results": { + "type": "array", + "description": "Information from troubleshooting.", + "items": { + "$ref": "#/definitions/TroubleshootingDetails" + } + } + } + }, + "VerificationIPFlowParameters": { + "type": "object", + "description": "Parameters that define the IP flow to be verified.", + "properties": { + "targetResourceId": { + "type": "string", + "description": "The ID of the target resource to perform next-hop on." + }, + "direction": { + "$ref": "./common.json#/definitions/Direction", + "description": "The direction of the packet represented as a 5-tuple." + }, + "protocol": { + "$ref": "./common.json#/definitions/IpFlowProtocol", + "description": "Protocol to be verified on." + }, + "localPort": { + "type": "string", + "description": "The local port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction." + }, + "remotePort": { + "type": "string", + "description": "The remote port. Acceptable values are a single integer in the range (0-65535). Support for * for the source port, which depends on the direction." + }, + "localIPAddress": { + "type": "string", + "description": "The local IP address. Acceptable values are valid IPv4 addresses." + }, + "remoteIPAddress": { + "type": "string", + "description": "The remote IP address. Acceptable values are valid IPv4 addresses." + }, + "targetNicResourceId": { + "type": "string", + "description": "The NIC ID. (If VM has multiple NICs and IP forwarding is enabled on any of them, then this parameter must be specified. Otherwise optional)." + } + }, + "required": [ + "targetResourceId", + "direction", + "protocol", + "localPort", + "remotePort", + "localIPAddress", + "remoteIPAddress" + ] + }, + "VerificationIPFlowResult": { + "type": "object", + "description": "Results of IP flow verification on the target resource.", + "properties": { + "access": { + "$ref": "./common.json#/definitions/Access", + "description": "Indicates whether the traffic is allowed or denied." + }, + "ruleName": { + "type": "string", + "description": "Name of the rule. If input is not matched against any security rule, it is not displayed." + } + } + } + }, + "parameters": {} +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/networkingOperations.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/networkingOperations.json new file mode 100644 index 000000000000..813e32478836 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/networkingOperations.json @@ -0,0 +1,305 @@ +{ + "swagger": "2.0", + "info": { + "title": "WebApplicationFirewallManagement", + "version": "2025-07-01", + "description": "APIs to manage web application firewall rules.", + "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": "Operations" + } + ], + "paths": { + "/providers/Microsoft.Network/operations": { + "get": { + "operationId": "Operations_List", + "tags": [ + "Operations" + ], + "description": "Lists all of the available Network Rest API operations.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/OperationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get a list of operations for a resource provider": { + "$ref": "./examples/OperationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + } + }, + "definitions": { + "Availability": { + "type": "object", + "description": "Availability of the metric.", + "properties": { + "timeGrain": { + "type": "string", + "description": "The time grain of the availability." + }, + "retention": { + "type": "string", + "description": "The retention of the availability." + }, + "blobDuration": { + "type": "string", + "description": "Duration of the availability blob." + } + } + }, + "Dimension": { + "type": "object", + "description": "Dimension of the metric.", + "properties": { + "name": { + "type": "string", + "description": "The name of the dimension." + }, + "displayName": { + "type": "string", + "description": "The display name of the dimension." + }, + "internalName": { + "type": "string", + "description": "The internal name of the dimension." + } + } + }, + "LogSpecification": { + "type": "object", + "description": "Description of logging specification.", + "properties": { + "name": { + "type": "string", + "description": "The name of the specification." + }, + "displayName": { + "type": "string", + "description": "The display name of the specification." + }, + "blobDuration": { + "type": "string", + "description": "Duration of the blob." + } + } + }, + "MetricSpecification": { + "type": "object", + "description": "Description of metrics specification.", + "properties": { + "name": { + "type": "string", + "description": "The name of the metric." + }, + "displayName": { + "type": "string", + "description": "The display name of the metric." + }, + "displayDescription": { + "type": "string", + "description": "The description of the metric." + }, + "unit": { + "type": "string", + "description": "Units the metric to be displayed in." + }, + "aggregationType": { + "type": "string", + "description": "The aggregation type." + }, + "availabilities": { + "type": "array", + "description": "List of availability.", + "items": { + "$ref": "#/definitions/Availability" + } + }, + "enableRegionalMdmAccount": { + "type": "boolean", + "description": "Whether regional MDM account enabled." + }, + "fillGapWithZero": { + "type": "boolean", + "description": "Whether gaps would be filled with zeros." + }, + "metricFilterPattern": { + "type": "string", + "description": "Pattern for the filter of the metric." + }, + "dimensions": { + "type": "array", + "description": "List of dimensions.", + "items": { + "$ref": "#/definitions/Dimension" + } + }, + "isInternal": { + "type": "boolean", + "description": "Whether the metric is internal." + }, + "sourceMdmAccount": { + "type": "string", + "description": "The source MDM account." + }, + "sourceMdmNamespace": { + "type": "string", + "description": "The source MDM namespace." + }, + "resourceIdDimensionNameOverride": { + "type": "string", + "description": "The resource Id dimension name override." + } + } + }, + "Operation": { + "type": "object", + "description": "Network REST API operation definition.", + "properties": { + "name": { + "type": "string", + "description": "Operation name: {provider}/{resource}/{operation}." + }, + "display": { + "$ref": "#/definitions/OperationDisplay", + "description": "Display metadata associated with the operation." + }, + "origin": { + "type": "string", + "description": "Origin of the operation." + }, + "properties": { + "$ref": "#/definitions/OperationPropertiesFormat", + "description": "Operation properties format.", + "x-ms-client-flatten": true + } + } + }, + "OperationDisplay": { + "type": "object", + "description": "Display metadata associated with the operation.", + "properties": { + "provider": { + "type": "string", + "description": "Service provider: Microsoft Network." + }, + "resource": { + "type": "string", + "description": "Resource on which the operation is performed." + }, + "operation": { + "type": "string", + "description": "Type of the operation: get, read, delete, etc." + }, + "description": { + "type": "string", + "description": "Description of the operation." + } + } + }, + "OperationListResult": { + "type": "object", + "description": "Paged collection of Operation items", + "properties": { + "value": { + "type": "array", + "description": "The Operation items on this page", + "items": { + "$ref": "#/definitions/Operation" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "OperationPropertiesFormat": { + "type": "object", + "description": "Description of operation properties format.", + "properties": { + "serviceSpecification": { + "$ref": "#/definitions/OperationPropertiesFormatServiceSpecification", + "description": "Specification of the service." + } + } + }, + "OperationPropertiesFormatServiceSpecification": { + "type": "object", + "description": "Specification of the service.", + "properties": { + "metricSpecifications": { + "type": "array", + "description": "Operation service specification.", + "items": { + "$ref": "#/definitions/MetricSpecification" + } + }, + "logSpecifications": { + "type": "array", + "description": "Operation log specification.", + "items": { + "$ref": "#/definitions/LogSpecification" + } + } + } + } + }, + "parameters": {} +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/serviceGateway.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/serviceGateway.json new file mode 100644 index 000000000000..d8a84123d546 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/serviceGateway.json @@ -0,0 +1,930 @@ +{ + "swagger": "2.0", + "info": { + "title": "WebApplicationFirewallManagement", + "version": "2025-07-01", + "description": "APIs to manage web application firewall rules.", + "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": "ServiceGateways" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/serviceGateways": { + "get": { + "operationId": "ServiceGateways_ListAll", + "tags": [ + "ServiceGateways" + ], + "description": "Gets all the service gateways in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ServiceGatewayListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all load balancers": { + "$ref": "./examples/ServiceGatewayListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceGateways": { + "get": { + "operationId": "ServiceGateways_List", + "tags": [ + "ServiceGateways" + ], + "description": "Gets all the service gateways in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ServiceGatewayListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List service gateway in resource group": { + "$ref": "./examples/ServiceGatewayList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceGateways/{serviceGatewayName}": { + "get": { + "operationId": "ServiceGateways_Get", + "tags": [ + "ServiceGateways" + ], + "description": "Gets the specified service gateway.", + "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": "serviceGatewayName", + "in": "path", + "description": "The name of the service gateway.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ServiceGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get load balancer": { + "$ref": "./examples/ServiceGatewayGet.json" + } + } + }, + "put": { + "operationId": "ServiceGateways_CreateOrUpdate", + "tags": [ + "ServiceGateways" + ], + "description": "Creates or updates a service gateway.", + "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": "serviceGatewayName", + "in": "path", + "description": "The name of the service gateway.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update service gateway operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ServiceGateway" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ServiceGateway' update operation succeeded", + "schema": { + "$ref": "#/definitions/ServiceGateway" + } + }, + "201": { + "description": "Resource 'ServiceGateway' create operation succeeded", + "schema": { + "$ref": "#/definitions/ServiceGateway" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create service gateway": { + "$ref": "./examples/ServiceGatewayCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ServiceGateway" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ServiceGateways_UpdateTags", + "tags": [ + "ServiceGateways" + ], + "description": "Updates a service gateway tags.", + "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": "serviceGatewayName", + "in": "path", + "description": "The name of the service gateway.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update service gateway tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ServiceGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update service gateway tags": { + "$ref": "./examples/ServiceGatewayUpdateTags.json" + } + } + }, + "delete": { + "operationId": "ServiceGateways_Delete", + "tags": [ + "ServiceGateways" + ], + "description": "Deletes the specified service gateway.", + "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": "serviceGatewayName", + "in": "path", + "description": "The name of the service gateway.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete service gateway": { + "$ref": "./examples/ServiceGatewayDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceGateways/{serviceGatewayName}/addressLocations": { + "get": { + "operationId": "ServiceGateways_GetAddressLocations", + "tags": [ + "ServiceGateways" + ], + "description": "Get address locations in service gateway.", + "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": "serviceGatewayName", + "in": "path", + "description": "The name of the service gateway.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GetServiceGatewayAddressLocationsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get address locations in service gateway": { + "$ref": "./examples/ServiceGatewayGetAddressLocationsResponse.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceGateways/{serviceGatewayName}/services": { + "get": { + "operationId": "ServiceGateways_GetServices", + "tags": [ + "ServiceGateways" + ], + "description": "Get Services in service gateway.", + "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": "serviceGatewayName", + "in": "path", + "description": "The name of the service gateway.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]*$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/GetServiceGatewayServicesResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get services in service gateway": { + "$ref": "./examples/ServiceGatewayGetServicesResponse.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceGateways/{serviceGatewayName}/updateAddressLocations": { + "post": { + "operationId": "ServiceGateways_UpdateAddressLocations", + "tags": [ + "ServiceGateways" + ], + "description": "Creates or updates address locations within the service gateway.\n\nThe request supports both full and partial update modes at two levels: location and address.\n\nFull update replaces all existing data.\n\nPartial update modifies only the specified entries:\n\nFor location-level partial updates, if no address is provided, the existing address will be deleted.\n\nFor address-level partial updates, if no services are provided, the existing services will be considered for deletion.", + "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": "serviceGatewayName", + "in": "path", + "description": "The name of the service gateway.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or updates address locations in service gateway operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ServiceGatewayUpdateAddressLocationsRequest" + } + } + ], + "responses": { + "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." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Full Update: Create, update, or delete address locations in the service gateway.": { + "$ref": "./examples/ServiceGatewayFullUpdateAddressLocationsRequest.json" + }, + "Partial Update: Create, update, or delete address locations in the service gateway.": { + "$ref": "./examples/ServiceGatewayPartialUpdateAddressLocationsRequest.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/serviceGateways/{serviceGatewayName}/updateServices": { + "post": { + "operationId": "ServiceGateways_UpdateServices", + "tags": [ + "ServiceGateways" + ], + "description": "Creates, updates, or deletes services within the service gateway.\nThe request supports both full and partial update modes at the service level.\n\nFull update replaces all existing services with the new list provided in the request.\nPartial update modifies only the specified services.", + "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": "serviceGatewayName", + "in": "path", + "description": "The name of the service gateway.", + "required": true, + "type": "string", + "pattern": "^[a-zA-Z0-9-]*$" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or updates services in service gateway operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ServiceGatewayUpdateServicesRequest" + } + } + ], + "responses": { + "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." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create or full update services in service gateway": { + "$ref": "./examples/ServiceGatewayUpdateServicesRequest.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "GetServiceGatewayAddressLocationsResult": { + "type": "object", + "description": "Response for get service gateway address locations.", + "properties": { + "value": { + "type": "array", + "description": "The ServiceGatewayAddressLocationResponse items on this page", + "items": { + "$ref": "#/definitions/ServiceGatewayAddressLocationResponse" + }, + "x-ms-identifiers": [ + "addressLocation" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "GetServiceGatewayServicesResult": { + "type": "object", + "description": "Response for get service gateway services.", + "properties": { + "value": { + "type": "array", + "description": "The ServiceGatewayService items on this page", + "items": { + "$ref": "#/definitions/ServiceGatewayService" + }, + "x-ms-identifiers": [ + "name" + ] + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "RouteTargetAddressPropertiesFormat": { + "type": "object", + "description": "Properties of route target address", + "properties": { + "subnet": { + "$ref": "./virtualNetwork.json#/definitions/Common.Subnet", + "description": "The reference to the subnet resource." + }, + "privateIPAddress": { + "type": "string", + "description": "The private IPv4 or IPv6 address of the service gateway route target address." + }, + "privateIPAllocationMethod": { + "$ref": "./common.json#/definitions/Common.IPAllocationMethod", + "description": "The Private IP allocation method." + } + } + }, + "ServiceGateway": { + "type": "object", + "description": "ServiceGateway resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ServiceGatewayPropertiesFormat", + "description": "Properties of service gateway.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "sku": { + "$ref": "#/definitions/ServiceGatewaySku", + "description": "The service gateway SKU." + }, + "zones": { + "type": "array", + "description": "A list of availability zones denoting the zone in which service gateway should be deployed.\n\n- The zone values must be provided as strings representing numeric identifiers like \"1\", \"2\", \"3\" etc.", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/SecurityPerimeterTrackedResource" + } + ] + }, + "ServiceGatewayAddress": { + "type": "object", + "description": "Properties of the service gateway address.", + "properties": { + "address": { + "type": "string", + "description": "Address to update" + }, + "services": { + "type": "array", + "description": "Collection of services in address.", + "items": { + "type": "string" + } + } + } + }, + "ServiceGatewayAddressLocation": { + "type": "object", + "description": "Properties of the service gateway address location.", + "properties": { + "addressLocation": { + "type": "string", + "description": "Location to update" + }, + "addressUpdateAction": { + "$ref": "./common.json#/definitions/AddressUpdateAction", + "description": "Specifies the type of update operation to perform on addresses within the address location of service gateway.\n\n- FullUpdate: Replaces all existing address data with the new list provided in the request. Any previously defined addresses not included will be removed.\n- PartialUpdate: Updates only the specified addresses." + }, + "addresses": { + "type": "array", + "description": "An array of addresses to create or update in locations.", + "items": { + "$ref": "#/definitions/ServiceGatewayAddress" + }, + "x-ms-identifiers": [ + "address" + ] + } + } + }, + "ServiceGatewayAddressLocationResponse": { + "type": "object", + "description": "Properties of the service gateway address location.", + "properties": { + "addressLocation": { + "type": "string", + "description": "Location to update" + }, + "addresses": { + "type": "array", + "description": "An array of addresses to create or update in locations.", + "items": { + "$ref": "#/definitions/ServiceGatewayAddress" + }, + "x-ms-identifiers": [ + "address" + ] + } + } + }, + "ServiceGatewayListResult": { + "type": "object", + "description": "The response of a ServiceGateway list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ServiceGateway items on this page", + "items": { + "$ref": "#/definitions/ServiceGateway" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ServiceGatewayPropertiesFormat": { + "type": "object", + "description": "Properties of the service gateway.", + "properties": { + "virtualNetwork": { + "$ref": "./virtualNetwork.json#/definitions/Common.VirtualNetwork", + "description": "Reference to an existing virtual network." + }, + "routeTargetAddress": { + "$ref": "#/definitions/RouteTargetAddressPropertiesFormat", + "description": "Route Target address of Service gateway" + }, + "routeTargetAddressV6": { + "$ref": "#/definitions/RouteTargetAddressPropertiesFormat", + "description": "Route Target address V6 of Service gateway" + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the service gateway resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the service gateway resource.", + "readOnly": true + } + } + }, + "ServiceGatewayService": { + "type": "object", + "description": "Properties of the service gateway service.", + "properties": { + "name": { + "type": "string", + "description": "Name of the service" + }, + "properties": { + "$ref": "#/definitions/ServiceGatewayServicePropertiesFormat", + "description": "Properties of service gateway service.", + "x-ms-client-flatten": true + } + } + }, + "ServiceGatewayServicePropertiesFormat": { + "type": "object", + "description": "Properties of the service gateway service.", + "properties": { + "serviceType": { + "$ref": "./common.json#/definitions/ServiceType", + "description": "Name of the service." + }, + "isDefault": { + "type": "boolean", + "description": "Set to true to mark default service for inbound or outbound." + }, + "loadBalancerBackendPools": { + "type": "array", + "description": "An array of load balancer backend address pools.", + "items": { + "$ref": "./loadBalancer.json#/definitions/Common.BackendAddressPool" + } + }, + "publicNatGatewayId": { + "type": "string", + "description": "Azure Resource Id of public natgateway." + } + } + }, + "ServiceGatewayServiceRequest": { + "type": "object", + "description": "Properties of the service gateway services request.", + "properties": { + "isDelete": { + "type": "boolean", + "description": "Set to true to mark the service for deletion." + }, + "service": { + "$ref": "#/definitions/ServiceGatewayService", + "description": "Service of service gateway." + } + } + }, + "ServiceGatewaySku": { + "type": "object", + "description": "SKU of a service gateway.", + "properties": { + "name": { + "$ref": "./common.json#/definitions/ServiceGatewaySkuName", + "description": "Name of a service gateway SKU." + }, + "tier": { + "$ref": "./common.json#/definitions/ServiceGatewaySkuTier", + "description": "Tier of a service gateway SKU." + } + } + }, + "ServiceGatewayUpdateAddressLocationsRequest": { + "type": "object", + "description": "Properties of the service gateway update address locations request.", + "properties": { + "action": { + "$ref": "./common.json#/definitions/UpdateAction", + "description": "Specifies the type of update operation to perform on address locations within the service gateway.\n\n- FullUpdate: Replaces all existing address location data with the new list provided in the request. Any previously defined locations not included will be removed.\n- PartialUpdate: Updates only the specified address locations." + }, + "addressLocations": { + "type": "array", + "description": "An array of address locations to create or update.", + "items": { + "$ref": "#/definitions/ServiceGatewayAddressLocation" + }, + "x-ms-identifiers": [ + "addressLocation" + ] + } + } + }, + "ServiceGatewayUpdateServicesRequest": { + "type": "object", + "description": "Properties of the service gateway update services request.", + "properties": { + "action": { + "$ref": "./common.json#/definitions/ServiceUpdateAction", + "description": "Specifies the type of update operation to perform on services within the service gateway.\n\n- FullUpdate: Replaces all existing services with the new list provided in the request. Any previously defined services not included will be removed.\n- PartialUpdate: Updates only the specified services." + }, + "serviceRequests": { + "type": "array", + "description": "Collection of service updates.", + "items": { + "$ref": "#/definitions/ServiceGatewayServiceRequest" + }, + "x-ms-identifiers": [ + "service/name" + ] + } + } + } + }, + "parameters": {} +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/virtualNetwork.json new file mode 100644 index 000000000000..6db8552b6cfb --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/virtualNetwork.json @@ -0,0 +1,21104 @@ +{ + "swagger": "2.0", + "info": { + "title": "WebApplicationFirewallManagement", + "version": "2025-07-01", + "description": "APIs to manage web application firewall rules.", + "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": "ApplicationSecurityGroups" + }, + { + "name": "applicationSecurityGroups" + }, + { + "name": "BastionHosts" + }, + { + "name": "BastionShareableLink" + }, + { + "name": "NetworkInterfaces" + }, + { + "name": "PublicIPAddresses" + }, + { + "name": "VipSwap" + }, + { + "name": "CustomIpPrefixes" + }, + { + "name": "ddosCustomPolicies" + }, + { + "name": "DdosProtectionPlans" + }, + { + "name": "DscpConfiguration" + }, + { + "name": "DscpConfigurations" + }, + { + "name": "IpamPools" + }, + { + "name": "StaticCidrs" + }, + { + "name": "IpAllocations" + }, + { + "name": "IpGroups" + }, + { + "name": "NatGateways" + }, + { + "name": "Network Interfaces" + }, + { + "name": "NetworkProfiles" + }, + { + "name": "NetworkSecurityGroups" + }, + { + "name": "SecurityRules" + }, + { + "name": "ReachabilityAnalysisIntents" + }, + { + "name": "ReachabilityAnalysisIntent" + }, + { + "name": "VerifierWorkspaces" + }, + { + "name": "ReachabilityAnalysisRuns" + }, + { + "name": "NetworkVirtualAppliances" + }, + { + "name": "VirtualApplianceSites" + }, + { + "name": "VirtualApplianceSkus" + }, + { + "name": "PrivateEndpoints" + }, + { + "name": "PrivateDnsZoneGroups" + }, + { + "name": "PrivateLinkServices" + }, + { + "name": "PrivateLinkService" + }, + { + "name": "PublicIPPrefixes" + }, + { + "name": "RouteTables" + }, + { + "name": "Routes" + }, + { + "name": "SecurityPartnerProviders" + }, + { + "name": "VirtualNetworks" + }, + { + "name": "Subnets" + }, + { + "name": "VirtualNetworkPeerings" + }, + { + "name": "VirtualRouters" + }, + { + "name": "VirtualRouterPeerings" + }, + { + "name": "Usages" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/IpAllocations": { + "get": { + "operationId": "IpAllocations_List", + "tags": [ + "IpAllocations" + ], + "description": "Gets all IpAllocations in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpAllocationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all IpAllocations": { + "$ref": "./examples/IpAllocationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/applicationSecurityGroups": { + "get": { + "operationId": "ApplicationSecurityGroups_ListAll", + "tags": [ + "ApplicationSecurityGroups" + ], + "description": "Gets all application security groups in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationSecurityGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all application security groups": { + "$ref": "./examples/ApplicationSecurityGroupListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/bastionHosts": { + "get": { + "operationId": "BastionHosts_List", + "tags": [ + "BastionHosts" + ], + "description": "Lists all Bastion Hosts in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BastionHostListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all Bastion Hosts for a given subscription": { + "$ref": "./examples/BastionHostListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/customIpPrefixes": { + "get": { + "operationId": "CustomIPPrefixes_ListAll", + "tags": [ + "CustomIpPrefixes" + ], + "description": "Gets all the custom IP prefixes in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CustomIpPrefixListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all custom IP prefixes": { + "$ref": "./examples/CustomIpPrefixListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosCustomPolicies": { + "get": { + "operationId": "DdosCustomPolicies_ListAll", + "tags": [ + "ddosCustomPolicies" + ], + "description": "Gets all the DDoS custom policies in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DdosCustomPolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all DDoS custom policies in subscription": { + "$ref": "./examples/DdosCustomPolicyListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ddosProtectionPlans": { + "get": { + "operationId": "DdosProtectionPlans_List", + "tags": [ + "DdosProtectionPlans" + ], + "description": "Gets all DDoS protection plans in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DdosProtectionPlanListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all DDoS protection plans": { + "$ref": "./examples/DdosProtectionPlanListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/dscpConfigurations": { + "get": { + "operationId": "DscpConfiguration_ListAll", + "tags": [ + "DscpConfigurations" + ], + "description": "Gets all dscp configurations in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DscpConfigurationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all network interfaces": { + "$ref": "./examples/DscpConfigurationListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/ipGroups": { + "get": { + "operationId": "IpGroups_List", + "tags": [ + "IpGroups" + ], + "description": "Gets all IpGroups in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "List_IpGroups": { + "$ref": "./examples/IpGroupsListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { + "get": { + "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServices", + "tags": [ + "PrivateLinkServices" + ], + "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "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/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get list of private link service id that can be linked to a private end point with auto approved": { + "$ref": "./examples/AutoApprovedPrivateLinkServicesGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableDelegations": { + "get": { + "operationId": "AvailableDelegations_List", + "description": "Gets all of the available subnet delegations for this subscription in this region.", + "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/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AvailableDelegationsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get available delegations": { + "$ref": "./examples/AvailableDelegationsSubscriptionGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { + "get": { + "operationId": "AvailablePrivateEndpointTypes_List", + "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", + "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/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AvailablePrivateEndpointTypesResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get available PrivateEndpoint types": { + "$ref": "./examples/AvailablePrivateEndpointTypesGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/availableServiceAliases": { + "get": { + "operationId": "AvailableServiceAliases_List", + "description": "Gets all available service aliases for this subscription in this region.", + "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/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AvailableServiceAliasesResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get available service aliases": { + "$ref": "./examples/AvailableServiceAliasesList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkDnsNameAvailability": { + "get": { + "operationId": "CheckDnsNameAvailability", + "description": "Checks whether a domain name in the cloudapp.azure.com zone is available for use.", + "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/LocationParameter" + }, + { + "name": "domainNameLabel", + "in": "query", + "description": "The domain name to be verified. It must conform to the following regular expression: ^[a-z][a-z0-9-]{1,61}[a-z0-9]$.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/DnsNameAvailabilityResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Check Dns Name Availability": { + "$ref": "./examples/CheckDnsNameAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": { + "post": { + "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibility", + "tags": [ + "PrivateLinkServices" + ], + "description": "Checks whether the subscription is visible to private link service.", + "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/LocationParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckPrivateLinkServiceVisibilityRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/PrivateLinkServiceVisibility" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Check private link service visibility": { + "$ref": "./examples/CheckPrivateLinkServiceVisibility.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/PrivateLinkServiceVisibility" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTagDetails": { + "get": { + "operationId": "ServiceTagInformation_List", + "description": "Gets a list of service tag information resources with pagination.", + "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/LocationParameter" + }, + { + "name": "noAddressPrefixes", + "in": "query", + "description": "Do not return address prefixes for the tag(s).", + "required": false, + "type": "boolean" + }, + { + "name": "tagName", + "in": "query", + "description": "Return tag information for a particular tag.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ServiceTagInformationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get list of service tags": { + "$ref": "./examples/ServiceTagInformationListResult.json" + }, + "Get list of service tags with no address prefixes": { + "$ref": "./examples/ServiceTagInformationListResultWithNoAddressPrefixes.json" + }, + "Get list of service tags with tag name.": { + "$ref": "./examples/ServiceTagInformationListResultWithTagname.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/serviceTags": { + "get": { + "operationId": "ServiceTags_List", + "description": "Gets a list of service tag information resources.", + "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/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/ServiceTagsListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get list of service tags": { + "$ref": "./examples/ServiceTagsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/usages": { + "get": { + "operationId": "Usages_List", + "tags": [ + "Usages" + ], + "description": "List network usages for a subscription.", + "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/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/UsagesListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List usages": { + "$ref": "./examples/UsageList.json" + }, + "List usages spaced location": { + "$ref": "./examples/UsageListSpacedLocation.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/virtualNetworkAvailableEndpointServices": { + "get": { + "operationId": "AvailableEndpointServices_List", + "description": "List what values of endpoint services are available for use.", + "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/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/EndpointServicesListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "EndpointServicesList": { + "$ref": "./examples/EndpointServicesList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/natGateways": { + "get": { + "operationId": "NatGateways_ListAll", + "tags": [ + "NatGateways" + ], + "description": "Gets all the Nat Gateways in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NatGatewayListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all nat gateways": { + "$ref": "./examples/NatGatewayListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkInterfaces": { + "get": { + "operationId": "NetworkInterfaces_ListAll", + "tags": [ + "NetworkInterfaces" + ], + "description": "Gets all network interfaces in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all network interfaces": { + "$ref": "./examples/NetworkInterfaceListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkProfiles": { + "get": { + "operationId": "NetworkProfiles_ListAll", + "tags": [ + "NetworkProfiles" + ], + "description": "Gets all the network profiles in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkProfileListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all network profiles": { + "$ref": "./examples/NetworkProfileListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkSecurityGroups": { + "get": { + "operationId": "NetworkSecurityGroups_ListAll", + "tags": [ + "NetworkSecurityGroups" + ], + "description": "Gets all network security groups in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkSecurityGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all network security groups": { + "$ref": "./examples/NetworkSecurityGroupListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus": { + "get": { + "operationId": "VirtualApplianceSkus_List", + "tags": [ + "VirtualApplianceSkus" + ], + "description": "List all SKUs available for a virtual appliance.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkVirtualApplianceSkuListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkVirtualApplianceSkuListResult": { + "$ref": "./examples/NetworkVirtualApplianceSkuList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualApplianceSkus/{skuName}": { + "get": { + "operationId": "VirtualApplianceSkus_Get", + "tags": [ + "VirtualApplianceSkus" + ], + "description": "Retrieves a single available sku for network virtual appliance.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "skuName", + "in": "path", + "description": "Name of the Sku.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkVirtualApplianceSku" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkVirtualApplianceSkuGet": { + "$ref": "./examples/NetworkVirtualApplianceSkuGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/networkVirtualAppliances": { + "get": { + "operationId": "NetworkVirtualAppliances_List", + "tags": [ + "NetworkVirtualAppliances" + ], + "description": "Gets all Network Virtual Appliances in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkVirtualApplianceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all Network Virtual Appliances for a given subscription": { + "$ref": "./examples/NetworkVirtualApplianceListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateEndpoints": { + "get": { + "operationId": "PrivateEndpoints_ListBySubscription", + "tags": [ + "PrivateEndpoints" + ], + "description": "Gets all private endpoints in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "List all private endpoints": { + "$ref": "./examples/PrivateEndpointListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/privateLinkServices": { + "get": { + "operationId": "PrivateLinkServices_ListBySubscription", + "tags": [ + "PrivateLinkServices" + ], + "description": "Gets all private link service in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateLinkServiceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "List all private list service": { + "$ref": "./examples/PrivateLinkServiceListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPAddresses": { + "get": { + "operationId": "PublicIPAddresses_ListAll", + "tags": [ + "PublicIPAddresses" + ], + "description": "Gets all the public IP addresses in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PublicIPAddressListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all public IP addresses": { + "$ref": "./examples/PublicIpAddressListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/publicIPPrefixes": { + "get": { + "operationId": "PublicIPPrefixes_ListAll", + "tags": [ + "PublicIPPrefixes" + ], + "description": "Gets all the public IP prefixes in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PublicIPPrefixListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all public IP prefixes": { + "$ref": "./examples/PublicIpPrefixListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/routeTables": { + "get": { + "operationId": "RouteTables_ListAll", + "tags": [ + "RouteTables" + ], + "description": "Gets all route tables in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RouteTableListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all route tables": { + "$ref": "./examples/RouteTableListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/securityPartnerProviders": { + "get": { + "operationId": "SecurityPartnerProviders_List", + "tags": [ + "SecurityPartnerProviders" + ], + "description": "Gets all the Security Partner Providers in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SecurityPartnerProviderListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all Security Partner Providers for a given subscription": { + "$ref": "./examples/SecurityPartnerProviderListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworks": { + "get": { + "operationId": "VirtualNetworks_ListAll", + "tags": [ + "VirtualNetworks" + ], + "description": "Gets all virtual networks in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all virtual networks": { + "$ref": "./examples/VirtualNetworkListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualRouters": { + "get": { + "operationId": "VirtualRouters_List", + "tags": [ + "VirtualRouters" + ], + "description": "Gets all the Virtual Routers in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualRouterListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "List all Virtual Routers for a given subscription": { + "$ref": "./examples/VirtualRouterListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations": { + "get": { + "operationId": "IpAllocations_ListByResourceGroup", + "tags": [ + "IpAllocations" + ], + "description": "Gets all IpAllocations in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpAllocationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List IpAllocations in resource group": { + "$ref": "./examples/IpAllocationListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/IpAllocations/{ipAllocationName}": { + "get": { + "operationId": "IpAllocations_Get", + "tags": [ + "IpAllocations" + ], + "description": "Gets the specified IpAllocation by 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": "ipAllocationName", + "in": "path", + "description": "The name of the IpAllocation.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpAllocation" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get IpAllocation": { + "$ref": "./examples/IpAllocationGet.json" + } + } + }, + "put": { + "operationId": "IpAllocations_CreateOrUpdate", + "tags": [ + "IpAllocations" + ], + "description": "Creates or updates an IpAllocation in the specified 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": "ipAllocationName", + "in": "path", + "description": "The name of the IpAllocation.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update virtual network operation.", + "required": true, + "schema": { + "$ref": "#/definitions/IpAllocation" + } + } + ], + "responses": { + "200": { + "description": "Resource 'IpAllocation' update operation succeeded", + "schema": { + "$ref": "#/definitions/IpAllocation" + } + }, + "201": { + "description": "Resource 'IpAllocation' create operation succeeded", + "schema": { + "$ref": "#/definitions/IpAllocation" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create IpAllocation": { + "$ref": "./examples/IpAllocationCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/IpAllocation" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "IpAllocations_UpdateTags", + "tags": [ + "IpAllocations" + ], + "description": "Updates a IpAllocation tags.", + "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": "ipAllocationName", + "in": "path", + "description": "The name of the IpAllocation.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update IpAllocation tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpAllocation" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update virtual network tags": { + "$ref": "./examples/IpAllocationUpdateTags.json" + } + } + }, + "delete": { + "operationId": "IpAllocations_Delete", + "tags": [ + "IpAllocations" + ], + "description": "Deletes the specified IpAllocation.", + "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": "ipAllocationName", + "in": "path", + "description": "The name of the IpAllocation.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete IpAllocation": { + "$ref": "./examples/IpAllocationDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups": { + "get": { + "operationId": "ApplicationSecurityGroups_List", + "tags": [ + "ApplicationSecurityGroups" + ], + "description": "Gets all the application security groups in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ApplicationSecurityGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List load balancers in resource group": { + "$ref": "./examples/ApplicationSecurityGroupList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/applicationSecurityGroups/{applicationSecurityGroupName}": { + "get": { + "operationId": "ApplicationSecurityGroups_Get", + "tags": [ + "ApplicationSecurityGroups" + ], + "description": "Gets information about the specified application security 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": "applicationSecurityGroupName", + "in": "path", + "description": "The name of the application security group.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.ApplicationSecurityGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get application security group": { + "$ref": "./examples/ApplicationSecurityGroupGet.json" + } + } + }, + "put": { + "operationId": "ApplicationSecurityGroups_CreateOrUpdate", + "tags": [ + "ApplicationSecurityGroups" + ], + "description": "Creates or updates an application security 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": "applicationSecurityGroupName", + "in": "path", + "description": "The name of the application security group.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update ApplicationSecurityGroup operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.ApplicationSecurityGroup" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ApplicationSecurityGroup' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.ApplicationSecurityGroup" + } + }, + "201": { + "description": "Resource 'ApplicationSecurityGroup' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.ApplicationSecurityGroup" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create application security group": { + "$ref": "./examples/ApplicationSecurityGroupCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.ApplicationSecurityGroup" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ApplicationSecurityGroups_UpdateTags", + "tags": [ + "applicationSecurityGroups" + ], + "description": "Updates an application security group's tags.", + "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": "applicationSecurityGroupName", + "in": "path", + "description": "The name of the application security group.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update application security group tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.ApplicationSecurityGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update application security group tags": { + "$ref": "./examples/ApplicationSecurityGroupUpdateTags.json" + } + } + }, + "delete": { + "operationId": "ApplicationSecurityGroups_Delete", + "tags": [ + "ApplicationSecurityGroups" + ], + "description": "Deletes the specified application security 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": "applicationSecurityGroupName", + "in": "path", + "description": "The name of the application security group.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete application security group": { + "$ref": "./examples/ApplicationSecurityGroupDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts": { + "get": { + "operationId": "BastionHosts_ListByResourceGroup", + "tags": [ + "BastionHosts" + ], + "description": "Lists all Bastion Hosts in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BastionHostListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all Bastion Hosts for a given resource group": { + "$ref": "./examples/BastionHostListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}": { + "get": { + "operationId": "BastionHosts_Get", + "tags": [ + "BastionHosts" + ], + "description": "Gets the specified Bastion Host.", + "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": "bastionHostName", + "in": "path", + "description": "The name of the Bastion Host.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BastionHost" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Bastion Host": { + "$ref": "./examples/BastionHostGet.json" + }, + "Get Bastion Host With Private Only": { + "$ref": "./examples/BastionHostGetWithPrivateOnly.json" + }, + "Get Bastion Host With Zones": { + "$ref": "./examples/BastionHostGetWithZones.json" + }, + "Get Developer Bastion Host": { + "$ref": "./examples/BastionHostDeveloperGet.json" + } + } + }, + "put": { + "operationId": "BastionHosts_CreateOrUpdate", + "tags": [ + "BastionHosts" + ], + "description": "Creates or updates the specified Bastion Host.", + "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": "bastionHostName", + "in": "path", + "description": "The name of the Bastion Host.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update Bastion Host operation.", + "required": true, + "schema": { + "$ref": "#/definitions/BastionHost" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BastionHost' update operation succeeded", + "schema": { + "$ref": "#/definitions/BastionHost" + } + }, + "201": { + "description": "Resource 'BastionHost' create operation succeeded", + "schema": { + "$ref": "#/definitions/BastionHost" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create Bastion Host": { + "$ref": "./examples/BastionHostPut.json" + }, + "Create Bastion Host With Private Only": { + "$ref": "./examples/BastionHostPutWithPrivateOnly.json" + }, + "Create Bastion Host With Zones": { + "$ref": "./examples/BastionHostPutWithZones.json" + }, + "Create Developer Bastion Host": { + "$ref": "./examples/BastionHostDeveloperPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/BastionHost" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "BastionHosts_UpdateTags", + "tags": [ + "BastionHosts" + ], + "description": "Updates Tags for BastionHost resource", + "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": "bastionHostName", + "in": "path", + "description": "The name of the Bastion Host.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update BastionHost tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BastionHost" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Patch Bastion Host": { + "$ref": "./examples/BastionHostPatch.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/BastionHost" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "BastionHosts_Delete", + "tags": [ + "BastionHosts" + ], + "description": "Deletes the specified Bastion Host.", + "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": "bastionHostName", + "in": "path", + "description": "The name of the Bastion Host.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete Bastion Host": { + "$ref": "./examples/BastionHostDelete.json" + }, + "Delete Developer Bastion Host": { + "$ref": "./examples/BastionHostDeveloperDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/createShareableLinks": { + "post": { + "operationId": "PutBastionShareableLink", + "tags": [ + "BastionHosts", + "BastionShareableLink" + ], + "description": "Creates a Bastion Shareable Links for all the VMs specified in the request.", + "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": "bastionHostName", + "in": "path", + "description": "The name of the Bastion Host.", + "required": true, + "type": "string" + }, + { + "name": "bslRequest", + "in": "body", + "description": "Post request for Create/Delete/Get Bastion Shareable Link endpoints.", + "required": true, + "schema": { + "$ref": "#/definitions/BastionShareableLinkListRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BastionShareableLinkListResult" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create Bastion Shareable Links for the request VMs": { + "$ref": "./examples/BastionShareableLinkCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/BastionShareableLinkListResult" + }, + "x-ms-long-running-operation": true, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinks": { + "post": { + "operationId": "DeleteBastionShareableLink", + "tags": [ + "BastionHosts", + "BastionShareableLink" + ], + "description": "Deletes the Bastion Shareable Links for all the VMs specified in the request.", + "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": "bastionHostName", + "in": "path", + "description": "The name of the Bastion Host.", + "required": true, + "type": "string" + }, + { + "name": "bslRequest", + "in": "body", + "description": "Post request for Create/Delete/Get Bastion Shareable Link endpoints.", + "required": true, + "schema": { + "$ref": "#/definitions/BastionShareableLinkListRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete Bastion Shareable Links for the request VMs": { + "$ref": "./examples/BastionShareableLinkDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/deleteShareableLinksByToken": { + "post": { + "operationId": "DeleteBastionShareableLinkByToken", + "tags": [ + "BastionHosts", + "BastionShareableLink" + ], + "description": "Deletes the Bastion Shareable Links for all the tokens specified in the request.", + "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": "bastionHostName", + "in": "path", + "description": "The name of the Bastion Host.", + "required": true, + "type": "string" + }, + { + "name": "bslTokenRequest", + "in": "body", + "description": "Post request for Delete Bastion Shareable Link By Token endpoint.", + "required": true, + "schema": { + "$ref": "#/definitions/BastionShareableLinkTokenListRequest" + } + } + ], + "responses": { + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete Bastion Shareable Links for the request VMs": { + "$ref": "./examples/BastionShareableLinkDeleteByToken.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/disconnectActiveSessions": { + "post": { + "operationId": "DisconnectActiveSessions", + "tags": [ + "BastionHosts" + ], + "description": "Returns the list of currently active sessions on the Bastion.", + "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": "bastionHostName", + "in": "path", + "description": "The name of the Bastion Host.", + "required": true, + "type": "string" + }, + { + "name": "sessionIds", + "in": "body", + "description": "The list of sessionids to disconnect.", + "required": true, + "schema": { + "$ref": "#/definitions/SessionIds" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BastionSessionDeleteResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Deletes the specified active session": { + "$ref": "./examples/BastionSessionDelete.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getActiveSessions": { + "post": { + "operationId": "GetActiveSessions", + "tags": [ + "BastionHosts" + ], + "description": "Returns the list of currently active sessions on the Bastion.", + "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": "bastionHostName", + "in": "path", + "description": "The name of the Bastion Host.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BastionActiveSessionListResult" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Returns a list of currently active sessions on the Bastion": { + "$ref": "./examples/BastionSessionsList.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/BastionActiveSessionListResult" + }, + "x-ms-long-running-operation": true, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/bastionHosts/{bastionHostName}/getShareableLinks": { + "post": { + "operationId": "GetBastionShareableLink", + "tags": [ + "BastionHosts", + "BastionShareableLink" + ], + "description": "Return the Bastion Shareable Links for all the VMs specified in the request.", + "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": "bastionHostName", + "in": "path", + "description": "The name of the Bastion Host.", + "required": true, + "type": "string" + }, + { + "name": "bslRequest", + "in": "body", + "description": "Post request for Create/Delete/Get Bastion Shareable Link endpoints.", + "required": true, + "schema": { + "$ref": "#/definitions/BastionShareableLinkListRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BastionShareableLinkListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Returns the Bastion Shareable Links for the request VMs": { + "$ref": "./examples/BastionShareableLinkGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes": { + "get": { + "operationId": "CustomIPPrefixes_List", + "tags": [ + "CustomIpPrefixes" + ], + "description": "Gets all custom IP prefixes in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CustomIpPrefixListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List resource group Custom IP prefixes": { + "$ref": "./examples/CustomIpPrefixList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/customIpPrefixes/{customIpPrefixName}": { + "get": { + "operationId": "CustomIPPrefixes_Get", + "tags": [ + "CustomIpPrefixes" + ], + "description": "Gets the specified custom IP prefix in a specified 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": "customIpPrefixName", + "in": "path", + "description": "The name of the custom IP prefix.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CustomIpPrefix" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get custom IP prefix": { + "$ref": "./examples/CustomIpPrefixGet.json" + } + } + }, + "put": { + "operationId": "CustomIPPrefixes_CreateOrUpdate", + "tags": [ + "CustomIpPrefixes" + ], + "description": "Creates or updates a custom IP prefix.", + "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": "customIpPrefixName", + "in": "path", + "description": "The name of the custom IP prefix.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update custom IP prefix operation.", + "required": true, + "schema": { + "$ref": "#/definitions/CustomIpPrefix" + } + } + ], + "responses": { + "200": { + "description": "Resource 'CustomIpPrefix' update operation succeeded", + "schema": { + "$ref": "#/definitions/CustomIpPrefix" + } + }, + "201": { + "description": "Resource 'CustomIpPrefix' create operation succeeded", + "schema": { + "$ref": "#/definitions/CustomIpPrefix" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create custom IP prefix allocation method": { + "$ref": "./examples/CustomIpPrefixCreateCustomizedValues.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/CustomIpPrefix" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "CustomIPPrefixes_UpdateTags", + "tags": [ + "CustomIpPrefixes" + ], + "description": "Updates custom IP prefix tags.", + "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": "customIpPrefixName", + "in": "path", + "description": "The name of the custom IP prefix.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update custom IP prefix tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/CustomIpPrefix" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update public IP address tags": { + "$ref": "./examples/CustomIpPrefixUpdateTags.json" + } + } + }, + "delete": { + "operationId": "CustomIPPrefixes_Delete", + "tags": [ + "CustomIpPrefixes" + ], + "description": "Deletes the specified custom IP prefix.", + "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": "customIpPrefixName", + "in": "path", + "description": "The name of the custom IP prefix.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete custom IP prefix": { + "$ref": "./examples/CustomIpPrefixDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies": { + "get": { + "operationId": "DdosCustomPolicies_List", + "tags": [ + "ddosCustomPolicies" + ], + "description": "Gets all the DDoS custom policies in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DdosCustomPolicyListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List DDoS custom policies in a resource group": { + "$ref": "./examples/DdosCustomPolicyList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosCustomPolicies/{ddosCustomPolicyName}": { + "get": { + "operationId": "DdosCustomPolicies_Get", + "tags": [ + "ddosCustomPolicies" + ], + "description": "Gets information about the specified DDoS custom 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": "ddosCustomPolicyName", + "in": "path", + "description": "The name of the DDoS custom policy.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DdosCustomPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get DDoS custom policy": { + "$ref": "./examples/DdosCustomPolicyGet.json" + } + } + }, + "put": { + "operationId": "DdosCustomPolicies_CreateOrUpdate", + "tags": [ + "ddosCustomPolicies" + ], + "description": "Creates or updates a DDoS custom 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": "ddosCustomPolicyName", + "in": "path", + "description": "The name of the DDoS custom policy.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update operation.", + "required": true, + "schema": { + "$ref": "#/definitions/DdosCustomPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DdosCustomPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/DdosCustomPolicy" + } + }, + "201": { + "description": "Resource 'DdosCustomPolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/DdosCustomPolicy" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create DDoS custom policy": { + "$ref": "./examples/DdosCustomPolicyCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/DdosCustomPolicy" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "DdosCustomPolicies_UpdateTags", + "tags": [ + "ddosCustomPolicies" + ], + "description": "Update a DDoS custom policy tags.", + "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": "ddosCustomPolicyName", + "in": "path", + "description": "The name of the DDoS custom policy.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update DDoS custom policy resource tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DdosCustomPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "DDoS Custom policy Update tags": { + "$ref": "./examples/DdosCustomPolicyUpdateTags.json" + } + } + }, + "delete": { + "operationId": "DdosCustomPolicies_Delete", + "tags": [ + "ddosCustomPolicies" + ], + "description": "Deletes the specified DDoS custom 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": "ddosCustomPolicyName", + "in": "path", + "description": "The name of the DDoS custom policy.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete DDoS custom policy": { + "$ref": "./examples/DdosCustomPolicyDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans": { + "get": { + "operationId": "DdosProtectionPlans_ListByResourceGroup", + "tags": [ + "DdosProtectionPlans" + ], + "description": "Gets all the DDoS protection plans in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DdosProtectionPlanListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List DDoS protection plans in resource group": { + "$ref": "./examples/DdosProtectionPlanList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ddosProtectionPlans/{ddosProtectionPlanName}": { + "get": { + "operationId": "DdosProtectionPlans_Get", + "tags": [ + "DdosProtectionPlans" + ], + "description": "Gets information about the specified DDoS protection plan.", + "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": "ddosProtectionPlanName", + "in": "path", + "description": "The name of the DDoS protection plan.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DdosProtectionPlan" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get DDoS protection plan": { + "$ref": "./examples/DdosProtectionPlanGet.json" + } + } + }, + "put": { + "operationId": "DdosProtectionPlans_CreateOrUpdate", + "tags": [ + "DdosProtectionPlans" + ], + "description": "Creates or updates a DDoS protection plan.", + "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": "ddosProtectionPlanName", + "in": "path", + "description": "The name of the DDoS protection plan.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update operation.", + "required": true, + "schema": { + "$ref": "#/definitions/DdosProtectionPlan" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DdosProtectionPlan' update operation succeeded", + "schema": { + "$ref": "#/definitions/DdosProtectionPlan" + } + }, + "201": { + "description": "Resource 'DdosProtectionPlan' create operation succeeded", + "schema": { + "$ref": "#/definitions/DdosProtectionPlan" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create DDoS protection plan": { + "$ref": "./examples/DdosProtectionPlanCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/DdosProtectionPlan" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "DdosProtectionPlans_UpdateTags", + "tags": [ + "DdosProtectionPlans" + ], + "description": "Update a DDoS protection plan tags.", + "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": "ddosProtectionPlanName", + "in": "path", + "description": "The name of the DDoS protection plan.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the update DDoS protection plan resource tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DdosProtectionPlan" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "DDoS protection plan Update tags": { + "$ref": "./examples/DdosProtectionPlanUpdateTags.json" + } + } + }, + "delete": { + "operationId": "DdosProtectionPlans_Delete", + "tags": [ + "DdosProtectionPlans" + ], + "description": "Deletes the specified DDoS protection plan.", + "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": "ddosProtectionPlanName", + "in": "path", + "description": "The name of the DDoS protection plan.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete DDoS protection plan": { + "$ref": "./examples/DdosProtectionPlanDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations": { + "get": { + "operationId": "DscpConfiguration_List", + "tags": [ + "DscpConfigurations" + ], + "description": "Gets a DSCP Configuration.", + "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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DscpConfigurationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Dscp Configuration": { + "$ref": "./examples/DscpConfigurationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dscpConfigurations/{dscpConfigurationName}": { + "get": { + "operationId": "DscpConfiguration_Get", + "tags": [ + "DscpConfiguration" + ], + "description": "Gets a DSCP Configuration.", + "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": "dscpConfigurationName", + "in": "path", + "description": "The name of the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/DscpConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Dscp Configuration": { + "$ref": "./examples/DscpConfigurationGet.json" + } + } + }, + "put": { + "operationId": "DscpConfiguration_CreateOrUpdate", + "tags": [ + "DscpConfiguration" + ], + "description": "Creates or updates a DSCP Configuration.", + "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": "dscpConfigurationName", + "in": "path", + "description": "The name of the resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update DscpConfiguration operation.", + "required": true, + "schema": { + "$ref": "#/definitions/DscpConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Resource 'DscpConfiguration' update operation succeeded", + "schema": { + "$ref": "#/definitions/DscpConfiguration" + } + }, + "201": { + "description": "Resource 'DscpConfiguration' create operation succeeded", + "schema": { + "$ref": "#/definitions/DscpConfiguration" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create DSCP Configuration": { + "$ref": "./examples/DscpConfigurationCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/DscpConfiguration" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "DscpConfiguration_Delete", + "tags": [ + "DscpConfiguration" + ], + "description": "Deletes a DSCP Configuration.", + "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": "dscpConfigurationName", + "in": "path", + "description": "The name of the resource.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete DSCP Configuration": { + "$ref": "./examples/DscpConfigurationDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups": { + "get": { + "operationId": "IpGroups_ListByResourceGroup", + "tags": [ + "IpGroups" + ], + "description": "Gets all IpGroups in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "ListByResourceGroup_IpGroups": { + "$ref": "./examples/IpGroupsListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/ipGroups/{ipGroupsName}": { + "get": { + "operationId": "IpGroups_Get", + "tags": [ + "IpGroups" + ], + "description": "Gets the specified ipGroups.", + "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": "ipGroupsName", + "in": "path", + "description": "The name of the ipGroups.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands resourceIds (of Firewalls/Network Security Groups etc.) back referenced by the IpGroups resource.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Get_IpGroups": { + "$ref": "./examples/IpGroupsGet.json" + } + } + }, + "put": { + "operationId": "IpGroups_CreateOrUpdate", + "tags": [ + "IpGroups" + ], + "description": "Creates or updates an ipGroups in a specified 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": "ipGroupsName", + "in": "path", + "description": "The name of the ipGroups.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update IpGroups operation.", + "required": true, + "schema": { + "$ref": "#/definitions/IpGroup" + } + } + ], + "responses": { + "200": { + "description": "Resource 'IpGroup' update operation succeeded", + "schema": { + "$ref": "#/definitions/IpGroup" + } + }, + "201": { + "description": "Resource 'IpGroup' create operation succeeded", + "schema": { + "$ref": "#/definitions/IpGroup" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "CreateOrUpdate_IpGroups": { + "$ref": "./examples/IpGroupsCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/IpGroup" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "IpGroups_UpdateGroups", + "tags": [ + "IpGroups" + ], + "description": "Updates tags of an IpGroups resource.", + "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": "ipGroupsName", + "in": "path", + "description": "The name of the ipGroups.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the update ipGroups operation.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Update_IpGroups": { + "$ref": "./examples/IpGroupsUpdateTags.json" + } + } + }, + "delete": { + "operationId": "IpGroups_Delete", + "tags": [ + "IpGroups" + ], + "description": "Deletes the specified ipGroups.", + "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": "ipGroupsName", + "in": "path", + "description": "The name of the ipGroups.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Delete_IpGroups": { + "$ref": "./examples/IpGroupsDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/autoApprovedPrivateLinkServices": { + "get": { + "operationId": "PrivateLinkServices_ListAutoApprovedPrivateLinkServicesByResourceGroup", + "tags": [ + "PrivateLinkServices" + ], + "description": "Returns all of the private link service ids that can be linked to a Private Endpoint with auto approved in this subscription in this region.", + "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" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AutoApprovedPrivateLinkServicesResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get list of private link service id that can be linked to a private end point with auto approved": { + "$ref": "./examples/AutoApprovedPrivateLinkServicesResourceGroupGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableDelegations": { + "get": { + "operationId": "AvailableResourceGroupDelegations_List", + "description": "Gets all of the available subnet delegations for this resource group in this region.", + "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" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AvailableDelegationsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get available delegations in the resource group": { + "$ref": "./examples/AvailableDelegationsResourceGroupGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availablePrivateEndpointTypes": { + "get": { + "operationId": "AvailablePrivateEndpointTypes_ListByResourceGroup", + "description": "Returns all of the resource types that can be linked to a Private Endpoint in this subscription in this region.", + "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" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AvailablePrivateEndpointTypesResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get available PrivateEndpoint types in the resource group": { + "$ref": "./examples/AvailablePrivateEndpointTypesResourceGroupGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/availableServiceAliases": { + "get": { + "operationId": "AvailableServiceAliases_ListByResourceGroup", + "description": "Gets all available service aliases for this resource group in this region.", + "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" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/AvailableServiceAliasesResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get available service aliases in the resource group": { + "$ref": "./examples/AvailableServiceAliasesListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/locations/{location}/checkPrivateLinkServiceVisibility": { + "post": { + "operationId": "PrivateLinkServices_CheckPrivateLinkServiceVisibilityByResourceGroup", + "tags": [ + "PrivateLinkServices" + ], + "description": "Checks whether the subscription is visible to private link service in the specified 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" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/LocationParameter" + }, + { + "name": "parameters", + "in": "body", + "description": "The request body", + "required": true, + "schema": { + "$ref": "#/definitions/CheckPrivateLinkServiceVisibilityRequest" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/PrivateLinkServiceVisibility" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Check private link service visibility": { + "$ref": "./examples/CheckPrivateLinkServiceVisibilityByResourceGroup.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/PrivateLinkServiceVisibility" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways": { + "get": { + "operationId": "NatGateways_List", + "tags": [ + "NatGateways" + ], + "description": "Gets all nat gateways in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NatGatewayListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List nat gateways in resource group": { + "$ref": "./examples/NatGatewayList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/natGateways/{natGatewayName}": { + "get": { + "operationId": "NatGateways_Get", + "tags": [ + "NatGateways" + ], + "description": "Gets the specified nat gateway in a specified 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": "natGatewayName", + "in": "path", + "description": "The name of the nat gateway.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.NatGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get nat gateway": { + "$ref": "./examples/NatGatewayGet.json" + }, + "Get nat gateway with StandardV2 Sku": { + "$ref": "./examples/NatGatewayGetStandardV2Sku.json" + }, + "Get nat gateway with nat64": { + "$ref": "./examples/NatGatewayWithNat64Get.json" + }, + "Get nat gateway with service gateway": { + "$ref": "./examples/NatGatewayWithServiceGatewayGet.json" + } + } + }, + "put": { + "operationId": "NatGateways_CreateOrUpdate", + "tags": [ + "NatGateways" + ], + "description": "Creates or updates a nat gateway.", + "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": "natGatewayName", + "in": "path", + "description": "The name of the nat gateway.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update nat gateway operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.NatGateway" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NatGateway' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.NatGateway" + } + }, + "201": { + "description": "Resource 'NatGateway' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.NatGateway" + }, + "headers": { + "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": "The request has been accepted for processing, but processing has not yet completed.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create nat gateway": { + "$ref": "./examples/NatGatewayCreateOrUpdate.json" + }, + "Create nat gateway with StandardV2 Sku": { + "$ref": "./examples/NatGatewayCreateOrUpdateStandardV2Sku.json" + }, + "Create nat gateway with nat64": { + "$ref": "./examples/NatGatewayWithNat64CreateOrUpdate.json" + }, + "Create nat gateway with service gateway": { + "$ref": "./examples/NatGatewayWithServiceGatewayCreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.NatGateway" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NatGateways_UpdateTags", + "tags": [ + "NatGateways" + ], + "description": "Updates nat gateway tags.", + "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": "natGatewayName", + "in": "path", + "description": "The name of the nat gateway.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update nat gateway tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.NatGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update nat gateway tags": { + "$ref": "./examples/NatGatewayUpdateTags.json" + }, + "Update nat gateway with StandardV2 Sku tags": { + "$ref": "./examples/NatGatewayUpdateTagsStandardV2Sku.json" + } + } + }, + "delete": { + "operationId": "NatGateways_Delete", + "tags": [ + "NatGateways" + ], + "description": "Deletes the specified nat gateway.", + "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": "natGatewayName", + "in": "path", + "description": "The name of the nat gateway.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete nat gateway": { + "$ref": "./examples/NatGatewayDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces": { + "get": { + "operationId": "NetworkInterfaces_List", + "tags": [ + "NetworkInterfaces" + ], + "description": "Gets all network interfaces in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List network interfaces in resource group": { + "$ref": "./examples/NetworkInterfaceList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}": { + "get": { + "operationId": "NetworkInterfaces_Get", + "tags": [ + "NetworkInterfaces" + ], + "description": "Gets information about the specified network interface.", + "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": "networkInterfaceName", + "in": "path", + "description": "The name of the network interface.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.NetworkInterface" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get network interface": { + "$ref": "./examples/NetworkInterfaceGet.json" + } + } + }, + "put": { + "operationId": "NetworkInterfaces_CreateOrUpdate", + "tags": [ + "NetworkInterfaces" + ], + "description": "Creates or updates a network interface.", + "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": "networkInterfaceName", + "in": "path", + "description": "The name of the network interface.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update network interface operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.NetworkInterface" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkInterface' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.NetworkInterface" + } + }, + "201": { + "description": "Resource 'NetworkInterface' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.NetworkInterface" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create network interface": { + "$ref": "./examples/NetworkInterfaceCreate.json" + }, + "Create network interface with Gateway Load Balancer Consumer configured": { + "$ref": "./examples/NetworkInterfaceCreateGatewayLoadBalancerConsumer.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.NetworkInterface" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkInterfaces_UpdateTags", + "tags": [ + "NetworkInterfaces" + ], + "description": "Updates a network interface tags.", + "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": "networkInterfaceName", + "in": "path", + "description": "The name of the network interface.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update network interface tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.NetworkInterface" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update network interface tags": { + "$ref": "./examples/NetworkInterfaceUpdateTags.json" + } + } + }, + "delete": { + "operationId": "NetworkInterfaces_Delete", + "tags": [ + "NetworkInterfaces" + ], + "description": "Deletes the specified network interface.", + "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": "networkInterfaceName", + "in": "path", + "description": "The name of the network interface.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete network interface": { + "$ref": "./examples/NetworkInterfaceDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveNetworkSecurityGroups": { + "post": { + "operationId": "NetworkInterfaces_ListEffectiveNetworkSecurityGroups", + "tags": [ + "NetworkInterfaces" + ], + "description": "Gets all network security groups applied to a network interface.", + "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": "networkInterfaceName", + "in": "path", + "description": "The name of the network interface.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EffectiveNetworkSecurityGroupListResult" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List network interface effective network security groups": { + "$ref": "./examples/NetworkInterfaceEffectiveNSGList.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/EffectiveNetworkSecurityGroupListResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/effectiveRouteTable": { + "post": { + "operationId": "NetworkInterfaces_GetEffectiveRouteTable", + "tags": [ + "NetworkInterfaces" + ], + "description": "Gets all route tables applied to a network interface.", + "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": "networkInterfaceName", + "in": "path", + "description": "The name of the network interface.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EffectiveRouteListResult" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Show network interface effective route tables": { + "$ref": "./examples/NetworkInterfaceEffectiveRouteTableList.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/EffectiveRouteListResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations": { + "get": { + "operationId": "NetworkInterfaceIPConfigurations_List", + "tags": [ + "NetworkInterfaces" + ], + "description": "Get all ip configurations in a network interface.", + "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": "networkInterfaceName", + "in": "path", + "description": "The name of the network interface.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceIPConfigurationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkInterfaceIPConfigurationList": { + "$ref": "./examples/NetworkInterfaceIPConfigurationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/ipConfigurations/{ipConfigurationName}": { + "get": { + "operationId": "NetworkInterfaceIPConfigurations_Get", + "tags": [ + "NetworkInterfaces" + ], + "description": "Gets the specified network interface ip configuration.", + "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": "networkInterfaceName", + "in": "path", + "description": "The name of the network interface.", + "required": true, + "type": "string" + }, + { + "name": "ipConfigurationName", + "in": "path", + "description": "The name of the ip configuration name.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.NetworkInterfaceIPConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkInterfaceIPConfigurationGet": { + "$ref": "./examples/NetworkInterfaceIPConfigurationGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/loadBalancers": { + "get": { + "operationId": "NetworkInterfaceLoadBalancers_List", + "tags": [ + "NetworkInterfaces" + ], + "description": "List all load balancers in a network interface.", + "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": "networkInterfaceName", + "in": "path", + "description": "The name of the network interface.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceLoadBalancerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkInterfaceLoadBalancerList": { + "$ref": "./examples/NetworkInterfaceLoadBalancerList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations": { + "get": { + "operationId": "NetworkInterfaceTapConfigurations_List", + "tags": [ + "NetworkInterfaces" + ], + "description": "Get all Tap configurations in a network interface.", + "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": "networkInterfaceName", + "in": "path", + "description": "The name of the network interface.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceTapConfigurationListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List virtual network tap configurations": { + "$ref": "./examples/NetworkInterfaceTapConfigurationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkInterfaces/{networkInterfaceName}/tapConfigurations/{tapConfigurationName}": { + "get": { + "operationId": "NetworkInterfaceTapConfigurations_Get", + "tags": [ + "NetworkInterfaces" + ], + "description": "Get the specified tap configuration on a network interface.", + "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": "networkInterfaceName", + "in": "path", + "description": "The name of the network interface.", + "required": true, + "type": "string" + }, + { + "name": "tapConfigurationName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.NetworkInterfaceTapConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Network Interface Tap Configurations": { + "$ref": "./examples/NetworkInterfaceTapConfigurationGet.json" + } + } + }, + "put": { + "operationId": "NetworkInterfaceTapConfigurations_CreateOrUpdate", + "tags": [ + "Network Interfaces" + ], + "description": "Creates or updates a Tap configuration in the specified NetworkInterface.", + "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": "networkInterfaceName", + "in": "path", + "description": "The name of the network interface.", + "required": true, + "type": "string" + }, + { + "name": "tapConfigurationName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "tapConfigurationParameters", + "in": "body", + "description": "Parameters supplied to the create or update tap configuration operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.NetworkInterfaceTapConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkInterfaceTapConfiguration' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.NetworkInterfaceTapConfiguration" + } + }, + "201": { + "description": "Resource 'NetworkInterfaceTapConfiguration' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.NetworkInterfaceTapConfiguration" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create Network Interface Tap Configurations": { + "$ref": "./examples/NetworkInterfaceTapConfigurationCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.NetworkInterfaceTapConfiguration" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkInterfaceTapConfigurations_Delete", + "tags": [ + "Network Interfaces" + ], + "description": "Deletes the specified tap configuration from the NetworkInterface.", + "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": "networkInterfaceName", + "in": "path", + "description": "The name of the network interface.", + "required": true, + "type": "string" + }, + { + "name": "tapConfigurationName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete tap configuration": { + "$ref": "./examples/NetworkInterfaceTapConfigurationDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools": { + "get": { + "operationId": "IpamPools_List", + "tags": [ + "IpamPools" + ], + "summary": "Gets list of Pool resources at Network Manager level.", + "description": "Gets list of Pool resources at Network Manager level.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "skipToken", + "in": "query", + "description": "Optional skip token.", + "required": false, + "type": "string" + }, + { + "name": "skip", + "in": "query", + "description": "Optional num entries to skip.", + "required": false, + "type": "integer", + "format": "int32", + "default": 0 + }, + { + "name": "top", + "in": "query", + "description": "Optional num entries to show.", + "required": false, + "type": "integer", + "format": "int32", + "default": 50 + }, + { + "name": "sortKey", + "in": "query", + "description": "Optional key by which to sort.", + "required": false, + "type": "string" + }, + { + "name": "sortValue", + "in": "query", + "description": "Optional sort value for pagination.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpamPoolList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "IpamPools_List": { + "$ref": "./examples/IpamPools_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}": { + "get": { + "operationId": "IpamPools_Get", + "tags": [ + "IpamPools" + ], + "summary": "Gets the specific Pool resource.", + "description": "Gets the specific Pool resource.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "poolName", + "in": "path", + "description": "Pool resource name.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpamPool" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "IpamPools_Get": { + "$ref": "./examples/IpamPools_Get.json" + } + } + }, + "put": { + "operationId": "IpamPools_Create", + "tags": [ + "IpamPools" + ], + "summary": "Creates/Updates the Pool resource.", + "description": "Creates/Updates the Pool resource.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "poolName", + "in": "path", + "description": "Pool resource name.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "If-Match", + "in": "header", + "description": "The entity state (ETag) version of the pool to update. This value can be omitted or set to \"*\" to apply the operation unconditionally.", + "required": false, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Pool resource object to create/update.", + "required": true, + "schema": { + "$ref": "#/definitions/IpamPool" + } + } + ], + "responses": { + "200": { + "description": "Resource 'IpamPool' update operation succeeded", + "schema": { + "$ref": "#/definitions/IpamPool" + } + }, + "201": { + "description": "Resource 'IpamPool' create operation succeeded", + "schema": { + "$ref": "#/definitions/IpamPool" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "IpamPools_Create": { + "$ref": "./examples/IpamPools_Create.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/IpamPool" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "IpamPools_Update", + "tags": [ + "IpamPools" + ], + "summary": "Updates the specific Pool resource.", + "description": "Updates the specific Pool resource.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "poolName", + "in": "path", + "description": "Pool resource name.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "If-Match", + "in": "header", + "description": "The entity state (ETag) version of the pool to update. This value can be omitted or set to \"*\" to apply the operation unconditionally.", + "required": false, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Pool resource object to update partially.", + "required": false, + "schema": { + "$ref": "#/definitions/IpamPoolUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IpamPool" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "IpamPools_Update": { + "$ref": "./examples/IpamPools_Update.json" + } + } + }, + "delete": { + "operationId": "IpamPools_Delete", + "tags": [ + "IpamPools" + ], + "summary": "Delete the Pool resource.", + "description": "Delete the Pool resource.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "poolName", + "in": "path", + "description": "Pool resource name.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "If-Match", + "in": "header", + "description": "The entity state (ETag) version of the pool to update. This value can be omitted or set to \"*\" to apply the operation unconditionally.", + "required": false, + "type": "string" + } + ], + "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.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "IpamPools_Delete": { + "$ref": "./examples/IpamPools_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/networkManagers/{networkManagerName}/ipamPools/{poolName}/getPoolUsage": { + "post": { + "operationId": "IpamPools_GetPoolUsage", + "tags": [ + "IpamPools" + ], + "summary": "Get the Pool Usage.", + "description": "Get the Pool Usage.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "poolName", + "in": "path", + "description": "Pool resource name.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PoolUsage" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "IpamPools_GetPoolUsage": { + "$ref": "./examples/IpamPools_GetPoolUsage.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/listAssociatedResources": { + "post": { + "operationId": "IpamPools_ListAssociatedResources", + "tags": [ + "IpamPools" + ], + "summary": "List Associated Resource in the Pool.", + "description": "List Associated Resource in the Pool.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "poolName", + "in": "path", + "description": "Pool resource name.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PoolAssociationList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "IpamPools_ListAssociatedResources": { + "$ref": "./examples/IpamPools_ListAssociatedResources.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs": { + "get": { + "operationId": "StaticCidrs_List", + "tags": [ + "StaticCidrs" + ], + "summary": "Gets list of Static CIDR resources at Network Manager level.", + "description": "Gets list of Static CIDR resources at Network Manager level.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "poolName", + "in": "path", + "description": "Pool resource name.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "skipToken", + "in": "query", + "description": "Optional skip token.", + "required": false, + "type": "string" + }, + { + "name": "skip", + "in": "query", + "description": "Optional num entries to skip.", + "required": false, + "type": "integer", + "format": "int32", + "default": 0 + }, + { + "name": "top", + "in": "query", + "description": "Optional num entries to show.", + "required": false, + "type": "integer", + "format": "int32", + "default": 50 + }, + { + "name": "sortKey", + "in": "query", + "description": "Optional key by which to sort.", + "required": false, + "type": "string" + }, + { + "name": "sortValue", + "in": "query", + "description": "Optional sort value for pagination.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticCidrList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "StaticCidrs_List": { + "$ref": "./examples/StaticCidrs_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/ipamPools/{poolName}/staticCidrs/{staticCidrName}": { + "get": { + "operationId": "StaticCidrs_Get", + "tags": [ + "StaticCidrs" + ], + "summary": "Gets the specific Static CIDR resource.", + "description": "Gets the specific Static CIDR resource.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "poolName", + "in": "path", + "description": "Pool resource name.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "staticCidrName", + "in": "path", + "description": "StaticCidr resource name to retrieve.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/StaticCidr" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "StaticCidrs_Get": { + "$ref": "./examples/StaticCidrs_Get.json" + } + } + }, + "put": { + "operationId": "StaticCidrs_Create", + "tags": [ + "StaticCidrs" + ], + "summary": "Creates/Updates the Static CIDR resource.", + "description": "Creates/Updates the Static CIDR resource.", + "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": "networkManagerName", + "in": "path", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "poolName", + "in": "path", + "description": "The name of the IPAM pool.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "staticCidrName", + "in": "path", + "description": "Name for the static CIDR.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "body", + "in": "body", + "description": "StaticCidr resource object to create/update.", + "required": false, + "schema": { + "$ref": "#/definitions/StaticCidr" + } + } + ], + "responses": { + "200": { + "description": "Resource 'StaticCidr' update operation succeeded", + "schema": { + "$ref": "#/definitions/StaticCidr" + } + }, + "201": { + "description": "Resource 'StaticCidr' create operation succeeded", + "schema": { + "$ref": "#/definitions/StaticCidr" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "StaticCidrs_Create": { + "$ref": "./examples/StaticCidrs_Create.json" + } + } + }, + "delete": { + "operationId": "StaticCidrs_Delete", + "tags": [ + "StaticCidrs" + ], + "summary": "Delete the Static CIDR resource.", + "description": "Delete the Static CIDR resource.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "poolName", + "in": "path", + "description": "Pool resource name.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "staticCidrName", + "in": "path", + "description": "StaticCidr resource name to retrieve.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + } + ], + "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.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "StaticCidrs_Delete": { + "$ref": "./examples/StaticCidrs_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/networkManagers/{networkManagerName}/verifierWorkspaces": { + "get": { + "operationId": "VerifierWorkspaces_List", + "tags": [ + "VerifierWorkspaces" + ], + "summary": "Gets list of Verifier Workspaces.", + "description": "Gets list of Verifier Workspaces.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "skipToken", + "in": "query", + "description": "Optional skip token.", + "required": false, + "type": "string" + }, + { + "name": "skip", + "in": "query", + "description": "Optional num entries to skip.", + "required": false, + "type": "integer", + "format": "int32", + "default": 0 + }, + { + "name": "top", + "in": "query", + "description": "Optional num entries to show.", + "required": false, + "type": "integer", + "format": "int32", + "default": 50 + }, + { + "name": "sortKey", + "in": "query", + "description": "Optional key by which to sort.", + "required": false, + "type": "string" + }, + { + "name": "sortValue", + "in": "query", + "description": "Optional sort value for pagination.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VerifierWorkspaceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "VerifierWorkspaceList": { + "$ref": "./examples/VerifierWorkspaceList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}": { + "get": { + "operationId": "VerifierWorkspaces_Get", + "tags": [ + "VerifierWorkspaces" + ], + "summary": "Gets Verifier Workspace.", + "description": "Gets Verifier Workspace.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the resource", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VerifierWorkspace" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "VerifierWorkspaceGet": { + "$ref": "./examples/VerifierWorkspaceGet.json" + } + } + }, + "put": { + "operationId": "VerifierWorkspaces_Create", + "tags": [ + "VerifierWorkspaces" + ], + "summary": "Creates Verifier Workspace.", + "description": "Creates Verifier Workspace.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the resource", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "If-Match", + "in": "header", + "description": "The entity state (ETag) version of the pool to update. This value can be omitted or set to \"*\" to apply the operation unconditionally.", + "required": false, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Verifier Workspace object to create/update.", + "required": true, + "schema": { + "$ref": "#/definitions/VerifierWorkspace" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VerifierWorkspace' update operation succeeded", + "schema": { + "$ref": "#/definitions/VerifierWorkspace" + } + }, + "201": { + "description": "Resource 'VerifierWorkspace' create operation succeeded", + "schema": { + "$ref": "#/definitions/VerifierWorkspace" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "VerifierWorkspaceCreate": { + "$ref": "./examples/VerifierWorkspacePut.json" + } + } + }, + "patch": { + "operationId": "VerifierWorkspaces_Update", + "tags": [ + "VerifierWorkspaces" + ], + "summary": "Updates Verifier Workspace.", + "description": "Updates Verifier Workspace.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the resource", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "If-Match", + "in": "header", + "description": "The entity state (ETag) version of the pool to update. This value can be omitted or set to \"*\" to apply the operation unconditionally.", + "required": false, + "type": "string" + }, + { + "name": "body", + "in": "body", + "description": "Verifier Workspace object to create/update.", + "required": false, + "schema": { + "$ref": "#/definitions/VerifierWorkspaceUpdate" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VerifierWorkspace" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "VerifierWorkspacePatch": { + "$ref": "./examples/VerifierWorkspacePatch.json" + } + } + }, + "delete": { + "operationId": "VerifierWorkspaces_Delete", + "tags": [ + "VerifierWorkspaces" + ], + "summary": "Deletes Verifier Workspace.", + "description": "Deletes Verifier Workspace.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the resource", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "If-Match", + "in": "header", + "description": "The entity state (ETag) version of the pool to update. This value can be omitted or set to \"*\" to apply the operation unconditionally.", + "required": false, + "type": "string" + } + ], + "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.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "VerifierWorkspaceDelete": { + "$ref": "./examples/VerifierWorkspaceDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisIntents": { + "get": { + "operationId": "ReachabilityAnalysisIntents_List", + "tags": [ + "ReachabilityAnalysisIntents" + ], + "summary": "Gets list of Reachability Analysis Intents .", + "description": "Gets list of Reachability Analysis Intents .", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the resource", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "skipToken", + "in": "query", + "description": "Optional skip token.", + "required": false, + "type": "string" + }, + { + "name": "skip", + "in": "query", + "description": "Optional num entries to skip.", + "required": false, + "type": "integer", + "format": "int32", + "default": 0 + }, + { + "name": "top", + "in": "query", + "description": "Optional num entries to show.", + "required": false, + "type": "integer", + "format": "int32", + "default": 50 + }, + { + "name": "sortKey", + "in": "query", + "description": "Optional key by which to sort.", + "required": false, + "type": "string" + }, + { + "name": "sortValue", + "in": "query", + "description": "Optional sort value for pagination.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ReachabilityAnalysisIntentListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "ReachabilityAnalysisIntentList": { + "$ref": "./examples/ReachabilityAnalysisIntentList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisIntents/{reachabilityAnalysisIntentName}": { + "get": { + "operationId": "ReachabilityAnalysisIntents_Get", + "tags": [ + "ReachabilityAnalysisIntents" + ], + "summary": "Get the Reachability Analysis Intent.", + "description": "Get the Reachability Analysis Intent.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the resource", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "reachabilityAnalysisIntentName", + "in": "path", + "description": "Reachability Analysis Intent name.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ReachabilityAnalysisIntent" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "ReachabilityAnalysisIntentGet": { + "$ref": "./examples/ReachabilityAnalysisIntentGet.json" + } + } + }, + "put": { + "operationId": "ReachabilityAnalysisIntents_Create", + "tags": [ + "ReachabilityAnalysisIntents" + ], + "summary": "Creates Reachability Analysis Intent.", + "description": "Creates Reachability Analysis Intent.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the resource", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "reachabilityAnalysisIntentName", + "in": "path", + "description": "Reachability Analysis Intent name.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "body", + "in": "body", + "description": "Reachability Analysis Intent object to create/update.", + "required": true, + "schema": { + "$ref": "#/definitions/ReachabilityAnalysisIntent" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ReachabilityAnalysisIntent' update operation succeeded", + "schema": { + "$ref": "#/definitions/ReachabilityAnalysisIntent" + } + }, + "201": { + "description": "Resource 'ReachabilityAnalysisIntent' create operation succeeded", + "schema": { + "$ref": "#/definitions/ReachabilityAnalysisIntent" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "ReachabilityAnalysisIntentCreate": { + "$ref": "./examples/ReachabilityAnalysisIntentPut.json" + } + } + }, + "delete": { + "operationId": "ReachabilityAnalysisIntents_Delete", + "tags": [ + "ReachabilityAnalysisIntent" + ], + "summary": "Deletes Reachability Analysis Intent.", + "description": "Deletes Reachability Analysis Intent.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the resource", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "reachabilityAnalysisIntentName", + "in": "path", + "description": "Reachability Analysis Intent name.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + } + ], + "responses": { + "200": { + "description": "Resource deleted successfully." + }, + "204": { + "description": "Resource does not exist." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "ReachabilityAnalysisIntentDelete": { + "$ref": "./examples/ReachabilityAnalysisIntentDelete.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisRuns": { + "get": { + "operationId": "ReachabilityAnalysisRuns_List", + "tags": [ + "ReachabilityAnalysisRuns" + ], + "summary": "Gets list of Reachability Analysis Runs.", + "description": "Gets list of Reachability Analysis Runs.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the resource", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "skipToken", + "in": "query", + "description": "Optional skip token.", + "required": false, + "type": "string" + }, + { + "name": "skip", + "in": "query", + "description": "Optional num entries to skip.", + "required": false, + "type": "integer", + "format": "int32", + "default": 0 + }, + { + "name": "top", + "in": "query", + "description": "Optional num entries to show.", + "required": false, + "type": "integer", + "format": "int32", + "default": 50 + }, + { + "name": "sortKey", + "in": "query", + "description": "Optional key by which to sort.", + "required": false, + "type": "string" + }, + { + "name": "sortValue", + "in": "query", + "description": "Optional sort value for pagination.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ReachabilityAnalysisRunListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "ReachabilityAnalysisRunList": { + "$ref": "./examples/ReachabilityAnalysisRunList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}/verifierWorkspaces/{workspaceName}/reachabilityAnalysisRuns/{reachabilityAnalysisRunName}": { + "get": { + "operationId": "ReachabilityAnalysisRuns_Get", + "tags": [ + "ReachabilityAnalysisRuns" + ], + "summary": "Gets Reachability Analysis Run.", + "description": "Gets Reachability Analysis Run.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the resource", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "reachabilityAnalysisRunName", + "in": "path", + "description": "Reachability Analysis Run name.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ReachabilityAnalysisRun" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "ReachabilityAnalysisRunGet": { + "$ref": "./examples/ReachabilityAnalysisRunGet.json" + } + } + }, + "put": { + "operationId": "ReachabilityAnalysisRuns_Create", + "tags": [ + "ReachabilityAnalysisRuns" + ], + "summary": "Creates Reachability Analysis Runs.", + "description": "Creates Reachability Analysis Runs.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the resource", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "reachabilityAnalysisRunName", + "in": "path", + "description": "Reachability Analysis Run name.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "body", + "in": "body", + "description": "Analysis Run resource object to create/update.", + "required": true, + "schema": { + "$ref": "#/definitions/ReachabilityAnalysisRun" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ReachabilityAnalysisRun' update operation succeeded", + "schema": { + "$ref": "#/definitions/ReachabilityAnalysisRun" + } + }, + "201": { + "description": "Resource 'ReachabilityAnalysisRun' create operation succeeded", + "schema": { + "$ref": "#/definitions/ReachabilityAnalysisRun" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "ReachabilityAnalysisRunCreate": { + "$ref": "./examples/ReachabilityAnalysisRunPut.json" + } + } + }, + "delete": { + "operationId": "ReachabilityAnalysisRuns_Delete", + "tags": [ + "ReachabilityAnalysisRuns" + ], + "summary": "Deletes Reachability Analysis Run.", + "description": "Deletes Reachability Analysis Run.", + "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": "networkManagerName", + "in": "path", + "description": "The name of the network manager.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "workspaceName", + "in": "path", + "description": "The name of the resource", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "reachabilityAnalysisRunName", + "in": "path", + "description": "Reachability Analysis Run name.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + } + ], + "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.json#/definitions/CommonErrorResponse" + } + } + }, + "x-ms-examples": { + "ReachabilityAnalysisRunDelete": { + "$ref": "./examples/ReachabilityAnalysisRunDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles": { + "get": { + "operationId": "NetworkProfiles_List", + "tags": [ + "NetworkProfiles" + ], + "description": "Gets all network profiles in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkProfileListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List resource group network profiles": { + "$ref": "./examples/NetworkProfileList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkProfiles/{networkProfileName}": { + "get": { + "operationId": "NetworkProfiles_Get", + "tags": [ + "NetworkProfiles" + ], + "description": "Gets the specified network profile in a specified 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": "networkProfileName", + "in": "path", + "description": "The name of the public IP prefix.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkProfile" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get network profile": { + "$ref": "./examples/NetworkProfileGetConfigOnly.json" + }, + "Get network profile with container network interfaces": { + "$ref": "./examples/NetworkProfileGetWithContainerNic.json" + } + } + }, + "put": { + "operationId": "NetworkProfiles_CreateOrUpdate", + "tags": [ + "NetworkProfiles" + ], + "description": "Creates or updates a network profile.", + "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": "networkProfileName", + "in": "path", + "description": "The name of the public IP prefix.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update network profile operation.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkProfile" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkProfile' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkProfile" + } + }, + "201": { + "description": "Resource 'NetworkProfile' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkProfile" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create network profile defaults": { + "$ref": "./examples/NetworkProfileCreateConfigOnly.json" + } + } + }, + "patch": { + "operationId": "NetworkProfiles_UpdateTags", + "tags": [ + "NetworkProfiles" + ], + "description": "Updates network profile tags.", + "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": "networkProfileName", + "in": "path", + "description": "The name of the public IP prefix.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update network profile tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkProfile" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update network profile tags": { + "$ref": "./examples/NetworkProfileUpdateTags.json" + } + } + }, + "delete": { + "operationId": "NetworkProfiles_Delete", + "tags": [ + "NetworkProfiles" + ], + "description": "Deletes the specified network profile.", + "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": "networkProfileName", + "in": "path", + "description": "The name of the public IP prefix.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete network profile": { + "$ref": "./examples/NetworkProfileDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups": { + "get": { + "operationId": "NetworkSecurityGroups_List", + "tags": [ + "NetworkSecurityGroups" + ], + "description": "Gets all network security groups in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkSecurityGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List network security groups in resource group": { + "$ref": "./examples/NetworkSecurityGroupList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}": { + "get": { + "operationId": "NetworkSecurityGroups_Get", + "tags": [ + "NetworkSecurityGroups" + ], + "description": "Gets the specified network security 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": "networkSecurityGroupName", + "in": "path", + "description": "The name of the network security group.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.NetworkSecurityGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get network security group": { + "$ref": "./examples/NetworkSecurityGroupGet.json" + } + } + }, + "put": { + "operationId": "NetworkSecurityGroups_CreateOrUpdate", + "tags": [ + "NetworkSecurityGroups" + ], + "description": "Creates or updates a network security group in the specified 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": "networkSecurityGroupName", + "in": "path", + "description": "The name of the network security group.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update network security group operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.NetworkSecurityGroup" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkSecurityGroup' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.NetworkSecurityGroup" + } + }, + "201": { + "description": "Resource 'NetworkSecurityGroup' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.NetworkSecurityGroup" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create network security group": { + "$ref": "./examples/NetworkSecurityGroupCreate.json" + }, + "Create network security group with rule": { + "$ref": "./examples/NetworkSecurityGroupCreateWithRule.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.NetworkSecurityGroup" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkSecurityGroups_UpdateTags", + "tags": [ + "NetworkSecurityGroups" + ], + "description": "Updates a network security group tags.", + "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": "networkSecurityGroupName", + "in": "path", + "description": "The name of the network security group.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update network security group tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.NetworkSecurityGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update network security group tags": { + "$ref": "./examples/NetworkSecurityGroupUpdateTags.json" + } + } + }, + "delete": { + "operationId": "NetworkSecurityGroups_Delete", + "tags": [ + "NetworkSecurityGroups" + ], + "description": "Deletes the specified network security 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": "networkSecurityGroupName", + "in": "path", + "description": "The name of the network security group.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete network security group": { + "$ref": "./examples/NetworkSecurityGroupDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules": { + "get": { + "operationId": "DefaultSecurityRules_List", + "tags": [ + "SecurityRules" + ], + "description": "Gets all default security rules in a network security 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": "networkSecurityGroupName", + "in": "path", + "description": "The name of the network security group.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SecurityRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "DefaultSecurityRuleList": { + "$ref": "./examples/DefaultSecurityRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/defaultSecurityRules/{defaultSecurityRuleName}": { + "get": { + "operationId": "DefaultSecurityRules_Get", + "tags": [ + "SecurityRules" + ], + "description": "Get the specified default network 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": "networkSecurityGroupName", + "in": "path", + "description": "The name of the network security group.", + "required": true, + "type": "string" + }, + { + "name": "defaultSecurityRuleName", + "in": "path", + "description": "The name of the default security rule.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.SecurityRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "DefaultSecurityRuleGet": { + "$ref": "./examples/DefaultSecurityRuleGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules": { + "get": { + "operationId": "SecurityRules_List", + "tags": [ + "SecurityRules" + ], + "description": "Gets all security rules in a network security 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": "networkSecurityGroupName", + "in": "path", + "description": "The name of the network security group.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SecurityRuleListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List network security rules in network security group": { + "$ref": "./examples/NetworkSecurityGroupRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkSecurityGroups/{networkSecurityGroupName}/securityRules/{securityRuleName}": { + "get": { + "operationId": "SecurityRules_Get", + "tags": [ + "SecurityRules" + ], + "description": "Get the specified network 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": "networkSecurityGroupName", + "in": "path", + "description": "The name of the network security group.", + "required": true, + "type": "string" + }, + { + "name": "securityRuleName", + "in": "path", + "description": "The name of the security rule.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.SecurityRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get network security rule in network security group": { + "$ref": "./examples/NetworkSecurityGroupRuleGet.json" + } + } + }, + "put": { + "operationId": "SecurityRules_CreateOrUpdate", + "tags": [ + "SecurityRules" + ], + "description": "Creates or updates a security rule in the specified network security 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": "networkSecurityGroupName", + "in": "path", + "description": "The name of the network security group.", + "required": true, + "type": "string" + }, + { + "name": "securityRuleName", + "in": "path", + "description": "The name of the security rule.", + "required": true, + "type": "string" + }, + { + "name": "securityRuleParameters", + "in": "body", + "description": "Parameters supplied to the create or update network security rule operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.SecurityRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SecurityRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.SecurityRule" + } + }, + "201": { + "description": "Resource 'SecurityRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.SecurityRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create security rule": { + "$ref": "./examples/NetworkSecurityGroupRuleCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.SecurityRule" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "SecurityRules_Delete", + "tags": [ + "SecurityRules" + ], + "description": "Deletes the specified network 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": "networkSecurityGroupName", + "in": "path", + "description": "The name of the network security group.", + "required": true, + "type": "string" + }, + { + "name": "securityRuleName", + "in": "path", + "description": "The name of the security rule.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete network security rule from network security group": { + "$ref": "./examples/NetworkSecurityGroupRuleDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances": { + "get": { + "operationId": "NetworkVirtualAppliances_ListByResourceGroup", + "tags": [ + "NetworkVirtualAppliances" + ], + "description": "Lists all Network Virtual Appliances in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkVirtualApplianceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all Network Virtual Appliance for a given resource group": { + "$ref": "./examples/NetworkVirtualApplianceListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}": { + "get": { + "operationId": "NetworkVirtualAppliances_Get", + "tags": [ + "NetworkVirtualAppliances" + ], + "description": "Gets the specified Network Virtual Appliance.", + "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": "networkVirtualApplianceName", + "in": "path", + "description": "The name of Network Virtual Appliance.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkVirtualAppliance" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get NetworkVirtualAppliance": { + "$ref": "./examples/NetworkVirtualApplianceGet.json" + } + } + }, + "put": { + "operationId": "NetworkVirtualAppliances_CreateOrUpdate", + "tags": [ + "NetworkVirtualAppliances" + ], + "description": "Creates or updates the specified Network Virtual Appliance.", + "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": "networkVirtualApplianceName", + "in": "path", + "description": "The name of Network Virtual Appliance.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update Network Virtual Appliance.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkVirtualAppliance" + } + } + ], + "responses": { + "200": { + "description": "Resource 'NetworkVirtualAppliance' update operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkVirtualAppliance" + } + }, + "201": { + "description": "Resource 'NetworkVirtualAppliance' create operation succeeded", + "schema": { + "$ref": "#/definitions/NetworkVirtualAppliance" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create NVA in VNet with PrivateNic & PublicNic": { + "$ref": "./examples/NetworkVirtualApplianceVnetBasicPut.json" + }, + "Create NVA in VNet with PrivateNic & PublicNic, including Internet-Ingress": { + "$ref": "./examples/NetworkVirtualApplianceVnetIngressPut.json" + }, + "Create NVA in VNet with PrivateNic & PublicNic, including NetworkProfile": { + "$ref": "./examples/NetworkVirtualApplianceVnetNetworkProfilePut.json" + }, + "Create NVA in VNet with PrivateNic, PublicNic & AdditionalPrivateNic": { + "$ref": "./examples/NetworkVirtualApplianceVnetAdditionalPrivatePut.json" + }, + "Create NVA in VNet with PrivateNic, PublicNic & AdditionalPublicNic": { + "$ref": "./examples/NetworkVirtualApplianceVnetAdditionalPublicPut.json" + }, + "Create NetworkVirtualAppliance": { + "$ref": "./examples/NetworkVirtualAppliancePut.json" + }, + "Create SaaS NetworkVirtualAppliance": { + "$ref": "./examples/NetworkVirtualApplianceSaaSPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/NetworkVirtualAppliance" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "NetworkVirtualAppliances_UpdateTags", + "tags": [ + "NetworkVirtualAppliances" + ], + "description": "Updates a Network Virtual Appliance.", + "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": "networkVirtualApplianceName", + "in": "path", + "description": "The name of Network Virtual Appliance.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to Update Network Virtual Appliance Tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkVirtualAppliance" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update NetworkVirtualAppliance": { + "$ref": "./examples/NetworkVirtualApplianceUpdateTags.json" + } + } + }, + "delete": { + "operationId": "NetworkVirtualAppliances_Delete", + "tags": [ + "NetworkVirtualAppliances" + ], + "description": "Deletes the specified Network Virtual Appliance.", + "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": "networkVirtualApplianceName", + "in": "path", + "description": "The name of Network Virtual Appliance.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete NetworkVirtualAppliance": { + "$ref": "./examples/NetworkVirtualApplianceDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/getBootDiagnosticLogs": { + "post": { + "operationId": "NetworkVirtualAppliances_GetBootDiagnosticLogs", + "tags": [ + "NetworkVirtualAppliances" + ], + "description": "Retrieves the boot diagnostic logs for a VM instance belonging to the specified Network Virtual Appliance.", + "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": "networkVirtualApplianceName", + "in": "path", + "description": "The name of Network Virtual Appliance.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "Parameters supplied to retrieve boot diagnostic logs for a NVA VM instance", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkVirtualApplianceBootDiagnosticParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkVirtualApplianceInstanceId" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Retrieve Boot Diagnostic logs for a given NVA VMSS instance": { + "$ref": "./examples/NetworkVirtualApplianceBootDiagnostics.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/NetworkVirtualApplianceInstanceId" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/inboundSecurityRules/{ruleCollectionName}": { + "get": { + "operationId": "InboundSecurityRule_Get", + "description": "Retrieves the available specified Network Virtual Appliance Inbound Security Rules Collection.", + "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": "networkVirtualApplianceName", + "in": "path", + "description": "The name of Network Virtual Appliance.", + "required": true, + "type": "string" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/InboundSecurityRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create Network Virtual Appliance Inbound Security Rules": { + "$ref": "./examples/InboundSecurityRuleGet.json" + } + } + }, + "put": { + "operationId": "InboundSecurityRule_CreateOrUpdate", + "description": "Creates or updates the specified Network Virtual Appliance Inbound Security Rules.", + "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": "networkVirtualApplianceName", + "in": "path", + "description": "The name of Network Virtual Appliance.", + "required": true, + "type": "string" + }, + { + "name": "ruleCollectionName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules operation.", + "required": true, + "schema": { + "$ref": "#/definitions/InboundSecurityRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'InboundSecurityRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/InboundSecurityRule" + } + }, + "201": { + "description": "Resource 'InboundSecurityRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/InboundSecurityRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create Network Virtual Appliance Inbound Security Rules": { + "$ref": "./examples/InboundSecurityRulePut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/InboundSecurityRule" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/reimage": { + "post": { + "operationId": "NetworkVirtualAppliances_Reimage", + "tags": [ + "NetworkVirtualAppliances" + ], + "description": "Reimages one VM belonging to the specified Network Virtual Appliance.", + "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": "networkVirtualApplianceName", + "in": "path", + "description": "The name of Network Virtual Appliance.", + "required": true, + "type": "string" + }, + { + "name": "NetworkVirtualApplianceInstanceIds", + "in": "body", + "description": "Specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances.", + "required": false, + "schema": { + "$ref": "#/definitions/NetworkVirtualApplianceInstanceIds" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkVirtualApplianceInstanceIds" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Reimages Specific NetworkVirtualAppliance VMs in VM Scale Set": { + "$ref": "./examples/NetworkVirtualApplianceSpecificReimage.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/NetworkVirtualApplianceInstanceIds" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/restart": { + "post": { + "operationId": "NetworkVirtualAppliances_Restart", + "tags": [ + "NetworkVirtualAppliances" + ], + "description": "Restarts one or more VMs belonging to the specified Network Virtual Appliance.", + "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": "networkVirtualApplianceName", + "in": "path", + "description": "The name of Network Virtual Appliance.", + "required": true, + "type": "string" + }, + { + "name": "NetworkVirtualApplianceInstanceIds", + "in": "body", + "description": "Specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances.", + "required": false, + "schema": { + "$ref": "#/definitions/NetworkVirtualApplianceInstanceIds" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkVirtualApplianceInstanceIds" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Restart All NetworkVirtualAppliance VMs in VM Scale Set": { + "$ref": "./examples/NetworkVirtualApplianceEmptyRestart.json" + }, + "Restart Specific NetworkVirtualAppliance VMs in VM Scale Set": { + "$ref": "./examples/NetworkVirtualApplianceSpecificRestart.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/NetworkVirtualApplianceInstanceIds" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites": { + "get": { + "operationId": "VirtualApplianceSites_List", + "tags": [ + "VirtualApplianceSites" + ], + "description": "Lists all Network Virtual Appliance Sites in a Network Virtual Appliance resource.", + "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": "networkVirtualApplianceName", + "in": "path", + "description": "The name of Network Virtual Appliance.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/NetworkVirtualApplianceSiteListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all Network Virtual Appliance sites for a given Network Virtual Appliance": { + "$ref": "./examples/NetworkVirtualApplianceSiteList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/virtualApplianceSites/{siteName}": { + "get": { + "operationId": "VirtualApplianceSites_Get", + "tags": [ + "VirtualApplianceSites" + ], + "description": "Gets the specified Virtual Appliance Site.", + "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": "networkVirtualApplianceName", + "in": "path", + "description": "The name of Network Virtual Appliance.", + "required": true, + "type": "string" + }, + { + "name": "siteName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualApplianceSite" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetNetwork Virtual Appliance Site": { + "$ref": "./examples/NetworkVirtualApplianceSiteGet.json" + } + } + }, + "put": { + "operationId": "VirtualApplianceSites_CreateOrUpdate", + "tags": [ + "VirtualApplianceSites" + ], + "description": "Creates or updates the specified Network Virtual Appliance Site.", + "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": "networkVirtualApplianceName", + "in": "path", + "description": "The name of Network Virtual Appliance.", + "required": true, + "type": "string" + }, + { + "name": "siteName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update Network Virtual Appliance Site operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualApplianceSite" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VirtualApplianceSite' update operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualApplianceSite" + } + }, + "201": { + "description": "Resource 'VirtualApplianceSite' create operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualApplianceSite" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create Network Virtual Appliance Site": { + "$ref": "./examples/NetworkVirtualApplianceSitePut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VirtualApplianceSite" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualApplianceSites_Delete", + "tags": [ + "VirtualApplianceSites" + ], + "description": "Deletes the specified site from a Virtual Appliance.", + "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": "networkVirtualApplianceName", + "in": "path", + "description": "The name of Network Virtual Appliance.", + "required": true, + "type": "string" + }, + { + "name": "siteName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete Network Virtual Appliance Site": { + "$ref": "./examples/NetworkVirtualApplianceSiteDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints": { + "get": { + "operationId": "PrivateEndpoints_List", + "tags": [ + "PrivateEndpoints" + ], + "description": "Gets all private endpoints in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "List private endpoints in resource group": { + "$ref": "./examples/PrivateEndpointList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}": { + "get": { + "operationId": "PrivateEndpoints_Get", + "tags": [ + "PrivateEndpoints" + ], + "description": "Gets the specified private endpoint by 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": "privateEndpointName", + "in": "path", + "description": "The name of the private endpoint.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.PrivateEndpoint" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Get private endpoint": { + "$ref": "./examples/PrivateEndpointGet.json" + }, + "Get private endpoint with application security groups": { + "$ref": "./examples/PrivateEndpointGetWithASG.json" + }, + "Get private endpoint with manual approval connection": { + "$ref": "./examples/PrivateEndpointGetForManualApproval.json" + } + } + }, + "put": { + "operationId": "PrivateEndpoints_CreateOrUpdate", + "tags": [ + "PrivateEndpoints" + ], + "description": "Creates or updates an private endpoint in the specified 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": "privateEndpointName", + "in": "path", + "description": "The name of the private endpoint.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update private endpoint operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.PrivateEndpoint" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PrivateEndpoint' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.PrivateEndpoint" + } + }, + "201": { + "description": "Resource 'PrivateEndpoint' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.PrivateEndpoint" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Create private endpoint": { + "$ref": "./examples/PrivateEndpointCreate.json" + }, + "Create private endpoint with application security groups": { + "$ref": "./examples/PrivateEndpointCreateWithASG.json" + }, + "Create private endpoint with manual approval connection": { + "$ref": "./examples/PrivateEndpointCreateForManualApproval.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.PrivateEndpoint" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PrivateEndpoints_Delete", + "tags": [ + "PrivateEndpoints" + ], + "description": "Deletes the specified private endpoint.", + "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": "privateEndpointName", + "in": "path", + "description": "The name of the private endpoint.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Delete private endpoint": { + "$ref": "./examples/PrivateEndpointDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups": { + "get": { + "operationId": "PrivateDnsZoneGroups_List", + "tags": [ + "PrivateDnsZoneGroups" + ], + "description": "Gets all private dns zone groups in a private endpoint.", + "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": "privateEndpointName", + "in": "path", + "description": "The name of the private endpoint.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateDnsZoneGroupListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List private endpoints in resource group": { + "$ref": "./examples/PrivateEndpointDnsZoneGroupList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateEndpoints/{privateEndpointName}/privateDnsZoneGroups/{privateDnsZoneGroupName}": { + "get": { + "operationId": "PrivateDnsZoneGroups_Get", + "tags": [ + "PrivateDnsZoneGroups" + ], + "description": "Gets the private dns zone group resource by specified private dns zone group name.", + "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": "privateEndpointName", + "in": "path", + "description": "The name of the private endpoint.", + "required": true, + "type": "string" + }, + { + "name": "privateDnsZoneGroupName", + "in": "path", + "description": "The name of the private endpoint.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateDnsZoneGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get private dns zone group": { + "$ref": "./examples/PrivateEndpointDnsZoneGroupGet.json" + } + } + }, + "put": { + "operationId": "PrivateDnsZoneGroups_CreateOrUpdate", + "tags": [ + "PrivateDnsZoneGroups" + ], + "description": "Creates or updates a private dns zone group in the specified private endpoint.", + "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": "privateEndpointName", + "in": "path", + "description": "The name of the private endpoint.", + "required": true, + "type": "string" + }, + { + "name": "privateDnsZoneGroupName", + "in": "path", + "description": "The name of the private endpoint.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update private dns zone group operation.", + "required": true, + "schema": { + "$ref": "#/definitions/PrivateDnsZoneGroup" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateDnsZoneGroup" + } + }, + "201": { + "description": "Resource 'PrivateDnsZoneGroup' create operation succeeded", + "schema": { + "$ref": "#/definitions/PrivateDnsZoneGroup" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create private dns zone group": { + "$ref": "./examples/PrivateEndpointDnsZoneGroupCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/PrivateDnsZoneGroup" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PrivateDnsZoneGroups_Delete", + "tags": [ + "PrivateDnsZoneGroups" + ], + "description": "Deletes the specified private dns zone 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": "privateEndpointName", + "in": "path", + "description": "The name of the private endpoint.", + "required": true, + "type": "string" + }, + { + "name": "privateDnsZoneGroupName", + "in": "path", + "description": "The name of the private endpoint.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete private dns zone group": { + "$ref": "./examples/PrivateEndpointDnsZoneGroupDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices": { + "get": { + "operationId": "PrivateLinkServices_List", + "tags": [ + "PrivateLinkServices" + ], + "description": "Gets all private link services in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateLinkServiceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "List private link service in resource group": { + "$ref": "./examples/PrivateLinkServiceList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}": { + "get": { + "operationId": "PrivateLinkServices_Get", + "tags": [ + "PrivateLinkServices" + ], + "description": "Gets the specified private link service by 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": "serviceName", + "in": "path", + "description": "The name of the private link service.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.PrivateLinkService" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Get private link service": { + "$ref": "./examples/PrivateLinkServiceGet.json" + } + } + }, + "put": { + "operationId": "PrivateLinkServices_CreateOrUpdate", + "tags": [ + "PrivateLinkService" + ], + "description": "Creates or updates an private link service in the specified 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": "serviceName", + "in": "path", + "description": "The name of the private link service.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update private link service operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.PrivateLinkService" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PrivateLinkService' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.PrivateLinkService" + } + }, + "201": { + "description": "Resource 'PrivateLinkService' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.PrivateLinkService" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Create private link service": { + "$ref": "./examples/PrivateLinkServiceCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.PrivateLinkService" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "PrivateLinkServices_Delete", + "tags": [ + "PrivateLinkServices" + ], + "description": "Deletes the specified private link service.", + "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": "serviceName", + "in": "path", + "description": "The name of the private link service.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Delete private link service": { + "$ref": "./examples/PrivateLinkServiceDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections": { + "get": { + "operationId": "PrivateLinkServices_ListPrivateEndpointConnections", + "tags": [ + "PrivateLinkServices" + ], + "description": "Gets all private end point connections for a specific private link service.", + "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": "serviceName", + "in": "path", + "description": "The name of the private link service.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PrivateEndpointConnectionListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "List private link service in resource group": { + "$ref": "./examples/PrivateLinkServiceListPrivateEndpointConnection.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/privateLinkServices/{serviceName}/privateEndpointConnections/{peConnectionName}": { + "get": { + "operationId": "PrivateLinkServices_GetPrivateEndpointConnection", + "tags": [ + "PrivateLinkServices" + ], + "description": "Get the specific private end point connection by specific private link service in the 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": "serviceName", + "in": "path", + "description": "The name of the private link service.", + "required": true, + "type": "string" + }, + { + "name": "peConnectionName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.PrivateEndpointConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Get private end point connection": { + "$ref": "./examples/PrivateLinkServiceGetPrivateEndpointConnection.json" + } + } + }, + "put": { + "operationId": "PrivateLinkServices_UpdatePrivateEndpointConnection", + "tags": [ + "PrivateLinkServices" + ], + "description": "Approve or reject private end point connection for a private link service in a subscription.", + "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": "serviceName", + "in": "path", + "description": "The name of the private link service.", + "required": true, + "type": "string" + }, + { + "name": "peConnectionName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to approve or reject the private end point connection.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.PrivateEndpointConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PrivateEndpointConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.PrivateEndpointConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "approve or reject private end point connection for a private link service": { + "$ref": "./examples/PrivateLinkServiceUpdatePrivateEndpointConnection.json" + } + } + }, + "delete": { + "operationId": "PrivateLinkServices_DeletePrivateEndpointConnection", + "tags": [ + "PrivateLinkServices" + ], + "description": "Delete private end point connection for a private link service in a subscription.", + "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": "serviceName", + "in": "path", + "description": "The name of the private link service.", + "required": true, + "type": "string" + }, + { + "name": "peConnectionName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "delete private end point connection for a private link service": { + "$ref": "./examples/PrivateLinkServiceDeletePrivateEndpointConnection.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses": { + "get": { + "operationId": "PublicIPAddresses_List", + "tags": [ + "PublicIPAddresses" + ], + "description": "Gets all public IP addresses in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PublicIPAddressListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List resource group public IP addresses": { + "$ref": "./examples/PublicIpAddressList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}": { + "get": { + "operationId": "PublicIPAddresses_Get", + "tags": [ + "PublicIPAddresses" + ], + "description": "Gets the specified public IP address in a specified 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": "publicIpAddressName", + "in": "path", + "description": "The name of the public IP address.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.PublicIPAddress" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get public IP address": { + "$ref": "./examples/PublicIpAddressGet.json" + }, + "Get public IP address with StandardV2 sku": { + "$ref": "./examples/PublicIpAddressGetStandardV2Sku.json" + } + } + }, + "put": { + "operationId": "PublicIPAddresses_CreateOrUpdate", + "tags": [ + "PublicIPAddresses" + ], + "description": "Creates or updates a static or dynamic public IP address.", + "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": "publicIpAddressName", + "in": "path", + "description": "The name of the public IP address.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update public IP address operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.PublicIPAddress" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PublicIPAddress' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.PublicIPAddress" + } + }, + "201": { + "description": "Resource 'PublicIPAddress' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.PublicIPAddress" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create public IP address DNS": { + "$ref": "./examples/PublicIpAddressCreateDns.json" + }, + "Create public IP address DNS with Domain Name Label Scope": { + "$ref": "./examples/PublicIpAddressCreateDnsWithDomainNameLabelScope.json" + }, + "Create public IP address allocation method": { + "$ref": "./examples/PublicIpAddressCreateCustomizedValues.json" + }, + "Create public IP address defaults": { + "$ref": "./examples/PublicIpAddressCreateDefaults.json" + }, + "Create public IP address defaults with StandardV2 Sku": { + "$ref": "./examples/PublicIpAddressCreateDefaultsStandardV2Sku.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.PublicIPAddress" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "PublicIPAddresses_UpdateTags", + "tags": [ + "PublicIPAddresses" + ], + "description": "Updates public IP address tags.", + "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": "publicIpAddressName", + "in": "path", + "description": "The name of the public IP address.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update public IP address tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.PublicIPAddress" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update public IP address tags": { + "$ref": "./examples/PublicIpAddressUpdateTags.json" + } + } + }, + "delete": { + "operationId": "PublicIPAddresses_Delete", + "tags": [ + "PublicIPAddresses" + ], + "description": "Deletes the specified public IP address.", + "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": "publicIpAddressName", + "in": "path", + "description": "The name of the public IP address.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete public IP address": { + "$ref": "./examples/PublicIpAddressDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/ddosProtectionStatus": { + "post": { + "operationId": "PublicIPAddresses_DdosProtectionStatus", + "tags": [ + "PublicIPAddresses" + ], + "description": "Gets the Ddos Protection Status of a Public IP Address", + "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": "publicIpAddressName", + "in": "path", + "description": "The name of the public IP address.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PublicIpDdosProtectionStatusResult" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Ddos Protection Status of a Public IP Address": { + "$ref": "./examples/PublicIpAddressGetDdosProtectionStatus.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/PublicIpDdosProtectionStatusResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/disassociateCloudServiceReservedPublicIp": { + "post": { + "operationId": "PublicIPAddresses_DisassociateCloudServiceReservedPublicIp", + "tags": [ + "PublicIPAddresses" + ], + "description": "Disassociates the Cloud Service reserved Public IP and associates the specified Standalone Public IP to the same Cloud Service frontend.", + "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": "publicIpAddressName", + "in": "path", + "description": "The name of the public IP address.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameter that define which Public IP Address should be associated in place of given Public IP Address.", + "required": true, + "schema": { + "$ref": "#/definitions/DisassociateCloudServicePublicIpRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.PublicIPAddress" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Disassociate public IP address ": { + "$ref": "./examples/PublicIpAddressDisassociateCloudServiceReservedPublicIp.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Common.PublicIPAddress" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}/reserveCloudServicePublicIpAddress": { + "post": { + "operationId": "PublicIPAddresses_ReserveCloudServicePublicIpAddress", + "tags": [ + "PublicIPAddresses" + ], + "description": "Reserves the specified Cloud Service Public IP by switching its allocation method to Static. If rollback is requested, reverts the allocation method to Dynamic.", + "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": "publicIpAddressName", + "in": "path", + "description": "The name of the public IP address.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameter that define which Public IP Address should be associated in place of given Public IP Address.", + "required": true, + "schema": { + "$ref": "#/definitions/ReserveCloudServicePublicIpAddressRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.PublicIPAddress" + } + }, + "202": { + "description": "Resource operation accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "format": "uri", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Reserve public IP address ": { + "$ref": "./examples/PublicIpAddressReserve.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Common.PublicIPAddress" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes": { + "get": { + "operationId": "PublicIPPrefixes_List", + "tags": [ + "PublicIPPrefixes" + ], + "description": "Gets all public IP prefixes in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PublicIPPrefixListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List resource group public IP prefixes": { + "$ref": "./examples/PublicIpPrefixList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/publicIPPrefixes/{publicIpPrefixName}": { + "get": { + "operationId": "PublicIPPrefixes_Get", + "tags": [ + "PublicIPPrefixes" + ], + "description": "Gets the specified public IP prefix in a specified 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": "publicIpPrefixName", + "in": "path", + "description": "The name of the public IP prefix.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PublicIPPrefix" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get public IP prefix": { + "$ref": "./examples/PublicIpPrefixGet.json" + }, + "Get public IP prefix with StandardV2 sku": { + "$ref": "./examples/PublicIpPrefixGetStandardV2Sku.json" + } + } + }, + "put": { + "operationId": "PublicIPPrefixes_CreateOrUpdate", + "tags": [ + "PublicIPPrefixes" + ], + "description": "Creates or updates a static or dynamic public IP prefix.", + "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": "publicIpPrefixName", + "in": "path", + "description": "The name of the public IP prefix.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update public IP prefix operation.", + "required": true, + "schema": { + "$ref": "#/definitions/PublicIPPrefix" + } + } + ], + "responses": { + "200": { + "description": "Resource 'PublicIPPrefix' update operation succeeded", + "schema": { + "$ref": "#/definitions/PublicIPPrefix" + } + }, + "201": { + "description": "Resource 'PublicIPPrefix' create operation succeeded", + "schema": { + "$ref": "#/definitions/PublicIPPrefix" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create public IP prefix allocation method": { + "$ref": "./examples/PublicIpPrefixCreateCustomizedValues.json" + }, + "Create public IP prefix defaults": { + "$ref": "./examples/PublicIpPrefixCreateDefaults.json" + }, + "Create public IP prefix defaults with StandardV2 Sku": { + "$ref": "./examples/PublicIpPrefixCreateDefaultsStandardV2Sku.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/PublicIPPrefix" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "PublicIPPrefixes_UpdateTags", + "tags": [ + "PublicIPPrefixes" + ], + "description": "Updates public IP prefix tags.", + "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": "publicIpPrefixName", + "in": "path", + "description": "The name of the public IP prefix.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update public IP prefix tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PublicIPPrefix" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update public IP prefix tags": { + "$ref": "./examples/PublicIpPrefixUpdateTags.json" + } + } + }, + "delete": { + "operationId": "PublicIPPrefixes_Delete", + "tags": [ + "PublicIPPrefixes" + ], + "description": "Deletes the specified public IP prefix.", + "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": "publicIpPrefixName", + "in": "path", + "description": "The name of the public IP prefix.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete public IP prefix": { + "$ref": "./examples/PublicIpPrefixDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables": { + "get": { + "operationId": "RouteTables_List", + "tags": [ + "RouteTables" + ], + "description": "Gets all route tables in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RouteTableListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List route tables in resource group": { + "$ref": "./examples/RouteTableList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}": { + "get": { + "operationId": "RouteTables_Get", + "tags": [ + "RouteTables" + ], + "description": "Gets the specified route table.", + "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": "routeTableName", + "in": "path", + "description": "The name of the route table.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.RouteTable" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get route table": { + "$ref": "./examples/RouteTableGet.json" + } + } + }, + "put": { + "operationId": "RouteTables_CreateOrUpdate", + "tags": [ + "RouteTables" + ], + "description": "Create or updates a route table in a specified 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": "routeTableName", + "in": "path", + "description": "The name of the route table.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update route table operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.RouteTable" + } + } + ], + "responses": { + "200": { + "description": "Resource 'RouteTable' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.RouteTable" + } + }, + "201": { + "description": "Resource 'RouteTable' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.RouteTable" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create route table": { + "$ref": "./examples/RouteTableCreate.json" + }, + "Create route table with ECMP route": { + "$ref": "./examples/RouteTableCreateWithEcmpRoute.json" + }, + "Create route table with disable peering route": { + "$ref": "./examples/RouteTableCreateWithDisablePeeringRoute.json" + }, + "Create route table with route": { + "$ref": "./examples/RouteTableCreateWithRoute.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.RouteTable" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "RouteTables_UpdateTags", + "tags": [ + "RouteTables" + ], + "description": "Updates a route table tags.", + "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": "routeTableName", + "in": "path", + "description": "The name of the route table.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update route table tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.RouteTable" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update route table tags": { + "$ref": "./examples/RouteTableUpdateTags.json" + } + } + }, + "delete": { + "operationId": "RouteTables_Delete", + "tags": [ + "RouteTables" + ], + "description": "Deletes the specified route table.", + "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": "routeTableName", + "in": "path", + "description": "The name of the route table.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete route table": { + "$ref": "./examples/RouteTableDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes": { + "get": { + "operationId": "Routes_List", + "tags": [ + "Routes" + ], + "description": "Gets all routes in a route table.", + "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": "routeTableName", + "in": "path", + "description": "The name of the route table.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RouteListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List routes": { + "$ref": "./examples/RouteTableRouteList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/routeTables/{routeTableName}/routes/{routeName}": { + "get": { + "operationId": "Routes_Get", + "tags": [ + "Routes" + ], + "description": "Gets the specified route from a route table.", + "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": "routeTableName", + "in": "path", + "description": "The name of the route table.", + "required": true, + "type": "string" + }, + { + "name": "routeName", + "in": "path", + "description": "The name of the route.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.Route" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get route": { + "$ref": "./examples/RouteTableRouteGet.json" + } + } + }, + "put": { + "operationId": "Routes_CreateOrUpdate", + "tags": [ + "Routes" + ], + "description": "Creates or updates a route in the specified route table.", + "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": "routeTableName", + "in": "path", + "description": "The name of the route table.", + "required": true, + "type": "string" + }, + { + "name": "routeName", + "in": "path", + "description": "The name of the route.", + "required": true, + "type": "string" + }, + { + "name": "routeParameters", + "in": "body", + "description": "Parameters supplied to the create or update route operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.Route" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Route' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.Route" + } + }, + "201": { + "description": "Resource 'Route' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.Route" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create ECMP route": { + "$ref": "./examples/RouteTableRouteCreateEcmp.json" + }, + "Create route": { + "$ref": "./examples/RouteTableRouteCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.Route" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Routes_Delete", + "tags": [ + "Routes" + ], + "description": "Deletes the specified route from a route table.", + "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": "routeTableName", + "in": "path", + "description": "The name of the route table.", + "required": true, + "type": "string" + }, + { + "name": "routeName", + "in": "path", + "description": "The name of the route.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete route": { + "$ref": "./examples/RouteTableRouteDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders": { + "get": { + "operationId": "SecurityPartnerProviders_ListByResourceGroup", + "tags": [ + "SecurityPartnerProviders" + ], + "description": "Lists all Security Partner Providers in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SecurityPartnerProviderListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all Security Partner Providers for a given resource group": { + "$ref": "./examples/SecurityPartnerProviderListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/securityPartnerProviders/{securityPartnerProviderName}": { + "get": { + "operationId": "SecurityPartnerProviders_Get", + "tags": [ + "SecurityPartnerProviders" + ], + "description": "Gets the specified Security Partner Provider.", + "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": "securityPartnerProviderName", + "in": "path", + "description": "The name of the Security Partner Provider.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SecurityPartnerProvider" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Security Partner Provider": { + "$ref": "./examples/SecurityPartnerProviderGet.json" + } + } + }, + "put": { + "operationId": "SecurityPartnerProviders_CreateOrUpdate", + "tags": [ + "SecurityPartnerProviders" + ], + "description": "Creates or updates the specified Security Partner Provider.", + "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": "securityPartnerProviderName", + "in": "path", + "description": "The name of the Security Partner Provider.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update Security Partner Provider operation.", + "required": true, + "schema": { + "$ref": "#/definitions/SecurityPartnerProvider" + } + } + ], + "responses": { + "200": { + "description": "Resource 'SecurityPartnerProvider' update operation succeeded", + "schema": { + "$ref": "#/definitions/SecurityPartnerProvider" + } + }, + "201": { + "description": "Resource 'SecurityPartnerProvider' create operation succeeded", + "schema": { + "$ref": "#/definitions/SecurityPartnerProvider" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create Security Partner Provider": { + "$ref": "./examples/SecurityPartnerProviderPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/SecurityPartnerProvider" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "SecurityPartnerProviders_UpdateTags", + "tags": [ + "SecurityPartnerProviders" + ], + "description": "Updates tags of a Security Partner Provider resource.", + "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": "securityPartnerProviderName", + "in": "path", + "description": "The name of the Security Partner Provider.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update Security Partner Provider tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SecurityPartnerProvider" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update Security Partner Provider Tags": { + "$ref": "./examples/SecurityPartnerProviderUpdateTags.json" + } + } + }, + "delete": { + "operationId": "SecurityPartnerProviders_Delete", + "tags": [ + "SecurityPartnerProviders" + ], + "description": "Deletes the specified Security Partner Provider.", + "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": "securityPartnerProviderName", + "in": "path", + "description": "The name of the Security Partner Provider.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete Security Partner Provider": { + "$ref": "./examples/SecurityPartnerProviderDelete.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": { + "get": { + "operationId": "VirtualNetworks_List", + "tags": [ + "VirtualNetworks" + ], + "description": "Gets all virtual networks in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List virtual networks in resource group": { + "$ref": "./examples/VirtualNetworkList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}": { + "get": { + "operationId": "VirtualNetworks_Get", + "tags": [ + "VirtualNetworks" + ], + "description": "Gets the specified virtual network by 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": "virtualNetworkName", + "in": "path", + "description": "The name of the virtual network.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.VirtualNetwork" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get virtual network": { + "$ref": "./examples/VirtualNetworkGet.json" + }, + "Get virtual network with a delegated subnet": { + "$ref": "./examples/VirtualNetworkGetWithSubnetDelegation.json" + }, + "Get virtual network with service association links": { + "$ref": "./examples/VirtualNetworkGetWithServiceAssociationLink.json" + } + } + }, + "put": { + "operationId": "VirtualNetworks_CreateOrUpdate", + "tags": [ + "VirtualNetworks" + ], + "description": "Creates or updates a virtual network in the specified 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": "virtualNetworkName", + "in": "path", + "description": "The name of the virtual network.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update virtual network operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.VirtualNetwork" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VirtualNetwork' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.VirtualNetwork" + } + }, + "201": { + "description": "Resource 'VirtualNetwork' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.VirtualNetwork" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create virtual network": { + "$ref": "./examples/VirtualNetworkCreate.json" + }, + "Create virtual network with Bgp Communities": { + "$ref": "./examples/VirtualNetworkCreateWithBgpCommunities.json" + }, + "Create virtual network with delegated subnets": { + "$ref": "./examples/VirtualNetworkCreateSubnetWithDelegation.json" + }, + "Create virtual network with encryption": { + "$ref": "./examples/VirtualNetworkCreateWithEncryption.json" + }, + "Create virtual network with ipamPool": { + "$ref": "./examples/VirtualNetworkCreateWithIpamPool.json" + }, + "Create virtual network with service endpoints": { + "$ref": "./examples/VirtualNetworkCreateServiceEndpoints.json" + }, + "Create virtual network with service endpoints and service endpoint policy": { + "$ref": "./examples/VirtualNetworkCreateServiceEndpointPolicy.json" + }, + "Create virtual network with subnet": { + "$ref": "./examples/VirtualNetworkCreateSubnet.json" + }, + "Create virtual network with subnet containing address prefixes": { + "$ref": "./examples/VirtualNetworkCreateSubnetWithAddressPrefixes.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.VirtualNetwork" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualNetworks_UpdateTags", + "tags": [ + "VirtualNetworks" + ], + "description": "Updates a virtual network tags.", + "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 virtual network.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update virtual network tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.VirtualNetwork" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update virtual network tags": { + "$ref": "./examples/VirtualNetworkUpdateTags.json" + } + } + }, + "delete": { + "operationId": "VirtualNetworks_Delete", + "tags": [ + "VirtualNetworks" + ], + "description": "Deletes the specified 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 virtual network.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete virtual network": { + "$ref": "./examples/VirtualNetworkDelete.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}/checkIPAddressAvailability": { + "get": { + "operationId": "VirtualNetworks_CheckIPAddressAvailability", + "description": "Checks whether a private IP address is available for use.", + "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 virtual network.", + "required": true, + "type": "string" + }, + { + "name": "ipAddress", + "in": "query", + "description": "The private IP address to be verified.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/IPAddressAvailabilityResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Check IP address availability": { + "$ref": "./examples/VirtualNetworkCheckIPAddressAvailability.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/ddosProtectionStatus": { + "post": { + "operationId": "VirtualNetworks_ListDdosProtectionStatus", + "description": "Gets the Ddos Protection Status of all IP Addresses under the 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 virtual network.", + "required": true, + "type": "string" + }, + { + "name": "top", + "in": "query", + "description": "The max number of ip addresses to return.", + "required": false, + "type": "integer", + "format": "int32" + }, + { + "name": "skipToken", + "in": "query", + "description": "The skipToken that is given with nextLink.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkDdosProtectionStatusResult" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Ddos Protection Status of a Virtual Network": { + "$ref": "./examples/VirtualNetworkGetDdosProtectionStatus.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VirtualNetworkDdosProtectionStatusResult" + }, + "x-ms-long-running-operation": true, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets": { + "get": { + "operationId": "Subnets_List", + "tags": [ + "Subnets" + ], + "description": "Gets all subnets in 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 virtual network.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SubnetListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List subnets": { + "$ref": "./examples/SubnetList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}": { + "get": { + "operationId": "Subnets_Get", + "tags": [ + "Subnets" + ], + "description": "Gets the specified subnet by virtual network and 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": "virtualNetworkName", + "in": "path", + "description": "The name of the virtual network.", + "required": true, + "type": "string" + }, + { + "name": "subnetName", + "in": "path", + "description": "The name of the subnet.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.Subnet" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get subnet": { + "$ref": "./examples/SubnetGet.json" + }, + "Get subnet with a delegation": { + "$ref": "./examples/SubnetGetWithDelegation.json" + }, + "Get subnet with sharing scope": { + "$ref": "./examples/SubnetGetWithSharingScope.json" + } + } + }, + "put": { + "operationId": "Subnets_CreateOrUpdate", + "tags": [ + "Subnets" + ], + "description": "Creates or updates a subnet in the specified 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 virtual network.", + "required": true, + "type": "string" + }, + { + "name": "subnetName", + "in": "path", + "description": "The name of the subnet.", + "required": true, + "type": "string" + }, + { + "name": "subnetParameters", + "in": "body", + "description": "Parameters supplied to the create or update subnet operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.Subnet" + } + } + ], + "responses": { + "200": { + "description": "Resource 'Subnet' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.Subnet" + } + }, + "201": { + "description": "Resource 'Subnet' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.Subnet" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create Subnet with service gateway": { + "$ref": "./examples/SubnetCreateWithServiceGateway.json" + }, + "Create subnet": { + "$ref": "./examples/SubnetCreate.json" + }, + "Create subnet with a delegation": { + "$ref": "./examples/SubnetCreateWithDelegation.json" + }, + "Create subnet with service endpoints": { + "$ref": "./examples/SubnetCreateServiceEndpoint.json" + }, + "Create subnet with service endpoints with network identifier": { + "$ref": "./examples/SubnetCreateServiceEndpointNetworkIdentifier.json" + }, + "Create subnet with sharing scope": { + "$ref": "./examples/SubnetCreateWithSharingScope.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.Subnet" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "Subnets_Delete", + "tags": [ + "Subnets" + ], + "description": "Deletes the specified subnet.", + "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 virtual network.", + "required": true, + "type": "string" + }, + { + "name": "subnetName", + "in": "path", + "description": "The name of the subnet.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete subnet": { + "$ref": "./examples/SubnetDelete.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}/subnets/{subnetName}/prepareNetworkPolicies": { + "post": { + "operationId": "Subnets_PrepareNetworkPolicies", + "description": "Prepares a subnet by applying network intent policies.", + "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 virtual network.", + "required": true, + "type": "string" + }, + { + "name": "subnetName", + "in": "path", + "description": "The name of the subnet.", + "required": true, + "type": "string" + }, + { + "name": "prepareNetworkPoliciesRequestParameters", + "in": "body", + "description": "Parameters supplied to prepare subnet by applying network intent policies.", + "required": true, + "schema": { + "$ref": "#/definitions/PrepareNetworkPoliciesRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Prepare Network Policies": { + "$ref": "./examples/SubnetPrepareNetworkPolicies.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}/subnets/{subnetName}/resourceNavigationLinks": { + "get": { + "operationId": "ResourceNavigationLinks_List", + "description": "Gets a list of resource navigation links for a subnet.", + "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 virtual network.", + "required": true, + "type": "string" + }, + { + "name": "subnetName", + "in": "path", + "description": "The name of the subnet.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ResourceNavigationLinksListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Resource Navigation Links": { + "$ref": "./examples/VirtualNetworkGetResourceNavigationLinks.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/serviceAssociationLinks": { + "get": { + "operationId": "ServiceAssociationLinks_List", + "description": "Gets a list of service association links for a subnet.", + "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 virtual network.", + "required": true, + "type": "string" + }, + { + "name": "subnetName", + "in": "path", + "description": "The name of the subnet.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ServiceAssociationLinksListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get Service Association Links": { + "$ref": "./examples/VirtualNetworkGetServiceAssociationLinks.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/subnets/{subnetName}/unprepareNetworkPolicies": { + "post": { + "operationId": "Subnets_UnprepareNetworkPolicies", + "description": "Unprepares a subnet by removing network intent policies.", + "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 virtual network.", + "required": true, + "type": "string" + }, + { + "name": "subnetName", + "in": "path", + "description": "The name of the subnet.", + "required": true, + "type": "string" + }, + { + "name": "unprepareNetworkPoliciesRequestParameters", + "in": "body", + "description": "Parameters supplied to unprepare subnet to remove network intent policies.", + "required": true, + "schema": { + "$ref": "#/definitions/UnprepareNetworkPoliciesRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Unprepare Network Policies": { + "$ref": "./examples/SubnetUnprepareNetworkPolicies.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}/usages": { + "get": { + "operationId": "VirtualNetworks_ListUsage", + "description": "Lists usage stats.", + "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 virtual network.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkListUsageResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VnetGetUsage": { + "$ref": "./examples/VirtualNetworkListUsage.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings": { + "get": { + "operationId": "VirtualNetworkPeerings_List", + "tags": [ + "VirtualNetworkPeerings" + ], + "description": "Gets all virtual network peerings in 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 virtual network.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkPeeringListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List peerings": { + "$ref": "./examples/VirtualNetworkPeeringList.json" + }, + "List peerings with remote virtual network encryption": { + "$ref": "./examples/VirtualNetworkPeeringListWithRemoteVirtualNetworkEncryption.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworks/{virtualNetworkName}/virtualNetworkPeerings/{virtualNetworkPeeringName}": { + "get": { + "operationId": "VirtualNetworkPeerings_Get", + "tags": [ + "VirtualNetworkPeerings" + ], + "description": "Gets the specified virtual network peering.", + "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 virtual network.", + "required": true, + "type": "string" + }, + { + "name": "virtualNetworkPeeringName", + "in": "path", + "description": "The name of the virtual network peering.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.VirtualNetworkPeering" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get V6 subnet peering": { + "$ref": "./examples/VirtualNetworkV6SubnetPeeringGet.json" + }, + "Get peering": { + "$ref": "./examples/VirtualNetworkPeeringGet.json" + }, + "Get peering with remote virtual network encryption": { + "$ref": "./examples/VirtualNetworkPeeringGetWithRemoteVirtualNetworkEncryption.json" + }, + "Get subnet peering": { + "$ref": "./examples/VirtualNetworkSubnetPeeringGet.json" + } + } + }, + "put": { + "operationId": "VirtualNetworkPeerings_CreateOrUpdate", + "tags": [ + "VirtualNetworkPeerings" + ], + "description": "Creates or updates a peering in the specified 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 virtual network.", + "required": true, + "type": "string" + }, + { + "name": "virtualNetworkPeeringName", + "in": "path", + "description": "The name of the virtual network peering.", + "required": true, + "type": "string" + }, + { + "name": "syncRemoteAddressSpace", + "in": "query", + "description": "Parameter indicates the intention to sync the peering with the current address space on the remote vNet after it's updated.", + "required": false, + "type": "string", + "enum": [ + "true" + ], + "x-ms-enum": { + "name": "SyncRemoteAddressSpace", + "modelAsString": true, + "values": [ + { + "name": "true", + "value": "true", + "description": "true" + } + ] + } + }, + { + "name": "VirtualNetworkPeeringParameters", + "in": "body", + "description": "Parameters supplied to the create or update virtual network peering operation.", + "required": true, + "schema": { + "$ref": "#/definitions/Common.VirtualNetworkPeering" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VirtualNetworkPeering' update operation succeeded", + "schema": { + "$ref": "#/definitions/Common.VirtualNetworkPeering" + } + }, + "201": { + "description": "Resource 'VirtualNetworkPeering' create operation succeeded", + "schema": { + "$ref": "#/definitions/Common.VirtualNetworkPeering" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create V6 Subnet peering": { + "$ref": "./examples/VirtualNetworkV6SubnetPeeringCreate.json" + }, + "Create peering": { + "$ref": "./examples/VirtualNetworkPeeringCreate.json" + }, + "Create peering with remote virtual network encryption": { + "$ref": "./examples/VirtualNetworkPeeringCreateWithRemoteVirtualNetworkEncryption.json" + }, + "Create subnet peering": { + "$ref": "./examples/VirtualNetworkSubnetPeeringCreate.json" + }, + "Sync Peering": { + "$ref": "./examples/VirtualNetworkPeeringSync.json" + }, + "Sync V6 Subnet Peering": { + "$ref": "./examples/VirtualNetworkV6SubnetPeeringSync.json" + }, + "Sync subnet Peering": { + "$ref": "./examples/VirtualNetworkSubnetPeeringSync.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/Common.VirtualNetworkPeering" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualNetworkPeerings_Delete", + "tags": [ + "VirtualNetworkPeerings" + ], + "description": "Deletes the specified virtual network peering.", + "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 virtual network.", + "required": true, + "type": "string" + }, + { + "name": "virtualNetworkPeeringName", + "in": "path", + "description": "The name of the virtual network peering.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete peering": { + "$ref": "./examples/VirtualNetworkPeeringDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters": { + "get": { + "operationId": "VirtualRouters_ListByResourceGroup", + "tags": [ + "VirtualRouters" + ], + "description": "Lists all Virtual Routers in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualRouterListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "List all Virtual Router for a given resource group": { + "$ref": "./examples/VirtualRouterListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}": { + "get": { + "operationId": "VirtualRouters_Get", + "tags": [ + "VirtualRouters" + ], + "description": "Gets the specified Virtual Router.", + "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": "virtualRouterName", + "in": "path", + "description": "The name of the Virtual Router.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualRouter" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Get VirtualRouter": { + "$ref": "./examples/VirtualRouterGet.json" + } + } + }, + "put": { + "operationId": "VirtualRouters_CreateOrUpdate", + "tags": [ + "VirtualRouters" + ], + "description": "Creates or updates the specified Virtual Router.", + "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": "virtualRouterName", + "in": "path", + "description": "The name of the Virtual Router.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update Virtual Router.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualRouter" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VirtualRouter' update operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualRouter" + } + }, + "201": { + "description": "Resource 'VirtualRouter' create operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualRouter" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Create VirtualRouter": { + "$ref": "./examples/VirtualRouterPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VirtualRouter" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualRouters_Delete", + "tags": [ + "VirtualRouters" + ], + "description": "Deletes the specified Virtual Router.", + "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": "virtualRouterName", + "in": "path", + "description": "The name of the Virtual Router.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Delete VirtualRouter": { + "$ref": "./examples/VirtualRouterDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings": { + "get": { + "operationId": "VirtualRouterPeerings_List", + "tags": [ + "VirtualRouterPeerings" + ], + "description": "Lists all Virtual Router Peerings in a Virtual Router resource.", + "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": "virtualRouterName", + "in": "path", + "description": "The name of the Virtual Router.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualRouterPeeringListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "List all Virtual Router Peerings for a given Virtual Router": { + "$ref": "./examples/VirtualRouterPeeringList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualRouters/{virtualRouterName}/peerings/{peeringName}": { + "get": { + "operationId": "VirtualRouterPeerings_Get", + "tags": [ + "VirtualRouterPeerings" + ], + "description": "Gets the specified Virtual Router Peering.", + "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": "virtualRouterName", + "in": "path", + "description": "The name of the Virtual Router.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualRouterPeering" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Get Virtual Router Peering": { + "$ref": "./examples/VirtualRouterPeeringGet.json" + } + } + }, + "put": { + "operationId": "VirtualRouterPeerings_CreateOrUpdate", + "tags": [ + "VirtualRouterPeerings" + ], + "description": "Creates or updates the specified Virtual Router Peering.", + "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": "virtualRouterName", + "in": "path", + "description": "The name of the Virtual Router.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update Virtual Router Peering operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualRouterPeering" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VirtualRouterPeering' update operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualRouterPeering" + } + }, + "201": { + "description": "Resource 'VirtualRouterPeering' create operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualRouterPeering" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Create Virtual Router Peering": { + "$ref": "./examples/VirtualRouterPeeringPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VirtualRouterPeering" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualRouterPeerings_Delete", + "tags": [ + "VirtualRouterPeerings" + ], + "description": "Deletes the specified peering from a Virtual Router.", + "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": "virtualRouterName", + "in": "path", + "description": "The name of the Virtual Router.", + "required": true, + "type": "string" + }, + { + "name": "peeringName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "Delete VirtualRouterPeering": { + "$ref": "./examples/VirtualRouterPeeringDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/cloudServices/{cloudServiceName}/networkInterfaces": { + "get": { + "operationId": "NetworkInterfaces_ListCloudServiceNetworkInterfaces", + "tags": [ + "NetworkInterfaces" + ], + "description": "Gets all network interfaces in a cloud service.", + "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": "cloudServiceName", + "in": "path", + "description": "The name of the cloud service.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List cloud service network interfaces": { + "$ref": "./examples/CloudServiceNetworkInterfaceList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots": { + "get": { + "operationId": "VipSwap_List", + "tags": [ + "VipSwap" + ], + "description": "Gets the list of SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "groupName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "The name of the cloud service.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SwapResourceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get swap resource list": { + "$ref": "./examples/CloudServiceSwapList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{groupName}/providers/microsoft.Compute/cloudServices/{resourceName}/providers/Microsoft.Network/cloudServiceSlots/{singletonResource}": { + "get": { + "operationId": "VipSwap_Get", + "tags": [ + "VipSwap" + ], + "description": "Gets the SwapResource which identifies the slot type for the specified cloud service. The slot type on a cloud service can either be Staging or Production", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "groupName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "The name of the cloud service.", + "required": true, + "type": "string" + }, + { + "name": "singletonResource", + "in": "path", + "description": "The name of the singleton resource.", + "required": true, + "type": "string", + "enum": [ + "swap" + ], + "x-ms-enum": { + "name": "SingletonResource", + "modelAsString": false + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/SwapResource" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get swap resource": { + "$ref": "./examples/CloudServiceSwapGet.json" + } + } + }, + "put": { + "operationId": "VipSwap_Create", + "tags": [ + "VipSwap" + ], + "description": "Performs vip swap operation on swappable cloud services.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + }, + { + "name": "groupName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "resourceName", + "in": "path", + "description": "The name of the cloud service.", + "required": true, + "type": "string" + }, + { + "name": "singletonResource", + "in": "path", + "description": "The name of the singleton resource.", + "required": true, + "type": "string", + "enum": [ + "swap" + ], + "x-ms-enum": { + "name": "SingletonResource", + "modelAsString": false + } + }, + { + "name": "parameters", + "in": "body", + "description": "SwapResource object where slot type should be the target slot after vip swap for the specified cloud service.", + "required": true, + "schema": { + "$ref": "#/definitions/SwapResource" + } + } + ], + "responses": { + "200": { + "description": "The request has succeeded." + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Put vip swap operation.": { + "$ref": "./examples/CloudServiceSwapPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/cloudServices/{cloudServiceName}/publicipaddresses": { + "get": { + "operationId": "PublicIPAddresses_ListCloudServicePublicIPAddresses", + "description": "Gets information about all public IP addresses on a cloud service level.", + "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": "cloudServiceName", + "in": "path", + "description": "The name of the cloud service.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "The request has succeeded.", + "schema": { + "$ref": "#/definitions/PublicIPAddressListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ListVMSSPublicIP": { + "$ref": "./examples/CloudServicePublicIpListAll.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces": { + "get": { + "operationId": "NetworkInterfaces_ListCloudServiceRoleInstanceNetworkInterfaces", + "tags": [ + "NetworkInterfaces" + ], + "description": "Gets information about all network interfaces in a role instance in a cloud service.", + "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": "cloudServiceName", + "in": "path", + "description": "The name of the cloud service.", + "required": true, + "type": "string" + }, + { + "name": "roleInstanceName", + "in": "path", + "description": "The name of role instance.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkInterfaceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List cloud service role instance network interfaces": { + "$ref": "./examples/CloudServiceRoleInstanceNetworkInterfaceList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}": { + "get": { + "operationId": "NetworkInterfaces_GetCloudServiceNetworkInterface", + "tags": [ + "NetworkInterfaces" + ], + "description": "Get the specified network interface in a cloud service.", + "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": "cloudServiceName", + "in": "path", + "description": "The name of the cloud service.", + "required": true, + "type": "string" + }, + { + "name": "roleInstanceName", + "in": "path", + "description": "The name of role instance.", + "required": true, + "type": "string" + }, + { + "name": "networkInterfaceName", + "in": "path", + "description": "The name of the network interface.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.NetworkInterface" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get cloud service network interface": { + "$ref": "./examples/CloudServiceNetworkInterfaceGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses": { + "get": { + "operationId": "PublicIPAddresses_ListCloudServiceRoleInstancePublicIPAddresses", + "description": "Gets information about all public IP addresses in a role instance IP configuration in a cloud service.", + "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": "cloudServiceName", + "in": "path", + "description": "The name of the cloud service.", + "required": true, + "type": "string" + }, + { + "name": "roleInstanceName", + "in": "path", + "description": "The role instance name.", + "required": true, + "type": "string" + }, + { + "name": "networkInterfaceName", + "in": "path", + "description": "The name of the network interface.", + "required": true, + "type": "string" + }, + { + "name": "ipConfigurationName", + "in": "path", + "description": "The name of the IP configuration.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/PublicIPAddressListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ListVMSSVMPublicIP": { + "$ref": "./examples/CloudServiceRoleInstancePublicIpList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.Compute/cloudServices/{cloudServiceName}/roleInstances/{roleInstanceName}/networkInterfaces/{networkInterfaceName}/ipconfigurations/{ipConfigurationName}/publicipaddresses/{publicIpAddressName}": { + "get": { + "operationId": "PublicIPAddresses_GetCloudServicePublicIPAddress", + "description": "Get the specified public IP address in a cloud service.", + "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": "cloudServiceName", + "in": "path", + "description": "The name of the cloud service.", + "required": true, + "type": "string" + }, + { + "name": "roleInstanceName", + "in": "path", + "description": "The role instance name.", + "required": true, + "type": "string" + }, + { + "name": "networkInterfaceName", + "in": "path", + "description": "The name of the network interface.", + "required": true, + "type": "string" + }, + { + "name": "ipConfigurationName", + "in": "path", + "description": "The name of the IP configuration.", + "required": true, + "type": "string" + }, + { + "name": "publicIpAddressName", + "in": "path", + "description": "The name of the public IP Address.", + "required": true, + "type": "string" + }, + { + "name": "$expand", + "in": "query", + "description": "Expands referenced resources.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/Common.PublicIPAddress" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetVMSSPublicIP": { + "$ref": "./examples/CloudServicePublicIpGet.json" + } + } + } + } + }, + "definitions": { + "ApplicationSecurityGroupListResult": { + "type": "object", + "description": "The response of a ApplicationSecurityGroup list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ApplicationSecurityGroup items on this page", + "items": { + "$ref": "#/definitions/Common.ApplicationSecurityGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AutoApprovedPrivateLinkService": { + "type": "object", + "description": "The information of an AutoApprovedPrivateLinkService.", + "properties": { + "privateLinkService": { + "type": "string", + "description": "The id of the private link service resource." + } + } + }, + "AutoApprovedPrivateLinkServicesResult": { + "type": "object", + "description": "An array of private link service id that can be linked to a private end point with auto approved.", + "properties": { + "value": { + "type": "array", + "description": "The AutoApprovedPrivateLinkService items on this page", + "items": { + "$ref": "#/definitions/AutoApprovedPrivateLinkService" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AvailableDelegation": { + "type": "object", + "description": "The serviceName of an AvailableDelegation indicates a possible delegation for a subnet.", + "properties": { + "name": { + "type": "string", + "description": "The name of the AvailableDelegation resource." + }, + "id": { + "type": "string", + "description": "A unique identifier of the AvailableDelegation resource." + }, + "type": { + "type": "string", + "description": "Resource type." + }, + "serviceName": { + "type": "string", + "description": "The name of the service and resource." + }, + "actions": { + "type": "array", + "description": "The actions permitted to the service upon delegation.", + "items": { + "type": "string" + } + } + } + }, + "AvailableDelegationsResult": { + "type": "object", + "description": "An array of available delegations.", + "properties": { + "value": { + "type": "array", + "description": "The AvailableDelegation items on this page", + "items": { + "$ref": "#/definitions/AvailableDelegation" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AvailablePrivateEndpointType": { + "type": "object", + "description": "The information of an AvailablePrivateEndpointType.", + "properties": { + "name": { + "type": "string", + "description": "The name of the service and resource." + }, + "id": { + "type": "string", + "description": "A unique identifier of the AvailablePrivateEndpoint Type resource." + }, + "type": { + "type": "string", + "description": "Resource type." + }, + "resourceName": { + "type": "string", + "description": "The name of the service and resource." + }, + "displayName": { + "type": "string", + "description": "Display name of the resource." + } + } + }, + "AvailablePrivateEndpointTypesResult": { + "type": "object", + "description": "An array of available PrivateEndpoint types.", + "properties": { + "value": { + "type": "array", + "description": "The AvailablePrivateEndpointType items on this page", + "items": { + "$ref": "#/definitions/AvailablePrivateEndpointType" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "AvailableServiceAlias": { + "type": "object", + "description": "The available service alias.", + "properties": { + "name": { + "type": "string", + "description": "The name of the service alias." + }, + "id": { + "type": "string", + "description": "The ID of the service alias." + }, + "type": { + "type": "string", + "description": "The type of the resource." + }, + "resourceName": { + "type": "string", + "description": "The resource name of the service alias." + } + } + }, + "AvailableServiceAliasesResult": { + "type": "object", + "description": "An array of available service aliases.", + "properties": { + "value": { + "type": "array", + "description": "The AvailableServiceAlias items on this page", + "items": { + "$ref": "#/definitions/AvailableServiceAlias" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BastionActiveSession": { + "type": "object", + "description": "The session detail for a target.", + "properties": { + "sessionId": { + "type": "string", + "description": "A unique id for the session.", + "readOnly": true + }, + "startTime": { + "description": "The time when the session started.", + "readOnly": true + }, + "targetSubscriptionId": { + "type": "string", + "description": "The subscription id for the target virtual machine.", + "readOnly": true + }, + "resourceType": { + "type": "string", + "description": "The type of the resource.", + "readOnly": true + }, + "targetHostName": { + "type": "string", + "description": "The host name of the target.", + "readOnly": true + }, + "targetResourceGroup": { + "type": "string", + "description": "The resource group of the target.", + "readOnly": true + }, + "userName": { + "type": "string", + "description": "The user name who is active on this session.", + "readOnly": true + }, + "targetIpAddress": { + "type": "string", + "description": "The IP Address of the target.", + "readOnly": true + }, + "protocol": { + "$ref": "./common.json#/definitions/BastionConnectProtocol", + "description": "The protocol used to connect to the target.", + "readOnly": true + }, + "targetResourceId": { + "type": "string", + "description": "The resource id of the target.", + "readOnly": true + }, + "sessionDurationInMins": { + "type": "number", + "format": "float", + "description": "Duration in mins the session has been active.", + "readOnly": true + } + } + }, + "BastionActiveSessionListResult": { + "type": "object", + "description": "Response for GetActiveSessions.", + "properties": { + "value": { + "type": "array", + "description": "The BastionActiveSession items on this page", + "items": { + "$ref": "#/definitions/BastionActiveSession" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BastionHost": { + "type": "object", + "description": "Bastion Host resource.", + "properties": { + "properties": { + "$ref": "#/definitions/BastionHostPropertiesFormat", + "description": "Represents the bastion host resource.", + "x-ms-client-flatten": true + }, + "zones": { + "type": "array", + "description": "A list of availability zones denoting where the resource needs to come from.", + "items": { + "type": "string" + } + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "sku": { + "$ref": "#/definitions/Sku", + "description": "The sku of this Bastion Host." + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "BastionHostIPConfiguration": { + "type": "object", + "description": "IP configuration of an Bastion Host.", + "properties": { + "properties": { + "$ref": "#/definitions/BastionHostIPConfigurationPropertiesFormat", + "description": "Represents the ip configuration associated with the resource.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Ip configuration type.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "BastionHostIPConfigurationPropertiesFormat": { + "type": "object", + "description": "Properties of IP configuration of an Bastion Host.", + "properties": { + "subnet": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference of the subnet resource." + }, + "publicIPAddress": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference of the PublicIP resource. Null for private only bastion" + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the bastion host IP configuration resource.", + "readOnly": true + }, + "privateIPAllocationMethod": { + "$ref": "./common.json#/definitions/Common.IPAllocationMethod", + "description": "Private IP allocation method." + } + }, + "required": [ + "subnet" + ] + }, + "BastionHostListResult": { + "type": "object", + "description": "The response of a BastionHost list operation.", + "properties": { + "value": { + "type": "array", + "description": "The BastionHost items on this page", + "items": { + "$ref": "#/definitions/BastionHost" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BastionHostPropertiesFormat": { + "type": "object", + "description": "Properties of the Bastion Host.", + "properties": { + "ipConfigurations": { + "type": "array", + "description": "IP configuration of the Bastion Host resource.", + "items": { + "$ref": "#/definitions/BastionHostIPConfiguration" + } + }, + "dnsName": { + "type": "string", + "description": "FQDN for the endpoint on which bastion host is accessible." + }, + "virtualNetwork": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to an existing virtual network required for Developer Bastion Host only." + }, + "networkAcls": { + "$ref": "#/definitions/BastionHostPropertiesFormatNetworkAcls" + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the bastion host resource.", + "readOnly": true + }, + "scaleUnits": { + "type": "integer", + "format": "int32", + "description": "The scale units for the Bastion Host resource.", + "minimum": 2, + "maximum": 50 + }, + "disableCopyPaste": { + "type": "boolean", + "description": "Enable/Disable Copy/Paste feature of the Bastion Host resource.", + "default": false + }, + "enableFileCopy": { + "type": "boolean", + "description": "Enable/Disable File Copy feature of the Bastion Host resource.", + "default": false + }, + "enableIpConnect": { + "type": "boolean", + "description": "Enable/Disable IP Connect feature of the Bastion Host resource.", + "default": false + }, + "enableShareableLink": { + "type": "boolean", + "description": "Enable/Disable Shareable Link of the Bastion Host resource.", + "default": false + }, + "enableTunneling": { + "type": "boolean", + "description": "Enable/Disable Tunneling feature of the Bastion Host resource.", + "default": false + }, + "enableKerberos": { + "type": "boolean", + "description": "Enable/Disable Kerberos feature of the Bastion Host resource.", + "default": false + }, + "enableSessionRecording": { + "type": "boolean", + "description": "Enable/Disable Session Recording feature of the Bastion Host resource.", + "default": false + }, + "enablePrivateOnlyBastion": { + "type": "boolean", + "description": "Enable/Disable Private Only feature of the Bastion Host resource.", + "default": false + } + } + }, + "BastionHostPropertiesFormatNetworkAcls": { + "type": "object", + "properties": { + "ipRules": { + "type": "array", + "description": "Sets the IP ACL rules for Developer Bastion Host.", + "items": { + "$ref": "#/definitions/IPRule" + } + } + } + }, + "BastionSessionDeleteResult": { + "type": "object", + "description": "Response for DisconnectActiveSessions.", + "properties": { + "value": { + "type": "array", + "description": "The BastionSessionState items on this page", + "items": { + "$ref": "#/definitions/BastionSessionState" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BastionSessionState": { + "type": "object", + "description": "The session state detail for a target.", + "properties": { + "sessionId": { + "type": "string", + "description": "A unique id for the session.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Used for extra information.", + "readOnly": true + }, + "state": { + "type": "string", + "description": "The state of the session. Disconnected/Failed/NotFound.", + "readOnly": true + } + } + }, + "BastionShareableLink": { + "type": "object", + "description": "Bastion Shareable Link.", + "properties": { + "vm": { + "$ref": "#/definitions/VM", + "description": "Reference of the virtual machine resource." + }, + "bsl": { + "type": "string", + "description": "The unique Bastion Shareable Link to the virtual machine.", + "readOnly": true + }, + "createdAt": { + "type": "string", + "description": "The time when the link was created.", + "readOnly": true + }, + "message": { + "type": "string", + "description": "Optional field indicating the warning or error message related to the vm in case of partial failure.", + "readOnly": true + } + }, + "required": [ + "vm" + ] + }, + "BastionShareableLinkListRequest": { + "type": "object", + "description": "Post request for Create/Delete/Get Bastion Shareable Link endpoints.", + "properties": { + "vms": { + "type": "array", + "description": "List of VM references.", + "items": { + "$ref": "#/definitions/BastionShareableLink" + } + } + } + }, + "BastionShareableLinkListResult": { + "type": "object", + "description": "Response for all the Bastion Shareable Link endpoints.", + "properties": { + "value": { + "type": "array", + "description": "The BastionShareableLink items on this page", + "items": { + "$ref": "#/definitions/BastionShareableLink" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "BastionShareableLinkTokenListRequest": { + "type": "object", + "description": "Post request for Delete Bastion Shareable Link By Token endpoint.", + "properties": { + "tokens": { + "type": "array", + "description": "List of Bastion Shareable Link Token.", + "items": { + "type": "string" + } + } + } + }, + "BreakOutCategoryPolicies": { + "type": "object", + "description": "Network Virtual Appliance Sku Properties.", + "properties": { + "allow": { + "type": "boolean", + "description": "Flag to control breakout of o365 allow category." + }, + "optimize": { + "type": "boolean", + "description": "Flag to control breakout of o365 optimize category." + }, + "default": { + "type": "boolean", + "description": "Flag to control breakout of o365 default category." + } + } + }, + "CheckPrivateLinkServiceVisibilityRequest": { + "type": "object", + "description": "Request body of the CheckPrivateLinkServiceVisibility API service call.", + "properties": { + "privateLinkServiceAlias": { + "type": "string", + "description": "The alias of the private link service." + } + } + }, + "Common.AddressSpace": { + "type": "object", + "description": "AddressSpace contains an array of IP address ranges that can be used by subnets of the virtual network.", + "properties": { + "addressPrefixes": { + "type": "array", + "description": "A list of address blocks reserved for this virtual network in CIDR notation.", + "items": { + "type": "string" + } + }, + "ipamPoolPrefixAllocations": { + "type": "array", + "description": "A list of IPAM Pools allocating IP address prefixes.", + "items": { + "$ref": "#/definitions/Common.IpamPoolPrefixAllocation" + } + } + } + }, + "Common.ApplicationSecurityGroup": { + "type": "object", + "description": "An application security group in a resource group.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.ApplicationSecurityGroupPropertiesFormat", + "description": "Properties of the application security group.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "Common.ApplicationSecurityGroupPropertiesFormat": { + "type": "object", + "description": "Application security group properties.", + "properties": { + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the application security group resource. It uniquely identifies a resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the application security group resource.", + "readOnly": true + } + } + }, + "Common.CustomDnsConfigPropertiesFormat": { + "type": "object", + "description": "Contains custom Dns resolution configuration from customer.", + "properties": { + "fqdn": { + "type": "string", + "description": "Fqdn that resolves to private endpoint ip address." + }, + "ipAddresses": { + "type": "array", + "description": "A list of private ip addresses of the private endpoint.", + "items": { + "type": "string" + } + } + } + }, + "Common.DdosSettings": { + "type": "object", + "description": "Contains the DDoS protection settings of the public IP.", + "properties": { + "protectionMode": { + "$ref": "./common.json#/definitions/Common.DdosSettingsProtectionMode", + "description": "The DDoS protection mode of the public IP" + }, + "ddosCustomPolicy": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The DDoS custom policy associated with the public IP." + }, + "ddosProtectionPlan": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The DDoS protection plan associated with the public IP. Can only be set if ProtectionMode is Enabled" + } + } + }, + "Common.Delegation": { + "type": "object", + "description": "Details the service to which the subnet is delegated.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.ServiceDelegationPropertiesFormat", + "description": "Properties of the subnet.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a subnet. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type." + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "Common.DhcpOptions": { + "type": "object", + "description": "DhcpOptions contains an array of DNS servers available to VMs deployed in the virtual network. Standard DHCP option for a subnet overrides VNET DHCP options.", + "properties": { + "dnsServers": { + "type": "array", + "description": "The list of DNS servers IP addresses.", + "items": { + "type": "string" + } + } + } + }, + "Common.IPConfiguration": { + "type": "object", + "description": "IP configuration.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.IPConfigurationPropertiesFormat", + "description": "Properties of the IP configuration.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "Common.IPConfigurationProfile": { + "type": "object", + "description": "IP configuration profile child resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.IPConfigurationProfilePropertiesFormat", + "description": "Properties of the IP configuration profile.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource. This name can be used to access the resource." + }, + "type": { + "type": "string", + "description": "Sub Resource type.", + "readOnly": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "Common.IPConfigurationProfilePropertiesFormat": { + "type": "object", + "description": "IP configuration profile properties.", + "properties": { + "subnet": { + "$ref": "#/definitions/Common.Subnet", + "description": "The reference to the subnet resource to create a container network interface ip configuration." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the IP configuration profile resource.", + "readOnly": true + } + } + }, + "Common.IPConfigurationPropertiesFormat": { + "type": "object", + "description": "Properties of IP configuration.", + "properties": { + "privateIPAddress": { + "type": "string", + "description": "The private IP address of the IP configuration." + }, + "privateIPAllocationMethod": { + "$ref": "./common.json#/definitions/Common.IPAllocationMethod", + "description": "The private IP address allocation method." + }, + "subnet": { + "$ref": "#/definitions/Common.Subnet", + "description": "The reference to the subnet resource." + }, + "publicIPAddress": { + "$ref": "#/definitions/Common.PublicIPAddress", + "description": "The reference to the public IP resource." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the IP configuration resource.", + "readOnly": true + } + } + }, + "Common.IpTag": { + "type": "object", + "description": "Contains the IpTag associated with the object.", + "properties": { + "ipTagType": { + "type": "string", + "description": "The IP tag type. Example: FirstPartyUsage." + }, + "tag": { + "type": "string", + "description": "The value of the IP tag associated with the public IP. Example: SQL." + } + } + }, + "Common.IpamPoolPrefixAllocation": { + "type": "object", + "description": "IpamPool prefix allocation reference.", + "properties": { + "pool": { + "$ref": "#/definitions/Common.IpamPoolPrefixAllocationPool", + "x-ms-client-flatten": true + }, + "numberOfIpAddresses": { + "type": "string", + "description": "Number of IP addresses to allocate." + }, + "allocatedAddressPrefixes": { + "type": "array", + "description": "List of assigned IP address prefixes in the IpamPool of the associated resource.", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "Common.IpamPoolPrefixAllocationPool": { + "type": "object", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "Resource id of the associated Azure IpamPool resource." + } + } + }, + "Common.NatGateway": { + "type": "object", + "description": "Nat Gateway resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.NatGatewayPropertiesFormat", + "description": "Nat Gateway properties.", + "x-ms-client-flatten": true + }, + "sku": { + "$ref": "#/definitions/Common.NatGatewaySku", + "description": "The nat gateway SKU." + }, + "zones": { + "type": "array", + "description": "A list of availability zones denoting the zone in which Nat Gateway should be deployed.", + "items": { + "type": "string" + } + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "Common.NatGatewayPropertiesFormat": { + "type": "object", + "description": "Nat Gateway properties.", + "properties": { + "idleTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "The idle timeout of the nat gateway." + }, + "publicIpAddresses": { + "type": "array", + "description": "An array of public ip addresses V4 associated with the nat gateway resource.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "publicIpAddressesV6": { + "type": "array", + "description": "An array of public ip addresses V6 associated with the nat gateway resource.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "publicIpPrefixes": { + "type": "array", + "description": "An array of public ip prefixes V4 associated with the nat gateway resource.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "publicIpPrefixesV6": { + "type": "array", + "description": "An array of public ip prefixes V6 associated with the nat gateway resource.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "subnets": { + "type": "array", + "description": "An array of references to the subnets using this nat gateway resource.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "sourceVirtualNetwork": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "A reference to the source virtual network using this nat gateway resource." + }, + "serviceGateway": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to an existing service gateway." + }, + "nat64": { + "$ref": "./common.json#/definitions/Common.Nat64State", + "description": "Whether Nat64 is enabled for the NAT gateway resource." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the NAT gateway resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the NAT gateway resource.", + "readOnly": true + } + } + }, + "Common.NatGatewaySku": { + "type": "object", + "description": "SKU of nat gateway.", + "properties": { + "name": { + "$ref": "./common.json#/definitions/Common.NatGatewaySkuName", + "description": "Name of Nat Gateway SKU." + } + } + }, + "Common.NetworkInterface": { + "type": "object", + "description": "A network interface in a resource group.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.NetworkInterfacePropertiesFormat", + "description": "Properties of the network interface.", + "x-ms-client-flatten": true + }, + "extendedLocation": { + "$ref": "./common.json#/definitions/Common.ExtendedLocation", + "description": "The extended location of the network interface." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "Common.NetworkInterfaceDnsSettings": { + "type": "object", + "description": "DNS settings of a network interface.", + "properties": { + "dnsServers": { + "type": "array", + "description": "List of DNS servers IP addresses. Use 'AzureProvidedDNS' to switch to azure provided DNS resolution. 'AzureProvidedDNS' value cannot be combined with other IPs, it must be the only value in dnsServers collection.", + "items": { + "type": "string" + } + }, + "appliedDnsServers": { + "type": "array", + "description": "If the VM that uses this NIC is part of an Availability Set, then this list will have the union of all DNS servers from all NICs that are part of the Availability Set. This property is what is configured on each of those VMs.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "internalDnsNameLabel": { + "type": "string", + "description": "Relative DNS name for this NIC used for internal communications between VMs in the same virtual network." + }, + "internalFqdn": { + "type": "string", + "description": "Fully qualified DNS name supporting internal communications between VMs in the same virtual network.", + "readOnly": true + }, + "internalDomainNameSuffix": { + "type": "string", + "description": "Even if internalDnsNameLabel is not specified, a DNS entry is created for the primary NIC of the VM. This DNS name can be constructed by concatenating the VM name with the value of internalDomainNameSuffix.", + "readOnly": true + } + } + }, + "Common.NetworkInterfaceIPConfiguration": { + "type": "object", + "description": "IPConfiguration in a network interface.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.NetworkInterfaceIPConfigurationPropertiesFormat", + "description": "Network interface IP configuration properties.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "Common.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties": { + "type": "object", + "description": "PrivateLinkConnection properties for the network interface.", + "properties": { + "groupId": { + "type": "string", + "description": "The group ID for current private link connection.", + "readOnly": true + }, + "requiredMemberName": { + "type": "string", + "description": "The required member name for current private link connection.", + "readOnly": true + }, + "fqdns": { + "type": "array", + "description": "List of FQDNs for current private link connection.", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "Common.NetworkInterfaceIPConfigurationPropertiesFormat": { + "type": "object", + "description": "Properties of IP configuration.", + "properties": { + "gatewayLoadBalancer": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to gateway load balancer frontend IP." + }, + "virtualNetworkTaps": { + "type": "array", + "description": "The reference to Virtual Network Taps.", + "items": { + "$ref": "./networkGateway.json#/definitions/Common.VirtualNetworkTap" + } + }, + "applicationGatewayBackendAddressPools": { + "type": "array", + "description": "The reference to ApplicationGatewayBackendAddressPool resource.", + "items": { + "$ref": "./applicationGateway.json#/definitions/Common.ApplicationGatewayBackendAddressPool" + } + }, + "loadBalancerBackendAddressPools": { + "type": "array", + "description": "The reference to LoadBalancerBackendAddressPool resource.", + "items": { + "$ref": "./loadBalancer.json#/definitions/Common.BackendAddressPool" + } + }, + "loadBalancerInboundNatRules": { + "type": "array", + "description": "A list of references of LoadBalancerInboundNatRules.", + "items": { + "$ref": "./loadBalancer.json#/definitions/Common.InboundNatRule" + } + }, + "privateIPAddress": { + "type": "string", + "description": "Private IP address of the IP configuration. It can be a single IP address or a CIDR block in the format
/." + }, + "privateIPAddressPrefixLength": { + "type": "integer", + "format": "int32", + "description": "The private IP address prefix length. If specified and the allocation method is dynamic, the service will allocate a CIDR block instead of a single IP address.", + "minimum": 1, + "maximum": 128, + "x-nullable": true + }, + "privateIPAllocationMethod": { + "$ref": "./common.json#/definitions/Common.IPAllocationMethod", + "description": "The private IP address allocation method." + }, + "privateIPAddressVersion": { + "$ref": "./common.json#/definitions/Common.IPVersion", + "description": "Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4." + }, + "subnet": { + "$ref": "#/definitions/Common.Subnet", + "description": "Subnet bound to the IP configuration." + }, + "primary": { + "type": "boolean", + "description": "Whether this is a primary customer address on the network interface." + }, + "publicIPAddress": { + "$ref": "#/definitions/Common.PublicIPAddress", + "description": "Public IP address bound to the IP configuration." + }, + "applicationSecurityGroups": { + "type": "array", + "description": "Application security groups in which the IP configuration is included.", + "items": { + "$ref": "#/definitions/Common.ApplicationSecurityGroup" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the network interface IP configuration.", + "readOnly": true + }, + "privateLinkConnectionProperties": { + "$ref": "#/definitions/Common.NetworkInterfaceIPConfigurationPrivateLinkConnectionProperties", + "description": "PrivateLinkConnection properties for the network interface.", + "readOnly": true + } + } + }, + "Common.NetworkInterfacePropertiesFormat": { + "type": "object", + "description": "NetworkInterface properties.", + "properties": { + "virtualMachine": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to a virtual machine.", + "readOnly": true + }, + "networkSecurityGroup": { + "$ref": "#/definitions/Common.NetworkSecurityGroup", + "description": "The reference to the NetworkSecurityGroup resource." + }, + "privateEndpoint": { + "$ref": "#/definitions/Common.PrivateEndpoint", + "description": "A reference to the private endpoint to which the network interface is linked.", + "readOnly": true + }, + "ipConfigurations": { + "type": "array", + "description": "A list of IPConfigurations of the network interface.", + "items": { + "$ref": "#/definitions/Common.NetworkInterfaceIPConfiguration" + } + }, + "tapConfigurations": { + "type": "array", + "description": "A list of TapConfigurations of the network interface.", + "items": { + "$ref": "#/definitions/Common.NetworkInterfaceTapConfiguration" + }, + "readOnly": true + }, + "dnsSettings": { + "$ref": "#/definitions/Common.NetworkInterfaceDnsSettings", + "description": "The DNS settings in network interface." + }, + "macAddress": { + "type": "string", + "description": "The MAC address of the network interface.", + "readOnly": true + }, + "primary": { + "type": "boolean", + "description": "Whether this is a primary network interface on a virtual machine.", + "readOnly": true + }, + "vnetEncryptionSupported": { + "type": "boolean", + "description": "Whether the virtual machine this nic is attached to supports encryption.", + "readOnly": true + }, + "defaultOutboundConnectivityEnabled": { + "type": "boolean", + "description": "Whether default outbound connectivity for nic was configured or not.", + "readOnly": true + }, + "enableAcceleratedNetworking": { + "type": "boolean", + "description": "If the network interface is configured for accelerated networking. Not applicable to VM sizes which require accelerated networking." + }, + "disableTcpStateTracking": { + "type": "boolean", + "description": "Indicates whether to disable tcp state tracking." + }, + "enableIPForwarding": { + "type": "boolean", + "description": "Indicates whether IP forwarding is enabled on this network interface." + }, + "hostedWorkloads": { + "type": "array", + "description": "A list of references to linked BareMetal resources.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "dscpConfiguration": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "A reference to the dscp configuration to which the network interface is linked.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the network interface resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the network interface resource.", + "readOnly": true + }, + "workloadType": { + "type": "string", + "description": "WorkloadType of the NetworkInterface for BareMetal resources" + }, + "nicType": { + "$ref": "./common.json#/definitions/Common.NetworkInterfaceNicType", + "description": "Type of Network Interface resource." + }, + "privateLinkService": { + "$ref": "#/definitions/Common.PrivateLinkService", + "description": "Privatelinkservice of the network interface resource." + }, + "migrationPhase": { + "$ref": "./common.json#/definitions/Common.NetworkInterfaceMigrationPhase", + "description": "Migration phase of Network Interface resource." + }, + "auxiliaryMode": { + "$ref": "./common.json#/definitions/Common.NetworkInterfaceAuxiliaryMode", + "description": "Auxiliary mode of Network Interface resource." + }, + "auxiliarySku": { + "$ref": "./common.json#/definitions/Common.NetworkInterfaceAuxiliarySku", + "description": "Auxiliary sku of Network Interface resource." + } + } + }, + "Common.NetworkInterfaceTapConfiguration": { + "type": "object", + "description": "Tap configuration in a Network Interface.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.NetworkInterfaceTapConfigurationPropertiesFormat", + "description": "Properties of the Virtual Network Tap configuration.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "Common.NetworkInterfaceTapConfigurationPropertiesFormat": { + "type": "object", + "description": "Properties of Virtual Network Tap configuration.", + "properties": { + "virtualNetworkTap": { + "$ref": "./networkGateway.json#/definitions/Common.VirtualNetworkTap", + "description": "The reference to the Virtual Network Tap resource." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the network interface tap configuration resource.", + "readOnly": true + } + } + }, + "Common.NetworkSecurityGroup": { + "type": "object", + "description": "NetworkSecurityGroup resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.NetworkSecurityGroupPropertiesFormat", + "description": "Properties of the network security group.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "Common.NetworkSecurityGroupPropertiesFormat": { + "type": "object", + "description": "Network Security Group resource.", + "properties": { + "flushConnection": { + "type": "boolean", + "description": "When enabled, flows created from Network Security Group connections will be re-evaluated when rules are updates. Initial enablement will trigger re-evaluation." + }, + "securityRules": { + "type": "array", + "description": "A collection of security rules of the network security group.", + "items": { + "$ref": "#/definitions/Common.SecurityRule" + } + }, + "defaultSecurityRules": { + "type": "array", + "description": "The default security rules of network security group.", + "items": { + "$ref": "#/definitions/Common.SecurityRule" + }, + "readOnly": true + }, + "networkInterfaces": { + "type": "array", + "description": "A collection of references to network interfaces.", + "items": { + "$ref": "#/definitions/Common.NetworkInterface" + }, + "readOnly": true + }, + "subnets": { + "type": "array", + "description": "A collection of references to subnets.", + "items": { + "$ref": "#/definitions/Common.Subnet" + }, + "readOnly": true + }, + "flowLogs": { + "type": "array", + "description": "A collection of references to flow log resources.", + "items": { + "$ref": "./networkWatcher.json#/definitions/Common.FlowLog" + }, + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the network security group resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the network security group resource.", + "readOnly": true + } + } + }, + "Common.PrivateEndpoint": { + "type": "object", + "description": "Private endpoint resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.PrivateEndpointProperties", + "description": "Properties of the private endpoint.", + "x-ms-client-flatten": true + }, + "extendedLocation": { + "$ref": "./common.json#/definitions/Common.ExtendedLocation", + "description": "The extended location of the load balancer." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "Common.PrivateEndpointConnection": { + "type": "object", + "description": "PrivateEndpointConnection resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.PrivateEndpointConnectionProperties", + "description": "Properties of the private end point connection.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "Common.PrivateEndpointConnectionProperties": { + "type": "object", + "description": "Properties of the PrivateEndpointConnectProperties.", + "properties": { + "privateEndpoint": { + "$ref": "#/definitions/Common.PrivateEndpoint", + "description": "The resource of private end point.", + "readOnly": true + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/Common.PrivateLinkServiceConnectionState", + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the private endpoint connection resource.", + "readOnly": true + }, + "linkIdentifier": { + "type": "string", + "description": "The consumer link id.", + "readOnly": true + }, + "privateEndpointLocation": { + "type": "string", + "description": "The location of the private endpoint.", + "readOnly": true + } + } + }, + "Common.PrivateEndpointIPConfiguration": { + "type": "object", + "description": "An IP Configuration of the private endpoint.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.PrivateEndpointIPConfigurationProperties", + "description": "Properties of private endpoint IP configurations.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group." + }, + "type": { + "type": "string", + "description": "The resource type.", + "readOnly": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + } + }, + "Common.PrivateEndpointIPConfigurationProperties": { + "type": "object", + "description": "Properties of an IP Configuration of the private endpoint.", + "properties": { + "groupId": { + "type": "string", + "description": "The ID of a group obtained from the remote resource that this private endpoint should connect to." + }, + "memberName": { + "type": "string", + "description": "The member name of a group obtained from the remote resource that this private endpoint should connect to." + }, + "privateIPAddress": { + "type": "string", + "description": "A private ip address obtained from the private endpoint's subnet." + } + } + }, + "Common.PrivateEndpointProperties": { + "type": "object", + "description": "Properties of the private endpoint.", + "properties": { + "subnet": { + "$ref": "#/definitions/Common.Subnet", + "description": "The ID of the subnet from which the private IP will be allocated." + }, + "networkInterfaces": { + "type": "array", + "description": "An array of references to the network interfaces created for this private endpoint.", + "items": { + "$ref": "#/definitions/Common.NetworkInterface" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the private endpoint resource.", + "readOnly": true + }, + "ipVersionType": { + "type": "string", + "description": "Specifies the IP version type for the private IPs of the private endpoint. If not defined, this defaults to IPv4.", + "default": "IPv4", + "enum": [ + "IPv4", + "IPv6", + "DualStack" + ], + "x-ms-enum": { + "name": "PrivateEndpointIPVersionType", + "modelAsString": true, + "values": [ + { + "name": "IPv4", + "value": "IPv4", + "description": "Indicates that the Private IPs of the private endpoint will be IPv4 only." + }, + { + "name": "IPv6", + "value": "IPv6", + "description": "Indicates that the Private IPs of the private endpoint will be IPv6 only." + }, + { + "name": "DualStack", + "value": "DualStack", + "description": "Indicates that the Private IPs of the private endpoint can be both IPv4 and IPv6." + } + ] + } + }, + "privateLinkServiceConnections": { + "type": "array", + "description": "A grouping of information about the connection to the remote resource.", + "items": { + "$ref": "#/definitions/Common.PrivateLinkServiceConnection" + } + }, + "manualPrivateLinkServiceConnections": { + "type": "array", + "description": "A grouping of information about the connection to the remote resource. Used when the network admin does not have access to approve connections to the remote resource.", + "items": { + "$ref": "#/definitions/Common.PrivateLinkServiceConnection" + } + }, + "customDnsConfigs": { + "type": "array", + "description": "An array of custom dns configurations.", + "items": { + "$ref": "#/definitions/Common.CustomDnsConfigPropertiesFormat" + } + }, + "applicationSecurityGroups": { + "type": "array", + "description": "Application security groups in which the private endpoint IP configuration is included.", + "items": { + "$ref": "#/definitions/Common.ApplicationSecurityGroup" + } + }, + "ipConfigurations": { + "type": "array", + "description": "A list of IP configurations of the private endpoint. This will be used to map to the First Party Service's endpoints.", + "items": { + "$ref": "#/definitions/Common.PrivateEndpointIPConfiguration" + } + }, + "customNetworkInterfaceName": { + "type": "string", + "description": "The custom name of the network interface attached to the private endpoint." + } + } + }, + "Common.PrivateLinkService": { + "type": "object", + "description": "Private link service resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.PrivateLinkServiceProperties", + "description": "Properties of the private link service.", + "x-ms-client-flatten": true + }, + "extendedLocation": { + "$ref": "./common.json#/definitions/Common.ExtendedLocation", + "description": "The extended location of the load balancer." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "Common.PrivateLinkServiceConnection": { + "type": "object", + "description": "PrivateLinkServiceConnection resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.PrivateLinkServiceConnectionProperties", + "description": "Properties of the private link service connection.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "type": { + "type": "string", + "description": "The resource type.", + "readOnly": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "Common.PrivateLinkServiceConnectionProperties": { + "type": "object", + "description": "Properties of the PrivateLinkServiceConnection.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the private link service connection resource.", + "readOnly": true + }, + "privateLinkServiceId": { + "type": "string", + "description": "The resource id of private link service." + }, + "groupIds": { + "type": "array", + "description": "The ID(s) of the group(s) obtained from the remote resource that this private endpoint should connect to.", + "items": { + "type": "string" + } + }, + "requestMessage": { + "type": "string", + "description": "A message passed to the owner of the remote resource with this connection request. Restricted to 140 chars." + }, + "privateLinkServiceConnectionState": { + "$ref": "#/definitions/Common.PrivateLinkServiceConnectionState", + "description": "A collection of read-only information about the state of the connection to the remote resource." + } + } + }, + "Common.PrivateLinkServiceConnectionState": { + "type": "object", + "description": "A collection of information about the state of the connection between service consumer and provider.", + "properties": { + "status": { + "type": "string", + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + } + } + }, + "Common.PrivateLinkServiceIpConfiguration": { + "type": "object", + "description": "The private link service ip configuration.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.PrivateLinkServiceIpConfigurationProperties", + "description": "Properties of the private link service ip configuration.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of private link service ip configuration." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The resource type.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "Common.PrivateLinkServiceIpConfigurationProperties": { + "type": "object", + "description": "Properties of private link service IP configuration.", + "properties": { + "privateIPAddress": { + "type": "string", + "description": "The private IP address of the IP configuration." + }, + "privateIPAllocationMethod": { + "$ref": "./common.json#/definitions/Common.IPAllocationMethod", + "description": "The private IP address allocation method." + }, + "subnet": { + "$ref": "#/definitions/Common.Subnet", + "description": "The reference to the subnet resource." + }, + "primary": { + "type": "boolean", + "description": "Whether the ip configuration is primary or not." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the private link service IP configuration resource.", + "readOnly": true + }, + "privateIPAddressVersion": { + "$ref": "./common.json#/definitions/Common.IPVersion", + "description": "Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4." + } + } + }, + "Common.PrivateLinkServiceProperties": { + "type": "object", + "description": "Properties of the private link service.", + "properties": { + "loadBalancerFrontendIpConfigurations": { + "type": "array", + "description": "An array of references to the load balancer IP configurations.", + "items": { + "$ref": "./loadBalancer.json#/definitions/Common.FrontendIPConfiguration" + } + }, + "ipConfigurations": { + "type": "array", + "description": "An array of private link service IP configurations.", + "items": { + "$ref": "#/definitions/Common.PrivateLinkServiceIpConfiguration" + } + }, + "destinationIPAddress": { + "type": "string", + "description": "The destination IP address of the private link service." + }, + "accessMode": { + "$ref": "./common.json#/definitions/Common.AccessMode", + "description": "The access mode of the private link service." + }, + "networkInterfaces": { + "type": "array", + "description": "An array of references to the network interfaces created for this private link service.", + "items": { + "$ref": "#/definitions/Common.NetworkInterface" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the private link service resource.", + "readOnly": true + }, + "privateEndpointConnections": { + "type": "array", + "description": "An array of list about connections to the private endpoint.", + "items": { + "$ref": "#/definitions/Common.PrivateEndpointConnection" + }, + "readOnly": true + }, + "visibility": { + "$ref": "#/definitions/Common.PrivateLinkServicePropertiesVisibility", + "description": "The visibility list of the private link service." + }, + "autoApproval": { + "$ref": "#/definitions/Common.PrivateLinkServicePropertiesAutoApproval", + "description": "The auto-approval list of the private link service." + }, + "fqdns": { + "type": "array", + "description": "The list of Fqdn.", + "items": { + "type": "string" + } + }, + "alias": { + "type": "string", + "description": "The alias of the private link service.", + "readOnly": true + }, + "enableProxyProtocol": { + "type": "boolean", + "description": "Whether the private link service is enabled for proxy protocol or not." + } + } + }, + "Common.PrivateLinkServicePropertiesAutoApproval": { + "type": "object", + "description": "The auto-approval list of the private link service.", + "allOf": [ + { + "$ref": "#/definitions/Common.ResourceSet" + } + ] + }, + "Common.PrivateLinkServicePropertiesVisibility": { + "type": "object", + "description": "The visibility list of the private link service.", + "allOf": [ + { + "$ref": "#/definitions/Common.ResourceSet" + } + ] + }, + "Common.PublicIPAddress": { + "type": "object", + "description": "Public IP address resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.PublicIPAddressPropertiesFormat", + "description": "Public IP address properties.", + "x-ms-client-flatten": true + }, + "extendedLocation": { + "$ref": "./common.json#/definitions/Common.ExtendedLocation", + "description": "The extended location of the public ip address." + }, + "sku": { + "$ref": "#/definitions/Common.PublicIPAddressSku", + "description": "The public IP address SKU." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "zones": { + "type": "array", + "description": "A list of availability zones denoting the IP allocated for the resource needs to come from.", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "Common.PublicIPAddressDnsSettings": { + "type": "object", + "description": "Contains FQDN of the DNS record associated with the public IP address.", + "properties": { + "domainNameLabel": { + "type": "string", + "description": "The domain name label. The concatenation of the domain name label and the regionalized DNS zone make up the fully qualified domain name associated with the public IP address. If a domain name label is specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system." + }, + "domainNameLabelScope": { + "$ref": "./common.json#/definitions/Common.PublicIpAddressDnsSettingsDomainNameLabelScope", + "description": "The domain name label scope. If a domain name label and a domain name label scope are specified, an A DNS record is created for the public IP in the Microsoft Azure DNS system with a hashed value includes in FQDN." + }, + "fqdn": { + "type": "string", + "description": "The Fully Qualified Domain Name of the A DNS record associated with the public IP. This is the concatenation of the domainNameLabel and the regionalized DNS zone." + }, + "reverseFqdn": { + "type": "string", + "description": "The reverse FQDN. A user-visible, fully qualified domain name that resolves to this public IP address. If the reverseFqdn is specified, then a PTR DNS record is created pointing from the IP address in the in-addr.arpa domain to the reverse FQDN." + } + } + }, + "Common.PublicIPAddressPropertiesFormat": { + "type": "object", + "description": "Public IP address properties.", + "properties": { + "publicIPAllocationMethod": { + "$ref": "./common.json#/definitions/Common.IPAllocationMethod", + "description": "The public IP address allocation method." + }, + "publicIPAddressVersion": { + "$ref": "./common.json#/definitions/Common.IPVersion", + "description": "The public IP address version." + }, + "ipConfiguration": { + "$ref": "#/definitions/Common.IPConfiguration", + "description": "The IP configuration associated with the public IP address.", + "readOnly": true + }, + "dnsSettings": { + "$ref": "#/definitions/Common.PublicIPAddressDnsSettings", + "description": "The FQDN of the DNS record associated with the public IP address." + }, + "ddosSettings": { + "$ref": "#/definitions/Common.DdosSettings", + "description": "The DDoS protection custom policy associated with the public IP address." + }, + "ipTags": { + "type": "array", + "description": "The list of tags associated with the public IP address.", + "items": { + "$ref": "#/definitions/Common.IpTag" + } + }, + "ipAddress": { + "type": "string", + "description": "The IP address associated with the public IP address resource." + }, + "publicIPPrefix": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The Public IP Prefix this Public IP Address should be allocated from." + }, + "idleTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "The idle timeout of the public IP address." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the public IP address resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the public IP address resource.", + "readOnly": true + }, + "servicePublicIPAddress": { + "$ref": "#/definitions/Common.PublicIPAddress", + "description": "The service public IP address of the public IP address resource." + }, + "natGateway": { + "$ref": "#/definitions/Common.NatGateway", + "description": "The NatGateway for the Public IP address." + }, + "migrationPhase": { + "$ref": "./common.json#/definitions/Common.PublicIPAddressMigrationPhase", + "description": "Migration phase of Public IP Address." + }, + "linkedPublicIPAddress": { + "$ref": "#/definitions/Common.PublicIPAddress", + "description": "The linked public IP address of the public IP address resource." + }, + "deleteOption": { + "$ref": "./common.json#/definitions/Common.DeleteOptions", + "description": "Specify what happens to the public IP address when the VM using it is deleted" + } + } + }, + "Common.PublicIPAddressSku": { + "type": "object", + "description": "SKU of a public IP address.", + "properties": { + "name": { + "$ref": "./common.json#/definitions/Common.PublicIPAddressSkuName", + "description": "Name of a public IP address SKU." + }, + "tier": { + "$ref": "./common.json#/definitions/Common.PublicIPAddressSkuTier", + "description": "Tier of a public IP address SKU." + } + } + }, + "Common.ResourceNavigationLink": { + "type": "object", + "description": "ResourceNavigationLink resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.ResourceNavigationLinkFormat", + "description": "Resource navigation link properties format.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "id": { + "type": "string", + "description": "Resource navigation link identifier.", + "readOnly": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "Common.ResourceNavigationLinkFormat": { + "type": "object", + "description": "Properties of ResourceNavigationLink.", + "properties": { + "linkedResourceType": { + "type": "string", + "description": "Resource type of the linked resource." + }, + "link": { + "type": "string", + "description": "Link to the external resource." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the resource navigation link resource.", + "readOnly": true + } + } + }, + "Common.ResourceSet": { + "type": "object", + "description": "The base resource set for visibility and auto-approval.", + "properties": { + "subscriptions": { + "type": "array", + "description": "The list of subscriptions.", + "items": { + "type": "string" + } + } + } + }, + "Common.Route": { + "type": "object", + "description": "Route resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.RoutePropertiesFormat", + "description": "Properties of the route.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "Common.RouteNextHopEcmp": { + "type": "object", + "description": "The next hop definition for ECMP routes containing multiple next hop IP addresses.", + "properties": { + "nextHopIpAddresses": { + "type": "array", + "description": "List of next hop IP addresses for ECMP routing. Must contain between 2 and 64 IP addresses.", + "minItems": 2, + "maxItems": 64, + "items": { + "type": "string" + } + } + }, + "required": [ + "nextHopIpAddresses" + ] + }, + "Common.RoutePropertiesFormat": { + "type": "object", + "description": "Route resource.", + "properties": { + "addressPrefix": { + "type": "string", + "description": "The destination CIDR to which the route applies." + }, + "nextHopType": { + "$ref": "./common.json#/definitions/Common.RouteNextHopType", + "description": "The type of Azure hop the packet should be sent to." + }, + "nextHopIpAddress": { + "type": "string", + "description": "The IP address packets should be forwarded to. Next hop values are only allowed in routes where the next hop type is VirtualAppliance." + }, + "nextHop": { + "$ref": "#/definitions/Common.RouteNextHopEcmp", + "description": "The next hop definition containing ECMP next hop IP addresses. Only allowed when nextHopType is VirtualApplianceEcmp." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the route resource.", + "readOnly": true + }, + "hasBgpOverride": { + "type": "boolean", + "description": "A value indicating whether this route overrides overlapping BGP routes regardless of LPM.", + "readOnly": true + } + }, + "required": [ + "nextHopType" + ] + }, + "Common.RouteTable": { + "type": "object", + "description": "Route table resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.RouteTablePropertiesFormat", + "description": "Properties of the route table.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "Common.RouteTablePropertiesFormat": { + "type": "object", + "description": "Route Table resource.", + "properties": { + "routes": { + "type": "array", + "description": "Collection of routes contained within a route table.", + "items": { + "$ref": "#/definitions/Common.Route" + } + }, + "subnets": { + "type": "array", + "description": "A collection of references to subnets.", + "items": { + "$ref": "#/definitions/Common.Subnet" + }, + "readOnly": true + }, + "disableBgpRoutePropagation": { + "type": "boolean", + "description": "Whether to disable the routes learned by BGP on that route table. True means disable." + }, + "disablePeeringRoute": { + "$ref": "./common.json#/definitions/Common.DisablePeeringRoute", + "description": "Whether to disable the routes learned by peering on the route table. 'None' means peering routes are enabled, 'All' means all peering routes are disabled." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the route table resource.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the route table.", + "readOnly": true + } + } + }, + "Common.SecurityRule": { + "type": "object", + "description": "Network security rule.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.SecurityRulePropertiesFormat", + "description": "Properties of the security rule.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "Common.SecurityRulePropertiesFormat": { + "type": "object", + "description": "Security rule resource.", + "properties": { + "description": { + "type": "string", + "description": "A description for this rule. Restricted to 140 chars." + }, + "protocol": { + "$ref": "./common.json#/definitions/Common.SecurityRuleProtocol", + "description": "Network protocol this rule applies to." + }, + "sourcePortRange": { + "type": "string", + "description": "The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports." + }, + "destinationPortRange": { + "type": "string", + "description": "The destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from." + }, + "sourceAddressPrefixes": { + "type": "array", + "description": "The CIDR or source IP ranges.", + "items": { + "type": "string" + } + }, + "sourceApplicationSecurityGroups": { + "type": "array", + "description": "The application security group specified as source.", + "items": { + "$ref": "#/definitions/Common.ApplicationSecurityGroup" + } + }, + "destinationAddressPrefix": { + "type": "string", + "description": "The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used." + }, + "destinationAddressPrefixes": { + "type": "array", + "description": "The destination address prefixes. CIDR or destination IP ranges.", + "items": { + "type": "string" + } + }, + "destinationApplicationSecurityGroups": { + "type": "array", + "description": "The application security group specified as destination.", + "items": { + "$ref": "#/definitions/Common.ApplicationSecurityGroup" + } + }, + "sourcePortRanges": { + "type": "array", + "description": "The source port ranges.", + "items": { + "type": "string" + } + }, + "destinationPortRanges": { + "type": "array", + "description": "The destination port ranges.", + "items": { + "type": "string" + } + }, + "access": { + "$ref": "./common.json#/definitions/Common.SecurityRuleAccess", + "description": "The network traffic is allowed or denied." + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "The priority of the rule. The value can be between 100 and 4096. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule." + }, + "direction": { + "$ref": "./common.json#/definitions/Common.SecurityRuleDirection", + "description": "The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the security rule resource.", + "readOnly": true + } + }, + "required": [ + "protocol", + "access", + "priority", + "direction" + ] + }, + "Common.ServiceAssociationLink": { + "type": "object", + "description": "ServiceAssociationLink resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.ServiceAssociationLinkPropertiesFormat", + "description": "Resource navigation link properties format.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Resource type.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "Common.ServiceAssociationLinkPropertiesFormat": { + "type": "object", + "description": "Properties of ServiceAssociationLink.", + "properties": { + "linkedResourceType": { + "type": "string", + "description": "Resource type of the linked resource." + }, + "link": { + "type": "string", + "description": "Link to the external resource." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the service association link resource.", + "readOnly": true + }, + "allowDelete": { + "type": "boolean", + "description": "If true, the resource can be deleted." + }, + "locations": { + "type": "array", + "description": "A list of locations.", + "items": { + "type": "string" + } + } + } + }, + "Common.ServiceDelegationPropertiesFormat": { + "type": "object", + "description": "Properties of a service delegation.", + "properties": { + "serviceName": { + "type": "string", + "description": "The name of the service to whom the subnet should be delegated (e.g. Microsoft.Sql/servers)." + }, + "actions": { + "type": "array", + "description": "The actions permitted to the service upon delegation.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the service delegation resource.", + "readOnly": true + } + } + }, + "Common.ServiceEndpointPropertiesFormat": { + "type": "object", + "description": "The service endpoint properties.", + "properties": { + "service": { + "type": "string", + "description": "The type of the endpoint service." + }, + "networkIdentifier": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "SubResource as network identifier." + }, + "locations": { + "type": "array", + "description": "A list of locations.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the service endpoint resource.", + "readOnly": true + } + } + }, + "Common.Subnet": { + "type": "object", + "description": "Subnet in a virtual network resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.SubnetPropertiesFormat", + "description": "Properties of the subnet.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "Common.SubnetPropertiesFormat": { + "type": "object", + "description": "Properties of the subnet.", + "properties": { + "addressPrefix": { + "type": "string", + "description": "The address prefix for the subnet." + }, + "addressPrefixes": { + "type": "array", + "description": "List of address prefixes for the subnet.", + "items": { + "type": "string" + } + }, + "networkSecurityGroup": { + "$ref": "#/definitions/Common.NetworkSecurityGroup", + "description": "The reference to the NetworkSecurityGroup resource." + }, + "routeTable": { + "$ref": "#/definitions/Common.RouteTable", + "description": "The reference to the RouteTable resource." + }, + "natGateway": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Nat gateway associated with this subnet." + }, + "serviceEndpoints": { + "type": "array", + "description": "An array of service endpoints.", + "items": { + "$ref": "#/definitions/Common.ServiceEndpointPropertiesFormat" + } + }, + "serviceEndpointPolicies": { + "type": "array", + "description": "An array of service endpoint policies.", + "items": { + "$ref": "./expressRoute.json#/definitions/Common.ServiceEndpointPolicy" + } + }, + "privateEndpoints": { + "type": "array", + "description": "An array of references to private endpoints.", + "items": { + "$ref": "#/definitions/Common.PrivateEndpoint" + }, + "readOnly": true + }, + "ipConfigurations": { + "type": "array", + "description": "An array of references to the network interface IP configurations using subnet.", + "items": { + "$ref": "#/definitions/Common.IPConfiguration" + }, + "readOnly": true + }, + "ipConfigurationProfiles": { + "type": "array", + "description": "Array of IP configuration profiles which reference this subnet.", + "items": { + "$ref": "#/definitions/Common.IPConfigurationProfile" + }, + "readOnly": true + }, + "ipAllocations": { + "type": "array", + "description": "Array of IpAllocation which reference this subnet.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "resourceNavigationLinks": { + "type": "array", + "description": "An array of references to the external resources using subnet.", + "items": { + "$ref": "#/definitions/Common.ResourceNavigationLink" + }, + "readOnly": true + }, + "serviceAssociationLinks": { + "type": "array", + "description": "An array of references to services injecting into this subnet.", + "items": { + "$ref": "#/definitions/Common.ServiceAssociationLink" + }, + "readOnly": true + }, + "delegations": { + "type": "array", + "description": "An array of references to the delegations on the subnet.", + "items": { + "$ref": "#/definitions/Common.Delegation" + } + }, + "purpose": { + "type": "string", + "description": "A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the subnet resource.", + "readOnly": true + }, + "privateEndpointNetworkPolicies": { + "type": "string", + "description": "Enable or Disable apply network policies on private end point in the subnet.", + "default": "Disabled", + "enum": [ + "Enabled", + "Disabled", + "NetworkSecurityGroupEnabled", + "RouteTableEnabled" + ], + "x-ms-enum": { + "name": "VirtualNetworkPrivateEndpointNetworkPolicies", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + }, + { + "name": "NetworkSecurityGroupEnabled", + "value": "NetworkSecurityGroupEnabled", + "description": "NetworkSecurityGroupEnabled" + }, + { + "name": "RouteTableEnabled", + "value": "RouteTableEnabled", + "description": "RouteTableEnabled" + } + ] + } + }, + "privateLinkServiceNetworkPolicies": { + "type": "string", + "description": "Enable or Disable apply network policies on private link service in the subnet.", + "default": "Enabled", + "enum": [ + "Enabled", + "Disabled" + ], + "x-ms-enum": { + "name": "VirtualNetworkPrivateLinkServiceNetworkPolicies", + "modelAsString": true, + "values": [ + { + "name": "Enabled", + "value": "Enabled", + "description": "Enabled" + }, + { + "name": "Disabled", + "value": "Disabled", + "description": "Disabled" + } + ] + } + }, + "applicationGatewayIPConfigurations": { + "type": "array", + "description": "Application gateway IP configurations of virtual network resource.", + "items": { + "$ref": "./applicationGateway.json#/definitions/Common.ApplicationGatewayIPConfiguration" + } + }, + "sharingScope": { + "$ref": "./common.json#/definitions/Common.SharingScope", + "description": "Set this property to Tenant to allow sharing subnet with other subscriptions in your AAD tenant. This property can only be set if defaultOutboundAccess is set to false, both properties can only be set if subnet is empty." + }, + "defaultOutboundAccess": { + "type": "boolean", + "description": "Set this property to false to disable default outbound connectivity for all VMs in the subnet." + }, + "ipamPoolPrefixAllocations": { + "type": "array", + "description": "A list of IPAM Pools for allocating IP address prefixes.", + "items": { + "$ref": "#/definitions/Common.IpamPoolPrefixAllocation" + } + }, + "serviceGateway": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to an existing service gateway." + } + } + }, + "Common.VirtualNetwork": { + "type": "object", + "description": "Virtual Network resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.VirtualNetworkPropertiesFormat", + "description": "Properties of the virtual network.", + "x-ms-client-flatten": true + }, + "extendedLocation": { + "$ref": "./common.json#/definitions/Common.ExtendedLocation", + "description": "The extended location of the virtual network." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "Common.VirtualNetworkBgpCommunities": { + "type": "object", + "description": "Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET.", + "properties": { + "virtualNetworkCommunity": { + "type": "string", + "description": "The BGP community associated with the virtual network." + }, + "regionalCommunity": { + "type": "string", + "description": "The BGP community associated with the region of the virtual network.", + "readOnly": true + } + }, + "required": [ + "virtualNetworkCommunity" + ] + }, + "Common.VirtualNetworkEncryption": { + "type": "object", + "description": "Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet.", + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates if encryption is enabled on the virtual network." + }, + "enforcement": { + "$ref": "./common.json#/definitions/Common.VirtualNetworkEncryptionEnforcement", + "description": "If the encrypted VNet allows VM that does not support encryption. This field is for future support, AllowUnencrypted is the only supported value at general availability." + } + }, + "required": [ + "enabled" + ] + }, + "Common.VirtualNetworkPeering": { + "type": "object", + "description": "Peerings in a virtual network resource.", + "properties": { + "properties": { + "$ref": "#/definitions/Common.VirtualNetworkPeeringPropertiesFormat", + "description": "Properties of the virtual network peering.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "Common.VirtualNetworkPeeringPropertiesFormat": { + "type": "object", + "description": "Properties of the virtual network peering.", + "properties": { + "allowVirtualNetworkAccess": { + "type": "boolean", + "description": "Whether the VMs in the local virtual network space would be able to access the VMs in remote virtual network space." + }, + "allowForwardedTraffic": { + "type": "boolean", + "description": "Whether the forwarded traffic from the VMs in the local virtual network will be allowed/disallowed in remote virtual network." + }, + "allowGatewayTransit": { + "type": "boolean", + "description": "If gateway links can be used in remote virtual networking to link to this virtual network." + }, + "useRemoteGateways": { + "type": "boolean", + "description": "If remote gateways can be used on this virtual network. If the flag is set to true, and allowGatewayTransit on remote peering is also true, virtual network will use gateways of remote virtual network for transit. Only one peering can have this flag set to true. This flag cannot be set if virtual network already has a gateway." + }, + "remoteVirtualNetwork": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to the remote virtual network. The remote virtual network can be in the same or different region (preview). See here to register for the preview and learn more (https://docs.microsoft.com/en-us/azure/virtual-network/virtual-network-create-peering)." + }, + "localAddressSpace": { + "$ref": "#/definitions/Common.AddressSpace", + "description": "The local address space of the local virtual network that is peered." + }, + "localVirtualNetworkAddressSpace": { + "$ref": "#/definitions/Common.AddressSpace", + "description": "The current local address space of the local virtual network that is peered." + }, + "remoteAddressSpace": { + "$ref": "#/definitions/Common.AddressSpace", + "description": "The reference to the address space peered with the remote virtual network." + }, + "remoteVirtualNetworkAddressSpace": { + "$ref": "#/definitions/Common.AddressSpace", + "description": "The reference to the current address space of the remote virtual network." + }, + "remoteBgpCommunities": { + "$ref": "#/definitions/Common.VirtualNetworkBgpCommunities", + "description": "The reference to the remote virtual network's Bgp Communities." + }, + "remoteVirtualNetworkEncryption": { + "$ref": "#/definitions/Common.VirtualNetworkEncryption", + "description": "The reference to the remote virtual network's encryption", + "readOnly": true + }, + "peeringState": { + "$ref": "./common.json#/definitions/Common.VirtualNetworkPeeringState", + "description": "The status of the virtual network peering." + }, + "peeringSyncLevel": { + "$ref": "./common.json#/definitions/Common.VirtualNetworkPeeringLevel", + "description": "The peering sync status of the virtual network peering." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the virtual network peering resource.", + "readOnly": true + }, + "doNotVerifyRemoteGateways": { + "type": "boolean", + "description": "If we need to verify the provisioning state of the remote gateway." + }, + "resourceGuid": { + "type": "string", + "description": "The resourceGuid property of the Virtual Network peering resource.", + "readOnly": true + }, + "peerCompleteVnets": { + "type": "boolean", + "description": "Whether complete virtual network address space is peered." + }, + "enableOnlyIPv6Peering": { + "type": "boolean", + "description": "Whether only Ipv6 address space is peered for subnet peering." + }, + "localSubnetNames": { + "type": "array", + "description": "List of local subnet names that are subnet peered with remote virtual network.", + "items": { + "type": "string" + } + }, + "remoteSubnetNames": { + "type": "array", + "description": "List of remote subnet names from remote virtual network that are subnet peered.", + "items": { + "type": "string" + } + } + } + }, + "Common.VirtualNetworkPropertiesFormat": { + "type": "object", + "description": "Properties of the virtual network.", + "properties": { + "addressSpace": { + "$ref": "#/definitions/Common.AddressSpace", + "description": "The AddressSpace that contains an array of IP address ranges that can be used by subnets." + }, + "dhcpOptions": { + "$ref": "#/definitions/Common.DhcpOptions", + "description": "The dhcpOptions that contains an array of DNS servers available to VMs deployed in the virtual network." + }, + "flowTimeoutInMinutes": { + "type": "integer", + "format": "int32", + "description": "The FlowTimeout value (in minutes) for the Virtual Network" + }, + "subnets": { + "type": "array", + "description": "A list of subnets in a Virtual Network.", + "items": { + "$ref": "#/definitions/Common.Subnet" + } + }, + "virtualNetworkPeerings": { + "type": "array", + "description": "A list of peerings in a Virtual Network.", + "items": { + "$ref": "#/definitions/Common.VirtualNetworkPeering" + } + }, + "resourceGuid": { + "type": "string", + "description": "The resourceGuid property of the Virtual Network resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the virtual network resource.", + "readOnly": true + }, + "enableDdosProtection": { + "type": "boolean", + "description": "Indicates if DDoS protection is enabled for all the protected resources in the virtual network. It requires a DDoS protection plan associated with the resource.", + "default": false + }, + "enableVmProtection": { + "type": "boolean", + "description": "Indicates if VM protection is enabled for all the subnets in the virtual network.", + "default": false + }, + "ddosProtectionPlan": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The DDoS protection plan associated with the virtual network." + }, + "bgpCommunities": { + "$ref": "#/definitions/Common.VirtualNetworkBgpCommunities", + "description": "Bgp Communities sent over ExpressRoute with each route corresponding to a prefix in this VNET." + }, + "encryption": { + "$ref": "#/definitions/Common.VirtualNetworkEncryption", + "description": "Indicates if encryption is enabled on virtual network and if VM without encryption is allowed in encrypted VNet." + }, + "ipAllocations": { + "type": "array", + "description": "Array of IpAllocation which reference this VNET.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "flowLogs": { + "type": "array", + "description": "A collection of references to flow log resources.", + "items": { + "$ref": "./networkWatcher.json#/definitions/Common.FlowLog" + }, + "readOnly": true + }, + "privateEndpointVNetPolicies": { + "$ref": "./common.json#/definitions/Common.PrivateEndpointVNetPolicies", + "description": "Private Endpoint VNet Policies." + }, + "defaultPublicNatGateway": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "A reference to the default public nat gateway being used by this virtual network resource.", + "readOnly": true + }, + "summarizedGatewayPrefixes": { + "$ref": "#/definitions/Common.AddressSpace", + "description": "A configurable list of summarized gateway prefixes advertised for the virtual network." + } + } + }, + "Container": { + "type": "object", + "description": "Reference to container resource in remote resource provider.", + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ContainerNetworkInterface": { + "type": "object", + "description": "Container network interface child resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ContainerNetworkInterfacePropertiesFormat", + "description": "Container network interface properties.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource. This name can be used to access the resource." + }, + "type": { + "type": "string", + "description": "Sub Resource type.", + "readOnly": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ContainerNetworkInterfaceConfiguration": { + "type": "object", + "description": "Container network interface configuration child resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ContainerNetworkInterfaceConfigurationPropertiesFormat", + "description": "Container network interface configuration properties.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource. This name can be used to access the resource." + }, + "type": { + "type": "string", + "description": "Sub Resource type.", + "readOnly": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ContainerNetworkInterfaceConfigurationPropertiesFormat": { + "type": "object", + "description": "Container network interface configuration properties.", + "properties": { + "ipConfigurations": { + "type": "array", + "description": "A list of ip configurations of the container network interface configuration.", + "items": { + "$ref": "#/definitions/Common.IPConfigurationProfile" + } + }, + "containerNetworkInterfaces": { + "type": "array", + "description": "A list of container network interfaces created from this container network interface configuration.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the container network interface configuration resource.", + "readOnly": true + } + } + }, + "ContainerNetworkInterfaceIpConfiguration": { + "type": "object", + "description": "The ip configuration for a container network interface.", + "properties": { + "properties": { + "$ref": "#/definitions/ContainerNetworkInterfaceIpConfigurationPropertiesFormat", + "description": "Properties of the container network interface IP configuration.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource. This name can be used to access the resource." + }, + "type": { + "type": "string", + "description": "Sub Resource type.", + "readOnly": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + } + }, + "ContainerNetworkInterfaceIpConfigurationPropertiesFormat": { + "type": "object", + "description": "Properties of the container network interface IP configuration.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the container network interface IP configuration resource.", + "readOnly": true + } + } + }, + "ContainerNetworkInterfacePropertiesFormat": { + "type": "object", + "description": "Properties of container network interface.", + "properties": { + "containerNetworkInterfaceConfiguration": { + "$ref": "#/definitions/ContainerNetworkInterfaceConfiguration", + "description": "Container network interface configuration from which this container network interface is created.", + "readOnly": true + }, + "container": { + "$ref": "#/definitions/Container", + "description": "Reference to the container to which this container network interface is attached." + }, + "ipConfigurations": { + "type": "array", + "description": "Reference to the ip configuration on this container nic.", + "items": { + "$ref": "#/definitions/ContainerNetworkInterfaceIpConfiguration" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the container network interface resource.", + "readOnly": true + } + } + }, + "CustomIpPrefix": { + "type": "object", + "description": "Custom IP prefix resource.", + "properties": { + "properties": { + "$ref": "#/definitions/CustomIpPrefixPropertiesFormat", + "description": "Custom IP prefix properties.", + "x-ms-client-flatten": true + }, + "extendedLocation": { + "$ref": "./common.json#/definitions/Common.ExtendedLocation", + "description": "The extended location of the custom IP prefix." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "zones": { + "type": "array", + "description": "A list of availability zones denoting where the resource needs to come from.", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "CustomIpPrefixListResult": { + "type": "object", + "description": "The response of a CustomIpPrefix list operation.", + "properties": { + "value": { + "type": "array", + "description": "The CustomIpPrefix items on this page", + "items": { + "$ref": "#/definitions/CustomIpPrefix" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "CustomIpPrefixPropertiesFormat": { + "type": "object", + "description": "Custom IP prefix properties.", + "properties": { + "asn": { + "type": "string", + "description": "The ASN for CIDR advertising. Should be an integer as string." + }, + "cidr": { + "type": "string", + "description": "The prefix range in CIDR notation. Should include the start address and the prefix length." + }, + "signedMessage": { + "type": "string", + "description": "Signed message for WAN validation." + }, + "authorizationMessage": { + "type": "string", + "description": "Authorization message for WAN validation." + }, + "customIpPrefixParent": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The Parent CustomIpPrefix for IPv6 /64 CustomIpPrefix." + }, + "childCustomIpPrefixes": { + "type": "array", + "description": "The list of all Children for IPv6 /48 CustomIpPrefix.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "commissionedState": { + "$ref": "./common.json#/definitions/CommissionedState", + "description": "The commissioned state of the Custom IP Prefix." + }, + "expressRouteAdvertise": { + "type": "boolean", + "description": "Whether to do express route advertise." + }, + "geo": { + "$ref": "./common.json#/definitions/Geo", + "description": "The Geo for CIDR advertising. Should be an Geo code." + }, + "noInternetAdvertise": { + "type": "boolean", + "description": "Whether to Advertise the range to Internet." + }, + "prefixType": { + "$ref": "./common.json#/definitions/CustomIpPrefixType", + "description": "Type of custom IP prefix. Should be Singular, Parent, or Child." + }, + "publicIpPrefixes": { + "type": "array", + "description": "The list of all referenced PublicIpPrefixes.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the custom IP prefix resource.", + "readOnly": true + }, + "failedReason": { + "type": "string", + "description": "The reason why resource is in failed state.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the custom IP prefix resource.", + "readOnly": true + } + } + }, + "DdosCustomPolicy": { + "type": "object", + "description": "A DDoS custom policy in a resource group.", + "properties": { + "properties": { + "$ref": "#/definitions/DdosCustomPolicyPropertiesFormat", + "description": "Properties of the DDoS custom policy.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "DdosCustomPolicyListResult": { + "type": "object", + "description": "The response of a DdosCustomPolicy list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DdosCustomPolicy items on this page", + "items": { + "$ref": "#/definitions/DdosCustomPolicy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DdosCustomPolicyPropertiesFormat": { + "type": "object", + "description": "DDoS custom policy properties.", + "properties": { + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the DDoS custom policy resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the DDoS custom policy resource.", + "readOnly": true + }, + "detectionRules": { + "type": "array", + "description": "The list of DDoS detection rules associated with the custom policy.", + "items": { + "$ref": "#/definitions/DdosDetectionRule" + } + }, + "frontEndIpConfiguration": { + "type": "array", + "description": "The list of frontend IP configurations associated with the custom policy.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "publicIPAddresses": { + "type": "array", + "description": "The list of public IP addresses associated with the custom policy. This list is read-only.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + } + } + }, + "DdosDetectionRule": { + "type": "object", + "description": "A DDoS detection rule resource.", + "properties": { + "name": { + "type": "string", + "description": "The name of the DDoS detection rule." + }, + "id": { + "type": "string", + "description": "The resource ID of the DDoS detection rule.", + "readOnly": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The resource type.", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/DdosDetectionRulePropertiesFormat", + "description": "Properties of the DDoS detection rule.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "DdosDetectionRulePropertiesFormat": { + "type": "object", + "description": "DDoS detection rule properties.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the DDoS detection rule.", + "readOnly": true + }, + "detectionMode": { + "$ref": "./common.json#/definitions/DdosDetectionMode", + "description": "The detection mode for the DDoS detection rule." + }, + "trafficDetectionRule": { + "$ref": "#/definitions/TrafficDetectionRule", + "description": "The traffic detection rule details." + } + } + }, + "DdosProtectionPlan": { + "type": "object", + "description": "A DDoS protection plan in a resource group.", + "properties": { + "properties": { + "$ref": "#/definitions/DdosProtectionPlanPropertiesFormat", + "description": "Properties of the DDoS protection plan.", + "x-ms-client-flatten": true + }, + "tags": { + "type": "object", + "description": "Resource tags.", + "additionalProperties": { + "type": "string" + } + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/TrackedResourceWithOptionalLocation" + } + ] + }, + "DdosProtectionPlanListResult": { + "type": "object", + "description": "The response of a DdosProtectionPlan list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DdosProtectionPlan items on this page", + "items": { + "$ref": "#/definitions/DdosProtectionPlan" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DdosProtectionPlanPropertiesFormat": { + "type": "object", + "description": "DDoS protection plan properties.", + "properties": { + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the DDoS protection plan resource. It uniquely identifies the resource, even if the user changes its name or migrate the resource across subscriptions or resource groups.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the DDoS protection plan resource.", + "readOnly": true + }, + "publicIPAddresses": { + "type": "array", + "description": "The list of public IPs associated with the DDoS protection plan resource. This list is read-only.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "virtualNetworks": { + "type": "array", + "description": "The list of virtual networks associated with the DDoS protection plan resource. This list is read-only.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + } + } + }, + "DelegationProperties": { + "type": "object", + "description": "Properties of the delegation.", + "properties": { + "serviceName": { + "type": "string", + "description": "The service name to which the NVA is delegated." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "Provisioning states of a resource.", + "readOnly": true + } + } + }, + "DisassociateCloudServicePublicIpRequest": { + "type": "object", + "description": "The request for DisassociateCloudServicePublicIpOperation.", + "properties": { + "publicIpArmId": { + "type": "string", + "format": "arm-id", + "description": "ARM ID of the Standalone Public IP to associate. This is of the form : /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Network/publicIPAddresses/{publicIpAddressName}", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/publicIPAddresses" + } + ] + } + } + }, + "required": [ + "publicIpArmId" + ] + }, + "DnsNameAvailabilityResult": { + "type": "object", + "description": "Response for the CheckDnsNameAvailability API service call.", + "properties": { + "available": { + "type": "boolean", + "description": "Domain availability (True/False)." + } + } + }, + "DscpConfiguration": { + "type": "object", + "description": "Differentiated Services Code Point configuration for any given network interface", + "properties": { + "properties": { + "$ref": "#/definitions/DscpConfigurationPropertiesFormat", + "description": "Properties of the network interface.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "DscpConfigurationListResult": { + "type": "object", + "description": "The response of a DscpConfiguration list operation.", + "properties": { + "value": { + "type": "array", + "description": "The DscpConfiguration items on this page", + "items": { + "$ref": "#/definitions/DscpConfiguration" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "DscpConfigurationPropertiesFormat": { + "type": "object", + "description": "Differentiated Services Code Point configuration properties.", + "properties": { + "markings": { + "type": "array", + "description": "List of markings to be used in the configuration.", + "items": { + "type": "integer", + "format": "int32" + } + }, + "sourceIpRanges": { + "type": "array", + "description": "Source IP ranges.", + "items": { + "$ref": "#/definitions/QosIpRange" + } + }, + "destinationIpRanges": { + "type": "array", + "description": "Destination IP ranges.", + "items": { + "$ref": "#/definitions/QosIpRange" + } + }, + "sourcePortRanges": { + "type": "array", + "description": "Sources port ranges.", + "items": { + "$ref": "#/definitions/QosPortRange" + } + }, + "destinationPortRanges": { + "type": "array", + "description": "Destination port ranges.", + "items": { + "$ref": "#/definitions/QosPortRange" + } + }, + "protocol": { + "$ref": "./common.json#/definitions/ProtocolType", + "description": "RNM supported protocol types." + }, + "qosDefinitionCollection": { + "type": "array", + "description": "QoS object definitions", + "items": { + "$ref": "#/definitions/QosDefinition" + } + }, + "qosCollectionId": { + "type": "string", + "description": "Qos Collection ID generated by RNM.", + "readOnly": true + }, + "associatedNetworkInterfaces": { + "type": "array", + "description": "Associated Network Interfaces to the DSCP Configuration.", + "items": { + "$ref": "#/definitions/Common.NetworkInterface" + }, + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the DSCP Configuration resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the DSCP Configuration resource.", + "readOnly": true + } + } + }, + "EffectiveNetworkSecurityGroup": { + "type": "object", + "description": "Effective network security group.", + "properties": { + "networkSecurityGroup": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The ID of network security group that is applied." + }, + "association": { + "$ref": "#/definitions/EffectiveNetworkSecurityGroupAssociation", + "description": "Associated resources." + }, + "effectiveSecurityRules": { + "type": "array", + "description": "A collection of effective security rules.", + "items": { + "$ref": "#/definitions/EffectiveNetworkSecurityRule" + } + }, + "tagMap": { + "type": "object", + "description": "Mapping of tags to list of IP Addresses included within the tag.", + "additionalProperties": { + "items": { + "type": "string" + }, + "type": "array" + } + } + } + }, + "EffectiveNetworkSecurityGroupAssociation": { + "type": "object", + "description": "The effective network security group association.", + "properties": { + "networkManager": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The ID of the Azure network manager if assigned." + }, + "subnet": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The ID of the subnet if assigned." + }, + "networkInterface": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The ID of the network interface if assigned." + } + } + }, + "EffectiveNetworkSecurityGroupListResult": { + "type": "object", + "description": "Response for list effective network security groups API service call.", + "properties": { + "value": { + "type": "array", + "description": "The EffectiveNetworkSecurityGroup items on this page", + "items": { + "$ref": "#/definitions/EffectiveNetworkSecurityGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "EffectiveNetworkSecurityRule": { + "type": "object", + "description": "Effective network security rules.", + "properties": { + "name": { + "type": "string", + "description": "The name of the security rule specified by the user (if created by the user)." + }, + "protocol": { + "$ref": "./common.json#/definitions/EffectiveSecurityRuleProtocol", + "description": "The network protocol this rule applies to." + }, + "sourcePortRange": { + "type": "string", + "description": "The source port or range." + }, + "destinationPortRange": { + "type": "string", + "description": "The destination port or range." + }, + "sourcePortRanges": { + "type": "array", + "description": "The source port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).", + "items": { + "type": "string" + } + }, + "destinationPortRanges": { + "type": "array", + "description": "The destination port ranges. Expected values include a single integer between 0 and 65535, a range using '-' as separator (e.g. 100-400), or an asterisk (*).", + "items": { + "type": "string" + } + }, + "sourceAddressPrefix": { + "type": "string", + "description": "The source address prefix." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "The destination address prefix." + }, + "sourceAddressPrefixes": { + "type": "array", + "description": "The source address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).", + "items": { + "type": "string" + } + }, + "destinationAddressPrefixes": { + "type": "array", + "description": "The destination address prefixes. Expected values include CIDR IP ranges, Default Tags (VirtualNetwork, AzureLoadBalancer, Internet), System Tags, and the asterisk (*).", + "items": { + "type": "string" + } + }, + "expandedSourceAddressPrefix": { + "type": "array", + "description": "The expanded source address prefix.", + "items": { + "type": "string" + } + }, + "expandedDestinationAddressPrefix": { + "type": "array", + "description": "Expanded destination address prefix.", + "items": { + "type": "string" + } + }, + "access": { + "$ref": "./common.json#/definitions/Common.SecurityRuleAccess", + "description": "Whether network traffic is allowed or denied." + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "The priority of the rule." + }, + "direction": { + "$ref": "./common.json#/definitions/Common.SecurityRuleDirection", + "description": "The direction of the rule." + } + } + }, + "EffectiveRoute": { + "type": "object", + "description": "Effective Route.", + "properties": { + "name": { + "type": "string", + "description": "The name of the user defined route. This is optional." + }, + "disableBgpRoutePropagation": { + "type": "boolean", + "description": "If true, on-premises routes are not propagated to the network interfaces in the subnet." + }, + "source": { + "$ref": "./common.json#/definitions/EffectiveRouteSource", + "description": "Who created the route." + }, + "state": { + "$ref": "./common.json#/definitions/EffectiveRouteState", + "description": "The value of effective route." + }, + "addressPrefix": { + "type": "array", + "description": "The address prefixes of the effective routes in CIDR notation.", + "items": { + "type": "string" + } + }, + "nextHopIpAddress": { + "type": "array", + "description": "The IP address of the next hop of the effective route.", + "items": { + "type": "string" + } + }, + "nextHopType": { + "$ref": "./common.json#/definitions/Common.RouteNextHopType", + "description": "The type of Azure hop the packet should be sent to." + } + } + }, + "EffectiveRouteListResult": { + "type": "object", + "description": "Response for list effective route API service call.", + "properties": { + "value": { + "type": "array", + "description": "The EffectiveRoute items on this page", + "items": { + "$ref": "#/definitions/EffectiveRoute" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "EndpointServiceResult": { + "type": "object", + "description": "Endpoint service.", + "properties": { + "name": { + "type": "string", + "description": "Name of the endpoint service.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "Type of the endpoint service.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "EndpointServicesListResult": { + "type": "object", + "description": "Paged collection of EndpointServiceResult items", + "properties": { + "value": { + "type": "array", + "description": "The EndpointServiceResult items on this page", + "items": { + "$ref": "#/definitions/EndpointServiceResult" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "IPAddressAvailabilityResult": { + "type": "object", + "description": "Response for CheckIPAddressAvailability API service call.", + "properties": { + "available": { + "type": "boolean", + "description": "Private IP address availability." + }, + "availableIPAddresses": { + "type": "array", + "description": "Contains other available private IP addresses if the asked for address is taken.", + "items": { + "type": "string" + } + }, + "isPlatformReserved": { + "type": "boolean", + "description": "Private IP address platform reserved." + } + } + }, + "IPRule": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Specifies the IP or IP range in CIDR format. Only IPV4 address is allowed." + } + } + }, + "IPTraffic": { + "type": "object", + "description": "IP traffic information.", + "properties": { + "sourceIps": { + "type": "array", + "description": "List of source IP addresses of the traffic..", + "items": { + "type": "string" + } + }, + "destinationIps": { + "type": "array", + "description": "List of destination IP addresses of the traffic..", + "items": { + "type": "string" + } + }, + "sourcePorts": { + "type": "array", + "description": "The source ports of the traffic.", + "items": { + "type": "string" + } + }, + "destinationPorts": { + "type": "array", + "description": "The destination ports of the traffic.", + "items": { + "type": "string" + } + }, + "protocols": { + "type": "array", + "items": { + "$ref": "./common.json#/definitions/NetworkProtocol" + } + } + }, + "required": [ + "sourceIps", + "destinationIps", + "sourcePorts", + "destinationPorts", + "protocols" + ] + }, + "InboundSecurityRule": { + "type": "object", + "description": "NVA Inbound Security Rule resource.", + "properties": { + "properties": { + "$ref": "#/definitions/InboundSecurityRuleProperties", + "description": "The properties of the Inbound Security Rules.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "InboundSecurityRuleProperties": { + "type": "object", + "description": "Properties of the Inbound Security Rules resource.", + "properties": { + "ruleType": { + "$ref": "./common.json#/definitions/InboundSecurityRuleType", + "description": "Rule Type. This should be either AutoExpire or Permanent. Auto Expire Rule only creates NSG rules. Permanent Rule creates NSG rule and SLB LB Rule." + }, + "rules": { + "type": "array", + "description": "List of allowed rules.", + "items": { + "$ref": "#/definitions/InboundSecurityRules" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + } + }, + "InboundSecurityRules": { + "type": "object", + "description": "Properties of the Inbound Security Rules resource.", + "properties": { + "name": { + "type": "string", + "description": "Name of the rule." + }, + "protocol": { + "$ref": "./common.json#/definitions/InboundSecurityRulesProtocol", + "description": "Protocol. This should be either TCP or UDP." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "The CIDR or source IP range." + }, + "destinationPortRange": { + "type": "integer", + "format": "int32", + "description": "NVA port ranges to be opened up. One needs to provide specific ports.", + "minimum": 0, + "maximum": 65535 + }, + "destinationPortRanges": { + "type": "array", + "description": "NVA port ranges to be opened up. One can provide a range of ports. Allowed port value between 0 and 65535.", + "items": { + "type": "string" + } + }, + "appliesOn": { + "type": "array", + "description": "Public IP name in case of Permanent Rule type & Interface Name in case of Auto Expire Rule type", + "items": { + "type": "string" + } + } + } + }, + "IntentContent": { + "type": "object", + "description": "Intent information.", + "properties": { + "description": { + "type": "string" + }, + "sourceResourceId": { + "type": "string", + "format": "arm-id", + "description": "Source resource id of the intent." + }, + "destinationResourceId": { + "type": "string", + "format": "arm-id", + "description": "Destination resource id of the intent." + }, + "ipTraffic": { + "$ref": "#/definitions/IPTraffic", + "description": "IP traffic information." + } + }, + "required": [ + "sourceResourceId", + "destinationResourceId", + "ipTraffic" + ] + }, + "InternetIngressPublicIpsProperties": { + "type": "object", + "title": "Internet Ingress Public Ip Properties", + "description": "Resource Uri of Public Ip for Standard Load Balancer Frontend End.", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "Resource Uri of Public Ip", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/publicIPAddresses" + } + ] + } + } + } + }, + "IpAllocation": { + "type": "object", + "description": "IpAllocation resource.", + "properties": { + "properties": { + "$ref": "#/definitions/IpAllocationPropertiesFormat", + "description": "Properties of the IpAllocation.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "IpAllocationListResult": { + "type": "object", + "description": "The response of a IpAllocation list operation.", + "properties": { + "value": { + "type": "array", + "description": "The IpAllocation items on this page", + "items": { + "$ref": "#/definitions/IpAllocation" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "IpAllocationPropertiesFormat": { + "type": "object", + "description": "Properties of the IpAllocation.", + "properties": { + "subnet": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The Subnet that using the prefix of this IpAllocation resource.", + "readOnly": true + }, + "virtualNetwork": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The VirtualNetwork that using the prefix of this IpAllocation resource.", + "readOnly": true + }, + "type": { + "$ref": "./common.json#/definitions/IpAllocationType", + "description": "The type for the IpAllocation." + }, + "prefix": { + "type": "string", + "description": "The address prefix for the IpAllocation." + }, + "prefixLength": { + "type": "integer", + "format": "int32", + "description": "The address prefix length for the IpAllocation.", + "default": 0, + "x-nullable": true + }, + "prefixType": { + "$ref": "./common.json#/definitions/Common.IPVersion", + "description": "The address prefix Type for the IpAllocation." + }, + "ipamAllocationId": { + "type": "string", + "description": "The IPAM allocation ID." + }, + "allocationTags": { + "type": "object", + "description": "IpAllocation tags.", + "additionalProperties": { + "type": "string" + } + } + } + }, + "IpGroup": { + "type": "object", + "description": "The IpGroups resource information.", + "properties": { + "properties": { + "$ref": "#/definitions/IpGroupPropertiesFormat", + "description": "Properties of the IpGroups.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "IpGroupListResult": { + "type": "object", + "description": "The response of a IpGroup list operation.", + "properties": { + "value": { + "type": "array", + "description": "The IpGroup items on this page", + "items": { + "$ref": "#/definitions/IpGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "IpGroupPropertiesFormat": { + "type": "object", + "description": "The IpGroups property information.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the IpGroups resource.", + "readOnly": true + }, + "ipAddresses": { + "type": "array", + "description": "IpAddresses/IpAddressPrefixes in the IpGroups resource.", + "items": { + "type": "string" + } + }, + "firewalls": { + "type": "array", + "description": "List of references to Firewall resources that this IpGroups is associated with.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "firewallPolicies": { + "type": "array", + "description": "List of references to Firewall Policies resources that this IpGroups is associated with.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + } + } + }, + "IpamPool": { + "type": "object", + "description": "Instance of Pool resource.", + "properties": { + "properties": { + "$ref": "#/definitions/IpamPoolProperties", + "description": "Properties of IpamPool resource properties which are specific to the Pool resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "./common.json#/definitions/CommonTrackedResource" + } + ] + }, + "IpamPoolList": { + "type": "object", + "description": "List of IpamPool", + "properties": { + "value": { + "type": "array", + "description": "The IpamPool items on this page", + "items": { + "$ref": "#/definitions/IpamPool" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "IpamPoolProperties": { + "type": "object", + "description": "Properties of IpamPool resource properties which are specific to the Pool resource.", + "properties": { + "description": { + "type": "string" + }, + "displayName": { + "type": "string", + "description": "String representing a friendly name for the resource." + }, + "ipAddressType": { + "type": "array", + "description": "List of IP address type for the IpamPool.", + "items": { + "$ref": "./common.json#/definitions/IpType" + }, + "readOnly": true + }, + "parentPoolName": { + "type": "string", + "description": "String representing parent IpamPool resource name. If empty the IpamPool will be a root pool." + }, + "addressPrefixes": { + "type": "array", + "description": "List of IP address prefixes of the resource.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "Provisioning states of a resource.", + "readOnly": true + } + }, + "required": [ + "addressPrefixes" + ] + }, + "IpamPoolUpdate": { + "type": "object", + "description": "Represents the IpamPool update API request interface.", + "properties": { + "tags": { + "type": "object", + "description": "Dictionary of ", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/IpamPoolUpdateProperties", + "description": "Represents the IpamPool update properties." + } + } + }, + "IpamPoolUpdateProperties": { + "type": "object", + "description": "Represents the IpamPool update properties.", + "properties": { + "description": { + "type": "string" + }, + "displayName": { + "type": "string", + "description": "String representing a friendly name for the resource." + } + } + }, + "NatGatewayListResult": { + "type": "object", + "description": "The response of a NatGateway list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NatGateway items on this page", + "items": { + "$ref": "#/definitions/Common.NatGateway" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkIntentPolicy": { + "type": "object", + "description": "Network Intent Policy resource.", + "properties": { + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "NetworkIntentPolicyConfiguration": { + "type": "object", + "description": "Details of NetworkIntentPolicyConfiguration for PrepareNetworkPoliciesRequest.", + "properties": { + "networkIntentPolicyName": { + "type": "string", + "description": "The name of the Network Intent Policy for storing in target subscription." + }, + "sourceNetworkIntentPolicy": { + "$ref": "#/definitions/NetworkIntentPolicy", + "description": "Source network intent policy." + } + } + }, + "NetworkInterfaceIPConfigurationListResult": { + "type": "object", + "description": "The response of a NetworkInterfaceIPConfiguration list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkInterfaceIPConfiguration items on this page", + "items": { + "$ref": "#/definitions/Common.NetworkInterfaceIPConfiguration" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkInterfaceListResult": { + "type": "object", + "description": "The response of a NetworkInterface list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkInterface items on this page", + "items": { + "$ref": "#/definitions/Common.NetworkInterface" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkInterfaceLoadBalancerListResult": { + "type": "object", + "description": "Paged collection of LoadBalancer items", + "properties": { + "value": { + "type": "array", + "description": "The LoadBalancer items on this page", + "items": { + "$ref": "./loadBalancer.json#/definitions/Common.LoadBalancer" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkInterfaceTapConfigurationListResult": { + "type": "object", + "description": "The response of a NetworkInterfaceTapConfiguration list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkInterfaceTapConfiguration items on this page", + "items": { + "$ref": "#/definitions/Common.NetworkInterfaceTapConfiguration" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkProfile": { + "type": "object", + "description": "Network profile resource.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkProfilePropertiesFormat", + "description": "Network profile properties.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "NetworkProfileListResult": { + "type": "object", + "description": "The response of a NetworkProfile list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkProfile items on this page", + "items": { + "$ref": "#/definitions/NetworkProfile" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkProfilePropertiesFormat": { + "type": "object", + "description": "Network profile properties.", + "properties": { + "containerNetworkInterfaces": { + "type": "array", + "description": "List of child container network interfaces.", + "items": { + "$ref": "#/definitions/ContainerNetworkInterface" + }, + "readOnly": true + }, + "containerNetworkInterfaceConfigurations": { + "type": "array", + "description": "List of chid container network interface configurations.", + "items": { + "$ref": "#/definitions/ContainerNetworkInterfaceConfiguration" + } + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the network profile resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the network profile resource.", + "readOnly": true + } + } + }, + "NetworkSecurityGroupListResult": { + "type": "object", + "description": "The response of a NetworkSecurityGroup list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkSecurityGroup items on this page", + "items": { + "$ref": "#/definitions/Common.NetworkSecurityGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkVirtualAppliance": { + "type": "object", + "description": "NetworkVirtualAppliance Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkVirtualAppliancePropertiesFormat", + "description": "Properties of the Network Virtual Appliance.", + "x-ms-client-flatten": true + }, + "identity": { + "$ref": "./common.json#/definitions/Common.ManagedServiceIdentity", + "description": "The service principal that has read access to cloud-init and config blob." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "NetworkVirtualApplianceBootDiagnosticParameters": { + "type": "object", + "description": "Specifies input parameters required to retrieve the boot diagnostic logs for an NVA instance", + "properties": { + "instanceId": { + "type": "integer", + "format": "int32", + "description": "The network virtual appliance instance id for which boot diagnostic logs is being requested" + }, + "serialConsoleStorageSasUrl": { + "type": "string", + "format": "uri", + "description": "Specifies the sas-url to the storage blob into which serial console logs for the requested instance will be written" + }, + "consoleScreenshotStorageSasUrl": { + "type": "string", + "format": "uri", + "description": "Specifies the sas-url to the storage blob into which console screen shot for the requested instance will be written" + } + } + }, + "NetworkVirtualApplianceInstanceId": { + "type": "object", + "properties": { + "instanceId": { + "type": "integer", + "format": "int32", + "description": "The network virtual appliance instance id for which boot diagnostic logs is being requested" + } + } + }, + "NetworkVirtualApplianceInstanceIds": { + "type": "object", + "description": "Specifies a list of virtual machine instance IDs from the Network Virtual Appliance VM instances.", + "properties": { + "instanceIds": { + "type": "array", + "description": "The network virtual appliance instance ids. Omitting the network virtual appliance instance ids will result in the operation being performed on all virtual machines belonging to the network virtual appliance.", + "items": { + "type": "string" + } + } + } + }, + "NetworkVirtualApplianceListResult": { + "type": "object", + "description": "The response of a NetworkVirtualAppliance list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkVirtualAppliance items on this page", + "items": { + "$ref": "#/definitions/NetworkVirtualAppliance" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkVirtualAppliancePropertiesFormat": { + "type": "object", + "description": "Network Virtual Appliance definition.", + "properties": { + "nvaSku": { + "$ref": "#/definitions/VirtualApplianceSkuProperties", + "description": "Network Virtual Appliance SKU." + }, + "addressPrefix": { + "type": "string", + "description": "Address Prefix.", + "readOnly": true + }, + "bootStrapConfigurationBlobs": { + "type": "array", + "description": "BootStrapConfigurationBlobs storage URLs.", + "items": { + "type": "string" + } + }, + "virtualHub": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The Virtual Hub where Network Virtual Appliance is being deployed." + }, + "cloudInitConfigurationBlobs": { + "type": "array", + "description": "CloudInitConfigurationBlob storage URLs.", + "items": { + "type": "string" + } + }, + "cloudInitConfiguration": { + "type": "string", + "description": "CloudInitConfiguration string in plain text." + }, + "virtualApplianceAsn": { + "type": "integer", + "format": "int64", + "description": "VirtualAppliance ASN. Microsoft private, public and IANA reserved ASN are not supported.", + "minimum": 0, + "maximum": 4294967295 + }, + "sshPublicKey": { + "type": "string", + "description": "Public key for SSH login." + }, + "virtualApplianceNics": { + "type": "array", + "description": "List of Virtual Appliance Network Interfaces.", + "items": { + "$ref": "#/definitions/VirtualApplianceNicProperties" + }, + "readOnly": true + }, + "networkProfile": { + "$ref": "#/definitions/NetworkVirtualAppliancePropertiesFormatNetworkProfile", + "description": "Network Profile containing configurations for Public and Private NIC." + }, + "additionalNics": { + "type": "array", + "description": "Details required for Additional Network Interface. This property is not compatible with the NVA deployed in VNets.", + "items": { + "$ref": "#/definitions/VirtualApplianceAdditionalNicProperties" + }, + "x-ms-identifiers": [] + }, + "internetIngressPublicIps": { + "type": "array", + "description": "List of Resource Uri of Public IPs for Internet Ingress Scenario.", + "items": { + "$ref": "#/definitions/InternetIngressPublicIpsProperties" + }, + "x-ms-identifiers": [] + }, + "virtualApplianceSites": { + "type": "array", + "description": "List of references to VirtualApplianceSite.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "virtualApplianceConnections": { + "type": "array", + "description": "List of references to VirtualApplianceConnections.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "inboundSecurityRules": { + "type": "array", + "description": "List of references to InboundSecurityRules.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "deploymentType": { + "type": "string", + "description": "The deployment type. PartnerManaged for the SaaS NVA", + "readOnly": true + }, + "delegation": { + "$ref": "#/definitions/DelegationProperties", + "description": "The delegation for the Virtual Appliance. Only appliable for SaaS NVA." + }, + "partnerManagedResource": { + "$ref": "#/definitions/PartnerManagedResourceProperties", + "description": "The delegation for the Virtual Appliance" + }, + "nvaInterfaceConfigurations": { + "type": "array", + "description": "The NVA in VNet interface configurations", + "maxItems": 3, + "items": { + "$ref": "#/definitions/NvaInterfaceConfigurationsProperties" + } + }, + "privateIpAddress": { + "type": "string", + "description": "A Internal Load Balancer's HA port frontend IP address. Can be used to set routes & UDR to load balance traffic between NVA instances", + "readOnly": true + } + } + }, + "NetworkVirtualAppliancePropertiesFormatNetworkProfile": { + "type": "object", + "description": "Network Profile containing configurations for Public and Private NIC.", + "properties": { + "networkInterfaceConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualApplianceNetworkInterfaceConfiguration" + }, + "x-ms-identifiers": [] + } + } + }, + "NetworkVirtualApplianceSiteListResult": { + "type": "object", + "description": "Paged collection of VirtualApplianceSite items", + "properties": { + "value": { + "type": "array", + "description": "The VirtualApplianceSite items on this page", + "items": { + "$ref": "#/definitions/VirtualApplianceSite" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkVirtualApplianceSku": { + "type": "object", + "title": "Available NetworkVirtualApplianceSkus", + "description": "Definition of the NetworkVirtualApplianceSkus resource.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkVirtualApplianceSkuPropertiesFormat", + "description": "NetworkVirtualApplianceSku properties.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "NetworkVirtualApplianceSkuInstances": { + "type": "object", + "title": "Network Virtual Appliance Sku Instances", + "description": "List of available Sku and instances.", + "properties": { + "scaleUnit": { + "type": "string", + "description": "Scale Unit.", + "readOnly": true + }, + "instanceCount": { + "type": "integer", + "format": "int32", + "description": "Instance Count.", + "readOnly": true + } + } + }, + "NetworkVirtualApplianceSkuListResult": { + "type": "object", + "description": "The response of a NetworkVirtualApplianceSku list operation.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkVirtualApplianceSku items on this page", + "items": { + "$ref": "#/definitions/NetworkVirtualApplianceSku" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkVirtualApplianceSkuPropertiesFormat": { + "type": "object", + "title": "Network Virtual Appliance Sku Properties", + "description": "Properties specific to NetworkVirtualApplianceSkus.", + "properties": { + "vendor": { + "type": "string", + "description": "Network Virtual Appliance Sku vendor.", + "readOnly": true + }, + "availableVersions": { + "type": "array", + "description": "Available Network Virtual Appliance versions.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "availableScaleUnits": { + "type": "array", + "description": "The list of scale units available.", + "items": { + "$ref": "#/definitions/NetworkVirtualApplianceSkuInstances" + } + } + } + }, + "NvaInVnetSubnetReferenceProperties": { + "type": "object", + "title": "Subnet references where the NVA NICS will be deployed", + "description": "The resource URI of the subnets where the NVA NICS will be deployed", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "Resource Uri of Subnet", + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/virtualNetworks/subnets" + } + ] + } + } + } + }, + "NvaInterfaceConfigurationsProperties": { + "type": "object", + "description": "Specifies input parameters required NVA in VNet interface configuration.", + "properties": { + "subnet": { + "$ref": "#/definitions/NvaInVnetSubnetReferenceProperties", + "description": "A subnet resource id where the NIC will be deployed. Each subnet resource uri should be unique." + }, + "type": { + "type": "array", + "description": "Specifies the NIC types for the NVA interface configuration. Allowed values: PrivateNic, PublicNic, AdditionalPrivateNic, AdditionalPublicNic. Only the combination of PrivateNic and PublicNic is currently supported.", + "items": { + "$ref": "./common.json#/definitions/NvaNicType" + } + }, + "name": { + "type": "string", + "description": "Specifies the name of the interface. Maximum length is 70 characters.", + "maxLength": 70 + } + } + }, + "Office365PolicyProperties": { + "type": "object", + "description": "Network Virtual Appliance Sku Properties.", + "properties": { + "breakOutCategories": { + "$ref": "#/definitions/BreakOutCategoryPolicies", + "description": "Office 365 breakout categories." + } + } + }, + "PartnerManagedResourceProperties": { + "type": "object", + "description": "Properties of the partner managed resource. Only appliable for SaaS NVA.", + "properties": { + "id": { + "type": "string", + "format": "arm-id", + "description": "The partner managed resource id.", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "PaloAltoNetworks.Cloudngfw/firewalls" + } + ] + } + }, + "internalLoadBalancerId": { + "type": "string", + "format": "arm-id", + "description": "The partner managed ILB resource id", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/loadBalancers" + } + ] + } + }, + "standardLoadBalancerId": { + "type": "string", + "format": "arm-id", + "description": "The partner managed SLB resource id", + "readOnly": true, + "x-ms-arm-id-details": { + "allowedResources": [ + { + "type": "Microsoft.Network/loadBalancers" + } + ] + } + } + } + }, + "PoolAssociation": { + "type": "object", + "description": "IpamPool association information.", + "properties": { + "resourceId": { + "type": "string", + "format": "arm-id", + "description": "Resource id of the associated Azure resource." + }, + "poolId": { + "type": "string", + "format": "arm-id", + "description": "IpamPool id for which the resource is associated to." + }, + "description": { + "type": "string" + }, + "addressPrefixes": { + "type": "array", + "description": "List of assigned IP address prefixes in the IpamPool of the associated resource.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "reservedPrefixes": { + "type": "array", + "description": "List of reserved IP address prefixes in the IpamPool of the associated resource.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "totalNumberOfIPAddresses": { + "type": "string", + "description": "Total number of assigned IP addresses of the association.", + "readOnly": true + }, + "numberOfReservedIPAddresses": { + "type": "string", + "description": "Total number of reserved IP addresses of the association.", + "readOnly": true + }, + "createdAt": { + "type": "string", + "format": "date-time", + "description": "Creation time of the association.", + "readOnly": true + }, + "reservationExpiresAt": { + "type": "string", + "format": "date-time", + "description": "Expire time for IP addresses reserved.", + "readOnly": true + } + }, + "required": [ + "resourceId" + ] + }, + "PoolAssociationList": { + "type": "object", + "description": "List of PoolAssociation", + "properties": { + "value": { + "type": "array", + "description": "The PoolAssociation items on this page", + "items": { + "$ref": "#/definitions/PoolAssociation" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PoolUsage": { + "type": "object", + "description": "IpamPool usage information.", + "properties": { + "addressPrefixes": { + "type": "array", + "description": "List of IP address prefixes of the resource.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "childPools": { + "type": "array", + "description": "List of IpamPool that are children of this IpamPool.", + "items": { + "$ref": "#/definitions/ResourceBasics" + }, + "readOnly": true, + "x-ms-identifiers": [ + "resourceId" + ] + }, + "allocatedAddressPrefixes": { + "type": "array", + "description": "List of assigned IP address prefixes.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "reservedAddressPrefixes": { + "type": "array", + "description": "List of reserved IP address prefixes. These IP addresses could be reclaimed if not assigned in the given time.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "availableAddressPrefixes": { + "type": "array", + "description": "List of available IP address prefixes.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "totalNumberOfIPAddresses": { + "type": "string", + "description": "Total number of IP addresses managed in the IpamPool.", + "readOnly": true + }, + "numberOfAllocatedIPAddresses": { + "type": "string", + "description": "Total number of assigned IP addresses in the IpamPool.", + "readOnly": true + }, + "numberOfReservedIPAddresses": { + "type": "string", + "description": "Total number of reserved IP addresses in the IpamPool.", + "readOnly": true + }, + "numberOfAvailableIPAddresses": { + "type": "string", + "description": "Total number of available IP addresses in the IpamPool.", + "readOnly": true + } + } + }, + "PrepareNetworkPoliciesRequest": { + "type": "object", + "description": "Details of PrepareNetworkPolicies for Subnet.", + "properties": { + "serviceName": { + "type": "string", + "description": "The name of the service for which subnet is being prepared for." + }, + "networkIntentPolicyConfigurations": { + "type": "array", + "description": "A list of NetworkIntentPolicyConfiguration.", + "items": { + "$ref": "#/definitions/NetworkIntentPolicyConfiguration" + } + } + } + }, + "PrivateDnsZoneConfig": { + "type": "object", + "description": "PrivateDnsZoneConfig resource.", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "properties": { + "$ref": "#/definitions/PrivateDnsZonePropertiesFormat", + "description": "Properties of the private dns zone configuration.", + "x-ms-client-flatten": true + } + } + }, + "PrivateDnsZoneGroup": { + "type": "object", + "description": "Private dns zone group resource.", + "properties": { + "name": { + "type": "string", + "description": "Name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "properties": { + "$ref": "#/definitions/PrivateDnsZoneGroupPropertiesFormat", + "description": "Properties of the private dns zone group.", + "x-ms-client-flatten": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "PrivateDnsZoneGroupListResult": { + "type": "object", + "description": "Response for the ListPrivateDnsZoneGroups API service call.", + "properties": { + "value": { + "type": "array", + "description": "The PrivateDnsZoneGroup items on this page", + "items": { + "$ref": "#/definitions/PrivateDnsZoneGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PrivateDnsZoneGroupPropertiesFormat": { + "type": "object", + "description": "Properties of the private dns zone group.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the private dns zone group resource.", + "readOnly": true + }, + "privateDnsZoneConfigs": { + "type": "array", + "description": "A collection of private dns zone configurations of the private dns zone group.", + "items": { + "$ref": "#/definitions/PrivateDnsZoneConfig" + } + } + } + }, + "PrivateDnsZonePropertiesFormat": { + "type": "object", + "description": "Properties of the private dns zone configuration resource.", + "properties": { + "privateDnsZoneId": { + "type": "string", + "description": "The resource id of the private dns zone." + }, + "recordSets": { + "type": "array", + "description": "A collection of information regarding a recordSet, holding information to identify private resources.", + "items": { + "$ref": "#/definitions/RecordSet" + }, + "readOnly": true + } + } + }, + "PrivateEndpointConnectionListResult": { + "type": "object", + "description": "The response of a PrivateEndpointConnection list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PrivateEndpointConnection items on this page", + "items": { + "$ref": "#/definitions/Common.PrivateEndpointConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PrivateEndpointListResult": { + "type": "object", + "description": "The response of a PrivateEndpoint list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PrivateEndpoint items on this page", + "items": { + "$ref": "#/definitions/Common.PrivateEndpoint" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PrivateLinkServiceListResult": { + "type": "object", + "description": "The response of a PrivateLinkService list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PrivateLinkService items on this page", + "items": { + "$ref": "#/definitions/Common.PrivateLinkService" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PrivateLinkServiceVisibility": { + "type": "object", + "description": "Response for the CheckPrivateLinkServiceVisibility API service call.", + "properties": { + "visible": { + "type": "boolean", + "description": "Private Link Service Visibility (True/False)." + } + } + }, + "PublicIPAddressListResult": { + "type": "object", + "description": "The response of a PublicIPAddress list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PublicIPAddress items on this page", + "items": { + "$ref": "#/definitions/Common.PublicIPAddress" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PublicIPPrefix": { + "type": "object", + "description": "Public IP prefix resource.", + "properties": { + "properties": { + "$ref": "#/definitions/PublicIPPrefixPropertiesFormat", + "description": "Public IP prefix properties.", + "x-ms-client-flatten": true + }, + "extendedLocation": { + "$ref": "./common.json#/definitions/Common.ExtendedLocation", + "description": "The extended location of the public ip address." + }, + "sku": { + "$ref": "#/definitions/PublicIPPrefixSku", + "description": "The public IP prefix SKU." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "zones": { + "type": "array", + "description": "A list of availability zones denoting the IP allocated for the resource needs to come from.", + "items": { + "type": "string" + } + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "PublicIPPrefixListResult": { + "type": "object", + "description": "The response of a PublicIPPrefix list operation.", + "properties": { + "value": { + "type": "array", + "description": "The PublicIPPrefix items on this page", + "items": { + "$ref": "#/definitions/PublicIPPrefix" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "PublicIPPrefixPropertiesFormat": { + "type": "object", + "description": "Public IP prefix properties.", + "properties": { + "publicIPAddressVersion": { + "$ref": "./common.json#/definitions/Common.IPVersion", + "description": "The public IP address version." + }, + "ipTags": { + "type": "array", + "description": "The list of tags associated with the public IP prefix.", + "items": { + "$ref": "#/definitions/Common.IpTag" + } + }, + "prefixLength": { + "type": "integer", + "format": "int32", + "description": "The Length of the Public IP Prefix." + }, + "ipPrefix": { + "type": "string", + "description": "The allocated Prefix.", + "readOnly": true + }, + "publicIPAddresses": { + "type": "array", + "description": "The list of all referenced PublicIPAddresses.", + "items": { + "$ref": "#/definitions/ReferencedPublicIpAddress" + }, + "readOnly": true + }, + "loadBalancerFrontendIpConfiguration": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to load balancer frontend IP configuration associated with the public IP prefix.", + "readOnly": true + }, + "customIPPrefix": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The customIpPrefix that this prefix is associated with." + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the public IP prefix resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the public IP prefix resource.", + "readOnly": true + }, + "natGateway": { + "$ref": "#/definitions/Common.NatGateway", + "description": "NatGateway of Public IP Prefix." + } + } + }, + "PublicIPPrefixSku": { + "type": "object", + "description": "SKU of a public IP prefix.", + "properties": { + "name": { + "$ref": "./common.json#/definitions/PublicIPPrefixSkuName", + "description": "Name of a public IP prefix SKU." + }, + "tier": { + "$ref": "./common.json#/definitions/PublicIPPrefixSkuTier", + "description": "Tier of a public IP prefix SKU." + } + } + }, + "PublicIpDdosProtectionStatusResult": { + "type": "object", + "description": "Response for GetPublicIpAddressDdosProtectionStatusOperation API service call.", + "properties": { + "publicIpAddressId": { + "type": "string", + "description": "Public IP ARM resource ID" + }, + "publicIpAddress": { + "type": "string", + "description": "IP Address of the Public IP Resource" + }, + "isWorkloadProtected": { + "$ref": "./common.json#/definitions/IsWorkloadProtected", + "description": "Value indicating whether the IP address is DDoS workload protected or not." + }, + "ddosProtectionPlanId": { + "type": "string", + "description": "DDoS protection plan Resource Id of a if IP address is protected through a plan." + } + } + }, + "QosDefinition": { + "type": "object", + "description": "Quality of Service defines the traffic configuration between endpoints. Mandatory to have one marking.", + "properties": { + "markings": { + "type": "array", + "description": "List of markings to be used in the configuration.", + "items": { + "type": "integer", + "format": "int32" + } + }, + "sourceIpRanges": { + "type": "array", + "description": "Source IP ranges.", + "items": { + "$ref": "#/definitions/QosIpRange" + } + }, + "destinationIpRanges": { + "type": "array", + "description": "Destination IP ranges.", + "items": { + "$ref": "#/definitions/QosIpRange" + } + }, + "sourcePortRanges": { + "type": "array", + "description": "Sources port ranges.", + "items": { + "$ref": "#/definitions/QosPortRange" + } + }, + "destinationPortRanges": { + "type": "array", + "description": "Destination port ranges.", + "items": { + "$ref": "#/definitions/QosPortRange" + } + }, + "protocol": { + "$ref": "./common.json#/definitions/ProtocolType", + "description": "RNM supported protocol types." + } + } + }, + "QosIpRange": { + "type": "object", + "description": "Qos Traffic Profiler IP Range properties.", + "properties": { + "startIP": { + "type": "string", + "description": "Start IP Address." + }, + "endIP": { + "type": "string", + "description": "End IP Address." + } + } + }, + "QosPortRange": { + "type": "object", + "description": "Qos Traffic Profiler Port range properties.", + "properties": { + "start": { + "type": "integer", + "format": "int32", + "description": "Qos Port Range start." + }, + "end": { + "type": "integer", + "format": "int32", + "description": "Qos Port Range end." + } + } + }, + "ReachabilityAnalysisIntent": { + "type": "object", + "description": "Configuration information or intent on which to do the analysis on.", + "properties": { + "properties": { + "$ref": "#/definitions/ReachabilityAnalysisIntentProperties", + "description": "Represents the Reachability Analysis Intent properties." + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "./common.json#/definitions/CommonProxyResource" + } + ] + }, + "ReachabilityAnalysisIntentListResult": { + "type": "object", + "description": "The response of a ReachabilityAnalysisIntent list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ReachabilityAnalysisIntent items on this page", + "items": { + "$ref": "#/definitions/ReachabilityAnalysisIntent" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ReachabilityAnalysisIntentProperties": { + "type": "object", + "description": "Represents the Reachability Analysis Intent properties.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "Provisioning states of a resource.", + "readOnly": true + }, + "description": { + "type": "string" + }, + "sourceResourceId": { + "type": "string", + "format": "arm-id", + "description": "Source resource id to verify the reachability path of." + }, + "destinationResourceId": { + "type": "string", + "format": "arm-id", + "description": "Destination resource id to verify the reachability path of." + }, + "ipTraffic": { + "$ref": "#/definitions/IPTraffic", + "description": "IP traffic information." + } + }, + "required": [ + "sourceResourceId", + "destinationResourceId", + "ipTraffic" + ] + }, + "ReachabilityAnalysisRun": { + "type": "object", + "description": "Configuration information for analysis run.", + "properties": { + "properties": { + "$ref": "#/definitions/ReachabilityAnalysisRunProperties", + "description": "Represents the Reachability Analysis Run properties." + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "required": [ + "properties" + ], + "allOf": [ + { + "$ref": "./common.json#/definitions/CommonProxyResource" + } + ] + }, + "ReachabilityAnalysisRunListResult": { + "type": "object", + "description": "The response of a ReachabilityAnalysisRun list operation.", + "properties": { + "value": { + "type": "array", + "description": "The ReachabilityAnalysisRun items on this page", + "items": { + "$ref": "#/definitions/ReachabilityAnalysisRun" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ReachabilityAnalysisRunProperties": { + "type": "object", + "description": "Represents the Reachability Analysis Run properties.", + "properties": { + "description": { + "type": "string" + }, + "intentId": { + "type": "string", + "description": "Id of the intent resource to run analysis on." + }, + "intentContent": { + "$ref": "#/definitions/IntentContent", + "description": "Intent information.", + "readOnly": true + }, + "analysisResult": { + "type": "string", + "readOnly": true + }, + "errorMessage": { + "type": "string", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "Provisioning states of a resource.", + "readOnly": true + } + }, + "required": [ + "intentId" + ] + }, + "RecordSet": { + "type": "object", + "description": "A collective group of information about the record set information.", + "properties": { + "recordType": { + "type": "string", + "description": "Resource record type." + }, + "recordSetName": { + "type": "string", + "description": "Recordset name." + }, + "fqdn": { + "type": "string", + "description": "Fqdn that resolves to private endpoint ip address." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the recordset.", + "readOnly": true + }, + "ttl": { + "type": "integer", + "format": "int32", + "description": "Recordset time to live." + }, + "ipAddresses": { + "type": "array", + "description": "The private ip address of the private endpoint.", + "items": { + "type": "string" + } + } + } + }, + "ReferencedPublicIpAddress": { + "type": "object", + "description": "Reference to a public IP address.", + "properties": { + "id": { + "type": "string", + "description": "The PublicIPAddress Reference." + } + } + }, + "ReserveCloudServicePublicIpAddressRequest": { + "type": "object", + "description": "The request for ReserveCloudServicePublicIpAddressOperation.", + "properties": { + "isRollback": { + "$ref": "./common.json#/definitions/IsRollback", + "description": "When true, reverts from Static to Dynamic allocation (undo reservation)." + } + }, + "required": [ + "isRollback" + ] + }, + "ResourceBasics": { + "type": "object", + "description": "Representation of basic resource information.", + "properties": { + "resourceId": { + "type": "string", + "format": "arm-id", + "description": "ResourceId of the Azure resource." + }, + "addressPrefixes": { + "type": "array", + "description": "List of IP address prefixes of the resource.", + "items": { + "type": "string" + } + } + } + }, + "ResourceNavigationLinksListResult": { + "type": "object", + "description": "Paged collection of ResourceNavigationLink items", + "properties": { + "value": { + "type": "array", + "description": "The ResourceNavigationLink items on this page", + "items": { + "$ref": "#/definitions/Common.ResourceNavigationLink" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "RouteListResult": { + "type": "object", + "description": "The response of a Route list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Route items on this page", + "items": { + "$ref": "#/definitions/Common.Route" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "RouteTableListResult": { + "type": "object", + "description": "The response of a RouteTable list operation.", + "properties": { + "value": { + "type": "array", + "description": "The RouteTable items on this page", + "items": { + "$ref": "#/definitions/Common.RouteTable" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SecurityPartnerProvider": { + "type": "object", + "description": "Security Partner Provider resource.", + "properties": { + "properties": { + "$ref": "#/definitions/SecurityPartnerProviderPropertiesFormat", + "description": "Properties of the Security Partner Provider.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "SecurityPartnerProviderListResult": { + "type": "object", + "description": "The response of a SecurityPartnerProvider list operation.", + "properties": { + "value": { + "type": "array", + "description": "The SecurityPartnerProvider items on this page", + "items": { + "$ref": "#/definitions/SecurityPartnerProvider" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SecurityPartnerProviderPropertiesFormat": { + "type": "object", + "description": "Properties of the Security Partner Provider.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the Security Partner Provider resource.", + "readOnly": true + }, + "securityProviderName": { + "$ref": "./common.json#/definitions/SecurityProviderName", + "description": "The security provider name." + }, + "connectionStatus": { + "$ref": "./common.json#/definitions/SecurityPartnerProviderConnectionStatus", + "description": "The connection status with the Security Partner Provider.", + "readOnly": true + }, + "virtualHub": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The virtualHub to which the Security Partner Provider belongs." + } + } + }, + "SecurityRuleListResult": { + "type": "object", + "description": "The response of a SecurityRule list operation.", + "properties": { + "value": { + "type": "array", + "description": "The SecurityRule items on this page", + "items": { + "$ref": "#/definitions/Common.SecurityRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ServiceAssociationLinksListResult": { + "type": "object", + "description": "Paged collection of ServiceAssociationLink items", + "properties": { + "value": { + "type": "array", + "description": "The ServiceAssociationLink items on this page", + "items": { + "$ref": "#/definitions/Common.ServiceAssociationLink" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items", + "readOnly": true + } + }, + "required": [ + "value" + ] + }, + "ServiceTagInformation": { + "type": "object", + "description": "The service tag information.", + "properties": { + "properties": { + "$ref": "#/definitions/ServiceTagInformationPropertiesFormat", + "description": "Properties of the service tag information.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "The name of service tag.", + "readOnly": true + }, + "id": { + "type": "string", + "description": "The ID of service tag.", + "readOnly": true + }, + "serviceTagChangeNumber": { + "type": "string", + "description": "The iteration number of service tag object for region.", + "readOnly": true + } + } + }, + "ServiceTagInformationListResult": { + "type": "object", + "description": "Response for Get ServiceTagInformation API service call. Retrieves the list of service tag information resources.", + "properties": { + "value": { + "type": "array", + "description": "The ServiceTagInformation items on this page", + "items": { + "$ref": "#/definitions/ServiceTagInformation" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ServiceTagInformationPropertiesFormat": { + "type": "object", + "description": "Properties of the service tag information.", + "properties": { + "changeNumber": { + "type": "string", + "description": "The iteration number of service tag.", + "readOnly": true + }, + "region": { + "type": "string", + "description": "The region of service tag.", + "readOnly": true + }, + "systemService": { + "type": "string", + "description": "The name of system service.", + "readOnly": true + }, + "addressPrefixes": { + "type": "array", + "description": "The list of IP address prefixes.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "state": { + "type": "string", + "description": "The state of the service tag.", + "readOnly": true + } + } + }, + "ServiceTagsListResult": { + "type": "object", + "description": "Response for the ListServiceTags API service call.", + "properties": { + "name": { + "type": "string", + "description": "The name of the cloud.", + "readOnly": true + }, + "id": { + "type": "string", + "description": "The ID of the cloud.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The azure resource type.", + "readOnly": true + }, + "changeNumber": { + "type": "string", + "description": "The iteration number.", + "readOnly": true + }, + "cloud": { + "type": "string", + "description": "The name of the cloud.", + "readOnly": true + }, + "values": { + "type": "array", + "description": "The list of service tag information resources.", + "items": { + "$ref": "#/definitions/ServiceTagInformation" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "description": "The URL to get next page of service tag information resources.", + "readOnly": true + } + } + }, + "SessionIds": { + "type": "object", + "description": "List of session IDs.", + "properties": { + "sessionIds": { + "type": "array", + "description": "List of session IDs.", + "items": { + "type": "string" + } + } + } + }, + "Sku": { + "type": "object", + "description": "The sku of this Bastion Host.", + "properties": { + "name": { + "type": "string", + "description": "The name of the sku of this Bastion Host.", + "default": "Standard", + "enum": [ + "Basic", + "Standard", + "Developer", + "Premium" + ], + "x-ms-enum": { + "name": "BastionHostSkuName", + "modelAsString": true, + "values": [ + { + "name": "Basic", + "value": "Basic", + "description": "Basic" + }, + { + "name": "Standard", + "value": "Standard", + "description": "Standard" + }, + { + "name": "Developer", + "value": "Developer", + "description": "Developer" + }, + { + "name": "Premium", + "value": "Premium", + "description": "Premium" + } + ] + } + } + } + }, + "StaticCidr": { + "type": "object", + "description": "Instance of StaticCidr resource.", + "properties": { + "properties": { + "$ref": "#/definitions/StaticCidrProperties", + "description": "Properties of static CIDR resource." + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/CommonProxyResource" + } + ] + }, + "StaticCidrList": { + "type": "object", + "description": "List of StaticCidr", + "properties": { + "value": { + "type": "array", + "description": "The StaticCidr items on this page", + "items": { + "$ref": "#/definitions/StaticCidr" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "StaticCidrProperties": { + "type": "object", + "description": "Properties of static CIDR resource.", + "properties": { + "description": { + "type": "string" + }, + "numberOfIPAddressesToAllocate": { + "type": "string", + "description": "Number of IP addresses to allocate for a static CIDR resource. The IP addresses will be assigned based on IpamPools available space." + }, + "addressPrefixes": { + "type": "array", + "description": "List of IP address prefixes of the resource.", + "items": { + "type": "string" + } + }, + "totalNumberOfIPAddresses": { + "type": "string", + "description": "Total number of IP addresses allocated for the static CIDR resource.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "Provisioning states of a resource.", + "readOnly": true + } + } + }, + "SubnetListResult": { + "type": "object", + "description": "The response of a Subnet list operation.", + "properties": { + "value": { + "type": "array", + "description": "The Subnet items on this page", + "items": { + "$ref": "#/definitions/Common.Subnet" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "SwapResource": { + "type": "object", + "description": "SwapResource to represent slot type on the specified cloud service.", + "properties": { + "properties": { + "$ref": "#/definitions/SwapResourceProperties", + "description": "Swap resource properties" + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ProxyResourceWithReadOnlyID" + } + ] + }, + "SwapResourceListResult": { + "type": "object", + "description": "SwapResource List with single entry to represent slot type on the specified cloud service.", + "properties": { + "value": { + "type": "array", + "items": { + "$ref": "#/definitions/SwapResource" + } + } + } + }, + "SwapResourceProperties": { + "type": "object", + "description": "Swap resource properties", + "properties": { + "slotType": { + "$ref": "./common.json#/definitions/SlotType", + "description": "Specifies slot info on a cloud service" + } + } + }, + "TrafficDetectionRule": { + "type": "object", + "description": "Ddos Custom Policy traffic detection rule.", + "properties": { + "trafficType": { + "$ref": "./common.json#/definitions/DdosTrafficType", + "description": "The traffic type (one of Tcp, Udp, TcpSyn) that the detection rule will be applied upon." + }, + "packetsPerSecond": { + "type": "integer", + "format": "int32", + "description": "The customized packets per second threshold." + } + } + }, + "UnprepareNetworkPoliciesRequest": { + "type": "object", + "description": "Details of UnprepareNetworkPolicies for Subnet.", + "properties": { + "serviceName": { + "type": "string", + "description": "The name of the service for which subnet is being unprepared for." + } + } + }, + "Usage": { + "type": "object", + "description": "The network resource usage.", + "properties": { + "id": { + "type": "string", + "description": "Resource identifier.", + "readOnly": true + }, + "unit": { + "$ref": "./common.json#/definitions/UsageUnit", + "description": "An enum describing the unit of measurement." + }, + "currentValue": { + "type": "integer", + "format": "int64", + "description": "The current value of the usage." + }, + "limit": { + "type": "integer", + "format": "int64", + "description": "The limit of usage." + }, + "name": { + "$ref": "#/definitions/UsageName", + "description": "The name of the type of usage." + } + }, + "required": [ + "unit", + "currentValue", + "limit", + "name" + ] + }, + "UsageName": { + "type": "object", + "description": "The usage names.", + "properties": { + "value": { + "type": "string", + "description": "A string describing the resource name." + }, + "localizedValue": { + "type": "string", + "description": "A localized string describing the resource name." + } + } + }, + "UsagesListResult": { + "type": "object", + "description": "The list usages operation response.", + "properties": { + "value": { + "type": "array", + "description": "The Usage items on this page", + "items": { + "$ref": "#/definitions/Usage" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VM": { + "type": "object", + "description": "Describes a Virtual Machine.", + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "VerifierWorkspace": { + "type": "object", + "description": "Instance of Verifier Workspace.", + "properties": { + "properties": { + "$ref": "#/definitions/VerifierWorkspaceProperties", + "description": "Properties of Verifier Workspace resource." + }, + "etag": { + "type": "string", + "description": "String representing unique etag for the resource document.", + "readOnly": true + }, + "systemData": { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/definitions/systemData", + "description": "The system metadata related to this resource.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/CommonTrackedResource" + } + ] + }, + "VerifierWorkspaceListResult": { + "type": "object", + "description": "The response of a VerifierWorkspace list operation.", + "properties": { + "value": { + "type": "array", + "description": "The VerifierWorkspace items on this page", + "items": { + "$ref": "#/definitions/VerifierWorkspace" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VerifierWorkspaceProperties": { + "type": "object", + "description": "Properties of Verifier Workspace resource.", + "properties": { + "description": { + "type": "string" + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "Provisioning states of a resource.", + "readOnly": true + } + } + }, + "VerifierWorkspaceUpdate": { + "type": "object", + "description": "Represents the VerifierWorkspace update API request interface.", + "properties": { + "tags": { + "type": "object", + "description": "Dictionary of ", + "additionalProperties": { + "type": "string" + } + }, + "properties": { + "$ref": "#/definitions/VerifierWorkspaceUpdateProperties", + "description": "Represents the VerifierWorkspace update properties." + } + } + }, + "VerifierWorkspaceUpdateProperties": { + "type": "object", + "description": "Represents the VerifierWorkspace update properties.", + "properties": { + "description": { + "type": "string" + } + } + }, + "VirtualApplianceAdditionalNicProperties": { + "type": "object", + "title": "Network Virtual Appliance Additional Nic Properties", + "description": "Network Virtual Appliance Additional NIC properties.", + "properties": { + "name": { + "type": "string", + "description": "Name of additional nic" + }, + "hasPublicIp": { + "type": "boolean", + "description": "Flag (true or false) for Intent for Public Ip on additional nic" + } + } + }, + "VirtualApplianceIPConfiguration": { + "type": "object", + "description": "Represents a single IP configuration.", + "properties": { + "name": { + "type": "string", + "description": "For hub NVAs, primary IP configs must be named 'privatenicipconfig' and 'publicnicipconfig', with non-primary configs using these prefixes; no naming restrictions apply for NVAs in VNets. Maximum 80 character are allowed." + }, + "properties": { + "$ref": "#/definitions/VirtualApplianceIPConfigurationProperties", + "description": "Represents a single IP configuration properties." + } + } + }, + "VirtualApplianceIPConfigurationProperties": { + "type": "object", + "description": "Represents a single IP configuration properties.", + "properties": { + "primary": { + "type": "boolean", + "description": "Whether or not this is primary IP configuration of the NIC." + } + } + }, + "VirtualApplianceNetworkInterfaceConfiguration": { + "type": "object", + "description": "Represents a single NIC configuration.", + "properties": { + "type": { + "$ref": "./common.json#/definitions/NicTypeInRequest", + "description": "NIC type. This should be either PublicNic or PrivateNic.", + "x-ms-client-name": "NicType" + }, + "properties": { + "$ref": "#/definitions/VirtualApplianceNetworkInterfaceConfigurationProperties", + "description": "Represents a single NIC configuration properties." + } + } + }, + "VirtualApplianceNetworkInterfaceConfigurationProperties": { + "type": "object", + "description": "Represents a single NIC configuration properties.", + "properties": { + "ipConfigurations": { + "type": "array", + "items": { + "$ref": "#/definitions/VirtualApplianceIPConfiguration" + }, + "x-ms-identifiers": [] + } + } + }, + "VirtualApplianceNicProperties": { + "type": "object", + "description": "Network Virtual Appliance NIC properties.", + "properties": { + "nicType": { + "$ref": "./common.json#/definitions/NicTypeInResponse", + "description": "NIC type - PublicNic, PrivateNic, or AdditionalNic; AdditionalPrivateNic and AdditionalPublicNic are only supported for NVAs deployed in VNets.", + "readOnly": true + }, + "name": { + "type": "string", + "description": "NIC name.", + "readOnly": true + }, + "publicIpAddress": { + "type": "string", + "description": "Public IP address.", + "readOnly": true + }, + "privateIpAddress": { + "type": "string", + "description": "Private IP address.", + "readOnly": true + }, + "instanceName": { + "type": "string", + "description": "Instance on which nic is attached.", + "readOnly": true + } + } + }, + "VirtualApplianceSite": { + "type": "object", + "description": "Virtual Appliance Site resource.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualApplianceSiteProperties", + "description": "The properties of the Virtual Appliance Sites.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "VirtualApplianceSiteProperties": { + "type": "object", + "description": "Properties of the rule group.", + "properties": { + "addressPrefix": { + "type": "string", + "description": "Address Prefix." + }, + "o365Policy": { + "$ref": "#/definitions/Office365PolicyProperties", + "description": "Office 365 Policy." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + } + }, + "VirtualApplianceSkuProperties": { + "type": "object", + "description": "Network Virtual Appliance Sku Properties.", + "properties": { + "vendor": { + "type": "string", + "description": "Virtual Appliance Vendor." + }, + "bundledScaleUnit": { + "type": "string", + "description": "Virtual Appliance Scale Unit." + }, + "marketPlaceVersion": { + "type": "string", + "description": "Virtual Appliance Version." + } + } + }, + "VirtualNetworkDdosProtectionStatusResult": { + "type": "object", + "description": "Response for GetVirtualNetworkDdosProtectionStatusOperation.", + "properties": { + "value": { + "type": "array", + "description": "The PublicIpDdosProtectionStatusResult items on this page", + "items": { + "$ref": "#/definitions/PublicIpDdosProtectionStatusResult" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VirtualNetworkListResult": { + "type": "object", + "description": "The response of a VirtualNetwork list operation.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualNetwork items on this page", + "items": { + "$ref": "#/definitions/Common.VirtualNetwork" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VirtualNetworkListUsageResult": { + "type": "object", + "description": "Response for the virtual networks GetUsage API service call.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualNetworkUsage items on this page", + "items": { + "$ref": "#/definitions/VirtualNetworkUsage" + }, + "readOnly": true + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VirtualNetworkPeeringListResult": { + "type": "object", + "description": "The response of a VirtualNetworkPeering list operation.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualNetworkPeering items on this page", + "items": { + "$ref": "#/definitions/Common.VirtualNetworkPeering" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VirtualNetworkUsage": { + "type": "object", + "description": "Usage details for subnet.", + "properties": { + "currentValue": { + "type": "number", + "format": "double", + "description": "Indicates number of IPs used from the Subnet.", + "readOnly": true + }, + "id": { + "type": "string", + "description": "Subnet identifier.", + "readOnly": true + }, + "limit": { + "type": "number", + "format": "double", + "description": "Indicates the size of the subnet.", + "readOnly": true + }, + "name": { + "$ref": "#/definitions/VirtualNetworkUsageName", + "description": "The name containing common and localized value for usage.", + "readOnly": true + }, + "unit": { + "type": "string", + "description": "Usage units. Returns 'Count'.", + "readOnly": true + } + } + }, + "VirtualNetworkUsageName": { + "type": "object", + "description": "Usage strings container.", + "properties": { + "localizedValue": { + "type": "string", + "description": "Localized subnet size and usage string.", + "readOnly": true + }, + "value": { + "type": "string", + "description": "Subnet size and usage string.", + "readOnly": true + } + } + }, + "VirtualRouter": { + "type": "object", + "description": "VirtualRouter Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualRouterPropertiesFormat", + "description": "Properties of the Virtual Router.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "VirtualRouterListResult": { + "type": "object", + "description": "The response of a VirtualRouter list operation.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualRouter items on this page", + "items": { + "$ref": "#/definitions/VirtualRouter" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VirtualRouterPeering": { + "type": "object", + "description": "Virtual Router Peering resource.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualRouterPeeringProperties", + "description": "The properties of the Virtual Router Peering.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "VirtualRouterPeeringListResult": { + "type": "object", + "description": "The response of a VirtualRouterPeering list operation.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualRouterPeering items on this page", + "items": { + "$ref": "#/definitions/VirtualRouterPeering" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VirtualRouterPeeringProperties": { + "type": "object", + "description": "Properties of the rule group.", + "properties": { + "peerAsn": { + "type": "integer", + "format": "int64", + "description": "Peer ASN.", + "minimum": 0, + "maximum": 4294967295 + }, + "peerIp": { + "type": "string", + "description": "Peer IP." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + } + }, + "VirtualRouterPropertiesFormat": { + "type": "object", + "description": "Virtual Router definition.", + "properties": { + "virtualRouterAsn": { + "type": "integer", + "format": "int64", + "description": "VirtualRouter ASN.", + "minimum": 0, + "maximum": 4294967295 + }, + "virtualRouterIps": { + "type": "array", + "description": "VirtualRouter IPs.", + "items": { + "type": "string" + } + }, + "hostedSubnet": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The Subnet on which VirtualRouter is hosted." + }, + "hostedGateway": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The Gateway on which VirtualRouter is hosted." + }, + "peerings": { + "type": "array", + "description": "List of references to VirtualRouterPeerings.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + } + } + } + }, + "parameters": {} +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/virtualNetworkAppliance.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/virtualNetworkAppliance.json new file mode 100644 index 000000000000..f5c116ee1fc2 --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/virtualNetworkAppliance.json @@ -0,0 +1,505 @@ +{ + "swagger": "2.0", + "info": { + "title": "WebApplicationFirewallManagement", + "version": "2025-07-01", + "description": "APIs to manage web application firewall rules.", + "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": "VirtualNetworkAppliances" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualNetworkAppliances": { + "get": { + "operationId": "VirtualNetworkAppliances_ListAll", + "tags": [ + "VirtualNetworkAppliances" + ], + "description": "Gets all virtual network appliances in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkApplianceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List all virtual network appliances": { + "$ref": "./examples/VirtualNetworkAppliances_ListBySubscription.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkAppliances": { + "get": { + "operationId": "VirtualNetworkAppliances_List", + "tags": [ + "VirtualNetworkAppliances" + ], + "description": "Gets all virtual network appliances in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkApplianceListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "List virtual network appliances in resource group": { + "$ref": "./examples/VirtualNetworkAppliances_List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualNetworkAppliances/{virtualNetworkApplianceName}": { + "get": { + "operationId": "VirtualNetworkAppliances_Get", + "tags": [ + "VirtualNetworkAppliances" + ], + "description": "Gets information about the specified virtual network appliance.", + "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": "virtualNetworkApplianceName", + "in": "path", + "description": "The name of the virtual network appliance.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkAppliance" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Get virtual network appliance": { + "$ref": "./examples/VirtualNetworkAppliances_Get.json" + } + } + }, + "put": { + "operationId": "VirtualNetworkAppliances_CreateOrUpdate", + "tags": [ + "VirtualNetworkAppliances" + ], + "description": "Creates or updates a virtual network appliance.", + "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": "virtualNetworkApplianceName", + "in": "path", + "description": "The name of the virtual network appliance.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the create or update virtual network appliance operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualNetworkAppliance" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VirtualNetworkAppliance' update operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualNetworkAppliance" + } + }, + "201": { + "description": "Resource 'VirtualNetworkAppliance' create operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualNetworkAppliance" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Create virtual network appliance": { + "$ref": "./examples/VirtualNetworkAppliances_CreateOrUpdate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VirtualNetworkAppliance" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualNetworkAppliances_UpdateTags", + "tags": [ + "VirtualNetworkAppliances" + ], + "description": "Updates a virtual network appliance tags.", + "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": "virtualNetworkApplianceName", + "in": "path", + "description": "The name of the virtual network appliance.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to update virtual network appliance tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualNetworkAppliance" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Update virtual network appliance tags": { + "$ref": "./examples/VirtualNetworkAppliances_UpdateTags.json" + } + } + }, + "delete": { + "operationId": "VirtualNetworkAppliances_Delete", + "tags": [ + "VirtualNetworkAppliances" + ], + "description": "Deletes the specified virtual network appliance.", + "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": "virtualNetworkApplianceName", + "in": "path", + "description": "The name of the virtual network appliance.", + "required": true, + "type": "string", + "pattern": "^[0-9a-zA-Z]([0-9a-zA-Z_.-]{0,62}[0-9a-zA-Z_])?$" + } + ], + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Delete virtual network appliance": { + "$ref": "./examples/VirtualNetworkAppliances_Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + } + }, + "definitions": { + "VirtualNetworkAppliance": { + "type": "object", + "description": "A virtual network appliance in a resource group.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualNetworkAppliancePropertiesFormat", + "description": "Properties of the virtual network appliance.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "VirtualNetworkApplianceIpConfiguration": { + "type": "object", + "description": "The virtual network appliance ip configuration.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualNetworkApplianceIpConfigurationProperties", + "description": "Properties of the virtual network appliance ip configuration.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of virtual network appliance ip configuration." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The resource type.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "VirtualNetworkApplianceIpConfigurationProperties": { + "type": "object", + "description": "Properties of virtual network appliance IP configuration.", + "properties": { + "privateIPAddress": { + "type": "string", + "description": "The private IP address of the IP configuration." + }, + "privateIPAllocationMethod": { + "$ref": "./common.json#/definitions/Common.IPAllocationMethod", + "description": "The private IP address allocation method." + }, + "primary": { + "type": "boolean", + "description": "Whether the ip configuration is primary or not." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the private link service IP configuration resource.", + "readOnly": true + }, + "privateIPAddressVersion": { + "$ref": "./common.json#/definitions/Common.IPVersion", + "description": "Whether the specific IP configuration is IPv4 or IPv6. Default is IPv4." + } + } + }, + "VirtualNetworkApplianceListResult": { + "type": "object", + "description": "The response of a VirtualNetworkAppliance list operation.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualNetworkAppliance items on this page", + "items": { + "$ref": "#/definitions/VirtualNetworkAppliance" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "VirtualNetworkAppliancePropertiesFormat": { + "type": "object", + "description": "VirtualNetworkAppliance properties.", + "properties": { + "bandwidthInGbps": { + "type": "number", + "format": "double", + "description": "Bandwidth of the VirtualNetworkAppliance resource in Gbps." + }, + "ipConfigurations": { + "type": "array", + "description": "A list of IPConfigurations of the virtual network appliance.", + "items": { + "$ref": "#/definitions/VirtualNetworkApplianceIpConfiguration" + }, + "readOnly": true + }, + "privateIPAddressVersion": { + "$ref": "./common.json#/definitions/VirtualNetworkApplianceIpVersionType", + "description": "Whether the specific virtual network appliance is IPv4 or Dual Stack. Default is IPv4." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the virtual network appliance resource.", + "readOnly": true + }, + "resourceGuid": { + "type": "string", + "description": "The resource GUID property of the virtual network appliance resource.", + "readOnly": true + }, + "subnet": { + "$ref": "./virtualNetwork.json#/definitions/Common.Subnet", + "description": "The reference to the subnet resource." + } + } + } + }, + "parameters": {} +} diff --git a/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/virtualWan.json new file mode 100644 index 000000000000..7236e4a6550b --- /dev/null +++ b/specification/network/resource-manager/Microsoft.Network/Network/stable/2025-07-01/virtualWan.json @@ -0,0 +1,10981 @@ +{ + "swagger": "2.0", + "info": { + "title": "WebApplicationFirewallManagement", + "version": "2025-07-01", + "description": "APIs to manage web application firewall rules.", + "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": "VirtualWANs" + }, + { + "name": "VpnSites" + }, + { + "name": "VpnServerConfigurations" + }, + { + "name": "VpnGateways" + }, + { + "name": "vpnLinkConnections" + }, + { + "name": "P2SVpnGateways" + }, + { + "name": "ExpressRouteGateways" + }, + { + "name": "ExpressRouteConnections" + } + ], + "paths": { + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteGateways": { + "get": { + "operationId": "ExpressRouteGateways_ListBySubscription", + "tags": [ + "ExpressRouteGateways" + ], + "description": "Lists ExpressRoute gateways under a given subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteGatewayList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteGatewayListBySubscription": { + "$ref": "./examples/ExpressRouteGatewayListBySubscription.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/p2svpnGateways": { + "get": { + "operationId": "P2sVpnGateways_List", + "description": "Lists all the P2SVpnGateways in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListP2SVpnGatewaysResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "P2SVpnGatewayListBySubscription": { + "$ref": "./examples/P2SVpnGatewayList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualHubs": { + "get": { + "operationId": "VirtualHubs_List", + "description": "Lists all the VirtualHubs in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVirtualHubsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualHubList": { + "$ref": "./examples/VirtualHubList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/virtualWans": { + "get": { + "operationId": "VirtualWans_List", + "description": "Lists all the VirtualWANs in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVirtualWANsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualWANList": { + "$ref": "./examples/VirtualWANList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnGateways": { + "get": { + "operationId": "VpnGateways_List", + "description": "Lists all the VpnGateways in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVpnGatewaysResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnGatewayListBySubscription": { + "$ref": "./examples/VpnGatewayList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnServerConfigurations": { + "get": { + "operationId": "VpnServerConfigurations_List", + "description": "Lists all the VpnServerConfigurations in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVpnServerConfigurationsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnServerConfigurationList": { + "$ref": "./examples/VpnServerConfigurationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/providers/Microsoft.Network/vpnSites": { + "get": { + "operationId": "VpnSites_List", + "description": "Lists all the VpnSites in a subscription.", + "parameters": [ + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter" + }, + { + "$ref": "../../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVpnSitesResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnSiteList": { + "$ref": "./examples/VpnSiteList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways": { + "get": { + "operationId": "ExpressRouteGateways_ListByResourceGroup", + "tags": [ + "ExpressRouteGateways" + ], + "description": "Lists ExpressRoute gateways in a given 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteGatewayList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteGatewayListByResourceGroup": { + "$ref": "./examples/ExpressRouteGatewayListByResourceGroup.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}": { + "get": { + "operationId": "ExpressRouteGateways_Get", + "tags": [ + "ExpressRouteGateways" + ], + "description": "Fetches the details of a ExpressRoute gateway in 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": "expressRouteGatewayName", + "in": "path", + "description": "The name of the ExpressRoute gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteGatewayGet": { + "$ref": "./examples/ExpressRouteGatewayGet.json" + } + } + }, + "put": { + "operationId": "ExpressRouteGateways_CreateOrUpdate", + "tags": [ + "ExpressRouteGateways" + ], + "description": "Creates or updates a ExpressRoute gateway in a specified 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": "expressRouteGatewayName", + "in": "path", + "description": "The name of the ExpressRoute gateway.", + "required": true, + "type": "string" + }, + { + "name": "putExpressRouteGatewayParameters", + "in": "body", + "description": "Parameters required in an ExpressRoute gateway PUT operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ExpressRouteGateway' update operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" + } + }, + "201": { + "description": "Resource 'ExpressRouteGateway' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteGatewayCreate": { + "$ref": "./examples/ExpressRouteGatewayCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ExpressRouteGateway" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "ExpressRouteGateways_UpdateTags", + "tags": [ + "ExpressRouteGateways" + ], + "description": "Updates express route gateway tags.", + "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": "expressRouteGatewayName", + "in": "path", + "description": "The name of the ExpressRoute gateway.", + "required": true, + "type": "string" + }, + { + "name": "expressRouteGatewayParameters", + "in": "body", + "description": "Parameters supplied to update a virtual wan express route gateway tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteGateway" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteGatewayUpdate": { + "$ref": "./examples/ExpressRouteGatewayUpdateTags.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ExpressRouteGateway" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExpressRouteGateways_Delete", + "tags": [ + "ExpressRouteGateways" + ], + "description": "Deletes the specified ExpressRoute gateway in a resource group. An ExpressRoute gateway resource can only be deleted when there are no connection subresources.", + "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": "expressRouteGatewayName", + "in": "path", + "description": "The name of the ExpressRoute gateway.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteGatewayDelete": { + "$ref": "./examples/ExpressRouteGatewayDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections": { + "get": { + "operationId": "ExpressRouteConnections_List", + "tags": [ + "ExpressRouteConnections" + ], + "description": "Lists ExpressRouteConnections.", + "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": "expressRouteGatewayName", + "in": "path", + "description": "The name of the ExpressRoute gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteConnectionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteConnectionList": { + "$ref": "./examples/ExpressRouteConnectionList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/expressRouteConnections/{connectionName}": { + "get": { + "operationId": "ExpressRouteConnections_Get", + "tags": [ + "ExpressRouteConnections" + ], + "description": "Gets the specified ExpressRouteConnection.", + "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": "expressRouteGatewayName", + "in": "path", + "description": "The name of the express route gateway.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the express route connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteConnectionGet": { + "$ref": "./examples/ExpressRouteConnectionGet.json" + } + } + }, + "put": { + "operationId": "ExpressRouteConnections_CreateOrUpdate", + "tags": [ + "ExpressRouteConnections" + ], + "description": "Creates a connection between an ExpressRoute gateway and an ExpressRoute circuit.", + "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": "expressRouteGatewayName", + "in": "path", + "description": "The name of the express route gateway.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the express route connection.", + "required": true, + "type": "string" + }, + { + "name": "putExpressRouteConnectionParameters", + "in": "body", + "description": "Parameters required in an ExpressRouteConnection PUT operation.", + "required": true, + "schema": { + "$ref": "#/definitions/ExpressRouteConnection" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ExpressRouteConnection" + } + }, + "201": { + "description": "Resource 'ExpressRouteConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/ExpressRouteConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteConnectionCreate": { + "$ref": "./examples/ExpressRouteConnectionCreate.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ExpressRouteConnection" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ExpressRouteConnections_Delete", + "tags": [ + "ExpressRouteConnections" + ], + "description": "Deletes a connection to a ExpressRoute circuit.", + "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": "expressRouteGatewayName", + "in": "path", + "description": "The name of the express route gateway.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the express route connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteConnectionDelete": { + "$ref": "./examples/ExpressRouteConnectionDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/getFailoverAllTestsDetails": { + "post": { + "operationId": "ExpressRouteGateways_GetFailoverAllTestsDetails", + "tags": [ + "ExpressRouteGateways" + ], + "description": "Retrieves the details of all the failover tests performed on the ExpressRoute gateway for different peering locations.", + "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": "expressRouteGatewayName", + "in": "path", + "description": "The name of the ExpressRoute gateway.", + "required": true, + "type": "string" + }, + { + "name": "type", + "in": "query", + "description": "The type of failover test.", + "required": false, + "type": "string" + }, + { + "name": "fetchLatest", + "in": "query", + "description": "Fetch only the latest tests for each peering location.", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "./networkGateway.json#/definitions/ExpressRouteFailoverTestDetails" + } + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteGatewayGetFailoverAllTestsDetails": { + "$ref": "./examples/ExpressRouteGatewayGetFailoverAllTestsDetails.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./networkGateway.json#/definitions/ExpressRouteFailoverTestDetailsArray" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/getFailoverSingleTestDetails": { + "post": { + "operationId": "ExpressRouteGateways_GetFailoverSingleTestDetails", + "tags": [ + "ExpressRouteGateways" + ], + "description": "Retrieves the details of a particular failover test performed on the ExpressRoute gateway based on the test Guid.", + "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": "expressRouteGatewayName", + "in": "path", + "description": "The name of the ExpressRoute gateway.", + "required": true, + "type": "string" + }, + { + "name": "peeringLocation", + "in": "query", + "description": "Peering location of the test.", + "required": true, + "type": "string" + }, + { + "name": "failoverTestId", + "in": "query", + "description": "The unique Guid value which identifies the test.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "array", + "items": { + "$ref": "./networkGateway.json#/definitions/ExpressRouteFailoverSingleTestDetails" + } + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteGatewayGetFailoverSingleTestDetails": { + "$ref": "./examples/ExpressRouteGatewayGetFailoverSingleTestDetails.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./networkGateway.json#/definitions/ExpressRouteFailoverSingleTestDetailsArray" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/getResiliencyInformation": { + "post": { + "operationId": "ExpressRouteGateways_GetResiliencyInformation", + "tags": [ + "ExpressRouteGateways" + ], + "description": "Retrieves the resiliency information for the ExpressRoute gateway.", + "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": "expressRouteGatewayName", + "in": "path", + "description": "The name of the ExpressRoute gateway.", + "required": true, + "type": "string" + }, + { + "name": "attemptRefresh", + "in": "query", + "description": "Whether to attempt a refresh of the resiliency information.", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./networkGateway.json#/definitions/GatewayResiliencyInformation" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteGatewayGetResiliencyInformation": { + "$ref": "./examples/ExpressRouteGatewayGetResiliencyInformation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./networkGateway.json#/definitions/GatewayResiliencyInformation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/getRoutesInformation": { + "post": { + "operationId": "ExpressRouteGateways_GetRoutesInformation", + "tags": [ + "ExpressRouteGateways" + ], + "description": "Retrieves the route sets information for the ExpressRoute gateway.", + "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": "expressRouteGatewayName", + "in": "path", + "description": "The name of the ExpressRoute gateway.", + "required": true, + "type": "string" + }, + { + "name": "attemptRefresh", + "in": "query", + "description": "Whether to attempt a refresh of the route sets.", + "required": false, + "type": "boolean" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./networkGateway.json#/definitions/GatewayRouteSetsInformation" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteGatewayGetRoutesInformation": { + "$ref": "./examples/ExpressRouteGatewayGetRoutesInformation.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./networkGateway.json#/definitions/GatewayRouteSetsInformation" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/startSiteFailoverTest": { + "post": { + "operationId": "ExpressRouteGateways_StartSiteFailoverTest", + "tags": [ + "ExpressRouteGateways" + ], + "description": "Starts failover simulation on the ExpressRoute gateway for the specified peering location.", + "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": "expressRouteGatewayName", + "in": "path", + "description": "The name of the ExpressRoute gateway.", + "required": true, + "type": "string" + }, + { + "name": "peeringLocation", + "in": "query", + "description": "Peering location of the test.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteGatewayStartSiteFailoverTest": { + "$ref": "./examples/ExpressRouteGatewayStartSiteFailoverTest.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/expressRouteGateways/{expressRouteGatewayName}/stopSiteFailoverTest": { + "post": { + "operationId": "ExpressRouteGateways_StopSiteFailoverTest", + "tags": [ + "ExpressRouteGateways" + ], + "description": "Stops failover simulation on the ExpressRoute gateway for the specified peering location.", + "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": "expressRouteGatewayName", + "in": "path", + "description": "The name of the ExpressRoute gateway.", + "required": true, + "type": "string" + }, + { + "name": "stopParameters", + "in": "body", + "description": "Parameters supplied to stop the failover simulation on the express route gateway.", + "required": true, + "schema": { + "$ref": "./networkGateway.json#/definitions/ExpressRouteFailoverStopApiParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ExpressRouteGatewayStopSiteFailoverTest": { + "$ref": "./examples/ExpressRouteGatewayStopSiteFailoverTest.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections": { + "get": { + "operationId": "NetworkVirtualApplianceConnections_List", + "description": "Lists NetworkVirtualApplianceConnections under the NVA.", + "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": "networkVirtualApplianceName", + "in": "path", + "description": "The name of Network Virtual Appliance.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkVirtualApplianceConnectionList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkVirtualApplianceConnectionList": { + "$ref": "./examples/NetworkVirtualApplianceConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkVirtualAppliances/{networkVirtualApplianceName}/networkVirtualApplianceConnections/{connectionName}": { + "get": { + "operationId": "NetworkVirtualApplianceConnections_Get", + "description": "Retrieves the details of specified NVA connection.", + "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": "networkVirtualApplianceName", + "in": "path", + "description": "The name of the Network Virtual Appliance.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkVirtualApplianceConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkVirtualApplianceConnectionGet": { + "$ref": "./examples/NetworkVirtualApplianceConnectionGet.json" + } + } + }, + "put": { + "operationId": "NetworkVirtualApplianceConnections_CreateOrUpdate", + "description": "Creates a connection to Network Virtual Appliance, if it doesn't exist else updates the existing NVA connection'", + "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": "networkVirtualApplianceName", + "in": "path", + "description": "The name of the Network Virtual Appliance.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "NetworkVirtualApplianceConnectionParameters", + "in": "body", + "description": "Parameters supplied in an NetworkVirtualApplianceConnection PUT operation.", + "required": true, + "schema": { + "$ref": "#/definitions/NetworkVirtualApplianceConnection" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkVirtualApplianceConnection" + } + }, + "201": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/NetworkVirtualApplianceConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkVirtualApplianceConnectionPut": { + "$ref": "./examples/NetworkVirtualApplianceConnectionPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/NetworkVirtualApplianceConnection" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NetworkVirtualApplianceConnections_Delete", + "description": "Deletes a NVA connection.", + "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": "networkVirtualApplianceName", + "in": "path", + "description": "The name of the Network Virtual Appliance.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NetworkVirtualApplianceConnectionDelete": { + "$ref": "./examples/NetworkVirtualApplianceConnectionDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways": { + "get": { + "operationId": "P2sVpnGateways_ListByResourceGroup", + "description": "Lists all the P2SVpnGateways in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListP2SVpnGatewaysResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "P2SVpnGatewayListByResourceGroup": { + "$ref": "./examples/P2SVpnGatewayListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}": { + "get": { + "operationId": "P2sVpnGateways_Get", + "description": "Retrieves the details of a virtual wan p2s vpn gateway.", + "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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/P2SVpnGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "P2SVpnGatewayGet": { + "$ref": "./examples/P2SVpnGatewayGet.json" + } + } + }, + "put": { + "operationId": "P2sVpnGateways_CreateOrUpdate", + "description": "Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway.", + "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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + }, + { + "name": "p2SVpnGatewayParameters", + "in": "body", + "description": "Parameters supplied to create or Update a virtual wan p2s vpn gateway.", + "required": true, + "schema": { + "$ref": "#/definitions/P2SVpnGateway" + } + } + ], + "responses": { + "200": { + "description": "Resource 'P2SVpnGateway' update operation succeeded", + "schema": { + "$ref": "#/definitions/P2SVpnGateway" + } + }, + "201": { + "description": "Resource 'P2SVpnGateway' create operation succeeded", + "schema": { + "$ref": "#/definitions/P2SVpnGateway" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "P2SVpnGatewayPut": { + "$ref": "./examples/P2SVpnGatewayPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/P2SVpnGateway" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "P2sVpnGateways_UpdateTags", + "tags": [ + "P2SVpnGateways" + ], + "description": "Updates virtual wan p2s vpn gateway tags.", + "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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + }, + { + "name": "p2SVpnGatewayParameters", + "in": "body", + "description": "Parameters supplied to update a virtual wan p2s vpn gateway tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/P2SVpnGateway" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "P2SVpnGatewayUpdate": { + "$ref": "./examples/P2SVpnGatewayUpdateTags.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/P2SVpnGateway" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "P2sVpnGateways_Delete", + "description": "Deletes a virtual wan p2s vpn gateway.", + "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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "P2SVpnGatewayDelete": { + "$ref": "./examples/P2SVpnGatewayDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{p2sVpnGatewayName}/disconnectP2sVpnConnections": { + "post": { + "operationId": "P2sVpnGateways_DisconnectP2sVpnConnections", + "tags": [ + "P2SVpnGateways" + ], + "description": "Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified 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": "p2sVpnGatewayName", + "in": "path", + "description": "The name of the P2S Vpn Gateway.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "The parameters are supplied to disconnect p2s vpn connections.", + "required": true, + "schema": { + "$ref": "#/definitions/P2SVpnConnectionRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Disconnect VpnConnections from P2sVpn Gateway": { + "$ref": "./examples/P2sVpnGatewaysDisconnectP2sVpnConnections.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/generatevpnprofile": { + "post": { + "operationId": "P2sVpnGateways_GenerateVpnProfile", + "tags": [ + "P2SVpnGateways" + ], + "description": "Generates VPN profile for P2S client of the P2SVpnGateway in the specified 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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters supplied to the generate P2SVpnGateway VPN client package operation.", + "required": true, + "schema": { + "$ref": "#/definitions/P2SVpnProfileParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnProfileResponse" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GenerateP2SVpnGatewayVPNProfile": { + "$ref": "./examples/P2SVpnGatewayGenerateVpnProfile.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VpnProfileResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealth": { + "post": { + "operationId": "P2sVpnGateways_GetP2sVpnConnectionHealth", + "tags": [ + "P2SVpnGateways" + ], + "description": "Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified 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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/P2SVpnGateway" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "P2SVpnGatewayGetConnectionHealth": { + "$ref": "./examples/P2SVpnGatewayGetConnectionHealth.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/P2SVpnGateway" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/getP2sVpnConnectionHealthDetailed": { + "post": { + "operationId": "P2sVpnGateways_GetP2sVpnConnectionHealthDetailed", + "tags": [ + "P2SVpnGateways" + ], + "description": "Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified 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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "Request parameters supplied to get p2s vpn connections detailed health.", + "required": true, + "schema": { + "$ref": "#/definitions/P2SVpnConnectionHealthRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/P2SVpnConnectionHealth" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "P2SVpnGatewayGetConnectionHealthDetailed": { + "$ref": "./examples/P2SVpnGatewayGetConnectionHealthDetailed.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/P2SVpnConnectionHealth" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/p2svpnGateways/{gatewayName}/reset": { + "post": { + "operationId": "P2SVpnGateways_Reset", + "tags": [ + "P2SVpnGateways" + ], + "description": "Resets the primary of the p2s vpn gateway in the specified 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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/P2SVpnGateway" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ResetP2SVpnGateway": { + "$ref": "./examples/P2SVpnGatewayReset.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/P2SVpnGateway" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs": { + "get": { + "operationId": "VirtualHubs_ListByResourceGroup", + "description": "Lists all the VirtualHubs in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVirtualHubsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualHubListByResourceGroup": { + "$ref": "./examples/VirtualHubListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}": { + "get": { + "operationId": "VirtualHubs_Get", + "description": "Retrieves the details of a VirtualHub.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualHub" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualHubGet": { + "$ref": "./examples/VirtualHubGet.json" + } + } + }, + "put": { + "operationId": "VirtualHubs_CreateOrUpdate", + "description": "Creates a VirtualHub resource if it doesn't exist else updates the existing VirtualHub.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "virtualHubParameters", + "in": "body", + "description": "Parameters supplied to create or update VirtualHub.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualHub" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VirtualHub' update operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualHub" + } + }, + "201": { + "description": "Resource 'VirtualHub' create operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualHub" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualHubPut": { + "$ref": "./examples/VirtualHubPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VirtualHub" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualHubs_UpdateTags", + "tags": [ + "VirtualWANs" + ], + "description": "Updates VirtualHub tags.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "virtualHubParameters", + "in": "body", + "description": "Parameters supplied to update VirtualHub tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualHub" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualHubUpdate": { + "$ref": "./examples/VirtualHubUpdateTags.json" + } + } + }, + "delete": { + "operationId": "VirtualHubs_Delete", + "description": "Deletes a VirtualHub.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualHubDelete": { + "$ref": "./examples/VirtualHubDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections": { + "get": { + "operationId": "VirtualHubBgpConnections_List", + "description": "Retrieves the details of all VirtualHubBgpConnections.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVirtualHubBgpConnectionResults" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualHubRouteTableV2List": { + "$ref": "./examples/VirtualHubBgpConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/bgpConnections/{connectionName}": { + "get": { + "operationId": "VirtualHubBgpConnection_Get", + "description": "Retrieves the details of a Virtual Hub Bgp Connection.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/BgpConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualHubVirtualHubRouteTableV2Get": { + "$ref": "./examples/VirtualHubBgpConnectionGet.json" + } + } + }, + "put": { + "operationId": "VirtualHubBgpConnection_CreateOrUpdate", + "description": "Creates a VirtualHubBgpConnection resource if it doesn't exist else updates the existing VirtualHubBgpConnection.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Parameters of Bgp connection.", + "required": true, + "schema": { + "$ref": "#/definitions/BgpConnection" + } + } + ], + "responses": { + "200": { + "description": "Resource 'BgpConnection' update operation succeeded", + "schema": { + "$ref": "#/definitions/BgpConnection" + } + }, + "201": { + "description": "Resource 'BgpConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/BgpConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualHubRouteTableV2Put": { + "$ref": "./examples/VirtualHubBgpConnectionPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/BgpConnection" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualHubBgpConnection_Delete", + "description": "Deletes a VirtualHubBgpConnection.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the connection.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualHubRouteTableV2Delete": { + "$ref": "./examples/VirtualHubBgpConnectionDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/advertisedRoutes": { + "post": { + "operationId": "VirtualHubBgpConnections_ListAdvertisedRoutes", + "description": "Retrieves a list of routes the virtual hub bgp connection is advertising to the specified peer.", + "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": "hubName", + "in": "path", + "description": "The name of the virtual hub.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the bgp connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "object", + "additionalProperties": { + "items": { + "$ref": "#/definitions/PeerRoute" + }, + "type": "array" + } + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualRouterPeerListAdvertisedRoutes": { + "$ref": "./examples/VirtualRouterPeerListAdvertisedRoute.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Record%3CPeerRoute%5B%5D%3E" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{hubName}/bgpConnections/{connectionName}/learnedRoutes": { + "post": { + "operationId": "VirtualHubBgpConnections_ListLearnedRoutes", + "description": "Retrieves a list of routes the virtual hub bgp connection has learned.", + "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": "hubName", + "in": "path", + "description": "The name of the virtual hub.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the bgp connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "type": "object", + "additionalProperties": { + "items": { + "$ref": "#/definitions/PeerRoute" + }, + "type": "array" + } + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualRouterPeerListLearnedRoutes": { + "$ref": "./examples/VirtualRouterPeerListLearnedRoute.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/Record%3CPeerRoute%5B%5D%3E" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/connectionPolicies": { + "get": { + "operationId": "ConnectionPolicies_List", + "description": "Retrieves the details of all ConnectionPolicies.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListConnectionPoliciesResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ConnectionPolicyList": { + "$ref": "./examples/ConnectionPolicyList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/connectionPolicies/{connectionPolicyName}": { + "get": { + "operationId": "ConnectionPolicies_Get", + "description": "Retrieves the details of a ConnectionPolicy.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "connectionPolicyName", + "in": "path", + "description": "The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.", + "required": true, + "type": "string", + "pattern": "^(?![.-])[a-zA-Z0-9_.-]{1,128}$" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectionPolicy" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ConnectionPolicyGet": { + "$ref": "./examples/ConnectionPolicyGet.json" + } + } + }, + "put": { + "operationId": "ConnectionPolicies_CreateOrUpdate", + "description": "Creates a ConnectionPolicy if it doesn't exist else updates the existing one.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "connectionPolicyName", + "in": "path", + "description": "The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.", + "required": true, + "type": "string", + "pattern": "^(?![.-])[a-zA-Z0-9_.-]{1,128}$" + }, + { + "name": "resource", + "in": "body", + "description": "Parameters supplied to create or update a ConnectionPolicy.", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectionPolicy" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ConnectionPolicy' update operation succeeded", + "schema": { + "$ref": "#/definitions/ConnectionPolicy" + } + }, + "201": { + "description": "Resource 'ConnectionPolicy' create operation succeeded", + "schema": { + "$ref": "#/definitions/ConnectionPolicy" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ConnectionPolicyPut": { + "$ref": "./examples/ConnectionPolicyPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ConnectionPolicy" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ConnectionPolicies_Delete", + "description": "Deletes a ConnectionPolicy.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "connectionPolicyName", + "in": "path", + "description": "The name of the ConnectionPolicy that is unique within a VirtualHub. This name can be used to access the resource.", + "required": true, + "type": "string", + "pattern": "^(?![.-])[a-zA-Z0-9_.-]{1,128}$" + } + ], + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ConnectionPolicyDelete": { + "$ref": "./examples/ConnectionPolicyDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/effectiveRoutes": { + "post": { + "operationId": "VirtualHubs_GetEffectiveVirtualHubRoutes", + "description": "Gets the effective routes configured for the Virtual Hub resource or the specified resource .", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "effectiveRoutesParameters", + "in": "body", + "description": "Parameters supplied to get the effective routes for a specific resource.", + "required": false, + "schema": { + "$ref": "#/definitions/EffectiveRoutesParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualHubEffectiveRouteList" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Effective Routes for a Connection resource": { + "$ref": "./examples/EffectiveRoutesListForConnection.json" + }, + "Effective Routes for a Route Table resource": { + "$ref": "./examples/EffectiveRoutesListForRouteTable.json" + }, + "Effective Routes for the Virtual Hub": { + "$ref": "./examples/EffectiveRoutesListForVirtualHub.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VirtualHubEffectiveRouteList" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables": { + "get": { + "operationId": "HubRouteTables_List", + "description": "Retrieves the details of all RouteTables.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListHubRouteTablesResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteTableList": { + "$ref": "./examples/HubRouteTableList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubRouteTables/{routeTableName}": { + "get": { + "operationId": "HubRouteTables_Get", + "description": "Retrieves the details of a RouteTable.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "routeTableName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HubRouteTable" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteTableGet": { + "$ref": "./examples/HubRouteTableGet.json" + } + } + }, + "put": { + "operationId": "HubRouteTables_CreateOrUpdate", + "description": "Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "routeTableName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "routeTableParameters", + "in": "body", + "description": "Parameters supplied to create or update RouteTable.", + "required": true, + "schema": { + "$ref": "#/definitions/HubRouteTable" + } + } + ], + "responses": { + "200": { + "description": "Resource 'HubRouteTable' update operation succeeded", + "schema": { + "$ref": "#/definitions/HubRouteTable" + } + }, + "201": { + "description": "Resource 'HubRouteTable' create operation succeeded", + "schema": { + "$ref": "#/definitions/HubRouteTable" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteTablePut": { + "$ref": "./examples/HubRouteTablePut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/HubRouteTable" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "HubRouteTables_Delete", + "description": "Deletes a RouteTable.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "routeTableName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteTableDelete": { + "$ref": "./examples/HubRouteTableDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections": { + "get": { + "operationId": "HubVirtualNetworkConnections_List", + "description": "Retrieves the details of all HubVirtualNetworkConnections.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListHubVirtualNetworkConnectionsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "HubVirtualNetworkConnectionList": { + "$ref": "./examples/HubVirtualNetworkConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/hubVirtualNetworkConnections/{connectionName}": { + "get": { + "operationId": "HubVirtualNetworkConnections_Get", + "description": "Retrieves the details of a HubVirtualNetworkConnection.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the Virtual Hub.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HubVirtualNetworkConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "HubVirtualNetworkConnectionGet": { + "$ref": "./examples/HubVirtualNetworkConnectionGet.json" + } + } + }, + "put": { + "operationId": "HubVirtualNetworkConnections_CreateOrUpdate", + "description": "Creates a hub virtual network connection if it doesn't exist else updates the existing one.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the Virtual Hub.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string" + }, + { + "name": "hubVirtualNetworkConnectionParameters", + "in": "body", + "description": "Parameters supplied to create or update a hub virtual network connection.", + "required": true, + "schema": { + "$ref": "#/definitions/HubVirtualNetworkConnection" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HubVirtualNetworkConnection" + } + }, + "201": { + "description": "Resource 'HubVirtualNetworkConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/HubVirtualNetworkConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "HubVirtualNetworkConnectionPut": { + "$ref": "./examples/HubVirtualNetworkConnectionPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/HubVirtualNetworkConnection" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "HubVirtualNetworkConnections_Delete", + "description": "Deletes a HubVirtualNetworkConnection.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the Virtual Hub.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "HubVirtualNetworkConnectionDelete": { + "$ref": "./examples/HubVirtualNetworkConnectionDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/inboundRoutes": { + "post": { + "operationId": "VirtualHubs_GetInboundRoutes", + "description": "Gets the inbound routes configured for the Virtual Hub on a particular connection.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "getInboundRoutesParameters", + "in": "body", + "description": "Parameters supplied to get the inbound routes for a connection resource.", + "required": true, + "schema": { + "$ref": "#/definitions/GetInboundRoutesParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EffectiveRouteMapRouteList" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Inbound Routes for the Virtual Hub on a Particular Connection": { + "$ref": "./examples/GetInboundRoutes.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/EffectiveRouteMapRouteList" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations": { + "get": { + "operationId": "VirtualHubIpConfiguration_List", + "description": "Retrieves the details of all VirtualHubIpConfigurations.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVirtualHubIpConfigurationResults" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualHubRouteTableV2List": { + "$ref": "./examples/VirtualHubIpConfigurationList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/ipConfigurations/{ipConfigName}": { + "get": { + "operationId": "VirtualHubIpConfiguration_Get", + "description": "Retrieves the details of a Virtual Hub Ip configuration.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "ipConfigName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/HubIpConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualHubVirtualHubRouteTableV2Get": { + "$ref": "./examples/VirtualHubIpConfigurationGet.json" + } + } + }, + "put": { + "operationId": "VirtualHubIpConfiguration_CreateOrUpdate", + "description": "Creates a VirtualHubIpConfiguration resource if it doesn't exist else updates the existing VirtualHubIpConfiguration.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "ipConfigName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Hub Ip Configuration parameters.", + "required": true, + "schema": { + "$ref": "#/definitions/HubIpConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Resource 'HubIpConfiguration' update operation succeeded", + "schema": { + "$ref": "#/definitions/HubIpConfiguration" + } + }, + "201": { + "description": "Resource 'HubIpConfiguration' create operation succeeded", + "schema": { + "$ref": "#/definitions/HubIpConfiguration" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualHubIpConfigurationPut": { + "$ref": "./examples/VirtualHubIpConfigurationPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/HubIpConfiguration" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualHubIpConfiguration_Delete", + "description": "Deletes a VirtualHubIpConfiguration.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "ipConfigName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualHubIpConfigurationDelete": { + "$ref": "./examples/VirtualHubIpConfigurationDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/outboundRoutes": { + "post": { + "operationId": "VirtualHubs_GetOutboundRoutes", + "description": "Gets the outbound routes configured for the Virtual Hub on a particular connection.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "getOutboundRoutesParameters", + "in": "body", + "description": "Parameters supplied to get the outbound routes for a connection resource.", + "required": true, + "schema": { + "$ref": "#/definitions/GetOutboundRoutesParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/EffectiveRouteMapRouteList" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Outbound Routes for the Virtual Hub on a Particular Connection": { + "$ref": "./examples/GetOutboundRoutes.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/EffectiveRouteMapRouteList" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps": { + "get": { + "operationId": "RouteMaps_List", + "description": "Retrieves the details of all RouteMaps.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListRouteMapsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteMapList": { + "$ref": "./examples/RouteMapList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeMaps/{routeMapName}": { + "get": { + "operationId": "RouteMaps_Get", + "description": "Retrieves the details of a RouteMap.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "routeMapName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RouteMap" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteMapGet": { + "$ref": "./examples/RouteMapGet.json" + } + } + }, + "put": { + "operationId": "RouteMaps_CreateOrUpdate", + "description": "Creates a RouteMap if it doesn't exist else updates the existing one.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "routeMapName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "routeMapParameters", + "in": "body", + "description": "Parameters supplied to create or update a RouteMap.", + "required": true, + "schema": { + "$ref": "#/definitions/RouteMap" + } + } + ], + "responses": { + "200": { + "description": "Resource 'RouteMap' update operation succeeded", + "schema": { + "$ref": "#/definitions/RouteMap" + } + }, + "201": { + "description": "Resource 'RouteMap' create operation succeeded", + "schema": { + "$ref": "#/definitions/RouteMap" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteMapPut": { + "$ref": "./examples/RouteMapPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/RouteMap" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "RouteMaps_Delete", + "description": "Deletes a RouteMap.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "routeMapName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteMapDelete": { + "$ref": "./examples/RouteMapDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables": { + "get": { + "operationId": "VirtualHubRouteTableV2s_List", + "description": "Retrieves the details of all VirtualHubRouteTableV2s.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVirtualHubRouteTableV2sResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualHubRouteTableV2List": { + "$ref": "./examples/VirtualHubRouteTableV2List.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routeTables/{routeTableName}": { + "get": { + "operationId": "VirtualHubRouteTableV2s_Get", + "description": "Retrieves the details of a VirtualHubRouteTableV2.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the Virtual Hub.", + "required": true, + "type": "string" + }, + { + "name": "routeTableName", + "in": "path", + "description": "The name of the VirtualHubRouteTableV2.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualHubRouteTableV2" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "VirtualHubVirtualHubRouteTableV2Get": { + "$ref": "./examples/VirtualHubRouteTableV2Get.json" + } + } + }, + "put": { + "operationId": "VirtualHubRouteTableV2s_CreateOrUpdate", + "description": "Creates a VirtualHubRouteTableV2 resource if it doesn't exist else updates the existing VirtualHubRouteTableV2.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the Virtual Hub.", + "required": true, + "type": "string" + }, + { + "name": "routeTableName", + "in": "path", + "description": "The name of the VirtualHubRouteTableV2.", + "required": true, + "type": "string" + }, + { + "name": "virtualHubRouteTableV2Parameters", + "in": "body", + "description": "Parameters supplied to create or update VirtualHubRouteTableV2.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualHubRouteTableV2" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualHubRouteTableV2" + } + }, + "201": { + "description": "Resource 'VirtualHubRouteTableV2' create operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualHubRouteTableV2" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "VirtualHubRouteTableV2Put": { + "$ref": "./examples/VirtualHubRouteTableV2Put.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VirtualHubRouteTableV2" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VirtualHubRouteTableV2s_Delete", + "description": "Deletes a VirtualHubRouteTableV2.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the Virtual Hub.", + "required": true, + "type": "string" + }, + { + "name": "routeTableName", + "in": "path", + "description": "The name of the VirtualHubRouteTableV2.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Error" + } + } + }, + "x-ms-examples": { + "VirtualHubRouteTableV2Delete": { + "$ref": "./examples/VirtualHubRouteTableV2Delete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent": { + "get": { + "operationId": "RoutingIntent_List", + "description": "Retrieves the details of all RoutingIntent child resources of the VirtualHub.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListRoutingIntentResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RoutingIntentList": { + "$ref": "./examples/RoutingIntentList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualHubs/{virtualHubName}/routingIntent/{routingIntentName}": { + "get": { + "operationId": "RoutingIntent_Get", + "description": "Retrieves the details of a RoutingIntent.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "routingIntentName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/RoutingIntent" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteTableGet": { + "$ref": "./examples/RoutingIntentGet.json" + } + } + }, + "put": { + "operationId": "RoutingIntent_CreateOrUpdate", + "description": "Creates a RoutingIntent resource if it doesn't exist else updates the existing RoutingIntent.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "routingIntentName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "routingIntentParameters", + "in": "body", + "description": "Parameters supplied to create or update RoutingIntent.", + "required": true, + "schema": { + "$ref": "#/definitions/RoutingIntent" + } + } + ], + "responses": { + "200": { + "description": "Resource 'RoutingIntent' update operation succeeded", + "schema": { + "$ref": "#/definitions/RoutingIntent" + } + }, + "201": { + "description": "Resource 'RoutingIntent' create operation succeeded", + "schema": { + "$ref": "#/definitions/RoutingIntent" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteTablePut": { + "$ref": "./examples/RoutingIntentPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/RoutingIntent" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "RoutingIntent_Delete", + "description": "Deletes a RoutingIntent.", + "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": "virtualHubName", + "in": "path", + "description": "The name of the VirtualHub.", + "required": true, + "type": "string" + }, + { + "name": "routingIntentName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "RouteTableDelete": { + "$ref": "./examples/RoutingIntentDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans": { + "get": { + "operationId": "VirtualWans_ListByResourceGroup", + "description": "Lists all the VirtualWANs in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVirtualWANsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualWANListByResourceGroup": { + "$ref": "./examples/VirtualWANListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{VirtualWANName}": { + "get": { + "operationId": "VirtualWans_Get", + "description": "Retrieves the details of a VirtualWAN.", + "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": "VirtualWANName", + "in": "path", + "description": "The name of the VirtualWAN being retrieved.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualWAN" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualWANGet": { + "$ref": "./examples/VirtualWANGet.json" + } + } + }, + "put": { + "operationId": "VirtualWans_CreateOrUpdate", + "description": "Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.", + "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": "VirtualWANName", + "in": "path", + "description": "The name of the VirtualWAN being retrieved.", + "required": true, + "type": "string" + }, + { + "name": "WANParameters", + "in": "body", + "description": "Parameters supplied to create or update VirtualWAN.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualWAN" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VirtualWAN' update operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualWAN" + } + }, + "201": { + "description": "Resource 'VirtualWAN' create operation succeeded", + "schema": { + "$ref": "#/definitions/VirtualWAN" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualWANCreate": { + "$ref": "./examples/VirtualWANPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VirtualWAN" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VirtualWans_UpdateTags", + "tags": [ + "VirtualWANs" + ], + "description": "Updates a VirtualWAN tags.", + "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": "VirtualWANName", + "in": "path", + "description": "The name of the VirtualWAN being retrieved.", + "required": true, + "type": "string" + }, + { + "name": "WANParameters", + "in": "body", + "description": "Parameters supplied to Update VirtualWAN tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualWAN" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualWANUpdate": { + "$ref": "./examples/VirtualWANUpdateTags.json" + } + } + }, + "delete": { + "operationId": "VirtualWans_Delete", + "description": "Deletes a VirtualWAN.", + "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": "VirtualWANName", + "in": "path", + "description": "The name of the VirtualWAN being retrieved.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VirtualWANDelete": { + "$ref": "./examples/VirtualWANDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/generateVpnProfile": { + "post": { + "operationId": "generatevirtualwanvpnserverconfigurationvpnprofile", + "description": "Generates a unique VPN profile for P2S clients for VirtualWan and associated VpnServerConfiguration combination in the specified 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": "virtualWANName", + "in": "path", + "description": "The name of the VirtualWAN.", + "required": true, + "type": "string" + }, + { + "name": "vpnClientParams", + "in": "body", + "description": "Parameters supplied to the generate VirtualWan VPN profile generation operation.", + "required": true, + "schema": { + "$ref": "#/definitions/VirtualWanVpnProfileParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnProfileResponse" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GenerateVirtualWanVpnServerConfigurationVpnProfile": { + "$ref": "./examples/GenerateVirtualWanVpnServerConfigurationVpnProfile.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VpnProfileResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/supportedSecurityProviders": { + "get": { + "operationId": "SupportedSecurityProviders", + "description": "Gives the supported security providers for the virtual wan.", + "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": "virtualWANName", + "in": "path", + "description": "The name of the VirtualWAN.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VirtualWanSecurityProviders" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "supportedSecurityProviders": { + "$ref": "./examples/VirtualWanSupportedSecurityProviders.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnConfiguration": { + "post": { + "operationId": "VpnSitesConfiguration_Download", + "description": "Gives the sas-url to download the configurations for vpn-sites in 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": "virtualWANName", + "in": "path", + "description": "The name of the VirtualWAN.", + "required": true, + "type": "string" + }, + { + "name": "request", + "in": "body", + "description": "Parameters supplied to download vpn-sites configuration.", + "required": true, + "schema": { + "$ref": "#/definitions/GetVpnSitesConfigurationRequest" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnSitesConfigurationDownload": { + "$ref": "./examples/VpnSitesConfigurationDownload.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/virtualWans/{virtualWANName}/vpnServerConfigurations": { + "post": { + "operationId": "VpnServerConfigurationsAssociatedWithVirtualWan_List", + "description": "Gives the list of VpnServerConfigurations associated with Virtual Wan in 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": "virtualWANName", + "in": "path", + "description": "The name of the VirtualWAN.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnServerConfigurationsResponse" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "GetVirtualWanVpnServerConfigurations": { + "$ref": "./examples/GetVirtualWanVpnServerConfigurations.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VpnServerConfigurationsResponse" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways": { + "get": { + "operationId": "VpnGateways_ListByResourceGroup", + "description": "Lists all the VpnGateways in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVpnGatewaysResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnGatewayListByResourceGroup": { + "$ref": "./examples/VpnGatewayListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}": { + "get": { + "operationId": "VpnGateways_Get", + "description": "Retrieves the details of a virtual wan vpn gateway.", + "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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnGateway" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnGatewayGet": { + "$ref": "./examples/VpnGatewayGet.json" + } + } + }, + "put": { + "operationId": "VpnGateways_CreateOrUpdate", + "description": "Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.", + "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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + }, + { + "name": "vpnGatewayParameters", + "in": "body", + "description": "Parameters supplied to create or Update a virtual wan vpn gateway.", + "required": true, + "schema": { + "$ref": "#/definitions/VpnGateway" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VpnGateway' update operation succeeded", + "schema": { + "$ref": "#/definitions/VpnGateway" + } + }, + "201": { + "description": "Resource 'VpnGateway' create operation succeeded", + "schema": { + "$ref": "#/definitions/VpnGateway" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnGatewayPut": { + "$ref": "./examples/VpnGatewayPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VpnGateway" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VpnGateways_UpdateTags", + "tags": [ + "VpnGateways" + ], + "description": "Updates virtual wan vpn gateway tags.", + "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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + }, + { + "name": "vpnGatewayParameters", + "in": "body", + "description": "Parameters supplied to update a virtual wan vpn gateway tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnGateway" + } + }, + "202": { + "description": "Resource update request accepted.", + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnGatewayUpdate": { + "$ref": "./examples/VpnGatewayUpdateTags.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VpnGateway" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VpnGateways_Delete", + "description": "Deletes a virtual wan vpn gateway.", + "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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnGatewayDelete": { + "$ref": "./examples/VpnGatewayDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules": { + "get": { + "operationId": "NatRules_ListByVpnGateway", + "description": "Retrieves all nat rules for a particular virtual wan vpn gateway.", + "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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVpnGatewayNatRulesResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NatRuleList": { + "$ref": "./examples/NatRuleList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/natRules/{natRuleName}": { + "get": { + "operationId": "NatRules_Get", + "description": "Retrieves the details of a nat ruleGet.", + "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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + }, + { + "name": "natRuleName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnGatewayNatRule" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NatRuleGet": { + "$ref": "./examples/NatRuleGet.json" + } + } + }, + "put": { + "operationId": "NatRules_CreateOrUpdate", + "description": "Creates a nat rule to a scalable vpn gateway if it doesn't exist else updates the existing nat rules.", + "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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + }, + { + "name": "natRuleName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "NatRuleParameters", + "in": "body", + "description": "Parameters supplied to create or Update a Nat Rule.", + "required": true, + "schema": { + "$ref": "#/definitions/VpnGatewayNatRule" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VpnGatewayNatRule' update operation succeeded", + "schema": { + "$ref": "#/definitions/VpnGatewayNatRule" + } + }, + "201": { + "description": "Resource 'VpnGatewayNatRule' create operation succeeded", + "schema": { + "$ref": "#/definitions/VpnGatewayNatRule" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NatRulePut": { + "$ref": "./examples/NatRulePut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VpnGatewayNatRule" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "NatRules_Delete", + "description": "Deletes a nat 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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + }, + { + "name": "natRuleName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "NatRuleDelete": { + "$ref": "./examples/NatRuleDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/reset": { + "post": { + "operationId": "VpnGateways_Reset", + "tags": [ + "VpnGateways" + ], + "description": "Resets the primary of the vpn gateway in the specified 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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + }, + { + "name": "ipConfigurationId", + "in": "query", + "description": "VpnGateway ipConfigurationId to specify the gateway instance.", + "required": false, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnGateway" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ResetVpnGateway": { + "$ref": "./examples/VpnGatewayReset.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "#/definitions/VpnGateway" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/startpacketcapture": { + "post": { + "operationId": "VpnGateways_StartPacketCapture", + "tags": [ + "VpnGateways" + ], + "description": "Starts packet capture on vpn gateway in the specified 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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.", + "required": false, + "schema": { + "$ref": "#/definitions/VpnGatewayPacketCaptureStartParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Start packet capture on vpn gateway with filter": { + "$ref": "./examples/VpnGatewayStartPacketCaptureFilterData.json" + }, + "Start packet capture on vpn gateway without filter": { + "$ref": "./examples/VpnGatewayStartPacketCapture.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/stoppacketcapture": { + "post": { + "operationId": "VpnGateways_StopPacketCapture", + "tags": [ + "VpnGateways" + ], + "description": "Stops packet capture on vpn gateway in the specified 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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.", + "required": false, + "schema": { + "$ref": "#/definitions/VpnGatewayPacketCaptureStopParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Stop packet capture on vpn gateway": { + "$ref": "./examples/VpnGatewayStopPacketCapture.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections": { + "get": { + "operationId": "VpnConnections_ListByVpnGateway", + "description": "Retrieves all vpn connections for a particular virtual wan vpn gateway.", + "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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVpnConnectionsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnConnectionList": { + "$ref": "./examples/VpnConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}": { + "get": { + "operationId": "VpnConnections_Get", + "description": "Retrieves the details of a vpn connection.", + "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": "gatewayName", + "in": "path", + "description": "The name of the vpn gateway.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the vpn connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnConnectionGet": { + "$ref": "./examples/VpnConnectionGet.json" + } + } + }, + "put": { + "operationId": "VpnConnections_CreateOrUpdate", + "description": "Creates a vpn connection to a scalable vpn gateway if it doesn't exist else updates the existing connection.", + "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": "gatewayName", + "in": "path", + "description": "The name of the vpn gateway.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the vpn connection.", + "required": true, + "type": "string" + }, + { + "name": "VpnConnectionParameters", + "in": "body", + "description": "Parameters supplied to create or Update a VPN Connection.", + "required": true, + "schema": { + "$ref": "#/definitions/VpnConnection" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnConnection" + } + }, + "201": { + "description": "Resource 'VpnConnection' create operation succeeded", + "schema": { + "$ref": "#/definitions/VpnConnection" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnConnectionPut": { + "$ref": "./examples/VpnConnectionPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VpnConnection" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "VpnConnections_Delete", + "description": "Deletes a vpn connection.", + "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": "gatewayName", + "in": "path", + "description": "The name of the vpn gateway.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the vpn connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully." + }, + "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." + } + } + }, + "204": { + "description": "There is no content to send for this request, but the headers may be useful." + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnConnectionDelete": { + "$ref": "./examples/VpnConnectionDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/startpacketcapture": { + "post": { + "operationId": "VpnConnections_StartPacketCapture", + "description": "Starts packet capture on Vpn connection in the specified 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": "gatewayName", + "in": "path", + "description": "The name of the vpn gateway.", + "required": true, + "type": "string" + }, + { + "name": "vpnConnectionName", + "in": "path", + "description": "The name of the vpn connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Vpn Connection packet capture parameters supplied to start packet capture on gateway connection.", + "required": false, + "schema": { + "$ref": "#/definitions/VpnConnectionPacketCaptureStartParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Start packet capture on vpn connection with filter": { + "$ref": "./examples/VpnConnectionStartPacketCaptureFilterData.json" + }, + "Start packet capture on vpn connection without filter": { + "$ref": "./examples/VpnConnectionStartPacketCapture.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{vpnConnectionName}/stoppacketcapture": { + "post": { + "operationId": "VpnConnections_StopPacketCapture", + "description": "Stops packet capture on Vpn connection in the specified 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": "gatewayName", + "in": "path", + "description": "The name of the vpn gateway.", + "required": true, + "type": "string" + }, + { + "name": "vpnConnectionName", + "in": "path", + "description": "The name of the vpn connection.", + "required": true, + "type": "string" + }, + { + "name": "parameters", + "in": "body", + "description": "Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection.", + "required": false, + "schema": { + "$ref": "#/definitions/VpnConnectionPacketCaptureStopParameters" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "Start packet capture on vpn connection without filter": { + "$ref": "./examples/VpnConnectionStopPacketCapture.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections": { + "get": { + "operationId": "VpnLinkConnections_ListByVpnConnection", + "description": "Retrieves all vpn site link connections for a particular virtual wan vpn gateway vpn connection.", + "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": "gatewayName", + "in": "path", + "description": "The name of the gateway.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the vpn connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVpnSiteLinkConnectionsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnSiteLinkConnectionList": { + "$ref": "./examples/VpnSiteLinkConnectionList.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}": { + "get": { + "operationId": "VpnSiteLinkConnections_Get", + "description": "Retrieves the details of a vpn site link connection.", + "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": "gatewayName", + "in": "path", + "description": "The name of the vpn gateway.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the vpn connection.", + "required": true, + "type": "string" + }, + { + "name": "linkConnectionName", + "in": "path", + "description": "The name of the vpn link connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnSiteLinkConnection" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnSiteLinkConnectionGet": { + "$ref": "./examples/VpnSiteLinkConnectionGet.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/getikesas": { + "post": { + "operationId": "VpnLinkConnections_GetIkeSas", + "description": "Lists IKE Security Associations for Vpn Site Link Connection in the specified 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": "gatewayName", + "in": "path", + "description": "The name of the vpn gateway.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the vpn connection.", + "required": true, + "type": "string" + }, + { + "name": "linkConnectionName", + "in": "path", + "description": "The name of the vpn link connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./common.json#/definitions/stringApplicationJson" + } + }, + "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": "./networkWatcher.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "GetVpnLinkConnectionIkeSa": { + "$ref": "./examples/VpnSiteLinkConnectionGetIkeSas.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location", + "final-state-schema": "./common.json#/definitions/stringApplicationJson" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/resetconnection": { + "post": { + "operationId": "VpnLinkConnections_ResetConnection", + "tags": [ + "vpnLinkConnections" + ], + "description": "Resets the VpnLink connection specified.", + "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": "gatewayName", + "in": "path", + "description": "The name of the vpn gateway.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the vpn connection.", + "required": true, + "type": "string" + }, + { + "name": "linkConnectionName", + "in": "path", + "description": "The name of the vpn link connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "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": "./networkWatcher.json#/definitions/ErrorResponse" + } + } + }, + "x-ms-examples": { + "ResetVpnLinkConnection": { + "$ref": "./examples/VpnSiteLinkConnectionReset.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys": { + "get": { + "operationId": "VpnLinkConnections_GetAllSharedKeys", + "description": "Lists all shared keys of VpnLink connection specified.", + "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": "gatewayName", + "in": "path", + "description": "The name of the vpn gateway.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the vpn connection.", + "required": true, + "type": "string" + }, + { + "name": "linkConnectionName", + "in": "path", + "description": "The name of the vpn link connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectionSharedKeyResultList" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnSiteLinkConnectionSharedKeysGet": { + "$ref": "./examples/VpnSiteLinkConnectionSharedKeysGet.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys/default": { + "get": { + "operationId": "VpnLinkConnections_GetDefaultSharedKey", + "description": "Gets the shared key of VpnLink connection specified.", + "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": "gatewayName", + "in": "path", + "description": "The name of the vpn gateway.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the vpn connection.", + "required": true, + "type": "string" + }, + { + "name": "linkConnectionName", + "in": "path", + "description": "The name of the vpn link connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectionSharedKeyResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnSiteLinkConnectionDefaultSharedKeyGet": { + "$ref": "./examples/VpnSiteLinkConnectionDefaultSharedKeyGet.json" + } + } + }, + "put": { + "operationId": "VpnLinkConnections_SetOrInitDefaultSharedKey", + "description": "Sets or auto generates the shared key based on the user input. If users give a shared key value, it does the set operation. If key length is given, the operation creates a random key of the pre-defined length.", + "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": "gatewayName", + "in": "path", + "description": "The name of the vpn gateway.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the vpn connection.", + "required": true, + "type": "string" + }, + { + "name": "linkConnectionName", + "in": "path", + "description": "The name of the vpn link connection.", + "required": true, + "type": "string" + }, + { + "name": "ConnectionSharedKeyParameters", + "in": "body", + "description": "Parameters supplied to set or auto generate the shared key for the vpn link connection.", + "required": true, + "schema": { + "$ref": "#/definitions/ConnectionSharedKeyResult" + } + } + ], + "responses": { + "200": { + "description": "Resource 'ConnectionSharedKeyResult' update operation succeeded", + "schema": { + "$ref": "#/definitions/ConnectionSharedKeyResult" + } + }, + "201": { + "description": "Resource 'ConnectionSharedKeyResult' create operation succeeded", + "schema": { + "$ref": "#/definitions/ConnectionSharedKeyResult" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnSiteLinkConnectionDefaultSharedKeyPut": { + "$ref": "./examples/VpnSiteLinkConnectionDefaultSharedKeyPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/ConnectionSharedKeyResult" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnGateways/{gatewayName}/vpnConnections/{connectionName}/vpnLinkConnections/{linkConnectionName}/sharedKeys/default/listSharedKey": { + "post": { + "operationId": "VpnLinkConnections_ListDefaultSharedKey", + "description": "Gets the value of the shared key of VpnLink connection specified.", + "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": "gatewayName", + "in": "path", + "description": "The name of the vpn gateway.", + "required": true, + "type": "string" + }, + { + "name": "connectionName", + "in": "path", + "description": "The name of the vpn connection.", + "required": true, + "type": "string" + }, + { + "name": "linkConnectionName", + "in": "path", + "description": "The name of the vpn link connection.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ConnectionSharedKeyResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnSiteLinkConnectionDefaultSharedKeyList": { + "$ref": "./examples/VpnSiteLinkConnectionDefaultSharedKeyList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations": { + "get": { + "operationId": "VpnServerConfigurations_ListByResourceGroup", + "description": "Lists all the vpnServerConfigurations in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVpnServerConfigurationsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnServerConfigurationListByResourceGroup": { + "$ref": "./examples/VpnServerConfigurationListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}": { + "get": { + "operationId": "VpnServerConfigurations_Get", + "description": "Retrieves the details of a VpnServerConfiguration.", + "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": "vpnServerConfigurationName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnServerConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnServerConfigurationGet": { + "$ref": "./examples/VpnServerConfigurationGet.json" + } + } + }, + "put": { + "operationId": "VpnServerConfigurations_CreateOrUpdate", + "description": "Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.", + "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": "vpnServerConfigurationName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "VpnServerConfigurationParameters", + "in": "body", + "description": "Parameters supplied to create or update VpnServerConfiguration.", + "required": true, + "schema": { + "$ref": "#/definitions/VpnServerConfiguration" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VpnServerConfiguration' update operation succeeded", + "schema": { + "$ref": "#/definitions/VpnServerConfiguration" + } + }, + "201": { + "description": "Resource 'VpnServerConfiguration' create operation succeeded", + "schema": { + "$ref": "#/definitions/VpnServerConfiguration" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnServerConfigurationCreate": { + "$ref": "./examples/VpnServerConfigurationPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VpnServerConfiguration" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VpnServerConfigurations_UpdateTags", + "tags": [ + "VpnServerConfigurations" + ], + "description": "Updates VpnServerConfiguration tags.", + "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": "vpnServerConfigurationName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "VpnServerConfigurationParameters", + "in": "body", + "description": "Parameters supplied to update VpnServerConfiguration tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnServerConfiguration" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnServerConfigurationUpdate": { + "$ref": "./examples/VpnServerConfigurationUpdateTags.json" + } + } + }, + "delete": { + "operationId": "VpnServerConfigurations_Delete", + "description": "Deletes a VpnServerConfiguration.", + "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": "vpnServerConfigurationName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnServerConfigurationDelete": { + "$ref": "./examples/VpnServerConfigurationDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups": { + "get": { + "operationId": "ConfigurationPolicyGroups_ListByVpnServerConfiguration", + "description": "Lists all the configurationPolicyGroups in a resource group for a vpnServerConfiguration.", + "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": "vpnServerConfigurationName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVpnServerConfigurationPolicyGroupsResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ConfigurationPolicyGroupListByVpnServerConfiguration": { + "$ref": "./examples/ConfigurationPolicyGroupListByVpnServerConfiguration.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/configurationPolicyGroups/{configurationPolicyGroupName}": { + "get": { + "operationId": "ConfigurationPolicyGroups_Get", + "description": "Retrieves the details of a ConfigurationPolicyGroup.", + "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": "vpnServerConfigurationName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "configurationPolicyGroupName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnServerConfigurationPolicyGroup" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ConfigurationPolicyGroupGet": { + "$ref": "./examples/ConfigurationPolicyGroupGet.json" + } + } + }, + "put": { + "operationId": "ConfigurationPolicyGroups_CreateOrUpdate", + "description": "Creates a ConfigurationPolicyGroup if it doesn't exist else updates the existing one.", + "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": "vpnServerConfigurationName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "configurationPolicyGroupName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "VpnServerConfigurationPolicyGroupParameters", + "in": "body", + "description": "Parameters supplied to create or update a VpnServerConfiguration PolicyGroup.", + "required": true, + "schema": { + "$ref": "#/definitions/VpnServerConfigurationPolicyGroup" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VpnServerConfigurationPolicyGroup' update operation succeeded", + "schema": { + "$ref": "#/definitions/VpnServerConfigurationPolicyGroup" + } + }, + "201": { + "description": "Resource 'VpnServerConfigurationPolicyGroup' create operation succeeded", + "schema": { + "$ref": "#/definitions/VpnServerConfigurationPolicyGroup" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ConfigurationPolicyGroupPut": { + "$ref": "./examples/ConfigurationPolicyGroupPut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VpnServerConfigurationPolicyGroup" + }, + "x-ms-long-running-operation": true + }, + "delete": { + "operationId": "ConfigurationPolicyGroups_Delete", + "description": "Deletes a ConfigurationPolicyGroup.", + "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": "vpnServerConfigurationName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + }, + { + "name": "configurationPolicyGroupName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ConfigurationPolicyGroupDelete": { + "$ref": "./examples/ConfigurationPolicyGroupDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnServerConfigurations/{vpnServerConfigurationName}/listRadiusSecrets": { + "post": { + "operationId": "VpnServerConfigurations_ListRadiusSecrets", + "tags": [ + "VpnServerConfigurations" + ], + "description": "List all Radius servers with respective radius secrets from VpnServerConfiguration.", + "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": "vpnServerConfigurationName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "./networkGateway.json#/definitions/RadiusAuthServerListResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "ListAllVpnServerConfigurationRadiusServerSecrets": { + "$ref": "./examples/AllVpnServerConfigurationRadiusServerSecretsList.json" + } + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites": { + "get": { + "operationId": "VpnSites_ListByResourceGroup", + "description": "Lists all the vpnSites in 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" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVpnSitesResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnSiteListByResourceGroup": { + "$ref": "./examples/VpnSiteListByResourceGroup.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}": { + "get": { + "operationId": "VpnSites_Get", + "description": "Retrieves the details of a VPN site.", + "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": "vpnSiteName", + "in": "path", + "description": "The name of the VpnSite being retrieved.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnSite" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnSiteGet": { + "$ref": "./examples/VpnSiteGet.json" + } + } + }, + "put": { + "operationId": "VpnSites_CreateOrUpdate", + "description": "Creates a VpnSite resource if it doesn't exist else updates the existing VpnSite.", + "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": "vpnSiteName", + "in": "path", + "description": "The name of the VpnSite being retrieved.", + "required": true, + "type": "string" + }, + { + "name": "VpnSiteParameters", + "in": "body", + "description": "Parameters supplied to create or update VpnSite.", + "required": true, + "schema": { + "$ref": "#/definitions/VpnSite" + } + } + ], + "responses": { + "200": { + "description": "Resource 'VpnSite' update operation succeeded", + "schema": { + "$ref": "#/definitions/VpnSite" + } + }, + "201": { + "description": "Resource 'VpnSite' create operation succeeded", + "schema": { + "$ref": "#/definitions/VpnSite" + }, + "headers": { + "Azure-AsyncOperation": { + "type": "string", + "description": "A link to the status monitor" + }, + "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.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnSiteCreate": { + "$ref": "./examples/VpnSitePut.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "azure-async-operation", + "final-state-schema": "#/definitions/VpnSite" + }, + "x-ms-long-running-operation": true + }, + "patch": { + "operationId": "VpnSites_UpdateTags", + "tags": [ + "VpnSites" + ], + "description": "Updates VpnSite tags.", + "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": "vpnSiteName", + "in": "path", + "description": "The name of the VpnSite being retrieved.", + "required": true, + "type": "string" + }, + { + "name": "VpnSiteParameters", + "in": "body", + "description": "Parameters supplied to update VpnSite tags.", + "required": true, + "schema": { + "$ref": "./common.json#/definitions/TagsObject" + } + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnSite" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnSiteUpdate": { + "$ref": "./examples/VpnSiteUpdateTags.json" + } + } + }, + "delete": { + "operationId": "VpnSites_Delete", + "description": "Deletes a VpnSite.", + "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": "vpnSiteName", + "in": "path", + "description": "The name of the VpnSite being retrieved.", + "required": true, + "type": "string" + } + ], + "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": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnSiteDelete": { + "$ref": "./examples/VpnSiteDelete.json" + } + }, + "x-ms-long-running-operation-options": { + "final-state-via": "location" + }, + "x-ms-long-running-operation": true + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks": { + "get": { + "operationId": "VpnSiteLinks_ListByVpnSite", + "description": "Lists all the vpnSiteLinks in a resource group for a vpn site.", + "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": "vpnSiteName", + "in": "path", + "description": "The name of the VpnSite being retrieved.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/ListVpnSiteLinksResult" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnSiteLinkListByVpnSite": { + "$ref": "./examples/VpnSiteLinkListByVpnSite.json" + } + }, + "x-ms-pageable": { + "nextLinkName": "nextLink" + } + } + }, + "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/vpnSites/{vpnSiteName}/vpnSiteLinks/{vpnSiteLinkName}": { + "get": { + "operationId": "VpnSiteLinks_Get", + "description": "Retrieves the details of a VPN site 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": "vpnSiteName", + "in": "path", + "description": "The name of the VpnSite being retrieved.", + "required": true, + "type": "string" + }, + { + "name": "vpnSiteLinkName", + "in": "path", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource.", + "required": true, + "type": "string" + } + ], + "responses": { + "200": { + "description": "Azure operation completed successfully.", + "schema": { + "$ref": "#/definitions/VpnSiteLink" + } + }, + "default": { + "description": "An unexpected error response.", + "schema": { + "$ref": "./common.json#/definitions/Common.CloudError" + } + } + }, + "x-ms-examples": { + "VpnSiteGet": { + "$ref": "./examples/VpnSiteLinkGet.json" + } + } + } + } + }, + "definitions": { + "AadAuthenticationParameters": { + "type": "object", + "description": "AAD Vpn authentication type related parameters.", + "properties": { + "aadTenant": { + "type": "string", + "description": "AAD Vpn authentication parameter AAD tenant." + }, + "aadAudience": { + "type": "string", + "description": "AAD Vpn authentication parameter AAD audience." + }, + "aadIssuer": { + "type": "string", + "description": "AAD Vpn authentication parameter AAD issuer." + } + } + }, + "Action": { + "type": "object", + "description": "Action to be taken on a route matching a RouteMap criterion.", + "properties": { + "type": { + "$ref": "./common.json#/definitions/RouteMapActionType", + "description": "Type of action to be taken. Supported types are 'Remove', 'Add', 'Replace', and 'Drop.'" + }, + "parameters": { + "type": "array", + "description": "List of parameters relevant to the action.For instance if type is drop then parameters has list of prefixes to be dropped.If type is add, parameters would have list of ASN numbers to be added", + "items": { + "$ref": "#/definitions/Parameter" + }, + "x-ms-identifiers": [] + } + } + }, + "BgpConnection": { + "type": "object", + "description": "Virtual Appliance Site resource.", + "properties": { + "properties": { + "$ref": "#/definitions/BgpConnectionProperties", + "description": "The properties of the Bgp connections.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "BgpConnectionProperties": { + "type": "object", + "description": "Properties of the bgp connection.", + "properties": { + "peerAsn": { + "type": "integer", + "format": "int64", + "description": "Peer ASN.", + "minimum": 0, + "maximum": 4294967295 + }, + "peerIp": { + "type": "string", + "description": "Peer IP." + }, + "hubVirtualNetworkConnection": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The reference to the HubVirtualNetworkConnection resource." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the resource.", + "readOnly": true + }, + "connectionState": { + "$ref": "./common.json#/definitions/HubBgpConnectionStatus", + "description": "The current state of the VirtualHub to Peer.", + "readOnly": true + }, + "routingConfiguration": { + "$ref": "#/definitions/RoutingConfiguration", + "description": "The routing configuration indicating the associated and propagated route tables for this connection." + } + } + }, + "ConnectionPolicy": { + "type": "object", + "description": "ConnectionPolicy resource defined for VirtualHub.", + "properties": { + "properties": { + "$ref": "#/definitions/ConnectionPolicyProperties", + "description": "Properties of the ConnectionPolicy resource." + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ProxyResource" + } + ] + }, + "ConnectionPolicyProperties": { + "type": "object", + "description": "Properties of the ConnectionPolicy resource.", + "properties": { + "enableInternetSecurity": { + "type": "boolean", + "description": "Enable internet security." + }, + "routingConfiguration": { + "$ref": "#/definitions/RoutingConfiguration", + "description": "The Routing Configuration indicating the associated and propagated route tables on this connection." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the ConnectionPolicy resource.", + "readOnly": true + }, + "associatedConnections": { + "type": "array", + "description": "List of connection names (e.g. VpnConnection, HubVirtualNetworkConnection) associated with this ConnectionPolicy. These are resource names, not Azure resource IDs, consistent with the established VirtualWAN pattern used by HubRouteTable.associatedConnections.", + "items": { + "type": "string" + }, + "readOnly": true + } + } + }, + "ConnectionSharedKeyResult": { + "type": "object", + "description": "SharedKey Resource .", + "properties": { + "properties": { + "$ref": "#/definitions/SharedKeyProperties", + "description": "Properties of the shared key." + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "ConnectionSharedKeyResultList": { + "type": "object", + "description": "The list of shared keys for the vpn link connection. It should only contain one shared key for each vpn link connection.", + "properties": { + "value": { + "type": "array", + "description": "The ConnectionSharedKeyResult items on this page", + "items": { + "$ref": "#/definitions/ConnectionSharedKeyResult" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "Criterion": { + "type": "object", + "description": "A matching criteria which matches routes based on route prefix, community, and AS path.", + "properties": { + "routePrefix": { + "type": "array", + "description": "List of route prefixes which this criteria matches.", + "items": { + "type": "string" + } + }, + "community": { + "type": "array", + "description": "List of BGP communities which this criteria matches.", + "items": { + "type": "string" + } + }, + "asPath": { + "type": "array", + "description": "List of AS paths which this criteria matches.", + "items": { + "type": "string" + } + }, + "matchCondition": { + "$ref": "./common.json#/definitions/RouteMapMatchCondition", + "description": "Match condition to apply RouteMap rules." + } + } + }, + "DeviceProperties": { + "type": "object", + "description": "List of properties of the device.", + "properties": { + "deviceVendor": { + "type": "string", + "description": "Name of the device Vendor." + }, + "deviceModel": { + "type": "string", + "description": "Model of the device." + }, + "linkSpeedInMbps": { + "type": "integer", + "format": "int32", + "description": "Link speed." + } + } + }, + "EffectiveRouteMapRoute": { + "type": "object", + "description": "The effective RouteMap route configured on the connection resource.", + "properties": { + "prefix": { + "type": "string", + "description": "The address prefix of the route." + }, + "bgpCommunities": { + "type": "string", + "description": "BGP communities of the route." + }, + "asPath": { + "type": "string", + "description": "The ASPath of this route." + } + } + }, + "EffectiveRouteMapRouteList": { + "type": "object", + "description": "EffectiveRouteMapRoute List.", + "properties": { + "value": { + "type": "array", + "description": "The list of Effective RouteMap Routes configured on the connection resource.", + "items": { + "$ref": "#/definitions/EffectiveRouteMapRoute" + }, + "x-ms-identifiers": [] + } + } + }, + "EffectiveRoutesParameters": { + "type": "object", + "description": "The parameters specifying the resource whose effective routes are being requested.", + "properties": { + "resourceId": { + "type": "string", + "description": "The resource whose effective routes are being requested." + }, + "virtualWanResourceType": { + "type": "string", + "description": "The type of the specified resource like RouteTable, ExpressRouteConnection, HubVirtualNetworkConnection, VpnConnection and P2SConnection." + } + } + }, + "ExpressRouteCircuitPeeringId": { + "type": "object", + "description": "ExpressRoute circuit peering identifier.", + "properties": { + "id": { + "type": "string", + "description": "The ID of the ExpressRoute circuit peering." + } + } + }, + "ExpressRouteConnection": { + "type": "object", + "description": "ExpressRouteConnection resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ExpressRouteConnectionProperties", + "description": "Properties of the express route connection.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource." + } + }, + "required": [ + "name" + ], + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "ExpressRouteConnectionId": { + "type": "object", + "description": "The ID of the ExpressRouteConnection.", + "properties": { + "id": { + "type": "string", + "description": "The ID of the ExpressRouteConnection.", + "readOnly": true + } + } + }, + "ExpressRouteConnectionList": { + "type": "object", + "description": "ExpressRouteConnection list.", + "properties": { + "value": { + "type": "array", + "description": "The list of ExpressRoute connections.", + "items": { + "$ref": "#/definitions/ExpressRouteConnection" + } + } + } + }, + "ExpressRouteConnectionProperties": { + "type": "object", + "description": "Properties of the ExpressRouteConnection subresource.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the express route connection resource.", + "readOnly": true + }, + "expressRouteCircuitPeering": { + "$ref": "#/definitions/ExpressRouteCircuitPeeringId", + "description": "The ExpressRoute circuit peering." + }, + "authorizationKey": { + "type": "string", + "description": "Authorization key to establish the connection." + }, + "routingWeight": { + "type": "integer", + "format": "int32", + "description": "The routing weight associated to the connection." + }, + "enableInternetSecurity": { + "type": "boolean", + "description": "Enable internet security." + }, + "expressRouteGatewayBypass": { + "type": "boolean", + "description": "Enable FastPath to vWan Firewall hub." + }, + "enablePrivateLinkFastPath": { + "type": "boolean", + "description": "Bypass the ExpressRoute gateway when accessing private-links. ExpressRoute FastPath (expressRouteGatewayBypass) must be enabled." + }, + "routingConfiguration": { + "$ref": "#/definitions/RoutingConfiguration", + "description": "The Routing Configuration indicating the associated and propagated route tables on this connection." + } + }, + "required": [ + "expressRouteCircuitPeering" + ] + }, + "ExpressRouteGateway": { + "type": "object", + "description": "ExpressRoute gateway resource.", + "properties": { + "properties": { + "$ref": "#/definitions/ExpressRouteGatewayProperties", + "description": "Properties of the express route gateway.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.Resource" + } + ] + }, + "ExpressRouteGatewayList": { + "type": "object", + "description": "List of ExpressRoute gateways.", + "properties": { + "value": { + "type": "array", + "description": "List of ExpressRoute gateways.", + "items": { + "$ref": "#/definitions/ExpressRouteGateway" + } + } + } + }, + "ExpressRouteGatewayProperties": { + "type": "object", + "description": "ExpressRoute gateway resource properties.", + "properties": { + "autoScaleConfiguration": { + "$ref": "#/definitions/ExpressRouteGatewayPropertiesAutoScaleConfiguration", + "description": "Configuration for auto scaling." + }, + "expressRouteConnections": { + "type": "array", + "description": "List of ExpressRoute connections to the ExpressRoute gateway.", + "items": { + "$ref": "#/definitions/ExpressRouteConnection" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the express route gateway resource.", + "readOnly": true + }, + "virtualHub": { + "$ref": "#/definitions/VirtualHubId", + "description": "The Virtual Hub where the ExpressRoute gateway is or will be deployed." + }, + "allowNonVirtualWanTraffic": { + "type": "boolean", + "description": "Configures this gateway to accept traffic from non Virtual WAN networks." + } + }, + "required": [ + "virtualHub" + ] + }, + "ExpressRouteGatewayPropertiesAutoScaleConfiguration": { + "type": "object", + "description": "Configuration for auto scaling.", + "properties": { + "bounds": { + "$ref": "#/definitions/ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds", + "description": "Minimum and maximum number of scale units to deploy." + } + } + }, + "ExpressRouteGatewayPropertiesAutoScaleConfigurationBounds": { + "type": "object", + "description": "Minimum and maximum number of scale units to deploy.", + "properties": { + "min": { + "type": "integer", + "format": "int32", + "description": "Minimum number of scale units deployed for ExpressRoute gateway." + }, + "max": { + "type": "integer", + "format": "int32", + "description": "Maximum number of scale units deployed for ExpressRoute gateway." + } + } + }, + "GetInboundRoutesParameters": { + "type": "object", + "description": "The parameters specifying the connection resource whose inbound routes are being requested.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The connection resource whose inbound routes are being requested." + }, + "connectionType": { + "type": "string", + "description": "The type of the specified connection resource like ExpressRouteConnection, HubVirtualNetworkConnection, VpnConnection and P2SConnection." + } + } + }, + "GetOutboundRoutesParameters": { + "type": "object", + "description": "The parameters specifying the connection resource whose outbound routes are being requested.", + "properties": { + "resourceUri": { + "type": "string", + "description": "The connection resource whose outbound routes are being requested." + }, + "connectionType": { + "type": "string", + "description": "The type of the specified connection resource like ExpressRouteConnection, HubVirtualNetworkConnection, VpnConnection and P2SConnection." + } + } + }, + "GetVpnSitesConfigurationRequest": { + "type": "object", + "description": "List of Vpn-Sites.", + "properties": { + "vpnSites": { + "type": "array", + "description": "List of resource-ids of the vpn-sites for which config is to be downloaded.", + "items": { + "type": "string" + } + }, + "outputBlobSasUrl": { + "type": "string", + "description": "The sas-url to download the configurations for vpn-sites." + } + }, + "required": [ + "outputBlobSasUrl" + ] + }, + "HubIPConfigurationPropertiesFormat": { + "type": "object", + "description": "Properties of IP configuration.", + "properties": { + "privateIPAddress": { + "type": "string", + "description": "The private IP address of the IP configuration." + }, + "privateIPAllocationMethod": { + "$ref": "./common.json#/definitions/Common.IPAllocationMethod", + "description": "The private IP address allocation method." + }, + "subnet": { + "$ref": "./virtualNetwork.json#/definitions/Common.Subnet", + "description": "The reference to the subnet resource." + }, + "publicIPAddress": { + "$ref": "./virtualNetwork.json#/definitions/Common.PublicIPAddress", + "description": "The reference to the public IP resource." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the IP configuration resource.", + "readOnly": true + } + } + }, + "HubIpConfiguration": { + "type": "object", + "description": "IpConfigurations.", + "properties": { + "properties": { + "$ref": "#/definitions/HubIPConfigurationPropertiesFormat", + "description": "The properties of the Virtual Hub IPConfigurations.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "HubRoute": { + "type": "object", + "description": "RouteTable route.", + "properties": { + "name": { + "type": "string", + "description": "The name of the Route that is unique within a RouteTable. This name can be used to access this route." + }, + "destinationType": { + "type": "string", + "description": "The type of destinations (eg: CIDR, ResourceId, Service)." + }, + "destinations": { + "type": "array", + "description": "List of all destinations.", + "items": { + "type": "string" + } + }, + "nextHopType": { + "type": "string", + "description": "The type of next hop (eg: ResourceId)." + }, + "nextHop": { + "type": "string", + "description": "NextHop resource ID." + } + }, + "required": [ + "name", + "destinationType", + "destinations", + "nextHopType", + "nextHop" + ] + }, + "HubRouteTable": { + "type": "object", + "description": "RouteTable resource in a virtual hub.", + "properties": { + "properties": { + "$ref": "#/definitions/HubRouteTableProperties", + "description": "Properties of the RouteTable resource.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "HubRouteTableProperties": { + "type": "object", + "description": "Parameters for RouteTable.", + "properties": { + "routes": { + "type": "array", + "description": "List of all routes.", + "items": { + "$ref": "#/definitions/HubRoute" + } + }, + "labels": { + "type": "array", + "description": "List of labels associated with this route table.", + "items": { + "type": "string" + } + }, + "associatedConnections": { + "type": "array", + "description": "List of all connections associated with this route table.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "propagatingConnections": { + "type": "array", + "description": "List of all connections that advertise to this route table.", + "items": { + "type": "string" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the RouteTable resource.", + "readOnly": true + } + } + }, + "HubVirtualNetworkConnection": { + "type": "object", + "description": "HubVirtualNetworkConnection Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/HubVirtualNetworkConnectionProperties", + "description": "Properties of the hub virtual network connection.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "HubVirtualNetworkConnectionProperties": { + "type": "object", + "description": "Parameters for HubVirtualNetworkConnection.", + "properties": { + "remoteVirtualNetwork": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Reference to the remote virtual network." + }, + "allowHubToRemoteVnetTransit": { + "type": "boolean", + "description": "Deprecated: VirtualHub to RemoteVnet transit to enabled or not." + }, + "allowRemoteVnetToUseHubVnetGateways": { + "type": "boolean", + "description": "Deprecated: Allow RemoteVnet to use Virtual Hub's gateways." + }, + "connectionPolicy": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The resource id of the ConnectionPolicy associated with this HubVirtualNetworkConnection." + }, + "enableInternetSecurity": { + "type": "boolean", + "description": "Enable internet security." + }, + "routingConfiguration": { + "$ref": "#/definitions/RoutingConfiguration", + "description": "The Routing Configuration indicating the associated and propagated route tables on this connection." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the hub virtual network connection resource.", + "readOnly": true + } + } + }, + "ListConnectionPoliciesResult": { + "type": "object", + "description": "List of ConnectionPolicies and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The ConnectionPolicy items on this page", + "items": { + "$ref": "#/definitions/ConnectionPolicy" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListHubRouteTablesResult": { + "type": "object", + "description": "List of RouteTables and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The HubRouteTable items on this page", + "items": { + "$ref": "#/definitions/HubRouteTable" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListHubVirtualNetworkConnectionsResult": { + "type": "object", + "description": "List of HubVirtualNetworkConnections and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The HubVirtualNetworkConnection items on this page", + "items": { + "$ref": "#/definitions/HubVirtualNetworkConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListP2SVpnGatewaysResult": { + "type": "object", + "description": "Result of the request to list P2SVpnGateways. It contains a list of P2SVpnGateways and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The P2SVpnGateway items on this page", + "items": { + "$ref": "#/definitions/P2SVpnGateway" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListRouteMapsResult": { + "type": "object", + "description": "List of RouteMaps and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The RouteMap items on this page", + "items": { + "$ref": "#/definitions/RouteMap" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListRoutingIntentResult": { + "type": "object", + "description": "List of the routing intent result and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The RoutingIntent items on this page", + "items": { + "$ref": "#/definitions/RoutingIntent" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListVirtualHubBgpConnectionResults": { + "type": "object", + "description": "VirtualHubBgpConnections list.", + "properties": { + "value": { + "type": "array", + "description": "The BgpConnection items on this page", + "items": { + "$ref": "#/definitions/BgpConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListVirtualHubIpConfigurationResults": { + "type": "object", + "description": "VirtualHubIpConfigurations list.", + "properties": { + "value": { + "type": "array", + "description": "The HubIpConfiguration items on this page", + "items": { + "$ref": "#/definitions/HubIpConfiguration" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListVirtualHubRouteTableV2sResult": { + "type": "object", + "description": "List of VirtualHubRouteTableV2s and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualHubRouteTableV2 items on this page", + "items": { + "$ref": "#/definitions/VirtualHubRouteTableV2" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListVirtualHubsResult": { + "type": "object", + "description": "Result of the request to list VirtualHubs. It contains a list of VirtualHubs and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualHub items on this page", + "items": { + "$ref": "#/definitions/VirtualHub" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListVirtualWANsResult": { + "type": "object", + "description": "Result of the request to list VirtualWANs. It contains a list of VirtualWANs and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The VirtualWAN items on this page", + "items": { + "$ref": "#/definitions/VirtualWAN" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListVpnConnectionsResult": { + "type": "object", + "description": "Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The VpnConnection items on this page", + "items": { + "$ref": "#/definitions/VpnConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListVpnGatewayNatRulesResult": { + "type": "object", + "description": "Result of the request to list all nat rules to a virtual wan vpn gateway. It contains a list of Nat rules and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The VpnGatewayNatRule items on this page", + "items": { + "$ref": "#/definitions/VpnGatewayNatRule" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListVpnGatewaysResult": { + "type": "object", + "description": "Result of the request to list VpnGateways. It contains a list of VpnGateways and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The VpnGateway items on this page", + "items": { + "$ref": "#/definitions/VpnGateway" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListVpnServerConfigurationPolicyGroupsResult": { + "type": "object", + "description": "Result of the request to list VpnServerConfigurationPolicyGroups. It contains a list of VpnServerConfigurationPolicyGroups and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The VpnServerConfigurationPolicyGroup items on this page", + "items": { + "$ref": "#/definitions/VpnServerConfigurationPolicyGroup" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListVpnServerConfigurationsResult": { + "type": "object", + "description": "Result of the request to list all VpnServerConfigurations. It contains a list of VpnServerConfigurations and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The VpnServerConfiguration items on this page", + "items": { + "$ref": "#/definitions/VpnServerConfiguration" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListVpnSiteLinkConnectionsResult": { + "type": "object", + "description": "Result of the request to list all vpn connections to a virtual wan vpn gateway. It contains a list of Vpn Connections and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The VpnSiteLinkConnection items on this page", + "items": { + "$ref": "#/definitions/VpnSiteLinkConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListVpnSiteLinksResult": { + "type": "object", + "description": "Result of the request to list VpnSiteLinks. It contains a list of VpnSiteLinks and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The VpnSiteLink items on this page", + "items": { + "$ref": "#/definitions/VpnSiteLink" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "ListVpnSitesResult": { + "type": "object", + "description": "Result of the request to list VpnSites. It contains a list of VpnSites and a URL nextLink to get the next set of results.", + "properties": { + "value": { + "type": "array", + "description": "The VpnSite items on this page", + "items": { + "$ref": "#/definitions/VpnSite" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkVirtualApplianceConnection": { + "type": "object", + "description": "NetworkVirtualApplianceConnection resource.", + "properties": { + "properties": { + "$ref": "#/definitions/NetworkVirtualApplianceConnectionProperties", + "description": "Properties of the express route connection.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource." + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "NetworkVirtualApplianceConnectionList": { + "type": "object", + "description": "NetworkVirtualApplianceConnection list.", + "properties": { + "value": { + "type": "array", + "description": "The NetworkVirtualApplianceConnection items on this page", + "items": { + "$ref": "#/definitions/NetworkVirtualApplianceConnection" + } + }, + "nextLink": { + "type": "string", + "format": "uri", + "description": "The link to the next page of items" + } + }, + "required": [ + "value" + ] + }, + "NetworkVirtualApplianceConnectionProperties": { + "type": "object", + "description": "Properties of the NetworkVirtualApplianceConnection subresource.", + "properties": { + "name": { + "type": "string", + "description": "The name of the resource." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the NetworkVirtualApplianceConnection resource.", + "readOnly": true + }, + "asn": { + "type": "integer", + "format": "int64", + "description": "Network Virtual Appliance ASN.", + "minimum": 0, + "maximum": 4294967295 + }, + "tunnelIdentifier": { + "type": "integer", + "format": "int64", + "description": "Unique identifier for the connection.", + "minimum": 0, + "maximum": 4294967295 + }, + "bgpPeerAddress": { + "type": "array", + "description": "List of bgpPeerAddresses for the NVA instances", + "items": { + "type": "string" + } + }, + "enableInternetSecurity": { + "type": "boolean", + "description": "Enable internet security." + }, + "routingConfiguration": { + "$ref": "#/definitions/RoutingConfiguration", + "description": "The Routing Configuration indicating the associated and propagated route tables on this connection." + } + } + }, + "O365BreakOutCategoryPolicies": { + "type": "object", + "description": "Office365 breakout categories.", + "properties": { + "allow": { + "type": "boolean", + "description": "Flag to control allow category." + }, + "optimize": { + "type": "boolean", + "description": "Flag to control optimize category." + }, + "default": { + "type": "boolean", + "description": "Flag to control default category." + } + } + }, + "O365PolicyProperties": { + "type": "object", + "description": "The Office365 breakout policy.", + "properties": { + "breakOutCategories": { + "$ref": "#/definitions/O365BreakOutCategoryPolicies", + "description": "Office365 breakout categories." + } + } + }, + "P2SConnectionConfiguration": { + "type": "object", + "description": "P2SConnectionConfiguration Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/P2SConnectionConfigurationProperties", + "description": "Properties of the P2S connection configuration.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "P2SConnectionConfigurationProperties": { + "type": "object", + "description": "Parameters for P2SConnectionConfiguration.", + "properties": { + "vpnClientAddressPool": { + "$ref": "./virtualNetwork.json#/definitions/Common.AddressSpace", + "description": "The reference to the address space resource which represents Address space for P2S VpnClient." + }, + "routingConfiguration": { + "$ref": "#/definitions/RoutingConfiguration", + "description": "The Routing Configuration indicating the associated and propagated route tables on this connection." + }, + "enableInternetSecurity": { + "type": "boolean", + "description": "Flag indicating whether the enable internet security flag is turned on for the P2S Connections or not." + }, + "configurationPolicyGroupAssociations": { + "type": "array", + "description": "List of Configuration Policy Groups that this P2SConnectionConfiguration is attached to.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "previousConfigurationPolicyGroupAssociations": { + "type": "array", + "description": "List of previous Configuration Policy Groups that this P2SConnectionConfiguration was attached to.", + "items": { + "$ref": "#/definitions/VpnServerConfigurationPolicyGroup" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the P2SConnectionConfiguration resource.", + "readOnly": true + } + } + }, + "P2SVpnConnectionHealth": { + "type": "object", + "description": "P2S Vpn connection detailed health written to sas url.", + "properties": { + "sasUrl": { + "type": "string", + "description": "Returned sas url of the blob to which the p2s vpn connection detailed health will be written." + } + } + }, + "P2SVpnConnectionHealthRequest": { + "type": "object", + "description": "List of P2S Vpn connection health request.", + "properties": { + "vpnUserNamesFilter": { + "type": "array", + "description": "The list of p2s vpn user names whose p2s vpn connection detailed health to retrieve for.", + "items": { + "type": "string" + } + }, + "outputBlobSasUrl": { + "type": "string", + "description": "The sas-url to download the P2S Vpn connection health detail." + } + } + }, + "P2SVpnConnectionRequest": { + "type": "object", + "description": "List of p2s vpn connections to be disconnected.", + "properties": { + "vpnConnectionIds": { + "type": "array", + "description": "List of p2s vpn connection Ids.", + "items": { + "type": "string" + } + } + } + }, + "P2SVpnGateway": { + "type": "object", + "description": "P2SVpnGateway Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/P2SVpnGatewayProperties", + "description": "Properties of the P2SVpnGateway.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/TrackedResourceWithSettableIdOptionalLocation" + } + ] + }, + "P2SVpnGatewayProperties": { + "type": "object", + "description": "Parameters for P2SVpnGateway.", + "properties": { + "virtualHub": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The VirtualHub to which the gateway belongs." + }, + "p2SConnectionConfigurations": { + "type": "array", + "description": "List of all p2s connection configurations of the gateway.", + "items": { + "$ref": "#/definitions/P2SConnectionConfiguration" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the P2S VPN gateway resource.", + "readOnly": true + }, + "vpnGatewayScaleUnit": { + "type": "integer", + "format": "int32", + "description": "The scale unit for this p2s vpn gateway." + }, + "vpnServerConfiguration": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The VpnServerConfiguration to which the p2sVpnGateway is attached to." + }, + "vpnClientConnectionHealth": { + "$ref": "#/definitions/VpnClientConnectionHealth", + "description": "All P2S VPN clients' connection health status.", + "readOnly": true + }, + "customDnsServers": { + "type": "array", + "description": "List of all customer specified DNS servers IP addresses.", + "items": { + "type": "string" + } + }, + "isRoutingPreferenceInternet": { + "type": "boolean", + "description": "Enable Routing Preference property for the Public IP Interface of the P2SVpnGateway." + } + } + }, + "P2SVpnProfileParameters": { + "type": "object", + "description": "Vpn Client Parameters for package generation.", + "properties": { + "authenticationMethod": { + "$ref": "./common.json#/definitions/AuthenticationMethod", + "description": "VPN client authentication method." + } + } + }, + "Parameter": { + "type": "object", + "description": "Parameters for an Action.", + "properties": { + "routePrefix": { + "type": "array", + "description": "List of route prefixes.", + "items": { + "type": "string" + } + }, + "community": { + "type": "array", + "description": "List of BGP communities.", + "items": { + "type": "string" + } + }, + "asPath": { + "type": "array", + "description": "List of AS paths.", + "items": { + "type": "string" + } + } + } + }, + "PeerRoute": { + "type": "object", + "description": "Peer routing details.", + "properties": { + "localAddress": { + "type": "string", + "description": "The peer's local address.", + "readOnly": true + }, + "network": { + "type": "string", + "description": "The route's network prefix.", + "readOnly": true + }, + "nextHop": { + "type": "string", + "description": "The route's next hop.", + "readOnly": true + }, + "sourcePeer": { + "type": "string", + "description": "The peer this route was learned from.", + "readOnly": true + }, + "origin": { + "type": "string", + "description": "The source this route was learned from.", + "readOnly": true + }, + "asPath": { + "type": "string", + "description": "The route's AS path sequence.", + "readOnly": true + }, + "weight": { + "type": "integer", + "format": "int32", + "description": "The route's weight.", + "readOnly": true + } + } + }, + "PropagatedRouteTable": { + "type": "object", + "description": "The list of RouteTables to advertise the routes to.", + "properties": { + "labels": { + "type": "array", + "description": "The list of labels.", + "items": { + "type": "string" + } + }, + "ids": { + "type": "array", + "description": "The list of resource ids of all the RouteTables.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + } + } + }, + "Record": { + "type": "object", + "additionalProperties": { + "items": { + "$ref": "#/definitions/PeerRoute" + }, + "type": "array" + } + }, + "RouteMap": { + "type": "object", + "description": "The RouteMap child resource of a Virtual hub.", + "properties": { + "properties": { + "$ref": "#/definitions/RouteMapProperties", + "description": "Properties of the RouteMap resource.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/ReadOnlySubResourceModel" + } + ] + }, + "RouteMapProperties": { + "type": "object", + "description": "Properties of RouteMap resource", + "properties": { + "associatedInboundConnections": { + "type": "array", + "description": "List of connections which have this RoutMap associated for inbound traffic.", + "items": { + "type": "string" + } + }, + "associatedOutboundConnections": { + "type": "array", + "description": "List of connections which have this RoutMap associated for outbound traffic.", + "items": { + "type": "string" + } + }, + "rules": { + "type": "array", + "description": "List of RouteMap rules to be applied.", + "items": { + "$ref": "#/definitions/RouteMapRule" + }, + "x-ms-identifiers": [] + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the RouteMap resource.", + "readOnly": true + } + } + }, + "RouteMapRule": { + "type": "object", + "description": "A RouteMap Rule.", + "properties": { + "name": { + "type": "string", + "description": "The unique name for the rule." + }, + "matchCriteria": { + "type": "array", + "description": "List of matching criterion which will be applied to traffic.", + "items": { + "$ref": "#/definitions/Criterion" + }, + "x-ms-identifiers": [] + }, + "actions": { + "type": "array", + "description": "List of actions which will be applied on a match.", + "items": { + "$ref": "#/definitions/Action" + }, + "x-ms-identifiers": [] + }, + "nextStepIfMatched": { + "$ref": "./common.json#/definitions/NextStep", + "description": "Next step after rule is evaluated. Current supported behaviors are 'Continue'(to next rule) and 'Terminate'." + } + } + }, + "RoutingConfiguration": { + "type": "object", + "description": "Routing Configuration indicating the associated and propagated route tables for this connection.", + "properties": { + "associatedRouteTable": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The resource id RouteTable associated with this RoutingConfiguration." + }, + "propagatedRouteTables": { + "$ref": "#/definitions/PropagatedRouteTable", + "description": "The list of RouteTables to advertise the routes to." + }, + "vnetRoutes": { + "$ref": "#/definitions/VnetRoute", + "description": "List of routes that control routing from VirtualHub into a virtual network connection." + }, + "inboundRouteMap": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The resource id of the RouteMap associated with this RoutingConfiguration for inbound learned routes." + }, + "outboundRouteMap": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The resource id of theRouteMap associated with this RoutingConfiguration for outbound advertised routes." + } + } + }, + "RoutingIntent": { + "type": "object", + "description": "The routing intent child resource of a Virtual hub.", + "properties": { + "properties": { + "$ref": "#/definitions/RoutingIntentProperties", + "description": "Properties of the RoutingIntent resource.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "RoutingIntentProperties": { + "type": "object", + "description": "The properties of a RoutingIntent resource.", + "properties": { + "routingPolicies": { + "type": "array", + "description": "List of routing policies.", + "items": { + "$ref": "#/definitions/RoutingPolicy" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the RoutingIntent resource.", + "readOnly": true + } + } + }, + "RoutingPolicy": { + "type": "object", + "description": "The routing policy object used in a RoutingIntent resource.", + "properties": { + "name": { + "type": "string", + "description": "The unique name for the routing policy." + }, + "destinations": { + "type": "array", + "description": "List of all destinations which this routing policy is applicable to (for example: Internet, PrivateTraffic).", + "items": { + "type": "string" + } + }, + "nextHop": { + "type": "string", + "description": "The next hop resource id on which this routing policy is applicable to." + } + }, + "required": [ + "name", + "destinations", + "nextHop" + ] + }, + "SharedKeyProperties": { + "type": "object", + "description": "Parameters for SharedKey.", + "properties": { + "sharedKey": { + "type": "string", + "format": "password", + "description": "The value of the shared key for the vpn link connection.", + "x-ms-secret": true + }, + "sharedKeyLength": { + "type": "integer", + "format": "int32", + "description": "The length of the shared key for the vpn link connection.", + "minimum": 1, + "maximum": 128 + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the SharedKey resource.", + "readOnly": true + } + } + }, + "StaticRoute": { + "type": "object", + "description": "List of all Static Routes.", + "properties": { + "name": { + "type": "string", + "description": "The name of the StaticRoute that is unique within a VnetRoute." + }, + "addressPrefixes": { + "type": "array", + "description": "List of all address prefixes.", + "items": { + "type": "string" + } + }, + "nextHopIpAddress": { + "type": "string", + "description": "The ip address of the next hop." + } + } + }, + "StaticRoutesConfig": { + "type": "object", + "description": "Configuration for static routes on this HubVnetConnectionConfiguration for static routes on this HubVnetConnection.", + "properties": { + "propagateStaticRoutes": { + "type": "boolean", + "description": "Boolean indicating whether static routes on this connection are automatically propagate to route tables which this connection propagates to." + }, + "vnetLocalRouteOverrideCriteria": { + "$ref": "./common.json#/definitions/VnetLocalRouteOverrideCriteria", + "description": "Parameter determining whether NVA in spoke vnet is bypassed for traffic with destination in spoke." + } + } + }, + "VirtualHub": { + "type": "object", + "description": "VirtualHub Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualHubProperties", + "description": "Properties of the virtual hub.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + }, + "kind": { + "type": "string", + "description": "Kind of service virtual hub. This is metadata used for the Azure portal experience for Route Server.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/TrackedResourceWithSettableIdOptionalLocation" + } + ] + }, + "VirtualHubEffectiveRoute": { + "type": "object", + "description": "The effective route configured on the virtual hub or specified resource.", + "properties": { + "addressPrefixes": { + "type": "array", + "description": "The list of address prefixes.", + "items": { + "type": "string" + } + }, + "nextHops": { + "type": "array", + "description": "The list of next hops.", + "items": { + "type": "string" + } + }, + "nextHopType": { + "type": "string", + "description": "The type of the next hop." + }, + "asPath": { + "type": "string", + "description": "The ASPath of this route." + }, + "routeOrigin": { + "type": "string", + "description": "The origin of this route." + } + } + }, + "VirtualHubEffectiveRouteList": { + "type": "object", + "description": "EffectiveRoutes List.", + "properties": { + "value": { + "type": "array", + "description": "The list of effective routes configured on the virtual hub or the specified resource.", + "items": { + "$ref": "#/definitions/VirtualHubEffectiveRoute" + } + } + } + }, + "VirtualHubId": { + "type": "object", + "description": "Virtual Hub identifier.", + "properties": { + "id": { + "type": "string", + "description": "The resource URI for the Virtual Hub where the ExpressRoute gateway is or will be deployed. The Virtual Hub resource and the ExpressRoute gateway resource reside in the same subscription." + } + } + }, + "VirtualHubProperties": { + "type": "object", + "description": "Parameters for VirtualHub.", + "properties": { + "virtualWan": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The VirtualWAN to which the VirtualHub belongs." + }, + "vpnGateway": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The VpnGateway associated with this VirtualHub." + }, + "p2SVpnGateway": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The P2SVpnGateway associated with this VirtualHub." + }, + "expressRouteGateway": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The expressRouteGateway associated with this VirtualHub." + }, + "azureFirewall": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The azureFirewall associated with this VirtualHub." + }, + "securityPartnerProvider": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The securityPartnerProvider associated with this VirtualHub." + }, + "addressPrefix": { + "type": "string", + "description": "Address-prefix for this VirtualHub." + }, + "routeTable": { + "$ref": "#/definitions/VirtualHubRouteTable", + "description": "The routeTable associated with this virtual hub." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the virtual hub resource.", + "readOnly": true + }, + "securityProviderName": { + "type": "string", + "description": "The Security Provider name." + }, + "virtualHubRouteTableV2s": { + "type": "array", + "description": "List of all virtual hub route table v2s associated with this VirtualHub.", + "items": { + "$ref": "#/definitions/VirtualHubRouteTableV2" + } + }, + "sku": { + "type": "string", + "description": "The sku of this VirtualHub." + }, + "routingState": { + "$ref": "./common.json#/definitions/RoutingState", + "description": "The routing state.", + "readOnly": true + }, + "bgpConnections": { + "type": "array", + "description": "List of references to Bgp Connections.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "ipConfigurations": { + "type": "array", + "description": "List of references to IpConfigurations.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "routeMaps": { + "type": "array", + "description": "List of references to RouteMaps.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "virtualRouterAsn": { + "type": "integer", + "format": "int64", + "description": "VirtualRouter ASN.", + "minimum": 0, + "maximum": 4294967295 + }, + "virtualRouterIps": { + "type": "array", + "description": "VirtualRouter IPs.", + "items": { + "type": "string" + } + }, + "allowBranchToBranchTraffic": { + "type": "boolean", + "description": "Flag to control transit for VirtualRouter hub." + }, + "preferredRoutingGateway": { + "$ref": "./common.json#/definitions/PreferredRoutingGateway", + "description": "The preferred gateway to route on-prem traffic" + }, + "hubRoutingPreference": { + "$ref": "./common.json#/definitions/HubRoutingPreference", + "description": "The hubRoutingPreference of this VirtualHub." + }, + "virtualRouterAutoScaleConfiguration": { + "$ref": "#/definitions/VirtualRouterAutoScaleConfiguration", + "description": "The VirtualHub Router autoscale configuration." + } + } + }, + "VirtualHubRoute": { + "type": "object", + "description": "VirtualHub route.", + "properties": { + "addressPrefixes": { + "type": "array", + "description": "List of all addressPrefixes.", + "items": { + "type": "string" + } + }, + "nextHopIpAddress": { + "type": "string", + "description": "NextHop ip address." + } + } + }, + "VirtualHubRouteTable": { + "type": "object", + "description": "VirtualHub route table.", + "properties": { + "routes": { + "type": "array", + "description": "List of all routes.", + "items": { + "$ref": "#/definitions/VirtualHubRoute" + } + } + } + }, + "VirtualHubRouteTableV2": { + "type": "object", + "description": "VirtualHubRouteTableV2 Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualHubRouteTableV2Properties", + "description": "Properties of the virtual hub route table v2.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "VirtualHubRouteTableV2Properties": { + "type": "object", + "description": "Parameters for VirtualHubRouteTableV2.", + "properties": { + "routes": { + "type": "array", + "description": "List of all routes.", + "items": { + "$ref": "#/definitions/VirtualHubRouteV2" + } + }, + "attachedConnections": { + "type": "array", + "description": "List of all connections attached to this route table v2.", + "items": { + "type": "string" + } + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the virtual hub route table v2 resource.", + "readOnly": true + } + } + }, + "VirtualHubRouteV2": { + "type": "object", + "description": "VirtualHubRouteTableV2 route.", + "properties": { + "destinationType": { + "type": "string", + "description": "The type of destinations." + }, + "destinations": { + "type": "array", + "description": "List of all destinations.", + "items": { + "type": "string" + } + }, + "nextHopType": { + "type": "string", + "description": "The type of next hops." + }, + "nextHops": { + "type": "array", + "description": "NextHops ip address.", + "items": { + "type": "string" + } + } + } + }, + "VirtualRouterAutoScaleConfiguration": { + "type": "object", + "description": "The VirtualHub Router autoscale configuration.", + "properties": { + "minCapacity": { + "type": "integer", + "format": "int32", + "description": "The minimum number of scale units for VirtualHub Router.", + "minimum": 0 + } + } + }, + "VirtualWAN": { + "type": "object", + "description": "VirtualWAN Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/VirtualWanProperties", + "description": "Properties of the virtual WAN.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/TrackedResourceWithSettableIdOptionalLocation" + } + ] + }, + "VirtualWanProperties": { + "type": "object", + "description": "Parameters for VirtualWAN.", + "properties": { + "disableVpnEncryption": { + "type": "boolean", + "description": "Vpn encryption to be disabled or not." + }, + "virtualHubs": { + "type": "array", + "description": "List of VirtualHubs in the VirtualWAN.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "vpnSites": { + "type": "array", + "description": "List of VpnSites in the VirtualWAN.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "allowBranchToBranchTraffic": { + "type": "boolean", + "description": "True if branch to branch traffic is allowed." + }, + "allowVnetToVnetTraffic": { + "type": "boolean", + "description": "True if Vnet to Vnet traffic is allowed." + }, + "office365LocalBreakoutCategory": { + "$ref": "./common.json#/definitions/OfficeTrafficCategory", + "description": "The office local breakout category.", + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the virtual WAN resource.", + "readOnly": true + }, + "type": { + "type": "string", + "description": "The type of the VirtualWAN." + } + } + }, + "VirtualWanSecurityProvider": { + "type": "object", + "description": "Collection of SecurityProviders.", + "properties": { + "name": { + "type": "string", + "description": "Name of the security provider." + }, + "url": { + "type": "string", + "description": "Url of the security provider." + }, + "type": { + "$ref": "./common.json#/definitions/VirtualWanSecurityProviderType", + "description": "Name of the security provider.", + "readOnly": true + } + } + }, + "VirtualWanSecurityProviders": { + "type": "object", + "description": "Collection of SecurityProviders.", + "properties": { + "supportedProviders": { + "type": "array", + "description": "List of VirtualWAN security providers.", + "items": { + "$ref": "#/definitions/VirtualWanSecurityProvider" + } + } + } + }, + "VirtualWanVpnProfileParameters": { + "type": "object", + "description": "Virtual Wan Vpn profile parameters Vpn profile generation.", + "properties": { + "vpnServerConfigurationResourceId": { + "type": "string", + "description": "VpnServerConfiguration partial resource uri with which VirtualWan is associated to." + }, + "authenticationMethod": { + "$ref": "./common.json#/definitions/AuthenticationMethod", + "description": "VPN client authentication method." + } + } + }, + "VnetRoute": { + "type": "object", + "description": "List of routes that control routing from VirtualHub into a virtual network connection.", + "properties": { + "staticRoutesConfig": { + "$ref": "#/definitions/StaticRoutesConfig", + "description": "Configuration for static routes on this HubVnetConnection." + }, + "staticRoutes": { + "type": "array", + "description": "List of all Static Routes.", + "items": { + "$ref": "#/definitions/StaticRoute" + } + }, + "bgpConnections": { + "type": "array", + "description": "The list of references to HubBgpConnection objects.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + } + } + }, + "VpnClientConnectionHealth": { + "type": "object", + "description": "VpnClientConnectionHealth properties.", + "properties": { + "totalIngressBytesTransferred": { + "type": "integer", + "format": "int64", + "description": "Total of the Ingress Bytes Transferred in this P2S Vpn connection.", + "readOnly": true + }, + "totalEgressBytesTransferred": { + "type": "integer", + "format": "int64", + "description": "Total of the Egress Bytes Transferred in this connection.", + "readOnly": true + }, + "vpnClientConnectionsCount": { + "type": "integer", + "format": "int32", + "description": "The total of p2s vpn clients connected at this time to this P2SVpnGateway." + }, + "allocatedIpAddresses": { + "type": "array", + "description": "List of allocated ip addresses to the connected p2s vpn clients.", + "items": { + "type": "string" + } + } + } + }, + "VpnConnection": { + "type": "object", + "description": "VpnConnection Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/VpnConnectionProperties", + "description": "Properties of the VPN connection.", + "x-ms-client-flatten": true + }, + "name": { + "type": "string", + "description": "The name of the resource that is unique within a resource group. This name can be used to access the resource." + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResource" + } + ] + }, + "VpnConnectionPacketCaptureStartParameters": { + "type": "object", + "description": "Vpn Connection packet capture parameters supplied to start packet capture on gateway connection.", + "properties": { + "filterData": { + "type": "string", + "description": "Start Packet capture parameters on vpn connection." + }, + "linkConnectionNames": { + "type": "array", + "description": "List of site link connection names.", + "items": { + "type": "string" + } + } + } + }, + "VpnConnectionPacketCaptureStopParameters": { + "type": "object", + "description": "Vpn Connection packet capture parameters supplied to stop packet capture on gateway connection.", + "properties": { + "sasUrl": { + "type": "string", + "description": "SAS url for packet capture on vpn connection." + }, + "linkConnectionNames": { + "type": "array", + "description": "List of site link connection names.", + "items": { + "type": "string" + } + } + } + }, + "VpnConnectionProperties": { + "type": "object", + "description": "Parameters for VpnConnection.", + "properties": { + "remoteVpnSite": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Id of the connected vpn site." + }, + "routingWeight": { + "type": "integer", + "format": "int32", + "description": "Routing weight for vpn connection." + }, + "dpdTimeoutSeconds": { + "type": "integer", + "format": "int32", + "description": "DPD timeout in seconds for vpn connection." + }, + "connectionStatus": { + "$ref": "./common.json#/definitions/VpnConnectionStatus", + "description": "The connection status.", + "readOnly": true + }, + "vpnConnectionProtocolType": { + "$ref": "./common.json#/definitions/VirtualNetworkGatewayConnectionProtocol", + "description": "Connection protocol used for this connection." + }, + "ingressBytesTransferred": { + "type": "integer", + "format": "int64", + "description": "Ingress bytes transferred.", + "readOnly": true + }, + "egressBytesTransferred": { + "type": "integer", + "format": "int64", + "description": "Egress bytes transferred.", + "readOnly": true + }, + "connectionBandwidth": { + "type": "integer", + "format": "int32", + "description": "Expected bandwidth in MBPS." + }, + "sharedKey": { + "type": "string", + "description": "Deprecated: SharedKey for the vpn connection. This is no more used." + }, + "enableBgp": { + "type": "boolean", + "description": "EnableBgp flag." + }, + "usePolicyBasedTrafficSelectors": { + "type": "boolean", + "description": "Enable policy-based traffic selectors." + }, + "ipsecPolicies": { + "type": "array", + "description": "The IPSec Policies to be considered by this connection.", + "items": { + "$ref": "./networkGateway.json#/definitions/IpsecPolicy" + } + }, + "trafficSelectorPolicies": { + "type": "array", + "description": "The Traffic Selector Policies to be considered by this connection.", + "items": { + "$ref": "./networkGateway.json#/definitions/TrafficSelectorPolicy" + } + }, + "enableRateLimiting": { + "type": "boolean", + "description": "EnableBgp flag." + }, + "enableInternetSecurity": { + "type": "boolean", + "description": "Enable internet security." + }, + "useLocalAzureIpAddress": { + "type": "boolean", + "description": "Use local azure ip to initiate connection." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the VPN connection resource.", + "readOnly": true + }, + "vpnLinkConnections": { + "type": "array", + "description": "List of all vpn site link connections to the gateway.", + "items": { + "$ref": "#/definitions/VpnSiteLinkConnection" + } + }, + "routingConfiguration": { + "$ref": "#/definitions/RoutingConfiguration", + "description": "The Routing Configuration indicating the associated and propagated route tables on this connection." + } + } + }, + "VpnGateway": { + "type": "object", + "description": "VpnGateway Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/VpnGatewayProperties", + "description": "Properties of the VPN gateway.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/TrackedResourceWithSettableIdOptionalLocation" + } + ] + }, + "VpnGatewayIpConfiguration": { + "type": "object", + "description": "IP Configuration of a VPN Gateway Resource.", + "properties": { + "id": { + "type": "string", + "description": "The identifier of the IP configuration for a VPN Gateway." + }, + "publicIpAddress": { + "type": "string", + "description": "The public IP address of this IP configuration." + }, + "privateIpAddress": { + "type": "string", + "description": "The private IP address of this IP configuration." + } + } + }, + "VpnGatewayNatRule": { + "type": "object", + "description": "VpnGatewayNatRule Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/VpnGatewayNatRuleProperties", + "description": "Properties of the VpnGateway NAT rule.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "VpnGatewayNatRuleProperties": { + "type": "object", + "description": "Parameters for VpnGatewayNatRule.", + "properties": { + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the NAT Rule resource.", + "readOnly": true + }, + "type": { + "$ref": "./common.json#/definitions/VpnNatRuleType", + "description": "The type of NAT rule for VPN NAT." + }, + "mode": { + "$ref": "./common.json#/definitions/VpnNatRuleMode", + "description": "The Source NAT direction of a VPN NAT." + }, + "internalMappings": { + "type": "array", + "description": "The private IP address internal mapping for NAT.", + "items": { + "$ref": "#/definitions/VpnNatRuleMapping" + } + }, + "externalMappings": { + "type": "array", + "description": "The private IP address external mapping for NAT.", + "items": { + "$ref": "#/definitions/VpnNatRuleMapping" + } + }, + "ipConfigurationId": { + "type": "string", + "description": "The IP Configuration ID this NAT rule applies to." + }, + "egressVpnSiteLinkConnections": { + "type": "array", + "description": "List of egress VpnSiteLinkConnections.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "ingressVpnSiteLinkConnections": { + "type": "array", + "description": "List of ingress VpnSiteLinkConnections.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + } + } + }, + "VpnGatewayPacketCaptureStartParameters": { + "type": "object", + "description": "Start packet capture parameters.", + "properties": { + "filterData": { + "type": "string", + "description": "Start Packet capture parameters on vpn gateway." + } + } + }, + "VpnGatewayPacketCaptureStopParameters": { + "type": "object", + "description": "Stop packet capture parameters.", + "properties": { + "sasUrl": { + "type": "string", + "description": "SAS url for packet capture on vpn gateway." + } + } + }, + "VpnGatewayProperties": { + "type": "object", + "description": "Parameters for VpnGateway.", + "properties": { + "virtualHub": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The VirtualHub to which the gateway belongs." + }, + "connections": { + "type": "array", + "description": "List of all vpn connections to the gateway.", + "items": { + "$ref": "#/definitions/VpnConnection" + } + }, + "bgpSettings": { + "$ref": "./networkGateway.json#/definitions/BgpSettings", + "description": "Local network gateway's BGP speaker settings." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the VPN gateway resource.", + "readOnly": true + }, + "vpnGatewayScaleUnit": { + "type": "integer", + "format": "int32", + "description": "The scale unit for this vpn gateway." + }, + "ipConfigurations": { + "type": "array", + "description": "List of all IPs configured on the gateway.", + "items": { + "$ref": "#/definitions/VpnGatewayIpConfiguration" + }, + "readOnly": true + }, + "enableBgpRouteTranslationForNat": { + "type": "boolean", + "description": "Enable BGP routes translation for NAT on this VpnGateway." + }, + "isRoutingPreferenceInternet": { + "type": "boolean", + "description": "Enable Routing Preference property for the Public IP Interface of the VpnGateway." + }, + "natRules": { + "type": "array", + "description": "List of all the nat Rules associated with the gateway.", + "items": { + "$ref": "#/definitions/VpnGatewayNatRule" + } + } + } + }, + "VpnLinkBgpSettings": { + "type": "object", + "description": "BGP settings details for a link.", + "properties": { + "asn": { + "type": "integer", + "format": "int64", + "description": "The BGP speaker's ASN." + }, + "bgpPeeringAddress": { + "type": "string", + "description": "The BGP peering address and BGP identifier of this BGP speaker." + } + } + }, + "VpnLinkProviderProperties": { + "type": "object", + "description": "List of properties of a link provider.", + "properties": { + "linkProviderName": { + "type": "string", + "description": "Name of the link provider." + }, + "linkSpeedInMbps": { + "type": "integer", + "format": "int32", + "description": "Link speed." + } + } + }, + "VpnNatRuleMapping": { + "type": "object", + "description": "Vpn NatRule mapping.", + "properties": { + "addressSpace": { + "type": "string", + "description": "Address space for Vpn NatRule mapping." + }, + "portRange": { + "type": "string", + "description": "Port range for Vpn NatRule mapping." + } + } + }, + "VpnProfileResponse": { + "type": "object", + "description": "Vpn Profile Response for package generation.", + "properties": { + "profileUrl": { + "type": "string", + "description": "URL to the VPN profile." + } + } + }, + "VpnServerConfigRadiusClientRootCertificate": { + "type": "object", + "description": "Properties of the Radius client root certificate of VpnServerConfiguration.", + "properties": { + "name": { + "type": "string", + "description": "The certificate name." + }, + "thumbprint": { + "type": "string", + "description": "The Radius client root certificate thumbprint." + } + } + }, + "VpnServerConfigRadiusServerRootCertificate": { + "type": "object", + "description": "Properties of Radius Server root certificate of VpnServerConfiguration.", + "properties": { + "name": { + "type": "string", + "description": "The certificate name." + }, + "publicCertData": { + "type": "string", + "description": "The certificate public data." + } + } + }, + "VpnServerConfigVpnClientRevokedCertificate": { + "type": "object", + "description": "Properties of the revoked VPN client certificate of VpnServerConfiguration.", + "properties": { + "name": { + "type": "string", + "description": "The certificate name." + }, + "thumbprint": { + "type": "string", + "description": "The revoked VPN client certificate thumbprint." + } + } + }, + "VpnServerConfigVpnClientRootCertificate": { + "type": "object", + "description": "Properties of VPN client root certificate of VpnServerConfiguration.", + "properties": { + "name": { + "type": "string", + "description": "The certificate name." + }, + "publicCertData": { + "type": "string", + "description": "The certificate public data." + } + } + }, + "VpnServerConfiguration": { + "type": "object", + "description": "VpnServerConfiguration Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/VpnServerConfigurationProperties", + "description": "Properties of the P2SVpnServer configuration.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/TrackedResourceWithSettableName" + } + ] + }, + "VpnServerConfigurationPolicyGroup": { + "type": "object", + "description": "VpnServerConfigurationPolicyGroup Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/VpnServerConfigurationPolicyGroupProperties", + "description": "Properties of the VpnServerConfigurationPolicyGroup.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "VpnServerConfigurationPolicyGroupMember": { + "type": "object", + "description": "VpnServerConfiguration PolicyGroup member", + "properties": { + "name": { + "type": "string", + "description": "Name of the VpnServerConfigurationPolicyGroupMember." + }, + "attributeType": { + "$ref": "./common.json#/definitions/VpnPolicyMemberAttributeType", + "description": "The Vpn Policy member attribute type." + }, + "attributeValue": { + "type": "string", + "description": "The value of Attribute used for this VpnServerConfigurationPolicyGroupMember." + } + } + }, + "VpnServerConfigurationPolicyGroupProperties": { + "type": "object", + "description": "Parameters for VpnServerConfigurationPolicyGroup.", + "properties": { + "isDefault": { + "type": "boolean", + "description": "Shows if this is a Default VpnServerConfigurationPolicyGroup or not." + }, + "priority": { + "type": "integer", + "format": "int32", + "description": "Priority for VpnServerConfigurationPolicyGroup." + }, + "policyMembers": { + "type": "array", + "description": "Multiple PolicyMembers for VpnServerConfigurationPolicyGroup.", + "items": { + "$ref": "#/definitions/VpnServerConfigurationPolicyGroupMember" + }, + "x-ms-identifiers": [] + }, + "p2SConnectionConfigurations": { + "type": "array", + "description": "List of references to P2SConnectionConfigurations.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + }, + "readOnly": true + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the VpnServerConfigurationPolicyGroup resource.", + "readOnly": true + } + } + }, + "VpnServerConfigurationProperties": { + "type": "object", + "description": "Parameters for VpnServerConfiguration.", + "properties": { + "name": { + "type": "string", + "description": "The name of the VpnServerConfiguration that is unique within a resource group." + }, + "vpnProtocols": { + "type": "array", + "description": "VPN protocols for the VpnServerConfiguration.", + "items": { + "$ref": "./common.json#/definitions/VpnGatewayTunnelingProtocol" + } + }, + "vpnAuthenticationTypes": { + "type": "array", + "description": "VPN authentication types for the VpnServerConfiguration.", + "items": { + "$ref": "./common.json#/definitions/VpnAuthenticationType" + } + }, + "vpnClientRootCertificates": { + "type": "array", + "description": "VPN client root certificate of VpnServerConfiguration.", + "items": { + "$ref": "#/definitions/VpnServerConfigVpnClientRootCertificate" + } + }, + "vpnClientRevokedCertificates": { + "type": "array", + "description": "VPN client revoked certificate of VpnServerConfiguration.", + "items": { + "$ref": "#/definitions/VpnServerConfigVpnClientRevokedCertificate" + } + }, + "radiusServerRootCertificates": { + "type": "array", + "description": "Radius Server root certificate of VpnServerConfiguration.", + "items": { + "$ref": "#/definitions/VpnServerConfigRadiusServerRootCertificate" + } + }, + "radiusClientRootCertificates": { + "type": "array", + "description": "Radius client root certificate of VpnServerConfiguration.", + "items": { + "$ref": "#/definitions/VpnServerConfigRadiusClientRootCertificate" + } + }, + "vpnClientIpsecPolicies": { + "type": "array", + "description": "VpnClientIpsecPolicies for VpnServerConfiguration.", + "items": { + "$ref": "./networkGateway.json#/definitions/IpsecPolicy" + } + }, + "radiusServerAddress": { + "type": "string", + "description": "The radius server address property of the VpnServerConfiguration resource for point to site client connection." + }, + "radiusServerSecret": { + "type": "string", + "format": "password", + "description": "The radius secret property of the VpnServerConfiguration resource for point to site client connection. We will no longer return radiusServerSecret in VpnServerConfiguration Create/Update/Get/List/UpdateTags APIs response. Please use VpnServerConfiguration ListRadiusSecrets API to fetch radius server secrets.", + "x-ms-secret": true + }, + "radiusServers": { + "type": "array", + "description": "Multiple Radius Server configuration for VpnServerConfiguration.", + "items": { + "$ref": "./networkGateway.json#/definitions/RadiusServer" + } + }, + "aadAuthenticationParameters": { + "$ref": "#/definitions/AadAuthenticationParameters", + "description": "The set of aad vpn authentication parameters." + }, + "provisioningState": { + "type": "string", + "description": "The provisioning state of the VpnServerConfiguration resource. Possible values are: 'Updating', 'Deleting', and 'Failed'.", + "readOnly": true + }, + "p2SVpnGateways": { + "type": "array", + "description": "List of references to P2SVpnGateways.", + "items": { + "$ref": "#/definitions/P2SVpnGateway" + }, + "readOnly": true + }, + "configurationPolicyGroups": { + "type": "array", + "description": "List of all VpnServerConfigurationPolicyGroups.", + "items": { + "$ref": "#/definitions/VpnServerConfigurationPolicyGroup" + } + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + } + }, + "VpnServerConfigurationsResponse": { + "type": "object", + "description": "VpnServerConfigurations list associated with VirtualWan Response.", + "properties": { + "vpnServerConfigurationResourceIds": { + "type": "array", + "description": "List of VpnServerConfigurations associated with VirtualWan.", + "items": { + "type": "string" + } + } + } + }, + "VpnSite": { + "type": "object", + "description": "VpnSite Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/VpnSiteProperties", + "description": "Properties of the VPN site.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/TrackedResourceWithSettableIdOptionalLocation" + } + ] + }, + "VpnSiteLink": { + "type": "object", + "description": "VpnSiteLink Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/VpnSiteLinkProperties", + "description": "Properties of the VPN site link.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "VpnSiteLinkConnection": { + "type": "object", + "description": "VpnSiteLinkConnection Resource.", + "properties": { + "properties": { + "$ref": "#/definitions/VpnSiteLinkConnectionProperties", + "description": "Properties of the VPN site link connection.", + "x-ms-client-flatten": true + }, + "etag": { + "type": "string", + "description": "A unique read-only string that changes whenever the resource is updated.", + "readOnly": true + } + }, + "allOf": [ + { + "$ref": "./common.json#/definitions/Common.SubResourceModel" + } + ] + }, + "VpnSiteLinkConnectionProperties": { + "type": "object", + "description": "Parameters for VpnConnection.", + "properties": { + "vpnSiteLink": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "Id of the connected vpn site link." + }, + "routingWeight": { + "type": "integer", + "format": "int32", + "description": "Routing weight for vpn connection." + }, + "vpnLinkConnectionMode": { + "$ref": "./common.json#/definitions/VpnLinkConnectionMode", + "description": "Vpn link connection mode." + }, + "connectionStatus": { + "$ref": "./common.json#/definitions/VpnConnectionStatus", + "description": "The connection status.", + "readOnly": true + }, + "vpnConnectionProtocolType": { + "$ref": "./common.json#/definitions/VirtualNetworkGatewayConnectionProtocol", + "description": "Connection protocol used for this connection." + }, + "ingressBytesTransferred": { + "type": "integer", + "format": "int64", + "description": "Ingress bytes transferred.", + "readOnly": true + }, + "egressBytesTransferred": { + "type": "integer", + "format": "int64", + "description": "Egress bytes transferred.", + "readOnly": true + }, + "connectionBandwidth": { + "type": "integer", + "format": "int32", + "description": "Expected bandwidth in MBPS." + }, + "sharedKey": { + "type": "string", + "format": "password", + "description": "SharedKey for the vpn link connection. We will no longer return sharedKey in any Create/Update/Get/List/UpdateTags VpnGateway/VpnConnection/VpnLinkConnection APIs response. Please use 'Vpn Link Connections - List Default Shared Key' API to fetch Vpn link connection sharedKey.", + "x-ms-secret": true + }, + "enableBgp": { + "type": "boolean", + "description": "EnableBgp flag." + }, + "vpnGatewayCustomBgpAddresses": { + "type": "array", + "description": "vpnGatewayCustomBgpAddresses used by this connection.", + "items": { + "$ref": "./networkGateway.json#/definitions/GatewayCustomBgpIpAddressIpConfiguration" + }, + "x-ms-identifiers": [] + }, + "usePolicyBasedTrafficSelectors": { + "type": "boolean", + "description": "Enable policy-based traffic selectors." + }, + "ipsecPolicies": { + "type": "array", + "description": "The IPSec Policies to be considered by this connection.", + "items": { + "$ref": "./networkGateway.json#/definitions/IpsecPolicy" + } + }, + "enableRateLimiting": { + "type": "boolean", + "description": "EnableBgp flag." + }, + "useLocalAzureIpAddress": { + "type": "boolean", + "description": "Use local azure ip to initiate connection." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the VPN site link connection resource.", + "readOnly": true + }, + "ingressNatRules": { + "type": "array", + "description": "List of ingress NatRules.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "egressNatRules": { + "type": "array", + "description": "List of egress NatRules.", + "items": { + "$ref": "./common.json#/definitions/Common.SubResource" + } + }, + "dpdTimeoutSeconds": { + "type": "integer", + "format": "int32", + "description": "Dead Peer Detection timeout in seconds for VpnLink connection." + } + } + }, + "VpnSiteLinkProperties": { + "type": "object", + "description": "Parameters for VpnSite.", + "properties": { + "linkProperties": { + "$ref": "#/definitions/VpnLinkProviderProperties", + "description": "The link provider properties." + }, + "ipAddress": { + "type": "string", + "description": "The ip-address for the vpn-site-link." + }, + "fqdn": { + "type": "string", + "description": "FQDN of vpn-site-link." + }, + "bgpProperties": { + "$ref": "#/definitions/VpnLinkBgpSettings", + "description": "The set of bgp properties." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the VPN site link resource.", + "readOnly": true + } + } + }, + "VpnSiteProperties": { + "type": "object", + "description": "Parameters for VpnSite.", + "properties": { + "virtualWan": { + "$ref": "./common.json#/definitions/Common.SubResource", + "description": "The VirtualWAN to which the vpnSite belongs." + }, + "deviceProperties": { + "$ref": "#/definitions/DeviceProperties", + "description": "The device properties." + }, + "ipAddress": { + "type": "string", + "description": "The ip-address for the vpn-site." + }, + "siteKey": { + "type": "string", + "description": "The key for vpn-site that can be used for connections." + }, + "addressSpace": { + "$ref": "./virtualNetwork.json#/definitions/Common.AddressSpace", + "description": "The AddressSpace that contains an array of IP address ranges." + }, + "bgpProperties": { + "$ref": "./networkGateway.json#/definitions/BgpSettings", + "description": "The set of bgp properties." + }, + "provisioningState": { + "$ref": "./common.json#/definitions/Common.ProvisioningState", + "description": "The provisioning state of the VPN site resource.", + "readOnly": true + }, + "isSecuritySite": { + "type": "boolean", + "description": "IsSecuritySite flag." + }, + "vpnSiteLinks": { + "type": "array", + "description": "List of all vpn site links.", + "items": { + "$ref": "#/definitions/VpnSiteLink" + } + }, + "o365Policy": { + "$ref": "#/definitions/O365PolicyProperties", + "description": "Office365 Policy." + } + } + } + }, + "parameters": {} +}